This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.5.11; | |
| import "../openzeppelin-contracts/GSN/Context.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20Detailed.sol"; | |
| import "../openzeppelin-contracts/math/SafeMath.sol"; | |
| contract Helper { | |
| mapping(address => uint256) | |
| private lastWithdraw; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.5.11; | |
| import "../openzeppelin-contracts/GSN/Context.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20Detailed.sol"; | |
| import "../openzeppelin-contracts/math/SafeMath.sol"; | |
| contract Helper { | |
| mapping(address => uint256) | |
| private lastWithdraw; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.5.11; | |
| import "../openzeppelin-contracts/GSN/Context.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20Detailed.sol"; | |
| import "../openzeppelin-contracts/math/SafeMath.sol"; | |
| contract BadChoiceToken is Context, ERC20, ERC20Detailed { | |
| uint256 tokenPrice = 100 wei; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.5.11; | |
| import "../openzeppelin-contracts/GSN/Context.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20Detailed.sol"; | |
| import "../openzeppelin-contracts/math/SafeMath.sol"; | |
| contract BaseToken is Context, ERC20, ERC20Detailed { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.5.11; | |
| import "../openzeppelin-contracts/GSN/Context.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20Detailed.sol"; | |
| import "../openzeppelin-contracts/math/SafeMath.sol"; | |
| contract NonPayable { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.5.11; | |
| import "../openzeppelin-contracts/GSN/Context.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20Detailed.sol"; | |
| import "../openzeppelin-contracts/math/SafeMath.sol"; | |
| import "../openzeppelin-contracts/ownership/Ownable.sol"; | |
| contract BaseToken is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.5.16; | |
| import "../openzeppelin-contracts/GSN/Context.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20.sol"; | |
| import "../openzeppelin-contracts/token/ERC20/ERC20Detailed.sol"; | |
| import "../openzeppelin-contracts/math/SafeMath.sol"; | |
| contract BaseToken is Context, ERC20, ERC20Detailed { |