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

TestUsdc

Git Source

Inherits: ERC20, BaseTestFungibleToken

Functions

constructor

constructor() ERC20("USD Coin", "USDC");

decimals

Overrides the default value of 18 from OpenZeppelin to better simulate the original USDC token on front-ends.

function decimals() public pure override returns (uint8);