Skip to main content

Interface: WasmTxExtensionMethods

@shareledgerjs/client.wasm.WasmTxExtensionMethods

Methods

clearAdmin

clearAdmin(sender, contract): MsgClearAdminEncodeObject

Parameters

NameType
senderstring
contractstring

Returns

MsgClearAdminEncodeObject


executeContract

executeContract<U>(sender, contract, msg, funds): MsgExecuteContractEncodeObject

Type parameters

NameType
Uextends unknown

Parameters

NameType
senderstring
contractstring
msgU
fundsCoin[]

Returns

MsgExecuteContractEncodeObject


instantiateContract

instantiateContract<U>(sender, admin, codeId, label, msg, funds): MsgInstantiateContractEncodeObject

Type parameters

NameType
Uextends unknown

Parameters

NameType
senderstring
adminstring
codeIdLong
labelstring
msgU
fundsCoin[]

Returns

MsgInstantiateContractEncodeObject


migrateContract

migrateContract<U>(sender, contract, codeId, msg): MsgMigrateContractEncodeObject

Type parameters

NameType
Uextends unknown

Parameters

NameType
senderstring
contractstring
codeIdLong
msgU

Returns

MsgMigrateContractEncodeObject


storeCode

storeCode(sender, wasmByteCode, instantiatePermission?): MsgStoreCodeEncodeObject

Parameters

NameType
senderstring
wasmByteCodeUint8Array
instantiatePermission?AccessConfig

Returns

MsgStoreCodeEncodeObject


updateAdmin

updateAdmin(sender, newAdmin, contract): MsgUpdateAdminEncodeObject

Parameters

NameType
senderstring
newAdminstring
contractstring

Returns

MsgUpdateAdminEncodeObject