Documentation ¶
Index ¶
- func GetName() string
- func Init(name string, cfg *types.Chain33Config, sub []byte)
- type Resolver
- type Wasm
- func (w *Wasm) ExecDelLocal_Call(payload *types2.WasmCall, tx *types.Transaction, receipt *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (w *Wasm) ExecDelLocal_Create(payload *types2.WasmCreate, tx *types.Transaction, receipt *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (w *Wasm) ExecDelLocal_Update(payload *types2.WasmUpdate, tx *types.Transaction, receipt *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (w *Wasm) ExecLocal_Call(payload *types2.WasmCall, tx *types.Transaction, receipt *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (w *Wasm) ExecLocal_Create(payload *types2.WasmCreate, tx *types.Transaction, receipt *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (w *Wasm) ExecLocal_Update(payload *types2.WasmUpdate, tx *types.Transaction, receipt *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (w *Wasm) Exec_Call(payload *types2.WasmCall, tx *types.Transaction, index int) (*types.Receipt, error)
- func (w *Wasm) Exec_Create(payload *types2.WasmCreate, tx *types.Transaction, index int) (*types.Receipt, error)
- func (w *Wasm) Exec_Update(payload *types2.WasmUpdate, tx *types.Transaction, index int) (*types.Receipt, error)
- func (w *Wasm) ExecutorOrder() int64
- func (w *Wasm) GetDriverName() string
- func (w *Wasm) Query_Check(query *types2.QueryCheckContract) (types.Message, error)
- func (w *Wasm) Query_QueryLocalDB(query *types2.QueryContractDB) (types.Message, error)
- func (w *Wasm) Query_QueryStateDB(query *types2.QueryContractDB) (types.Message, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Resolver ¶
type Resolver struct{}
Resolver defines imports for WebAssembly modules ran in Life.
func (*Resolver) ResolveFunc ¶
func (r *Resolver) ResolveFunc(module, field string) exec.FunctionImport
ResolveFunc defines a set of import functions that may be called within a WebAssembly module.
func (*Resolver) ResolveGlobal ¶
ResolveGlobal defines a set of global variables for use within a WebAssembly module.
type Wasm ¶
type Wasm struct { drivers.DriverBase VMCache map[string]*exec.VirtualMachine ENV map[int]string // contains filtered or unexported fields }
func (*Wasm) ExecDelLocal_Call ¶
func (w *Wasm) ExecDelLocal_Call(payload *types2.WasmCall, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)
func (*Wasm) ExecDelLocal_Create ¶
func (w *Wasm) ExecDelLocal_Create(payload *types2.WasmCreate, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)
func (*Wasm) ExecDelLocal_Update ¶ added in v1.65.3
func (w *Wasm) ExecDelLocal_Update(payload *types2.WasmUpdate, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)
func (*Wasm) ExecLocal_Call ¶
func (w *Wasm) ExecLocal_Call(payload *types2.WasmCall, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)
func (*Wasm) ExecLocal_Create ¶
func (w *Wasm) ExecLocal_Create(payload *types2.WasmCreate, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)
func (*Wasm) ExecLocal_Update ¶ added in v1.65.3
func (w *Wasm) ExecLocal_Update(payload *types2.WasmUpdate, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error)
func (*Wasm) Exec_Create ¶
func (w *Wasm) Exec_Create(payload *types2.WasmCreate, tx *types.Transaction, index int) (*types.Receipt, error)
func (*Wasm) Exec_Update ¶ added in v1.65.3
func (w *Wasm) Exec_Update(payload *types2.WasmUpdate, tx *types.Transaction, index int) (*types.Receipt, error)
func (*Wasm) ExecutorOrder ¶
func (*Wasm) GetDriverName ¶
func (*Wasm) Query_Check ¶
func (*Wasm) Query_QueryLocalDB ¶ added in v1.65.3
func (*Wasm) Query_QueryStateDB ¶ added in v1.65.3
Click to show internal directories.
Click to hide internal directories.