MultiVaultToken
_transfer
_transfer
Moves amount
of tokens from sender
to recipient
.
Parameters:
to
address
Recipient’s address
amount
uint256
Amount of tokens to transfer
Return value:
bool
True if transfer is successful, false if not
Events emitted:
Transfer
_mint
_mint
Creates amount
tokens and assigns them to account
, increasing the total supply
Parameters:
account
address
Address of the account where to assign created tokens
amount
uint256
Amount of tokens to be created
Events emitted:
Transfer
_burn
_burn
Destroys amount
tokens from account
, reducing the total supply.
Parameters:
account
address
Account address in which tokens should be destroyed
amount
uint256
Amount of tokens to be destroyed
Events emitted:
Transfer
_approve
_approve
Sets amount
as the allowance of spender
over the owner
s tokens.
Parameters:
owner
address
Address of the owner whose tokens will be spent
spender
address
Address of the owner’s tokens spender
amount
uint256
Allowed amount of tokens which spender can use
Events emitted:
Approval
_spendAllowance
_spendAllowance
Updates owner
s allowance for spender
based on spent amount
.
Parameters:
owner
address
Address of the owner whose tokens will be spent
spender
address
Address of the owner’s tokens spender
amount
uint256
Allowed amount of tokens which spender can use
Last updated