RioNetwork
Inherits: ERC20, ERC20Permit, ERC20Votes
Functions
constructor
Parameters
Name | Type | Description |
---|---|---|
|
| 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
Name | Type | Description |
---|---|---|
|
| 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
Name | Type | Description |
---|---|---|
|
| The origin address. |
|
| The destination address. |
|
| The amount of tokens to transfer. |
Last updated