Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFuncNotFound = errors.New("function not found")
View Source
var ErrFunctionRunError = errors.New("function run error")
View Source
var ErrInitFuncCalledInRun = errors.New("it is not allowed to call init in run")
View Source
var ErrInvalidCallOnReadOnlyMode = errors.New("operation not permitted in read only mode")
View Source
var ErrNotEnoughGas = errors.New("not enough gas")
View Source
var ErrReturnCodeNotOk = errors.New("return not is not ok")
Functions ¶
func NewArwenVM ¶
func NewArwenVM( blockChainHook vmcommon.BlockchainHook, cryptoHook vmcommon.CryptoHook, vmType []byte, blockGasLimit uint64, gasSchedule map[string]map[string]uint64, ) (*vmContext, error)
func NewBigIntContainer ¶
func NewBigIntContainer() *bigIntContainer
Types ¶
type BigIntContainer ¶
type StorageStatus ¶
type StorageStatus int
const ( StorageUnchanged StorageStatus = 0 StorageModified StorageStatus = 1 StorageAdded StorageStatus = 3 StorageDeleted StorageStatus = 4 )
Click to show internal directories.
Click to hide internal directories.