Documentation ¶
Index ¶
- func NewBigIntContext() (*bigIntContext, error)
- func NewBlockchainContext(host arwen.VMHost, blockChainHook vmcommon.BlockchainHook) (*blockchainContext, error)
- func NewMeteringContext(host arwen.VMHost, gasSchedule map[string]map[string]uint64, ...) (*meteringContext, error)
- func NewOutputContext(host arwen.VMHost) (*outputContext, error)
- func NewRuntimeContext(host arwen.VMHost, vmType []byte) (*runtimeContext, error)
- func NewStorageContext(host arwen.VMHost, blockChainHook vmcommon.BlockchainHook) (*storageContext, error)
- type ReservedFunctions
- type WASMValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBigIntContext ¶
func NewBigIntContext() (*bigIntContext, error)
func NewBlockchainContext ¶
func NewBlockchainContext( host arwen.VMHost, blockChainHook vmcommon.BlockchainHook, ) (*blockchainContext, error)
func NewMeteringContext ¶
func NewOutputContext ¶
func NewRuntimeContext ¶
func NewStorageContext ¶
func NewStorageContext( host arwen.VMHost, blockChainHook vmcommon.BlockchainHook, ) (*storageContext, error)
Types ¶
type ReservedFunctions ¶ added in v0.3.6
type ReservedFunctions struct {
// contains filtered or unexported fields
}
ReservedFunctions holds the reserved function names
func NewReservedFunctions ¶ added in v0.3.6
func NewReservedFunctions() *ReservedFunctions
NewReservedFunctions creates a new ReservedFunctions
func (*ReservedFunctions) GetReserved ¶ added in v0.3.6
func (reservedFunctions *ReservedFunctions) GetReserved() []string
GetReserved gets the reserved functions as a slice of strings
func (*ReservedFunctions) IsReserved ¶ added in v0.3.6
func (reservedFunctions *ReservedFunctions) IsReserved(functionName string) bool
IsReserved returns whether a function is reserved
type WASMValidator ¶ added in v0.3.7
type WASMValidator struct {
// contains filtered or unexported fields
}
func NewWASMValidator ¶ added in v0.3.7
func NewWASMValidator() *WASMValidator
Click to show internal directories.
Click to hide internal directories.