* Updated code style to 4 spaces and 120 max characters per line. * Update contracts/token/ERC721/ERC721Pausable.sol Co-Authored-By: nventuro <nicolas.venturo@gmail.com> * Update contracts/token/ERC721/IERC721.sol Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
23 lines
552 B
Solidity
23 lines
552 B
Solidity
pragma solidity ^0.4.24;
|
|
|
|
import "../token/ERC20/ERC20.sol";
|
|
|
|
// mock class using ERC20
|
|
contract ERC20Mock is ERC20 {
|
|
constructor (address initialAccount, uint256 initialBalance) public {
|
|
_mint(initialAccount, initialBalance);
|
|
}
|
|
|
|
function mint(address account, uint256 amount) public {
|
|
_mint(account, amount);
|
|
}
|
|
|
|
function burn(address account, uint256 amount) public {
|
|
_burn(account, amount);
|
|
}
|
|
|
|
function burnFrom(address account, uint256 amount) public {
|
|
_burnFrom(account, amount);
|
|
}
|
|
}
|