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

MyTokenWrapped

Inherits: ERC20, ERC20Permit, ERC20Votes, ERC20Wrapper

Functions

constructor

constructor(IERC20 wrappedToken)
    ERC20("MyTokenWrapped", "MTK")
    ERC20Permit("MyTokenWrapped")
    ERC20Wrapper(wrappedToken);

decimals

function decimals() public view override(ERC20, ERC20Wrapper) returns (uint8);

_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);