Versions in this module Expand all Collapse all v0 v0.2.5 Mar 2, 2022 Changes in this version + type ArrayAppendFunc struct + func (f *ArrayAppendFunc) Name(v string) + func (f *ArrayAppendFunc) Post() wasmclient.Request + func (f *ArrayAppendFunc) Value(v string) + type TestWasmLibEvents struct + func (h *TestWasmLibEvents) CallHandler(topic string, params []string) + func (h *TestWasmLibEvents) OnTestWasmLibTest(handler func(e *EventTest)) type TestWasmLibService + func (s *TestWasmLibService) ArrayAppend() ArrayAppendFunc + func (s *TestWasmLibService) NewEventHandler() *TestWasmLibEvents v0.2.4 Feb 2, 2022 Changes in this version + const ArgAddress + const ArgAgentID + const ArgBlockIndex + const ArgBool + const ArgBytes + const ArgChainID + const ArgColor + const ArgHash + const ArgHname + const ArgIndex + const ArgInt16 + const ArgInt32 + const ArgInt64 + const ArgInt8 + const ArgKey + const ArgName + const ArgParam + const ArgRecordIndex + const ArgRequestID + const ArgString + const ArgUint16 + const ArgUint32 + const ArgUint64 + const ArgUint8 + const ArgValue + const ResCount + const ResIotas + const ResLength + const ResRandom + const ResRecord + const ResValue + var EventHandlers = map[string]func([]string) + func OnTestWasmLibTest(event *EventTest) + type ArrayClearFunc struct + func (f *ArrayClearFunc) Name(v string) + func (f *ArrayClearFunc) Post() wasmclient.Request + type ArrayCreateFunc struct + func (f *ArrayCreateFunc) Name(v string) + func (f *ArrayCreateFunc) Post() wasmclient.Request + type ArrayLengthResults struct + func (r *ArrayLengthResults) Length() int32 + type ArrayLengthView struct + func (f *ArrayLengthView) Call() ArrayLengthResults + func (f *ArrayLengthView) Name(v string) + type ArraySetFunc struct + func (f *ArraySetFunc) Index(v int32) + func (f *ArraySetFunc) Name(v string) + func (f *ArraySetFunc) Post() wasmclient.Request + func (f *ArraySetFunc) Value(v string) + type ArrayValueResults struct + func (r *ArrayValueResults) Value() string + type ArrayValueView struct + func (f *ArrayValueView) Call() ArrayValueResults + func (f *ArrayValueView) Index(v int32) + func (f *ArrayValueView) Name(v string) + type BlockRecordResults struct + func (r *BlockRecordResults) Record() []byte + type BlockRecordView struct + func (f *BlockRecordView) BlockIndex(v int32) + func (f *BlockRecordView) Call() BlockRecordResults + func (f *BlockRecordView) RecordIndex(v int32) + type BlockRecordsResults struct + func (r *BlockRecordsResults) Count() int32 + type BlockRecordsView struct + func (f *BlockRecordsView) BlockIndex(v int32) + func (f *BlockRecordsView) Call() BlockRecordsResults + type EventTest struct + Address wasmclient.Address + Name string + type GetRandomResults struct + func (r *GetRandomResults) Random() int64 + type GetRandomView struct + func (f *GetRandomView) Call() GetRandomResults + type IotaBalanceResults struct + func (r *IotaBalanceResults) Iotas() int64 + type IotaBalanceView struct + func (f *IotaBalanceView) Call() IotaBalanceResults + type MapClearFunc struct + func (f *MapClearFunc) Name(v string) + func (f *MapClearFunc) Post() wasmclient.Request + type MapCreateFunc struct + func (f *MapCreateFunc) Name(v string) + func (f *MapCreateFunc) Post() wasmclient.Request + type MapSetFunc struct + func (f *MapSetFunc) Key(v string) + func (f *MapSetFunc) Name(v string) + func (f *MapSetFunc) Post() wasmclient.Request + func (f *MapSetFunc) Value(v string) + type MapValueResults struct + func (r *MapValueResults) Value() string + type MapValueView struct + func (f *MapValueView) Call() MapValueResults + func (f *MapValueView) Key(v string) + func (f *MapValueView) Name(v string) + type ParamTypesFunc struct + func (f *ParamTypesFunc) Address(v wasmclient.Address) + func (f *ParamTypesFunc) AgentID(v wasmclient.AgentID) + func (f *ParamTypesFunc) Bool(v bool) + func (f *ParamTypesFunc) Bytes(v []byte) + func (f *ParamTypesFunc) ChainID(v wasmclient.ChainID) + func (f *ParamTypesFunc) Color(v wasmclient.Color) + func (f *ParamTypesFunc) Hash(v wasmclient.Hash) + func (f *ParamTypesFunc) Hname(v wasmclient.Hname) + func (f *ParamTypesFunc) Int16(v int16) + func (f *ParamTypesFunc) Int32(v int32) + func (f *ParamTypesFunc) Int64(v int64) + func (f *ParamTypesFunc) Int8(v int8) + func (f *ParamTypesFunc) Param(v []byte) + func (f *ParamTypesFunc) Post() wasmclient.Request + func (f *ParamTypesFunc) RequestID(v wasmclient.RequestID) + func (f *ParamTypesFunc) String(v string) + func (f *ParamTypesFunc) Uint16(v uint16) + func (f *ParamTypesFunc) Uint32(v uint32) + func (f *ParamTypesFunc) Uint64(v uint64) + func (f *ParamTypesFunc) Uint8(v uint8) + type RandomFunc struct + func (f *RandomFunc) Post() wasmclient.Request + type TestWasmLibService struct + func NewTestWasmLibService(cl *wasmclient.ServiceClient, chainID string) (*TestWasmLibService, error) + func (s *TestWasmLibService) ArrayClear() ArrayClearFunc + func (s *TestWasmLibService) ArrayCreate() ArrayCreateFunc + func (s *TestWasmLibService) ArrayLength() ArrayLengthView + func (s *TestWasmLibService) ArraySet() ArraySetFunc + func (s *TestWasmLibService) ArrayValue() ArrayValueView + func (s *TestWasmLibService) BlockRecord() BlockRecordView + func (s *TestWasmLibService) BlockRecords() BlockRecordsView + func (s *TestWasmLibService) GetRandom() GetRandomView + func (s *TestWasmLibService) IotaBalance() IotaBalanceView + func (s *TestWasmLibService) MapClear() MapClearFunc + func (s *TestWasmLibService) MapCreate() MapCreateFunc + func (s *TestWasmLibService) MapSet() MapSetFunc + func (s *TestWasmLibService) MapValue() MapValueView + func (s *TestWasmLibService) ParamTypes() ParamTypesFunc + func (s *TestWasmLibService) Random() RandomFunc + func (s *TestWasmLibService) TriggerEvent() TriggerEventFunc + type TriggerEventFunc struct + func (f *TriggerEventFunc) Address(v wasmclient.Address) + func (f *TriggerEventFunc) Name(v string) + func (f *TriggerEventFunc) Post() wasmclient.Request