Skip to main content

TestingErc20

Git Source

Inherits: ERC20, ERC20Burnable, Ownable, ERC2771Recipient

State Variables

_numDecimals

uint8 _numDecimals;

Functions

constructor

constructor(string memory _name, string memory _symbol, uint8 _decimals) ERC20(_name, _symbol);

setTrustedForwarder

function setTrustedForwarder(address _forwarder) public onlyOwner;

mint

function mint(uint256 amount) external;

_msgSender

function _msgSender() internal view override(Context, ERC2771Recipient) returns (address sender);

_msgData

function _msgData() internal view override(Context, ERC2771Recipient) returns (bytes calldata);

decimals

function decimals() public view virtual override returns (uint8);