Module tokens

Source

Structs§

FtWithdraw
Withdraw given FT tokens from the intents contract to a given external account id (external being outside of intents).
MtWithdraw
Withdraw given MT tokens (i.e. NEP-245) from the intents contract to a given to an external account id (external being outside of intents).
NativeWithdraw
Withdraw native tokens (NEAR) from the intents contract to a given external account id (external being outside of intents). This will subtract from the account’s wNEAR balance, and will be sent to the account specified as native NEAR. NOTE: the wNEAR will not be refunded in case of fail (e.g. receiver_id account does not exist).
NftWithdraw
Withdraw given NFT tokens from the intents contract to a given external account id (external being outside of intents).
StorageDeposit
Make NEP-145 storage_deposit for an account_id on contract_id. The amount will be subtracted from user’s NEP-141 wNEAR balance. NOTE: the wNEAR will not be refunded in any case.
Transfer
Transfer a set of tokens from the signer to a specified account id, within the intents contract.