RioToken

RioToken

Inherits: ERC20, ERC20Permit, ERC20Votes

Functions

constructor

constructor() ERC20('Rio Network Token', 'RN') ERC20Permit('Rio Network Token');

nonces

Returns the current nonce for owner. This value must be included whenever a signature is generated for {permit}.

function nonces(address owner) public view override(ERC20Permit, Nonces) returns (uint256);

Parameters

NameTypeDescription

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.

function _update(address from, address to, uint256 value) internal override(ERC20, ERC20Votes);

Parameters

NameTypeDescription

from

address

The origin address.

to

address

The destination address.

value

uint256

The amount of tokens to transfer.

Last updated