Skip to main content

MockERC20

Functions

constructor

function constructor() public

mint

function mint(
address account,
uint256 amount
) public returns (bool)

Parameters

NameTypeDescription
accountaddress
amountuint256

mockBurn

function mockBurn(
address account,
uint256 amount
) public returns (bool)

Parameters

NameTypeDescription
accountaddress
amountuint256

approveOverride

function approveOverride(
address owner,
address spender,
uint256 amount
) public

Parameters

NameTypeDescription
owneraddress
spenderaddress
amountuint256