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 ERC20Interface{ | |
function balanceOf(address) public constant returns (uint256); | |
function transfer(address, uint256) public returns (bool); | |
} | |
contract MCNToken{ |
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
'use strict'; | |
const SAFEToken = artifacts.require('./SAFEToken.sol'); | |
const MaxBN = big(2).pow(255).plus(big(2).pow(255).minus(1)); | |
const expectThrow = async (promise) => { | |
const errMsg = 'Expected throw not received'; | |
try{ |
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
'use strict'; | |
var SAFEToken = artifacts.require('./SAFEToken.sol'); | |
var SAFEPreSale = artifacts.require('./SAFEPreSale.sol'); | |
var expectThrow = async (promise) => { | |
const errMsg = 'Expected throw not received'; | |
try{ |
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; | |
/* SAFEPreSale contract v 1.1 */ | |
contract SAFEToken{ | |
function mint(address[], uint256[]) public pure returns (bool){} | |
} |
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 ERC20Interface{ | |
function balanceOf(address) public constant returns (uint256); | |
function transfer(address, uint256) public returns (bool); | |
} | |
contract SAFEToken{ |