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.4.24; | |
import './Token.sol'; | |
import './SafeMath.sol'; | |
/** | |
* @title BTDVesting1Yr | |
* @dev BTDVesting1Yr is a token holder contract that allows the specified beneficiary | |
* to claim stored tokens after 3 month intervals | |
*/ |
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.4.18; | |
import './Token.sol'; | |
import './SafeMath.sol'; | |
/** | |
* @title BTDVesting4Wk | |
* @dev BTDVesting4Wk is a token holder contract that allows the specified beneficiary | |
* to claim stored tokens after 1 week intervals | |
*/ |
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.4.18; | |
import './Token.sol'; | |
import './SafeMath.sol'; | |
/** | |
* @title BTDVesting1Yr | |
* @dev BTDVesting1Yr is a token holder contract that allows the specified beneficiary | |
* to claim stored tokens after 3 month intervals | |
*/ |
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.4.18; | |
import './Token.sol'; | |
import './SafeMath.sol'; | |
/** | |
* @title BTDVesting2Yr | |
* @dev BTDVesting2Yr is a token holder contract that allows the specified beneficiary | |
* to claim stored tokens after 6 month intervals | |
*/ |
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.4.18; | |
contract Token { // ERC20 standard | |
function balanceOf(address _owner) constant public returns (uint256 balance); | |
function transfer(address _to, uint256 _value) public returns (bool success); | |
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); | |
function approve(address _spender, uint256 _value) public returns (bool success); | |
function allowance(address _owner, address _spender) constant public returns (uint256 remaining); |
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.4.18; | |
contract SafeMath { | |
function safeMul(uint a, uint b) internal pure returns (uint) { | |
uint c = a * b; | |
assert(a == 0 || c / a == b); | |
return c; | |
} |
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.4.18; | |
import './StandardToken.sol'; | |
contract BTD is StandardToken { | |
// FIELDS |
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.4.18; | |
import './SafeMath.sol'; | |
import './Token.sol'; | |
contract StandardToken is Token, SafeMath { | |
uint256 public totalSupply; |
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.4.18; | |
contract owned { | |
address public owner; | |
function owned() public { | |
owner = msg.sender; | |
} | |
modifier onlyOwner { |