This file contains 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.0; | |
import "./ierc20.sol"; | |
// In fact this only implements the IERC20 transfer and trasnferFrom functions | |
// Except for that it allows users to withdraw money | |
contract ERC20Controlled is IERC20 { | |
string public constant name = "Controlled Token"; | |
string public constant symbol = "CTRL"; | |
uint256 private constant MASK_BUTLER = 1 << 0; |
This file contains 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.0; | |
import "./ierc20.sol"; | |
contract ERC20Controlled is IERC20 { | |
string public constant name = "ERC20ControlledToken"; | |
string public constant symbol = "CTRL"; | |
// The owner can set butlers and bots. | |
address private owner; |
This file contains 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.0; | |
import "./ierc20.sol"; | |
contract ERC20Controlled is IERC20 { | |
string public constant name = "ERC20ControlledToken"; | |
string public constant symbol = "CTRL"; | |
// The owner can set butlers and bots. | |
address private owner; |
This file contains 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.0; | |
import "./ierc20.sol"; | |
contract ERC20Controlled is IERC20 { | |
string public constant name = "ERC20ControlledToken"; | |
string public constant symbol = "CTRL"; | |
// The owner can set butlers and bots. | |
address private owner; |
This file contains 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
/** | |
*Submitted for verification at Etherscan.io on 2019-07-29 | |
*/ | |
pragma solidity ^0.4.24; | |
contract UtilFairWin { | |
/* fairwin.me */ | |
This file contains 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
/** | |
*Submitted for verification at Etherscan.io on 2019-07-29 | |
*/ | |
pragma solidity ^0.4.24; | |
contract UtilFairWin { | |
/* fairwin.me */ | |
This file contains 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
/** | |
*Submitted for verification at Etherscan.io on 2019-07-29 | |
*/ | |
pragma solidity ^0.4.24; | |
contract UtilFairWin { | |
/* fairwin.me */ | |
This file contains 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.0; | |
interface IERC20 { | |
function transfer(address to, uint256 value) external returns (bool); | |
function approve(address spender, uint256 value) external returns (bool); | |
function transferFrom(address from, address to, uint256 value) external returns (bool); | |
function totalSupply() external view returns (uint256); |
This file contains 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.0; | |
interface IERC20 { | |
function transfer(address to, uint256 value) external returns (bool); | |
function approve(address spender, uint256 value) external returns (bool); | |
function transferFrom(address from, address to, uint256 value) external returns (bool); | |
function totalSupply() external view returns (uint256); |
This file contains 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.0; | |
interface IERC20 { | |
function transfer(address to, uint256 value) external returns (bool); | |
function approve(address spender, uint256 value) external returns (bool); | |
function transferFrom(address from, address to, uint256 value) external returns (bool); | |
function totalSupply() external view returns (uint256); |
NewerOlder