RioNetwork
Inherits: ERC20, ERC20Permit, ERC20Votes
Functions
constructor
Parameters
to
address
The address to mint the initial supply to.
clock
Clock used for flagging checkpoints, overriden to implement timestamp based checkpoints (and voting).
CLOCK_MODE
Machine-readable description of the clock as specified in EIP-6372.
nonces
Returns the current nonce for owner
. This value must be included whenever a signature is generated for {permit}.
Parameters
owner
address
The account to query the nonce for.
_update
Transfers a value
amount of tokens from from
to to
, or alternatively mints (or burns) if from
(or to
) is the zero address. In addition, this function moves voting power when tokens are transferred.
Parameters
from
address
The origin address.
to
address
The destination address.
value
uint256
The amount of tokens to transfer.
Last updated