ERC-20
Overview
Max Total Supply
8,888,888 EGL
Holders
192
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 4 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EGLToken
Compiler Version
v0.4.13+commit.fb4cb1a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-01-31 */ pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function sub(uint256 a, uint256 b) internal constant returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } /** * @title Math * @dev Assorted math operations */ library Math { function max64(uint64 a, uint64 b) internal constant returns (uint64) { return a >= b ? a : b; } function min64(uint64 a, uint64 b) internal constant returns (uint64) { return a < b ? a : b; } function max256(uint256 a, uint256 b) internal constant returns (uint256) { return a >= b ? a : b; } function min256(uint256 a, uint256 b) internal constant returns (uint256) { return a < b ? a : b; } } /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant returns (uint256); function transfer(address to, uint256 value) returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) returns (bool) { balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) constant returns (uint256 balance) { return balances[_owner]; } } /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) constant returns (uint256); function transferFrom(address from, address to, uint256 value) returns (bool); function approve(address spender, uint256 value) returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) allowed; /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amout of tokens to be transfered */ function transferFrom(address _from, address _to, uint256 _value) returns (bool) { var _allowance = allowed[_from][msg.sender]; // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met // require (_value <= _allowance); balances[_to] = balances[_to].add(_value); balances[_from] = balances[_from].sub(_value); allowed[_from][msg.sender] = _allowance.sub(_value); Transfer(_from, _to, _value); return true; } /** * @dev Aprove the passed address to spend the specified amount of tokens on behalf of msg.sender. * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) returns (bool) { // To change the approve amount you first have to reduce the addresses` // allowance to zero by calling `approve(_spender, 0)` if it is not // already 0 to mitigate the race condition described here: // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 require((_value == 0) || (allowed[msg.sender][_spender] == 0)); allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifing the amount of tokens still avaible for the spender. */ function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } } /** * @title LimitedTransferToken * @dev LimitedTransferToken defines the generic interface and the implementation to limit token * transferability for different events. It is intended to be used as a base class for other token * contracts. * LimitedTransferToken has been designed to allow for different limiting factors, * this can be achieved by recursively calling super.transferableTokens() until the base class is * hit. For example: * function transferableTokens(address holder, uint64 time) constant public returns (uint256) { * return min256(unlockedTokens, super.transferableTokens(holder, time)); * } * A working example is VestedToken.sol: * https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/token/VestedToken.sol */ contract LimitedTransferToken is ERC20 { /** * @dev Checks whether it can transfer or otherwise throws. */ modifier canTransfer(address _sender, uint256 _value) { require(_value <= transferableTokens(_sender, uint64(now))); _; } /** * @dev Checks modifier and allows transfer if tokens are not locked. * @param _to The address that will recieve the tokens. * @param _value The amount of tokens to be transferred. */ function transfer(address _to, uint256 _value) canTransfer(msg.sender, _value) returns (bool) { return super.transfer(_to, _value); } /** * @dev Checks modifier and allows transfer if tokens are not locked. * @param _from The address that will send the tokens. * @param _to The address that will recieve the tokens. * @param _value The amount of tokens to be transferred. */ function transferFrom(address _from, address _to, uint256 _value) canTransfer(_from, _value) returns (bool) { return super.transferFrom(_from, _to, _value); } /** * @dev Default transferable tokens function returns all tokens for a holder (no limit). * @dev Overwriting transferableTokens(address holder, uint64 time) is the way to provide the * specific logic for limiting token transferability for a holder over time. */ function transferableTokens(address holder, uint64 time) constant public returns (uint256) { return balanceOf(holder); } } /** * @title Vested token * @dev Tokens that can be vested for a group of addresses. */ contract VestedToken is StandardToken, LimitedTransferToken { uint256 MAX_GRANTS_PER_ADDRESS = 20; struct TokenGrant { address granter; // 20 bytes uint256 value; // 32 bytes uint64 cliff; uint64 vesting; uint64 start; // 3 * 8 = 24 bytes bool revokable; bool burnsOnRevoke; // 2 * 1 = 2 bits? or 2 bytes? } // total 78 bytes = 3 sstore per operation (32 per sstore) mapping (address => TokenGrant[]) public grants; event NewTokenGrant(address indexed from, address indexed to, uint256 value, uint256 grantId); /** * @dev Grant tokens to a specified address * @param _to address The address which the tokens will be granted to. * @param _value uint256 The amount of tokens to be granted. * @param _start uint64 Time of the beginning of the grant. * @param _cliff uint64 Time of the cliff period. * @param _vesting uint64 The vesting period. */ function grantVestedTokens( address _to, uint256 _value, uint64 _start, uint64 _cliff, uint64 _vesting, bool _revokable, bool _burnsOnRevoke ) public { // Check for date inconsistencies that may cause unexpected behavior require(_cliff >= _start && _vesting >= _cliff); require(tokenGrantsCount(_to) < MAX_GRANTS_PER_ADDRESS); // To prevent a user being spammed and have his balance locked (out of gas attack when calculating vesting). uint256 count = grants[_to].push( TokenGrant( _revokable ? msg.sender : 0, // avoid storing an extra 20 bytes when it is non-revokable _value, _cliff, _vesting, _start, _revokable, _burnsOnRevoke ) ); transfer(_to, _value); NewTokenGrant(msg.sender, _to, _value, count - 1); } /** * @dev Revoke the grant of tokens of a specifed address. * @param _holder The address which will have its tokens revoked. * @param _grantId The id of the token grant. */ function revokeTokenGrant(address _holder, uint256 _grantId) public { TokenGrant grant = grants[_holder][_grantId]; require(grant.revokable); require(grant.granter == msg.sender); // Only granter can revoke it address receiver = grant.burnsOnRevoke ? 0xdead : msg.sender; uint256 nonVested = nonVestedTokens(grant, uint64(now)); // remove grant from array delete grants[_holder][_grantId]; grants[_holder][_grantId] = grants[_holder][grants[_holder].length.sub(1)]; grants[_holder].length -= 1; balances[receiver] = balances[receiver].add(nonVested); balances[_holder] = balances[_holder].sub(nonVested); Transfer(_holder, receiver, nonVested); } /** * @dev Calculate the total amount of transferable tokens of a holder at a given time * @param holder address The address of the holder * @param time uint64 The specific time. * @return An uint256 representing a holder's total amount of transferable tokens. */ function transferableTokens(address holder, uint64 time) constant public returns (uint256) { uint256 grantIndex = tokenGrantsCount(holder); if (grantIndex == 0) return super.transferableTokens(holder, time); // shortcut for holder without grants // Iterate through all the grants the holder has, and add all non-vested tokens uint256 nonVested = 0; for (uint256 i = 0; i < grantIndex; i++) { nonVested = SafeMath.add(nonVested, nonVestedTokens(grants[holder][i], time)); } // Balance - totalNonVested is the amount of tokens a holder can transfer at any given time uint256 vestedTransferable = SafeMath.sub(balanceOf(holder), nonVested); // Return the minimum of how many vested can transfer and other value // in case there are other limiting transferability factors (default is balanceOf) return Math.min256(vestedTransferable, super.transferableTokens(holder, time)); } /** * @dev Check the amount of grants that an address has. * @param _holder The holder of the grants. * @return A uint256 representing the total amount of grants. */ function tokenGrantsCount(address _holder) constant returns (uint256 index) { return grants[_holder].length; } /** * @dev Calculate amount of vested tokens at a specifc time. * @param tokens uint256 The amount of tokens grantted. * @param time uint64 The time to be checked * @param start uint64 A time representing the begining of the grant * @param cliff uint64 The cliff period. * @param vesting uint64 The vesting period. * @return An uint256 representing the amount of vested tokensof a specif grant. * transferableTokens * | _/-------- vestedTokens rect * | _/ * | _/ * | _/ * | _/ * | / * | .| * | . | * | . | * | . | * | . | * | . | * +===+===========+---------+----------> time * Start Clift Vesting */ function calculateVestedTokens( uint256 tokens, uint256 time, uint256 start, uint256 cliff, uint256 vesting) constant returns (uint256) { // Shortcuts for before cliff and after vesting cases. if (time < cliff) return 0; if (time >= vesting) return tokens; // Interpolate all vested tokens. // As before cliff the shortcut returns 0, we can use just calculate a value // in the vesting rect (as shown in above's figure) // vestedTokens = tokens * (time - start) / (vesting - start) uint256 vestedTokens = SafeMath.div( SafeMath.mul( tokens, SafeMath.sub(time, start) ), SafeMath.sub(vesting, start) ); return vestedTokens; } /** * @dev Get all information about a specifc grant. * @param _holder The address which will have its tokens revoked. * @param _grantId The id of the token grant. * @return Returns all the values that represent a TokenGrant(address, value, start, cliff, * revokability, burnsOnRevoke, and vesting) plus the vested value at the current time. */ function tokenGrant(address _holder, uint256 _grantId) constant returns (address granter, uint256 value, uint256 vested, uint64 start, uint64 cliff, uint64 vesting, bool revokable, bool burnsOnRevoke) { TokenGrant grant = grants[_holder][_grantId]; granter = grant.granter; value = grant.value; start = grant.start; cliff = grant.cliff; vesting = grant.vesting; revokable = grant.revokable; burnsOnRevoke = grant.burnsOnRevoke; vested = vestedTokens(grant, uint64(now)); } /** * @dev Get the amount of vested tokens at a specific time. * @param grant TokenGrant The grant to be checked. * @param time The time to be checked * @return An uint256 representing the amount of vested tokens of a specific grant at a specific time. */ function vestedTokens(TokenGrant grant, uint64 time) private constant returns (uint256) { return calculateVestedTokens( grant.value, uint256(time), uint256(grant.start), uint256(grant.cliff), uint256(grant.vesting) ); } /** * @dev Calculate the amount of non vested tokens at a specific time. * @param grant TokenGrant The grant to be checked. * @param time uint64 The time to be checked * @return An uint256 representing the amount of non vested tokens of a specifc grant on the * passed time frame. */ function nonVestedTokens(TokenGrant grant, uint64 time) private constant returns (uint256) { return grant.value.sub(vestedTokens(grant, time)); } /** * @dev Calculate the date when the holder can trasfer all its tokens * @param holder address The address of the holder * @return An uint256 representing the date of the last transferable tokens. */ function lastTokenIsTransferableDate(address holder) constant public returns (uint64 date) { date = uint64(now); uint256 grantIndex = grants[holder].length; for (uint256 i = 0; i < grantIndex; i++) { date = Math.max64(grants[holder][i].vesting, date); } } } contract EGLToken is VestedToken { //FIELDS string public name = "eGold"; string public symbol = "EGL"; uint public decimals = 4; //CONSTANTS // Time limits uint public constant STAGE_ONE_TIME_END = 24 hours; // first day bonus uint public constant STAGE_TWO_TIME_END = 1 weeks; // first week bonus uint public constant STAGE_THREE_TIME_END = 28 days; // around one month // Multiplier for the decimals uint private constant MULTIPLIER = 10000; //Prices of EGL uint public constant PRICE_STANDARD = 888 *MULTIPLIER; // EGL received per one ETH; MAX_SUPPLY / (valuation / ethPrice) uint public constant PRICE_PREBUY = 1066 *MULTIPLIER; // 1ETH = 20% more EGL uint public constant PRICE_STAGE_ONE = 1021 *MULTIPLIER; // 1ETH = 15% more EGL uint public constant PRICE_STAGE_TWO = 976 *MULTIPLIER; // 1ETH = 10% more EGL uint public constant PRICE_STAGE_THREE = 888 *MULTIPLIER; // EGL Token Limits uint public constant ALLOC_TEAM = 4444444 *MULTIPLIER; // team + advisors + everything else uint public constant ALLOC_CROWDSALE = (4444444-266666) *MULTIPLIER; uint public constant ALLOC_SC = 266666 *MULTIPLIER; uint public constant ALLOC_MAX_PRE = 888888 *MULTIPLIER; // More ERC20 uint public totalSupply = 8888888 *MULTIPLIER; // ASSIGNED IN INITIALIZATION // Start and end times uint public publicStartTime; // Time in seconds public crowd fund starts. uint public publicEndTime; // Time in seconds crowdsale ends uint public hardcapInWei; //Special Addresses address public multisigAddress; // Address to which all ether flows. address public ownerAddress; // Address of the contract owner. Can halt the crowdsale. // Running totals uint public weiRaised; // Total Ether raised. uint public EGLSold; // Total EGL sold. Not to exceed ALLOC_CROWDSALE uint public prebuyPortionTotal; // Total of Tokens purchased by pre-buy. Not to exceed ALLOC_MAX_PRE. // booleans bool public halted; // halts the crowd sale if true. // Is completed function isCrowdfundCompleted() internal returns (bool) { if ( now > publicEndTime || EGLSold >= ALLOC_CROWDSALE || weiRaised >= hardcapInWei ) return true; return false; } // MODIFIERS //May only be called by the owner address modifier only_owner() { require(msg.sender == ownerAddress); _; } //May only be called if the crowdfund has not been halted modifier is_not_halted() { require(!halted); _; } // EVENTS event Buy(address indexed _recipient, uint _amount); // Initialization contract assigns address of crowdfund contract and end time. function EGLToken( address _multisig, uint _publicStartTime, uint _hardcapInWei ) { ownerAddress = msg.sender; publicStartTime = _publicStartTime; publicEndTime = _publicStartTime + 28 days; multisigAddress = _multisig; hardcapInWei = _hardcapInWei; balances[0x8c6a58B551F38d4D51C0db7bb8b7ad29f7488702] += ALLOC_SC; // will be transferred to the team address when it's vested balances[ownerAddress] += ALLOC_TEAM; balances[ownerAddress] += ALLOC_CROWDSALE; } // Transfer amount of tokens from sender account to recipient. // Only callable after the crowd fund is completed function transfer(address _to, uint _value) returns (bool) { if (_to == msg.sender) return; // no-op, allow even during crowdsale, in order to work around using grantVestedTokens() while in crowdsale require(isCrowdfundCompleted()); return super.transfer(_to, _value); } // Transfer amount of tokens from a specified address to a recipient. function transferFrom(address _from, address _to, uint _value) returns (bool) { require(isCrowdfundCompleted()); return super.transferFrom(_from, _to, _value); } // function returns the current EGL price. function getPriceRate() constant returns (uint o_rate) { uint delta = SafeMath.sub(now, publicStartTime); if (delta > STAGE_TWO_TIME_END) return PRICE_STAGE_THREE; if (delta > STAGE_ONE_TIME_END) return PRICE_STAGE_TWO; return (PRICE_STAGE_ONE); } // calculates wmount of EGL we get, given the wei and the rates we've defined per 1 eth function calcAmount(uint _wei, uint _rate) constant returns (uint) { return SafeMath.div(SafeMath.mul(_wei, _rate), 1 ether); } // Given the rate of a purchase and the remaining tokens in this tranche, it // will throw if the sale would take it past the limit of the tranche. // Returns `amount` in scope as the number of EGL tokens that it will purchase. function processPurchase(uint _rate, uint _remaining) internal returns (uint o_amount) { o_amount = calcAmount(msg.value, _rate); require(o_amount <= _remaining); require(multisigAddress.send(msg.value)); balances[ownerAddress] = balances[ownerAddress].sub(o_amount); balances[msg.sender] = balances[msg.sender].add(o_amount); EGLSold += o_amount; weiRaised += msg.value; } // Default function called by sending Ether to this address with no arguments. // Results in creation of new EGL Tokens if transaction would not exceed hard limit of EGL Token. function() payable is_not_halted { require(!isCrowdfundCompleted()); uint amount; if (now < publicStartTime) { // pre-sale amount = processPurchase(PRICE_PREBUY, SafeMath.sub(ALLOC_MAX_PRE, prebuyPortionTotal)); prebuyPortionTotal += amount; } else { amount = processPurchase(getPriceRate(), SafeMath.sub(ALLOC_CROWDSALE, EGLSold)); } Buy(msg.sender, amount); } // May be used by owner of contract to halt crowdsale and no longer except ether. function toggleHalt(bool _halted) only_owner { halted = _halted; } // failsafe drain function drain() only_owner { require(ownerAddress.send(this.balance)); } // public constant function getStatus() constant public returns (string) { if (EGLSold >= ALLOC_CROWDSALE) return "tokensSoldOut"; if (weiRaised >= hardcapInWei) return "hardcapReached"; if (now < publicStartTime) { // presale if (prebuyPortionTotal >= ALLOC_MAX_PRE) return "presaleSoldOut"; return "presale"; } else if (now < publicEndTime) { // public sale return "public"; } else { return "saleOver"; } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"_holder","type":"address"}],"name":"tokenGrantsCount","outputs":[{"name":"index","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"PRICE_STAGE_TWO","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"PRICE_PREBUY","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"publicEndTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"grants","outputs":[{"name":"granter","type":"address"},{"name":"value","type":"uint256"},{"name":"cliff","type":"uint64"},{"name":"vesting","type":"uint64"},{"name":"start","type":"uint64"},{"name":"revokable","type":"bool"},{"name":"burnsOnRevoke","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ALLOC_SC","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getStatus","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"multisigAddress","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"publicStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_holder","type":"address"},{"name":"_grantId","type":"uint256"}],"name":"tokenGrant","outputs":[{"name":"granter","type":"address"},{"name":"value","type":"uint256"},{"name":"vested","type":"uint256"},{"name":"start","type":"uint64"},{"name":"cliff","type":"uint64"},{"name":"vesting","type":"uint64"},{"name":"revokable","type":"bool"},{"name":"burnsOnRevoke","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"STAGE_TWO_TIME_END","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"holder","type":"address"}],"name":"lastTokenIsTransferableDate","outputs":[{"name":"date","type":"uint64"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"STAGE_ONE_TIME_END","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_wei","type":"uint256"},{"name":"_rate","type":"uint256"}],"name":"calcAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ALLOC_CROWDSALE","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"EGLSold","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getPriceRate","outputs":[{"name":"o_rate","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_halted","type":"bool"}],"name":"toggleHalt","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ownerAddress","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"PRICE_STAGE_ONE","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_start","type":"uint64"},{"name":"_cliff","type":"uint64"},{"name":"_vesting","type":"uint64"},{"name":"_revokable","type":"bool"},{"name":"_burnsOnRevoke","type":"bool"}],"name":"grantVestedTokens","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"drain","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"prebuyPortionTotal","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ALLOC_TEAM","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"halted","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"holder","type":"address"},{"name":"time","type":"uint64"}],"name":"transferableTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ALLOC_MAX_PRE","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"hardcapInWei","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"tokens","type":"uint256"},{"name":"time","type":"uint256"},{"name":"start","type":"uint256"},{"name":"cliff","type":"uint256"},{"name":"vesting","type":"uint256"}],"name":"calculateVestedTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"PRICE_STAGE_THREE","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_holder","type":"address"},{"name":"_grantId","type":"uint256"}],"name":"revokeTokenGrant","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"PRICE_STANDARD","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"STAGE_THREE_TIME_END","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[{"name":"_multisig","type":"address"},{"name":"_publicStartTime","type":"uint256"},{"name":"_hardcapInWei","type":"uint256"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_recipient","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"grantId","type":"uint256"}],"name":"NewTokenGrant","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]
Contract Creation Code
606060405260146003556040805190810160405260058082527f65476f6c6400000000000000000000000000000000000000000000000000000060208301529080516200005192916020019062000183565b5060408051908101604052600381527f45474c0000000000000000000000000000000000000000000000000000000000602082015260069080516200009b92916020019062000183565b5060046007556414b230ab806008553415620000b657600080fd5b604051606080620024728339810160405280805191906020018051919060200180519150505b600d8054600160a060020a03338116600160a060020a03199283161780845560098690556224ea008601600a55600c8054888416941693909317909255600b84905560016020527f956011dfcf89acde84a779cd2c35b0c67020de4c3b571f08cf366f6fce27a8178054639ef200a0019055908116600090815260408082208054640a591855c0019055925490911681522080546409ba2655200190555b5050506200022d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001c657805160ff1916838001178555620001f6565b82800160010185558215620001f6579182015b82811115620001f6578251825591602001919060010190620001d9565b5b506200020592915062000209565b5090565b6200022a91905b8082111562000205576000815560010162000210565b5090565b90565b612235806200023d6000396000f3006060604052361561020c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302a72a4c81146102da578063031f22e71461030b57806306fdde0314610330578063095ea7b3146103bb57806318160ddd146103f15780631dd5301a1461041657806323b872dd1461043b5780632c27e581146104775780632c71e60a1461049c578063313ce567146105175780634042b66f1461053c578063481f9555146105615780634e69d560146105865780635462870d146106115780635fd1bbc414610640578063600e85b7146106655780636698baaa146106e65780636c182e991461070b5780636f2590771461074757806370a082311461076c5780637133c0c01461079d5780637717403b146107c857806385cba722146107ed5780638a4b08d9146108125780638c346690146108375780638f84aa09146108515780638fd712ae1461088057806395d89b41146108a55780639754a4d9146109305780639890220b146109775780639b9149731461098c578063a9059cbb146109b1578063b475a1c8146109e7578063b9b8af0b14610a0c578063d347c20514610a33578063dbbd9a0414610a71578063dd62ed3e14610a96578063ddfa53e414610acd578063df3c211b14610af2578063e02f8d3314610b26578063eb944e4c14610b4b578063efe7926814610b26578063f514f0f914610b94575b6102d85b60115460009060ff161561022357600080fd5b61022b610bb9565b1561023557600080fd5b6009544210156102705761026161271061042a0261025c612710620d903802601054610bf6565b610c0d565b60108054820190559050610296565b61029361027b610cf0565b61025c612710623fbf7202600f54610bf6565b610c0d565b90505b33600160a060020a03167fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e8260405190815260200160405180910390a25b5b50565b005b34156102e557600080fd5b6102f9600160a060020a0360043516610d38565b60405190815260200160405180910390f35b341561031657600080fd5b6102f9610d57565b60405190815260200160405180910390f35b341561033b57600080fd5b610343610d5e565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103805780820151818401525b602001610367565b50505050905090810190601f1680156103ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103c657600080fd5b6103dd600160a060020a0360043516602435610dfc565b604051901515815260200160405180910390f35b34156103fc57600080fd5b6102f9610ea3565b60405190815260200160405180910390f35b341561042157600080fd5b6102f9610ea9565b60405190815260200160405180910390f35b341561044657600080fd5b6103dd600160a060020a0360043581169060243516604435610eb0565b604051901515815260200160405180910390f35b341561048257600080fd5b6102f9610eda565b60405190815260200160405180910390f35b34156104a757600080fd5b6104be600160a060020a0360043516602435610ee0565b604051600160a060020a039097168752602087019590955267ffffffffffffffff93841660408088019190915292841660608701529216608085015290151560a084015290151560c083015260e0909101905180910390f35b341561052257600080fd5b6102f9610f66565b60405190815260200160405180910390f35b341561054757600080fd5b6102f9610f6c565b60405190815260200160405180910390f35b341561056c57600080fd5b6102f9610f72565b60405190815260200160405180910390f35b341561059157600080fd5b610343610f7a565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103805780820151818401525b602001610367565b50505050905090810190601f1680156103ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561061c57600080fd5b610624611126565b604051600160a060020a03909116815260200160405180910390f35b341561064b57600080fd5b6102f9611135565b60405190815260200160405180910390f35b341561067057600080fd5b610687600160a060020a036004351660243561113b565b604051600160a060020a039098168852602088019690965260408088019590955267ffffffffffffffff9384166060880152918316608087015290911660a0850152151560c084015290151560e0830152610100909101905180910390f35b34156106f157600080fd5b6102f9611288565b60405190815260200160405180910390f35b341561071657600080fd5b61072a600160a060020a036004351661128f565b60405167ffffffffffffffff909116815260200160405180910390f35b341561075257600080fd5b6102f9611321565b60405190815260200160405180910390f35b341561077757600080fd5b6102f9600160a060020a0360043516611328565b60405190815260200160405180910390f35b34156107a857600080fd5b6102f9600435602435611347565b60405190815260200160405180910390f35b34156107d357600080fd5b6102f961136d565b60405190815260200160405180910390f35b34156107f857600080fd5b6102f9611376565b60405190815260200160405180910390f35b341561081d57600080fd5b6102f9610cf0565b60405190815260200160405180910390f35b341561084257600080fd5b6102d8600435151561137c565b005b341561085c57600080fd5b6106246113aa565b604051600160a060020a03909116815260200160405180910390f35b341561088b57600080fd5b6102f96113b9565b60405190815260200160405180910390f35b34156108b057600080fd5b6103436113c0565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103805780820151818401525b602001610367565b50505050905090810190601f1680156103ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561093b57600080fd5b6102d8600160a060020a036004351660243567ffffffffffffffff6044358116906064358116906084351660a435151560c435151561145e565b005b341561098257600080fd5b6102d86116e9565b005b341561099757600080fd5b6102f9611741565b60405190815260200160405180910390f35b34156109bc57600080fd5b6103dd600160a060020a0360043516602435611747565b604051901515815260200160405180910390f35b34156109f257600080fd5b6102f961178e565b60405190815260200160405180910390f35b3415610a1757600080fd5b6103dd611797565b604051901515815260200160405180910390f35b3415610a3e57600080fd5b6102f9600160a060020a036004351667ffffffffffffffff602435166117a0565b60405190815260200160405180910390f35b3415610a7c57600080fd5b6102f96118ed565b60405190815260200160405180910390f35b3415610aa157600080fd5b6102f9600160a060020a03600435811690602435166118f6565b60405190815260200160405180910390f35b3415610ad857600080fd5b6102f9611923565b60405190815260200160405180910390f35b3415610afd57600080fd5b6102f9600435602435604435606435608435611929565b60405190815260200160405180910390f35b3415610b3157600080fd5b6102f9611981565b60405190815260200160405180910390f35b3415610b5657600080fd5b6102d8600160a060020a0360043516602435611988565b005b3415610b3157600080fd5b6102f9611981565b60405190815260200160405180910390f35b3415610b9f57600080fd5b6102f9611db6565b60405190815260200160405180910390f35b6000600a54421180610bd35750600f546409ba2655209010155b80610be25750600b54600e5410155b15610bef57506001610bf3565b5060005b90565b600082821115610c0257fe5b508082035b92915050565b6000610c193484611347565b905081811115610c2857600080fd5b600c54600160a060020a03163480156108fc0290604051600060405180830381858888f193505050501515610c5c57600080fd5b600d54600160a060020a0316600090815260016020526040902054610c87908263ffffffff610bf616565b600d54600160a060020a03908116600090815260016020526040808220939093553390911681522054610cc0908263ffffffff611dbd16565b600160a060020a033316600090815260016020526040902055600f805482019055600e8054340190555b92915050565b600080610cff42600954610bf6565b905062093a80811115610d175762877f809150610d34565b62015180811115610d2d576294ed009150610d34565b629bcad091505b5090565b600160a060020a0381166000908152600460205260409020545b919050565b6294ed0081565b60058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610df45780601f10610dc957610100808354040283529160200191610df4565b820191906000526020600020905b815481529060010190602001808311610dd757829003601f168201915b505050505081565b6000811580610e2e5750600160a060020a03338116600090815260026020908152604080832093871683529290522054155b1515610e3957600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60085481565b62a2a8a081565b6000610eba610bb9565b1515610ec557600080fd5b610ed0848484611dd7565b90505b9392505050565b600a5481565b600460205281600052604060002081815481101515610efb57fe5b906000526020600020906003020160005b5080546001820154600290920154600160a060020a03909116935090915067ffffffffffffffff80821691680100000000000000008104821691608060020a8204169060ff60c060020a820481169160c860020a90041687565b60075481565b600e5481565b639ef200a081565b610f8261212f565b600f546409ba2655209010610fcc5760408051908101604052600d81527f746f6b656e73536f6c644f75740000000000000000000000000000000000000060208201529050610bf3565b600b54600e54106110125760408051908101604052600e81527f686172646361705265616368656400000000000000000000000000000000000060208201529050610bf3565b6009544210156110a157601054640211d18b8090106110665760408051908101604052600e81527f70726573616c65536f6c644f757400000000000000000000000000000000000060208201529050610bf3565b60408051908101604052600781527f70726573616c650000000000000000000000000000000000000000000000000060208201529050610bf3565b600a544210156110e65760408051908101604052600681527f7075626c6963000000000000000000000000000000000000000000000000000060208201529050610bf3565b60408051908101604052600881527f73616c654f76657200000000000000000000000000000000000000000000000060208201529050610bf3565b5b5b90565b600c54600160a060020a031681565b60095481565b6000806000806000806000806000600460008c600160a060020a0316600160a060020a031681526020019081526020016000208a81548110151561117b57fe5b906000526020600020906003020160005b50805460018201546002830154600160a060020a039092169b50995067ffffffffffffffff608060020a820481169850808216975068010000000000000000820416955060ff60c060020a82048116955060c860020a90910416925090506112778160e060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a8104909216608082015260ff60c060020a83048116151560a083015260c860020a909204909116151560c082015242611e09565b96505b509295985092959890939650565b62093a8081565b600160a060020a03811660009081526004602052604081205442915b8181101561131957600160a060020a0384166000908152600460205260409020805461130e9190839081106112dc57fe5b906000526020600020906003020160005b506002015468010000000000000000900467ffffffffffffffff1684611e59565b92505b6001016112ab565b5b5050919050565b6201518081565b600160a060020a0381166000908152600160205260409020545b919050565b60006113646113568484611e88565b670de0b6b3a7640000611eb7565b90505b92915050565b6409ba26552081565b600f5481565b600d5433600160a060020a0390811691161461139757600080fd5b6011805460ff19168215151790555b5b50565b600d54600160a060020a031681565b629bcad081565b60068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610df45780601f10610dc957610100808354040283529160200191610df4565b820191906000526020600020905b815481529060010190602001808311610dd757829003601f168201915b505050505081565b60008567ffffffffffffffff168567ffffffffffffffff161015801561149857508467ffffffffffffffff168467ffffffffffffffff1610155b15156114a357600080fd5b6003546114af89610d38565b106114b957600080fd5b600160a060020a03881660009081526004602052604090208054600181016114e18382612141565b916000526020600020906003020160005b60e0604051908101604052808761150a57600061150c565b335b600160a060020a03168152602081018c905267ffffffffffffffff808b16604083015289811660608301528b16608082015287151560a082015286151560c0909101529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201518160010155604082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560608201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060808201518160020160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a082015160028201805491151560c060020a0278ff0000000000000000000000000000000000000000000000001990921691909117905560c08201516002909101805491151560c860020a0279ff000000000000000000000000000000000000000000000000001990921691909117905550905061168c8888611747565b5087600160a060020a031633600160a060020a03167ff9565aecd648a0466ffb964a79eeccdf1120ad6276189c687a6e9fe73984d9bb896001850360405191825260208201526040908101905180910390a35b5050505050505050565b600d5433600160a060020a0390811691161461170457600080fd5b600d54600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561173d57600080fd5b5b5b565b60105481565b600033600160a060020a031683600160a060020a0316141561176857610c07565b611770610bb9565b151561177b57600080fd5b6113648383611ed3565b90505b92915050565b640a591855c081565b60115460ff1681565b60008060008060006117b187610d38565b93508315156117cb576117c48787611f03565b94506118e3565b60009250600091505b838210156118b957600160a060020a038716600090815260046020526040902080546118ab9185916118a691908690811061180b57fe5b906000526020600020906003020160005b5060e060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a8104909216608082015260ff60c060020a83048116151560a083015260c860020a909204909116151560c082015289611f17565b611dbd565b92505b6001909101906117d4565b6118cb6118c588611328565b84610bf6565b90506118e0816118db8989611f03565b611f40565b94505b5050505092915050565b640211d18b8081565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b600b5481565b6000808386101561193d5760009150611977565b82861061194c57869150611977565b6119716119628861195d8989610bf6565b611e88565b61196c8588610bf6565b611eb7565b90508091505b5095945050505050565b62877f8081565b600160a060020a0382166000908152600460205260408120805482918291859081106119b057fe5b906000526020600020906003020160005b50600281015490935060c060020a900460ff1615156119df57600080fd5b825433600160a060020a039081169116146119f957600080fd5b600283015460c860020a900460ff16611a125733611a16565b61dead5b9150611aa58360e060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a8104909216608082015260ff60c060020a83048116151560a083015260c860020a909204909116151560c082015242611f17565b600160a060020a038616600090815260046020526040902080549192509085908110611acd57fe5b906000526020600020906003020160005b50805473ffffffffffffffffffffffffffffffffffffffff19168155600060018083018290556002909201805479ffffffffffffffffffffffffffffffffffffffffffffffffffff19169055600160a060020a038716815260046020526040902080549091611b53919063ffffffff610bf616565b81548110611b5d57fe5b906000526020600020906003020160005b50600160a060020a0386166000908152600460205260409020805486908110611b9357fe5b906000526020600020906003020160005b508154815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03918216178255600180840154908301556002928301805493909201805467ffffffffffffffff191667ffffffffffffffff94851617808255835468010000000000000000908190048616026fffffffffffffffff000000000000000019909116178082558354608060020a9081900490951690940277ffffffffffffffff000000000000000000000000000000001990941693909317808455825460ff60c060020a918290048116151590910278ff0000000000000000000000000000000000000000000000001990921691909117808555925460c860020a9081900490911615150279ff0000000000000000000000000000000000000000000000000019909216919091179091558516600090815260046020526040902080546000190190611cf29082612141565b50600160a060020a038216600090815260016020526040902054611d1c908263ffffffff611dbd16565b600160a060020a038084166000908152600160205260408082209390935590871681522054611d51908263ffffffff610bf616565b600160a060020a038087166000818152600160205260409081902093909355908416917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5050505050565b62877f8081565b6224ea0081565b600082820183811015611dcc57fe5b8091505b5092915050565b60008382611de582426117a0565b811115611df157600080fd5b611dfc868686611f5a565b92505b5b50509392505050565b600061136483602001518367ffffffffffffffff16856080015167ffffffffffffffff16866040015167ffffffffffffffff16876060015167ffffffffffffffff16611929565b90505b92915050565b60008167ffffffffffffffff168367ffffffffffffffff161015611e7d5781611364565b825b90505b92915050565b6000828202831580611ea45750828482811515611ea157fe5b04145b1515611dcc57fe5b8091505b5092915050565b6000808284811515611ec557fe5b0490508091505b5092915050565b60003382611ee182426117a0565b811115611eed57600080fd5b611ef7858561206f565b92505b5b505092915050565b600061136483611328565b90505b92915050565b6000611364611f268484611e09565b84602001519063ffffffff610bf616565b90505b92915050565b6000818310611e7d5781611364565b825b90505b92915050565b600160a060020a038084166000908152600260209081526040808320338516845282528083205493861683526001909152812054909190611fa1908463ffffffff611dbd16565b600160a060020a038086166000908152600160205260408082209390935590871681522054611fd6908463ffffffff610bf616565b600160a060020a038616600090815260016020526040902055611fff818463ffffffff610bf616565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191505b509392505050565b600160a060020a033316600090815260016020526040812054612098908363ffffffff610bf616565b600160a060020a0333811660009081526001602052604080822093909355908516815220546120cd908363ffffffff611dbd16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b60206040519081016040526000815290565b81548183558181151161216d5760030281600302836000526020600020918201910161216d91906121a5565b5b505050565b81548183558181151161216d5760030281600302836000526020600020918201910161216d91906121a5565b5b505050565b610bf391905b80821115610d3457805473ffffffffffffffffffffffffffffffffffffffff191681556000600182015560028101805479ffffffffffffffffffffffffffffffffffffffffffffffffffff191690556003016121ab565b5090565b905600a165627a7a72305820fe996acdb5632aaaef94928dd650ec26405c5b385439a452eab4bc6c8f951196002900000000000000000000000083ad5446c3cb30970188b9908a3d6c996e3ee03f000000000000000000000000000000000000000000000000000000005a88c20000000000000000000000000000000000000000000000010f0cf064dd59200000
Deployed Bytecode
0x6060604052361561020c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302a72a4c81146102da578063031f22e71461030b57806306fdde0314610330578063095ea7b3146103bb57806318160ddd146103f15780631dd5301a1461041657806323b872dd1461043b5780632c27e581146104775780632c71e60a1461049c578063313ce567146105175780634042b66f1461053c578063481f9555146105615780634e69d560146105865780635462870d146106115780635fd1bbc414610640578063600e85b7146106655780636698baaa146106e65780636c182e991461070b5780636f2590771461074757806370a082311461076c5780637133c0c01461079d5780637717403b146107c857806385cba722146107ed5780638a4b08d9146108125780638c346690146108375780638f84aa09146108515780638fd712ae1461088057806395d89b41146108a55780639754a4d9146109305780639890220b146109775780639b9149731461098c578063a9059cbb146109b1578063b475a1c8146109e7578063b9b8af0b14610a0c578063d347c20514610a33578063dbbd9a0414610a71578063dd62ed3e14610a96578063ddfa53e414610acd578063df3c211b14610af2578063e02f8d3314610b26578063eb944e4c14610b4b578063efe7926814610b26578063f514f0f914610b94575b6102d85b60115460009060ff161561022357600080fd5b61022b610bb9565b1561023557600080fd5b6009544210156102705761026161271061042a0261025c612710620d903802601054610bf6565b610c0d565b60108054820190559050610296565b61029361027b610cf0565b61025c612710623fbf7202600f54610bf6565b610c0d565b90505b33600160a060020a03167fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e8260405190815260200160405180910390a25b5b50565b005b34156102e557600080fd5b6102f9600160a060020a0360043516610d38565b60405190815260200160405180910390f35b341561031657600080fd5b6102f9610d57565b60405190815260200160405180910390f35b341561033b57600080fd5b610343610d5e565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103805780820151818401525b602001610367565b50505050905090810190601f1680156103ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103c657600080fd5b6103dd600160a060020a0360043516602435610dfc565b604051901515815260200160405180910390f35b34156103fc57600080fd5b6102f9610ea3565b60405190815260200160405180910390f35b341561042157600080fd5b6102f9610ea9565b60405190815260200160405180910390f35b341561044657600080fd5b6103dd600160a060020a0360043581169060243516604435610eb0565b604051901515815260200160405180910390f35b341561048257600080fd5b6102f9610eda565b60405190815260200160405180910390f35b34156104a757600080fd5b6104be600160a060020a0360043516602435610ee0565b604051600160a060020a039097168752602087019590955267ffffffffffffffff93841660408088019190915292841660608701529216608085015290151560a084015290151560c083015260e0909101905180910390f35b341561052257600080fd5b6102f9610f66565b60405190815260200160405180910390f35b341561054757600080fd5b6102f9610f6c565b60405190815260200160405180910390f35b341561056c57600080fd5b6102f9610f72565b60405190815260200160405180910390f35b341561059157600080fd5b610343610f7a565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103805780820151818401525b602001610367565b50505050905090810190601f1680156103ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561061c57600080fd5b610624611126565b604051600160a060020a03909116815260200160405180910390f35b341561064b57600080fd5b6102f9611135565b60405190815260200160405180910390f35b341561067057600080fd5b610687600160a060020a036004351660243561113b565b604051600160a060020a039098168852602088019690965260408088019590955267ffffffffffffffff9384166060880152918316608087015290911660a0850152151560c084015290151560e0830152610100909101905180910390f35b34156106f157600080fd5b6102f9611288565b60405190815260200160405180910390f35b341561071657600080fd5b61072a600160a060020a036004351661128f565b60405167ffffffffffffffff909116815260200160405180910390f35b341561075257600080fd5b6102f9611321565b60405190815260200160405180910390f35b341561077757600080fd5b6102f9600160a060020a0360043516611328565b60405190815260200160405180910390f35b34156107a857600080fd5b6102f9600435602435611347565b60405190815260200160405180910390f35b34156107d357600080fd5b6102f961136d565b60405190815260200160405180910390f35b34156107f857600080fd5b6102f9611376565b60405190815260200160405180910390f35b341561081d57600080fd5b6102f9610cf0565b60405190815260200160405180910390f35b341561084257600080fd5b6102d8600435151561137c565b005b341561085c57600080fd5b6106246113aa565b604051600160a060020a03909116815260200160405180910390f35b341561088b57600080fd5b6102f96113b9565b60405190815260200160405180910390f35b34156108b057600080fd5b6103436113c0565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103805780820151818401525b602001610367565b50505050905090810190601f1680156103ad5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561093b57600080fd5b6102d8600160a060020a036004351660243567ffffffffffffffff6044358116906064358116906084351660a435151560c435151561145e565b005b341561098257600080fd5b6102d86116e9565b005b341561099757600080fd5b6102f9611741565b60405190815260200160405180910390f35b34156109bc57600080fd5b6103dd600160a060020a0360043516602435611747565b604051901515815260200160405180910390f35b34156109f257600080fd5b6102f961178e565b60405190815260200160405180910390f35b3415610a1757600080fd5b6103dd611797565b604051901515815260200160405180910390f35b3415610a3e57600080fd5b6102f9600160a060020a036004351667ffffffffffffffff602435166117a0565b60405190815260200160405180910390f35b3415610a7c57600080fd5b6102f96118ed565b60405190815260200160405180910390f35b3415610aa157600080fd5b6102f9600160a060020a03600435811690602435166118f6565b60405190815260200160405180910390f35b3415610ad857600080fd5b6102f9611923565b60405190815260200160405180910390f35b3415610afd57600080fd5b6102f9600435602435604435606435608435611929565b60405190815260200160405180910390f35b3415610b3157600080fd5b6102f9611981565b60405190815260200160405180910390f35b3415610b5657600080fd5b6102d8600160a060020a0360043516602435611988565b005b3415610b3157600080fd5b6102f9611981565b60405190815260200160405180910390f35b3415610b9f57600080fd5b6102f9611db6565b60405190815260200160405180910390f35b6000600a54421180610bd35750600f546409ba2655209010155b80610be25750600b54600e5410155b15610bef57506001610bf3565b5060005b90565b600082821115610c0257fe5b508082035b92915050565b6000610c193484611347565b905081811115610c2857600080fd5b600c54600160a060020a03163480156108fc0290604051600060405180830381858888f193505050501515610c5c57600080fd5b600d54600160a060020a0316600090815260016020526040902054610c87908263ffffffff610bf616565b600d54600160a060020a03908116600090815260016020526040808220939093553390911681522054610cc0908263ffffffff611dbd16565b600160a060020a033316600090815260016020526040902055600f805482019055600e8054340190555b92915050565b600080610cff42600954610bf6565b905062093a80811115610d175762877f809150610d34565b62015180811115610d2d576294ed009150610d34565b629bcad091505b5090565b600160a060020a0381166000908152600460205260409020545b919050565b6294ed0081565b60058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610df45780601f10610dc957610100808354040283529160200191610df4565b820191906000526020600020905b815481529060010190602001808311610dd757829003601f168201915b505050505081565b6000811580610e2e5750600160a060020a03338116600090815260026020908152604080832093871683529290522054155b1515610e3957600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60085481565b62a2a8a081565b6000610eba610bb9565b1515610ec557600080fd5b610ed0848484611dd7565b90505b9392505050565b600a5481565b600460205281600052604060002081815481101515610efb57fe5b906000526020600020906003020160005b5080546001820154600290920154600160a060020a03909116935090915067ffffffffffffffff80821691680100000000000000008104821691608060020a8204169060ff60c060020a820481169160c860020a90041687565b60075481565b600e5481565b639ef200a081565b610f8261212f565b600f546409ba2655209010610fcc5760408051908101604052600d81527f746f6b656e73536f6c644f75740000000000000000000000000000000000000060208201529050610bf3565b600b54600e54106110125760408051908101604052600e81527f686172646361705265616368656400000000000000000000000000000000000060208201529050610bf3565b6009544210156110a157601054640211d18b8090106110665760408051908101604052600e81527f70726573616c65536f6c644f757400000000000000000000000000000000000060208201529050610bf3565b60408051908101604052600781527f70726573616c650000000000000000000000000000000000000000000000000060208201529050610bf3565b600a544210156110e65760408051908101604052600681527f7075626c6963000000000000000000000000000000000000000000000000000060208201529050610bf3565b60408051908101604052600881527f73616c654f76657200000000000000000000000000000000000000000000000060208201529050610bf3565b5b5b90565b600c54600160a060020a031681565b60095481565b6000806000806000806000806000600460008c600160a060020a0316600160a060020a031681526020019081526020016000208a81548110151561117b57fe5b906000526020600020906003020160005b50805460018201546002830154600160a060020a039092169b50995067ffffffffffffffff608060020a820481169850808216975068010000000000000000820416955060ff60c060020a82048116955060c860020a90910416925090506112778160e060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a8104909216608082015260ff60c060020a83048116151560a083015260c860020a909204909116151560c082015242611e09565b96505b509295985092959890939650565b62093a8081565b600160a060020a03811660009081526004602052604081205442915b8181101561131957600160a060020a0384166000908152600460205260409020805461130e9190839081106112dc57fe5b906000526020600020906003020160005b506002015468010000000000000000900467ffffffffffffffff1684611e59565b92505b6001016112ab565b5b5050919050565b6201518081565b600160a060020a0381166000908152600160205260409020545b919050565b60006113646113568484611e88565b670de0b6b3a7640000611eb7565b90505b92915050565b6409ba26552081565b600f5481565b600d5433600160a060020a0390811691161461139757600080fd5b6011805460ff19168215151790555b5b50565b600d54600160a060020a031681565b629bcad081565b60068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610df45780601f10610dc957610100808354040283529160200191610df4565b820191906000526020600020905b815481529060010190602001808311610dd757829003601f168201915b505050505081565b60008567ffffffffffffffff168567ffffffffffffffff161015801561149857508467ffffffffffffffff168467ffffffffffffffff1610155b15156114a357600080fd5b6003546114af89610d38565b106114b957600080fd5b600160a060020a03881660009081526004602052604090208054600181016114e18382612141565b916000526020600020906003020160005b60e0604051908101604052808761150a57600061150c565b335b600160a060020a03168152602081018c905267ffffffffffffffff808b16604083015289811660608301528b16608082015287151560a082015286151560c0909101529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039190911617815560208201518160010155604082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560608201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060808201518160020160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a082015160028201805491151560c060020a0278ff0000000000000000000000000000000000000000000000001990921691909117905560c08201516002909101805491151560c860020a0279ff000000000000000000000000000000000000000000000000001990921691909117905550905061168c8888611747565b5087600160a060020a031633600160a060020a03167ff9565aecd648a0466ffb964a79eeccdf1120ad6276189c687a6e9fe73984d9bb896001850360405191825260208201526040908101905180910390a35b5050505050505050565b600d5433600160a060020a0390811691161461170457600080fd5b600d54600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561173d57600080fd5b5b5b565b60105481565b600033600160a060020a031683600160a060020a0316141561176857610c07565b611770610bb9565b151561177b57600080fd5b6113648383611ed3565b90505b92915050565b640a591855c081565b60115460ff1681565b60008060008060006117b187610d38565b93508315156117cb576117c48787611f03565b94506118e3565b60009250600091505b838210156118b957600160a060020a038716600090815260046020526040902080546118ab9185916118a691908690811061180b57fe5b906000526020600020906003020160005b5060e060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a8104909216608082015260ff60c060020a83048116151560a083015260c860020a909204909116151560c082015289611f17565b611dbd565b92505b6001909101906117d4565b6118cb6118c588611328565b84610bf6565b90506118e0816118db8989611f03565b611f40565b94505b5050505092915050565b640211d18b8081565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b600b5481565b6000808386101561193d5760009150611977565b82861061194c57869150611977565b6119716119628861195d8989610bf6565b611e88565b61196c8588610bf6565b611eb7565b90508091505b5095945050505050565b62877f8081565b600160a060020a0382166000908152600460205260408120805482918291859081106119b057fe5b906000526020600020906003020160005b50600281015490935060c060020a900460ff1615156119df57600080fd5b825433600160a060020a039081169116146119f957600080fd5b600283015460c860020a900460ff16611a125733611a16565b61dead5b9150611aa58360e060405190810160409081528254600160a060020a031682526001830154602083015260029092015467ffffffffffffffff8082169383019390935268010000000000000000810483166060830152608060020a8104909216608082015260ff60c060020a83048116151560a083015260c860020a909204909116151560c082015242611f17565b600160a060020a038616600090815260046020526040902080549192509085908110611acd57fe5b906000526020600020906003020160005b50805473ffffffffffffffffffffffffffffffffffffffff19168155600060018083018290556002909201805479ffffffffffffffffffffffffffffffffffffffffffffffffffff19169055600160a060020a038716815260046020526040902080549091611b53919063ffffffff610bf616565b81548110611b5d57fe5b906000526020600020906003020160005b50600160a060020a0386166000908152600460205260409020805486908110611b9357fe5b906000526020600020906003020160005b508154815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03918216178255600180840154908301556002928301805493909201805467ffffffffffffffff191667ffffffffffffffff94851617808255835468010000000000000000908190048616026fffffffffffffffff000000000000000019909116178082558354608060020a9081900490951690940277ffffffffffffffff000000000000000000000000000000001990941693909317808455825460ff60c060020a918290048116151590910278ff0000000000000000000000000000000000000000000000001990921691909117808555925460c860020a9081900490911615150279ff0000000000000000000000000000000000000000000000000019909216919091179091558516600090815260046020526040902080546000190190611cf29082612141565b50600160a060020a038216600090815260016020526040902054611d1c908263ffffffff611dbd16565b600160a060020a038084166000908152600160205260408082209390935590871681522054611d51908263ffffffff610bf616565b600160a060020a038087166000818152600160205260409081902093909355908416917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5050505050565b62877f8081565b6224ea0081565b600082820183811015611dcc57fe5b8091505b5092915050565b60008382611de582426117a0565b811115611df157600080fd5b611dfc868686611f5a565b92505b5b50509392505050565b600061136483602001518367ffffffffffffffff16856080015167ffffffffffffffff16866040015167ffffffffffffffff16876060015167ffffffffffffffff16611929565b90505b92915050565b60008167ffffffffffffffff168367ffffffffffffffff161015611e7d5781611364565b825b90505b92915050565b6000828202831580611ea45750828482811515611ea157fe5b04145b1515611dcc57fe5b8091505b5092915050565b6000808284811515611ec557fe5b0490508091505b5092915050565b60003382611ee182426117a0565b811115611eed57600080fd5b611ef7858561206f565b92505b5b505092915050565b600061136483611328565b90505b92915050565b6000611364611f268484611e09565b84602001519063ffffffff610bf616565b90505b92915050565b6000818310611e7d5781611364565b825b90505b92915050565b600160a060020a038084166000908152600260209081526040808320338516845282528083205493861683526001909152812054909190611fa1908463ffffffff611dbd16565b600160a060020a038086166000908152600160205260408082209390935590871681522054611fd6908463ffffffff610bf616565b600160a060020a038616600090815260016020526040902055611fff818463ffffffff610bf616565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191505b509392505050565b600160a060020a033316600090815260016020526040812054612098908363ffffffff610bf616565b600160a060020a0333811660009081526001602052604080822093909355908516815220546120cd908363ffffffff611dbd16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b60206040519081016040526000815290565b81548183558181151161216d5760030281600302836000526020600020918201910161216d91906121a5565b5b505050565b81548183558181151161216d5760030281600302836000526020600020918201910161216d91906121a5565b5b505050565b610bf391905b80821115610d3457805473ffffffffffffffffffffffffffffffffffffffff191681556000600182015560028101805479ffffffffffffffffffffffffffffffffffffffffffffffffffff191690556003016121ab565b5090565b905600a165627a7a72305820fe996acdb5632aaaef94928dd650ec26405c5b385439a452eab4bc6c8f9511960029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000083ad5446c3cb30970188b9908a3d6c996e3ee03f000000000000000000000000000000000000000000000000000000005a88c20000000000000000000000000000000000000000000000010f0cf064dd59200000
-----Decoded View---------------
Arg [0] : _multisig (address): 0x83Ad5446c3CB30970188B9908A3D6c996e3eE03f
Arg [1] : _publicStartTime (uint256): 1518912000
Arg [2] : _hardcapInWei (uint256): 5000000000000000000000
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000083ad5446c3cb30970188b9908a3d6c996e3ee03f
Arg [1] : 000000000000000000000000000000000000000000000000000000005a88c200
Arg [2] : 00000000000000000000000000000000000000000000010f0cf064dd59200000
Swarm Source
bzzr://fe996acdb5632aaaef94928dd650ec26405c5b385439a452eab4bc6c8f951196
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.