package
1.4.2
Repository: https://github.com/ibax-io/go-ibax.git
Documentation: pkg.go.dev

# Packages

--------------------------------------------------------------------------------------------- * Copyright (c) IBAX.

# Functions

ContractsList returns list of contracts names from source of code.
ExContract executes the name contract in the state with specified parameters.
ExecContract runs the name contract where txs contains the list of parameters and params are the values of parameters.
No description provided by the author
GetSettings returns the value of the parameter.
GetVM is returning smart vm.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRunTime creates a new RunTime for the virtual machine.
NewVM creates a new virtual machine.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetVMError sets error of VM.
StateName checks the name of the contract and modifies it to @[state]name if it is necessary.
ValueToDecimal converts interface (string, float64, Decimal or int64) to Decimal.
ValueToFloat converts interface (string, float64 or int64) to float64.
No description provided by the author
No description provided by the author
No description provided by the author
VMRun executes CodeBlock in vm.

# Constants

CostCall is the cost of the function calling.
CostContract is the cost of the contract calling.
CostExtend is the cost of the extend function calling.
Decimal is the constant string for decimal type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Interface is the constant string for interface type.
No description provided by the author
ObjectType_Contract is a contract object.
ObjectType_ExtFunc is an extended build in function object.
ObjectType_ExtVar is an extended build in variable.
ObjectType_Func is a function object.
ObjUnknown is an unknown object.
ObjectType_Var is a variable.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VMType_CLB is clb vm type.
VMType_CLBMaster is CLBMaster type.
VMType_INVALID is invalid type.
VMType_Smart is smart vm type.

# Variables

No description provided by the author
ErrVMTimeLimit returns when the time limit exceeded.
No description provided by the author
No description provided by the author
VarRegexp letter { letter | unicode_digit }.
No description provided by the author
No description provided by the author

# Structs

ByteCode stores a command and an additional parameter.
CodeBlock contains all information about compiled block {...} and its children.
ContractInfo contains the contract information.
ErrInfo stores info about current contract or function.
ExtendData is used for the definition of the extended functions and variables.
ExtFuncInfo is the structure for the extended function.
FieldInfo describes the field of the data structure.
FuncInfo contains the function information.
FuncName is storing param of FuncName.
FuncNameCmd for cmdFuncName.
No description provided by the author
IndexInfo contains the information for SetIndex.
Lexeme contains information about language item.
ObjInfo is the common object type.
No description provided by the author
No description provided by the author
OwnerInfo storing info about owner.
RunTime is needed for the execution of the byte-code.
VarInfo contains the variable information.
VM is the main type of the virtual machine.
VMError represents error of VM.

# Interfaces

Stacker represents interface for working with call stack.

# Type aliases

ByteCodes is the slice of ByteCode items.
CodeBlocks is a slice of blocks.
Lexemes is a slice of lexemes.
ObjectType Types of the compiled objects.
VMType is virtual machine type.