Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MyTokenTimestampBased

Inherits: ERC20, ERC20Permit, ERC20Votes

Functions

constructor

constructor() ERC20("MyTokenTimestampBased", "MTK") ERC20Permit("MyTokenTimestampBased");

clock

function clock() public view override returns (uint48);

CLOCK_MODE

function CLOCK_MODE() public pure override returns (string memory);

_update

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

nonces

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