Interface: TokenTxExtensionMethods
@shareledgerjs/client.token.TokenTxExtensionMethods
Methods
burn
▸ burn(contract
, owner
, amount
): MsgExecuteContractEncodeObject
Parameters
Name | Type |
---|---|
contract | string |
owner | string |
amount | string |
Returns
MsgExecuteContractEncodeObject
burnFrom
▸ burnFrom(contract
, sender
, owner
, amount
): MsgExecuteContractEncodeObject
Parameters
Name | Type |
---|---|
contract | string |
sender | string |
owner | string |
amount | string |
Returns
MsgExecuteContractEncodeObject
decreaseAllowance
▸ decreaseAllowance(contract
, owner
, spender
, amount
, expires?
): MsgExecuteContractEncodeObject
Parameters
Name | Type |
---|---|
contract | string |
owner | string |
spender | string |
amount | string |
expires? | Expiration |
Returns
MsgExecuteContractEncodeObject
increaseAllowance
▸ increaseAllowance(contract
, owner
, spender
, amount
, expires?
): MsgExecuteContractEncodeObject
Parameters
Name | Type |
---|---|
contract | string |
owner | string |
spender | string |
amount | string |
expires? | Expiration |
Returns
MsgExecuteContractEncodeObject
instantiate
▸ instantiate(owner
, codeId
, label
, msg
): MsgInstantiateContractEncodeObject
Parameters
Name | Type |
---|---|
owner | string |
codeId | Long |
label | string |
msg | InstantiateMsg |
Returns
MsgInstantiateContractEncodeObject
mint
▸ mint(contract
, owner
, recipient
, amount
): MsgExecuteContractEncodeObject
Parameters
Name | Type |
---|---|
contract | string |
owner | string |
recipient | string |
amount | string |
Returns
MsgExecuteContractEncodeObject
setMinter
▸ setMinter(contract
, owner
, recipient
): MsgExecuteContractEncodeObject
Parameters
Name | Type |
---|---|
contract | string |
owner | string |
recipient | string |
Returns
MsgExecuteContractEncodeObject
transfer
▸ transfer(contract
, owner
, recipient
, amount
): MsgExecuteContractEncodeObject
Parameters
Name | Type |
---|---|
contract | string |
owner | string |
recipient | string |
amount | string |
Returns
MsgExecuteContractEncodeObject
transferFrom
▸ transferFrom(contract
, sender
, owner
, recipient
, amount
): MsgExecuteContractEncodeObject
Parameters
Name | Type |
---|---|
contract | string |
sender | string |
owner | string |
recipient | string |
amount | string |