Private
allowancesProtected
sdkPrivate
tokensPrivate
#_Optional
message: anyRest
...optionalParams: any[]Private
#tryPrivate
#tryPrivate
#tryIncrease token allowance for a given spender for requested token with an Approve().
Approve paramters
Transaction status of the submitted approve
Increase token allowance for a given spender for requested token.
Increase allowance paramters, enableErc20ApproveBackup If set to true, will attempt to use the ERC20 approve
method if the increaseAllowance
method fails.
Transaction status of the submitted increase allowance
Load token allowance for a given token to a specific user
Address of requested token
Target address to check against
Optional
owner: stringA requested address to check allowance, defaults to the connected address if available
Token allowance for the requested spender
Load token allowances for given tokens to a specific user
Addresses of requested tokens
Target address to check against
Optional
owner: stringA requested address to check allowance, defaults to the connected address if available
Mapping from address to allowance
Load token balances for a given list of tokens
Addresses of requested tokens
Optional
owner: stringA requested address to check balances, defaults to the connected address if available
Mapping from address to token balance
Remove spend allowance from a target address for a given token.
Revoke allowance parameters
Transaction status of the submitted revoke
Transfer token to an address
Transfer call parameters
Transaction status of submitted transfer
Checks a user's currently allowed tokens to be transfered by a given spender. If the allowance is not sufficient, a transaction to increase that allowance through an approve for the spender will be initiated.
approve parameters
Transaction status of the submitted approve
Checks a user's currently allowed tokens to be transfered by a given spender. If the allowance is not sufficient, a transaction to increase that allowance for the spender will be initiated.
Increase allowance parameters
Transaction status of the submitted increase allowance
Generated using TypeDoc
Service providing userful interactions with token information and actions.