Skip to main content

Interface: TokenTxExtensionMethods

@shareledgerjs/client.token.TokenTxExtensionMethods

Methods

burn

burn(contract, owner, amount): MsgExecuteContractEncodeObject

Parameters

NameType
contractstring
ownerstring
amountstring

Returns

MsgExecuteContractEncodeObject


burnFrom

burnFrom(contract, sender, owner, amount): MsgExecuteContractEncodeObject

Parameters

NameType
contractstring
senderstring
ownerstring
amountstring

Returns

MsgExecuteContractEncodeObject


decreaseAllowance

decreaseAllowance(contract, owner, spender, amount, expires?): MsgExecuteContractEncodeObject

Parameters

NameType
contractstring
ownerstring
spenderstring
amountstring
expires?Expiration

Returns

MsgExecuteContractEncodeObject


increaseAllowance

increaseAllowance(contract, owner, spender, amount, expires?): MsgExecuteContractEncodeObject

Parameters

NameType
contractstring
ownerstring
spenderstring
amountstring
expires?Expiration

Returns

MsgExecuteContractEncodeObject


instantiate

instantiate(owner, codeId, label, msg): MsgInstantiateContractEncodeObject

Parameters

NameType
ownerstring
codeIdLong
labelstring
msgInstantiateMsg

Returns

MsgInstantiateContractEncodeObject


mint

mint(contract, owner, recipient, amount): MsgExecuteContractEncodeObject

Parameters

NameType
contractstring
ownerstring
recipientstring
amountstring

Returns

MsgExecuteContractEncodeObject


setMinter

setMinter(contract, owner, recipient): MsgExecuteContractEncodeObject

Parameters

NameType
contractstring
ownerstring
recipientstring

Returns

MsgExecuteContractEncodeObject


transfer

transfer(contract, owner, recipient, amount): MsgExecuteContractEncodeObject

Parameters

NameType
contractstring
ownerstring
recipientstring
amountstring

Returns

MsgExecuteContractEncodeObject


transferFrom

transferFrom(contract, sender, owner, recipient, amount): MsgExecuteContractEncodeObject

Parameters

NameType
contractstring
senderstring
ownerstring
recipientstring
amountstring

Returns

MsgExecuteContractEncodeObject