ONT实现API的流程
实现方式
func (this *WasmVmService) Invoke() (interface{}, error) {
stateMachine := NewWasmStateMachine()
//register the "CallContract" function
stateMachine.Register("ONT_CallContract", this.callContract)
stateMachine.Register("ONT_MarshalNativeParams", this.marshalNativeParams)
stateMachine.Register("ONT_MarshalNeoParams", this.marshalNeoParams)最后更新于