ERC-20
Overview
Max Total Supply
2,000,000,000 CHX
Holders
21
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CHEXToken
Compiler Version
v0.4.11+commit.68ef5810
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-07-21 */ pragma solidity ^0.4.11; /** * Overflow aware uint math functions. */ contract SafeMath { function mul(uint256 a, uint256 b) internal returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal returns (uint256) { uint256 c = a / b; return c; } function pct(uint numerator, uint denominator, uint precision) internal returns(uint quotient) { uint _numerator = numerator * 10 ** (precision+1); uint _quotient = ((_numerator / denominator) + 5) / 10; return (_quotient); } function sub(uint256 a, uint256 b) internal returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } 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; } } /** * ERC 20 token */ contract Token is SafeMath { function transfer(address _to, uint256 _value) returns (bool success) { if (balances[msg.sender] >= _value && _value > 0) { balances[msg.sender] = sub(balances[msg.sender], _value); balances[_to] = add(balances[_to], _value); Transfer(msg.sender, _to, _value); return true; } else { return false; } } function transferFrom(address _from, address _to, uint256 _value) returns (bool success) { if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) { balances[_to] = add(balances[_to], _value); balances[_from] = sub(balances[_from], _value); allowed[_from][msg.sender] = sub(allowed[_from][msg.sender], _value); Transfer(_from, _to, _value); return true; } else { return false; } } function balanceOf(address _owner) constant returns (uint256 balance) { return balances[_owner]; } function approve(address _spender, uint256 _value) returns (bool success) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); mapping (address => uint256) balances; mapping (address => mapping (address => uint256)) allowed; uint256 public totalSupply; // A vulernability of the approve method in the ERC20 standard was identified by // Mikhail Vladimirov and Dmitry Khovratovich here: // https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM // It's better to use this method which is not susceptible to over-withdrawing by the approvee. /// @param _spender The address to approve /// @param _currentValue The previous value approved, which can be retrieved with allowance(msg.sender, _spender) /// @param _newValue The new value to approve, this will replace the _currentValue /// @return bool Whether the approval was a success (see ERC20's `approve`) function compareAndApprove(address _spender, uint256 _currentValue, uint256 _newValue) public returns(bool) { if (allowed[msg.sender][_spender] != _currentValue) { return false; } return approve(_spender, _newValue); } } contract CHEXToken is Token { string public constant name = "CHEX Token"; string public constant symbol = "CHX"; uint public constant decimals = 18; uint public startBlock; //crowdsale start block uint public endBlock; //crowdsale end block address public founder; address public owner; uint public totalSupply = 2000000000 * 10**decimals; // 2b tokens, each divided to up to 10^decimals units. uint public etherCap = 2500000 * 10**decimals; uint public totalTokens = 0; uint public presaleSupply = 0; uint public presaleEtherRaised = 0; event Buy(address indexed recipient, uint eth, uint chx); event Deliver(address indexed recipient, uint chx, string _for); uint public presaleAllocation = totalSupply / 2; //50% of token supply allocated for crowdsale uint public strategicAllocation = totalSupply / 4; //25% of token supply allocated post-crowdsale for strategic supply uint public reserveAllocation = totalSupply / 4; //25% of token supply allocated post-crowdsale for internal bool public strategicAllocated = false; bool public reserveAllocated = false; uint public transferLockup = 5760; //no transfers until 1 day after sale is over uint public strategicLockup = 80640; //strategic supply locked until 14 days after sale is over uint public reserveLockup = 241920; //first wave of reserve locked until 42 days after sale is over uint public reserveWave = 0; //increments each time 10% of reserve is allocated, to a max of 10 uint public reserveWaveTokens = reserveAllocation / 10; //10% of reserve will be released on each wave uint public reserveWaveLockup = 172800; //30 day intervals before subsequent wave of reserve tokens can be released uint public constant MIN_ETHER = 1 finney; enum TokenSaleState { Initial, //contract initialized, bonus token Presale, //limited time crowdsale Live, //default price Frozen //prevent sale of tokens } TokenSaleState public _saleState = TokenSaleState.Initial; function CHEXToken(address founderInput, address ownerInput, uint startBlockInput, uint endBlockInput) { founder = founderInput; owner = ownerInput; startBlock = startBlockInput; endBlock = endBlockInput; updateTokenSaleState(); } function price() constant returns(uint) { if (_saleState == TokenSaleState.Initial) return 6001; if (_saleState == TokenSaleState.Presale) { uint percentRemaining = pct((endBlock - block.number), (endBlock - startBlock), 3); return 3000 + 3 * percentRemaining; } return 3000; } function updateTokenSaleState () { if (_saleState == TokenSaleState.Frozen) return; if (_saleState == TokenSaleState.Live && block.number > endBlock) return; if (_saleState == TokenSaleState.Initial && block.number >= startBlock) { _saleState = TokenSaleState.Presale; } if (_saleState == TokenSaleState.Presale && block.number > endBlock) { _saleState = TokenSaleState.Live; } } function() payable { buy(msg.sender); } function buy(address recipient) payable { if (recipient == 0x0) throw; if (msg.value < MIN_ETHER) throw; if (totalTokens >= totalSupply) throw; if (_saleState == TokenSaleState.Frozen) throw; if ((_saleState == TokenSaleState.Initial || _saleState == TokenSaleState.Presale) && presaleSupply >= presaleAllocation) throw; if ((_saleState == TokenSaleState.Initial || _saleState == TokenSaleState.Presale) && presaleEtherRaised >= etherCap) throw; updateTokenSaleState(); uint tokens = mul(msg.value, price()); if (tokens == 0) throw; balances[recipient] = add(balances[recipient], tokens); totalTokens = add(totalTokens, tokens); if (_saleState == TokenSaleState.Initial || _saleState == TokenSaleState.Presale) { presaleEtherRaised = add(presaleEtherRaised, msg.value); presaleSupply = add(presaleSupply, tokens); } founder.transfer(msg.value); Transfer(0, recipient, tokens); Buy(recipient, msg.value, tokens); } function transfer(address _to, uint256 _value) returns (bool success) { if (block.number <= endBlock + transferLockup && msg.sender != founder && msg.sender != owner) throw; return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint256 _value) returns (bool success) { if (block.number <= endBlock + transferLockup && msg.sender != founder && msg.sender != owner) throw; return super.transferFrom(_from, _to, _value); } modifier onlyInternal { require(msg.sender == owner || msg.sender == founder); _; } function deliver(address recipient, uint tokens, string _for) onlyInternal { if (tokens == 0) throw; if (totalTokens >= totalSupply) throw; if (_saleState == TokenSaleState.Frozen) throw; if ((_saleState == TokenSaleState.Initial || _saleState == TokenSaleState.Presale) && presaleSupply >= presaleAllocation) throw; updateTokenSaleState(); balances[recipient] = add(balances[recipient], tokens); totalTokens = add(totalTokens, tokens); if (_saleState == TokenSaleState.Initial || _saleState == TokenSaleState.Presale) { presaleSupply = add(presaleSupply, tokens); } Transfer(0, recipient, tokens); Deliver(recipient, tokens, _for); } function allocateStrategicTokens() onlyInternal { if (block.number <= endBlock + strategicLockup) throw; if (strategicAllocated) throw; balances[owner] = add(balances[owner], strategicAllocation); totalTokens = add(totalTokens, strategicAllocation); strategicAllocated = true; } function allocateReserveTokens() onlyInternal { if (block.number <= endBlock + reserveLockup + (reserveWaveLockup * reserveWave)) throw; if (reserveAllocated) throw; balances[founder] = add(balances[founder], reserveWaveTokens); totalTokens = add(totalTokens, reserveWaveTokens); reserveWave++; if (reserveWave >= 10) { reserveAllocated = true; } } function freeze() onlyInternal { _saleState = TokenSaleState.Frozen; } function unfreeze() onlyInternal { _saleState = TokenSaleState.Presale; updateTokenSaleState(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"endBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"allocateStrategicTokens","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"reserveAllocated","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"allocateReserveTokens","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"updateTokenSaleState","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"presaleEtherRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"startBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"founder","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"strategicAllocated","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"MIN_ETHER","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"freeze","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"unfreeze","outputs":[],"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":"etherCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"recipient","type":"address"},{"name":"tokens","type":"uint256"},{"name":"_for","type":"string"}],"name":"deliver","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_currentValue","type":"uint256"},{"name":"_newValue","type":"uint256"}],"name":"compareAndApprove","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"presaleAllocation","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"strategicAllocation","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"_saleState","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"price","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"strategicLockup","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"reserveWave","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"presaleSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"transferLockup","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"reserveWaveLockup","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"reserveLockup","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":false,"inputs":[{"name":"recipient","type":"address"}],"name":"buy","outputs":[],"payable":true,"type":"function"},{"constant":true,"inputs":[],"name":"reserveWaveTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"reserveAllocation","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[{"name":"founderInput","type":"address"},{"name":"ownerInput","type":"address"},{"name":"startBlockInput","type":"uint256"},{"name":"endBlockInput","type":"uint256"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"recipient","type":"address"},{"indexed":false,"name":"eth","type":"uint256"},{"indexed":false,"name":"chx","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"recipient","type":"address"},{"indexed":false,"name":"chx","type":"uint256"},{"indexed":false,"name":"_for","type":"string"}],"name":"Deliver","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"},{"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"}]
Contract Creation Code
60606040526b06765c793fa10079d000000060078190556a021165458500521280000060085560006009819055600a819055600b556002905b04600c556007546004905b04600d556007546004905b04600e819055600f805461ffff1916905561168060105562013b006011556203b1006012556000601355600a905b046014556202a300601555601680546000919060ff19166001835b02179055503415620000a557fe5b604051608080620018bb83398101604090815281516020830151918301516060909301519092905b60058054600160a060020a03808716600160a060020a0319928316179092556006805492861692909116919091179055600382905560048190556200011f64010000000062000daa6200012a82021704565b5b50505050620001ff565b60035b60165460ff1660038111156200013f57fe5b14156200014c57620001fc565b60025b60165460ff1660038111156200016157fe5b14801562000170575060045443115b156200017c57620001fc565b60005b60165460ff1660038111156200019157fe5b148015620001a157506003544310155b15620001bc57601680546001919060ff191682805b02179055505b60015b60165460ff166003811115620001d157fe5b148015620001e0575060045443115b15620001fc57601680546002919060ff19166001835b02179055505b5b565b6116ac806200020f6000396000f300606060405236156101e05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101f2578063083c632314610282578063095ea7b3146102a457806318160ddd146102d75780632165fef9146102f957806323b872dd1461030b5780632538477014610344578063313ce567146103685780633e260a2c1461038a5780633fa1436e1461039c57806344b49958146103ae57806348cd4cb1146103d05780634d853ee5146103f25780635bf95e431461041e5780635cd851871461044257806362a5af3b146104645780636a28f0001461047657806370a08231146104885780637228b9db146104b65780637241450c146104d8578063751e10791461053d5780637e1c0c091461057357806381d136cb14610595578063885463fd146105b75780638da5cb5b146105d957806395d89b41146106055780639be5ad7814610695578063a035b1fe146106c9578063a9059cbb146106eb578063ae0e8f3f1461071e578063b0acc53114610740578063b3a196e914610762578063c24fe21b14610784578063d242b051146107a6578063daf13a47146107c8578063dd62ed3e146107ea578063f088d5471461081e578063f232880d14610834578063f8f079bb14610856575b6101f05b6101ed33610878565b5b565b005b34156101fa57fe5b610202610adf565b604080516020808252835181830152835191928392908301918501908083838215610248575b80518252602083111561024857601f199092019160209182019101610228565b505050905090810190601f1680156102745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561028a57fe5b610292610b16565b60408051918252519081900360200190f35b34156102ac57fe5b6102c3600160a060020a0360043516602435610b1c565b604080519115158252519081900360200190f35b34156102df57fe5b610292610b87565b60408051918252519081900360200190f35b341561030157fe5b6101f0610b8d565b005b341561031357fe5b6102c3600160a060020a0360043581169060243516604435610c4f565b604080519115158252519081900360200190f35b341561034c57fe5b6102c3610cb1565b604080519115158252519081900360200190f35b341561037057fe5b610292610cbf565b60408051918252519081900360200190f35b341561039257fe5b6101f0610cc4565b005b34156103a457fe5b6101f0610daa565b005b34156103b657fe5b610292610e72565b60408051918252519081900360200190f35b34156103d857fe5b610292610e78565b60408051918252519081900360200190f35b34156103fa57fe5b610402610e7e565b60408051600160a060020a039092168252519081900360200190f35b341561042657fe5b6102c3610e8d565b604080519115158252519081900360200190f35b341561044a57fe5b610292610e96565b60408051918252519081900360200190f35b341561046c57fe5b6101f0610ea1565b005b341561047e57fe5b6101f0610ef5565b005b341561049057fe5b610292600160a060020a0360043516610f4c565b60408051918252519081900360200190f35b34156104be57fe5b610292610f6b565b60408051918252519081900360200190f35b34156104e057fe5b604080516020600460443581810135601f81018490048402850184019095528484526101f0948235600160a060020a0316946024803595606494929391909201918190840183828082843750949650610f7195505050505050565b005b341561054557fe5b6102c3600160a060020a03600435166024356044356111ba565b604080519115158252519081900360200190f35b341561057b57fe5b610292611204565b60408051918252519081900360200190f35b341561059d57fe5b61029261120a565b60408051918252519081900360200190f35b34156105bf57fe5b610292611210565b60408051918252519081900360200190f35b34156105e157fe5b610402611216565b60408051600160a060020a039092168252519081900360200190f35b341561060d57fe5b610202611225565b604080516020808252835181830152835191928392908301918501908083838215610248575b80518252602083111561024857601f199092019160209182019101610228565b505050905090810190601f1680156102745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561069d57fe5b6106a561125c565b604051808260038111156106b557fe5b60ff16815260200191505060405180910390f35b34156106d157fe5b610292611265565b60408051918252519081900360200190f35b34156106f357fe5b6102c3600160a060020a03600435166024356112d6565b604080519115158252519081900360200190f35b341561072657fe5b610292611336565b60408051918252519081900360200190f35b341561074857fe5b61029261133c565b60408051918252519081900360200190f35b341561076a57fe5b610292611342565b60408051918252519081900360200190f35b341561078c57fe5b610292611348565b60408051918252519081900360200190f35b34156107ae57fe5b61029261134e565b60408051918252519081900360200190f35b34156107d057fe5b610292611354565b60408051918252519081900360200190f35b34156107f257fe5b610292600160a060020a036004358116906024351661135a565b60408051918252519081900360200190f35b6101f0600160a060020a0360043516610878565b005b341561083c57fe5b610292611387565b60408051918252519081900360200190f35b341561085e57fe5b61029261138d565b60408051918252519081900360200190f35b6000600160a060020a03821615156108905760006000fd5b66038d7ea4c680003410156108a55760006000fd5b600754600954106108b65760006000fd5b60035b60165460ff1660038111156108ca57fe5b14156108d65760006000fd5b60005b60165460ff1660038111156108ea57fe5b1480610907575060015b60165460ff16600381111561090557fe5b145b80156109175750600c54600a5410155b156109225760006000fd5b60005b60165460ff16600381111561093657fe5b1480610953575060015b60165460ff16600381111561095157fe5b145b80156109635750600854600b5410155b1561096e5760006000fd5b610976610daa565b61098734610982611265565b611393565b90508015156109965760006000fd5b600160a060020a0382166000908152602081905260409020546109b990826113c2565b600160a060020a0383166000908152602081905260409020556009546109df90826113c2565b60095560005b60165460ff1660038111156109f657fe5b1480610a13575060015b60165460ff166003811115610a1157fe5b145b15610a3857610a24600b54346113c2565b600b55600a54610a3490826113c2565b600a555b600554604051600160a060020a03909116903480156108fc02916000818181858888f193505050501515610a6857fe5b604080518281529051600160a060020a038416916000916000805160206116618339815191529181900360200190a360408051348152602081018390528151600160a060020a038516927f1cbc5ab135991bd2b6a4b034a04aa2aa086dac1371cb9b16b8b5e2ed6b036bed928290030190a25b5050565b60408051808201909152600a81527f4348455820546f6b656e00000000000000000000000000000000000000000000602082015281565b60045481565b600160a060020a03338116600081815260016020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60075481565b60065433600160a060020a0390811691161480610bb8575060055433600160a060020a039081169116145b1515610bc45760006000fd5b601154600454014311610bd75760006000fd5b600f5460ff1615610be85760006000fd5b600654600160a060020a0316600090815260208190526040902054600d54610c1091906113c2565b600654600160a060020a0316600090815260208190526040902055600954600d54610c3b91906113c2565b600955600f805460ff191660011790555b5b565b6000601054600454014311158015610c76575060055433600160a060020a03908116911614155b8015610c91575060065433600160a060020a03908116911614155b15610c9c5760006000fd5b610ca78484846113dc565b90505b9392505050565b600f54610100900460ff1681565b601281565b60065433600160a060020a0390811691161480610cef575060055433600160a060020a039081169116145b1515610cfb5760006000fd5b601354601554601254600454019102014311610d175760006000fd5b600f54610100900460ff1615610d2d5760006000fd5b600554600160a060020a0316600090815260208190526040902054601454610d5591906113c2565b600554600160a060020a0316600090815260208190526040902055600954601454610d8091906113c2565b6009556013805460010190819055600a90106101ed57600f805461ff0019166101001790555b5b5b565b60035b60165460ff166003811115610dbe57fe5b1415610dc9576101ed565b60025b60165460ff166003811115610ddd57fe5b148015610deb575060045443115b15610df5576101ed565b60005b60165460ff166003811115610e0957fe5b148015610e1857506003544310155b15610e3257601680546001919060ff191682805b02179055505b60015b60165460ff166003811115610e4657fe5b148015610e54575060045443115b156101ed57601680546002919060ff19166001835b02179055505b5b565b600b5481565b60035481565b600554600160a060020a031681565b600f5460ff1681565b66038d7ea4c6800081565b60065433600160a060020a0390811691161480610ecc575060055433600160a060020a039081169116145b1515610ed85760006000fd5b601680546003919060ff1916600183610e69565b02179055505b5b565b60065433600160a060020a0390811691161480610f20575060055433600160a060020a039081169116145b1515610f2c5760006000fd5b601680546001919060ff191682805b02179055506101ed610daa565b5b5b565b600160a060020a0381166000908152602081905260409020545b919050565b60085481565b60065433600160a060020a0390811691161480610f9c575060055433600160a060020a039081169116145b1515610fa85760006000fd5b811515610fb55760006000fd5b60075460095410610fc65760006000fd5b60035b60165460ff166003811115610fda57fe5b1415610fe65760006000fd5b60005b60165460ff166003811115610ffa57fe5b1480611017575060015b60165460ff16600381111561101557fe5b145b80156110275750600c54600a5410155b156110325760006000fd5b61103a610daa565b600160a060020a03831660009081526020819052604090205461105d90836113c2565b600160a060020a03841660009081526020819052604090205560095461108390836113c2565b60095560005b60165460ff16600381111561109a57fe5b14806110b7575060015b60165460ff1660038111156110b557fe5b145b156110cc576110c8600a54836113c2565b600a555b604080518381529051600160a060020a038516916000916000805160206116618339815191529181900360200190a382600160a060020a03167f13f593817caf9182e118fa99ab8cf9567cba0642e65021633e964cacc8576ef083836040518083815260200180602001828103825283818151815260200191508051906020019080838360008314611179575b80518252602083111561117957601f199092019160209182019101611159565b505050905090810190601f1680156111a55780820380516001836020036101000a031916815260200191505b50935050505060405180910390a25b5b505050565b600160a060020a03338116600090815260016020908152604080832093871683529290529081205483146111f057506000610caa565b610ca78483610b1c565b90505b9392505050565b60095481565b600c5481565b600d5481565b600654600160a060020a031681565b60408051808201909152600381527f4348580000000000000000000000000000000000000000000000000000000000602082015281565b60165460ff1681565b600080805b60165460ff16600381111561127b57fe5b141561128b5761177191506112d2565b60015b60165460ff16600381111561129f57fe5b14156112cc576112bb4360045403600354600454036003611533565b905080600302610bb80191506112d2565b610bb891505b5090565b60006010546004540143111580156112fd575060055433600160a060020a03908116911614155b8015611318575060065433600160a060020a03908116911614155b156113235760006000fd5b61132d838361156e565b90505b92915050565b60115481565b60135481565b600a5481565b60105481565b60155481565b60125481565b600160a060020a038083166000908152600160209081526040808320938516835292905220545b92915050565b60145481565b600e5481565b60008282028315806113af57508284828115156113ac57fe5b04145b15156113b757fe5b8091505b5092915050565b6000828201838110156113b757fe5b8091505b5092915050565b600160a060020a03831660009081526020819052604081205482901080159061142c5750600160a060020a0380851660009081526001602090815260408083203390941683529290522054829010155b80156114385750600082115b1561152357600160a060020a03831660009081526020819052604090205461146090836113c2565b600160a060020a03808516600090815260208190526040808220939093559086168152205461148f9083611649565b600160a060020a0380861660009081526020818152604080832094909455600181528382203390931682529190915220546114ca9083611649565b600160a060020a03808616600081815260016020908152604080832033861684528252918290209490945580518681529051928716939192600080516020611661833981519152929181900390910190a3506001610caa565b506000610caa565b5b9392505050565b60006000600083600101600a0a86029150600a858381151561155157fe5b0460050181151561155e57fe5b0490508092505b50509392505050565b600160a060020a0333166000908152602081905260408120548290108015906115975750600082115b1561163a57600160a060020a0333166000908152602081905260409020546115bf9083611649565b600160a060020a0333811660009081526020819052604080822093909355908516815220546115ee90836113c2565b600160a060020a038085166000818152602081815260409182902094909455805186815290519193339093169260008051602061166183398151915292918290030190a3506001610b81565b506000610b81565b5b92915050565b60008282111561165557fe5b508082035b929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058204d926aaa9ffcfa27f7d56e2eb36864e276069cc2c02f25a3af22593a8d17320b002900000000000000000000000074031094ba9b590fe4a3b4594a3a682dc05eecbc00000000000000000000000091dc241c0ec3129a7a6a46d52a51efd6ae4f45b500000000000000000000000000000000000000000000000000000000003de19e000000000000000000000000000000000000000000000000000000000046af64
Deployed Bytecode
0x606060405236156101e05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101f2578063083c632314610282578063095ea7b3146102a457806318160ddd146102d75780632165fef9146102f957806323b872dd1461030b5780632538477014610344578063313ce567146103685780633e260a2c1461038a5780633fa1436e1461039c57806344b49958146103ae57806348cd4cb1146103d05780634d853ee5146103f25780635bf95e431461041e5780635cd851871461044257806362a5af3b146104645780636a28f0001461047657806370a08231146104885780637228b9db146104b65780637241450c146104d8578063751e10791461053d5780637e1c0c091461057357806381d136cb14610595578063885463fd146105b75780638da5cb5b146105d957806395d89b41146106055780639be5ad7814610695578063a035b1fe146106c9578063a9059cbb146106eb578063ae0e8f3f1461071e578063b0acc53114610740578063b3a196e914610762578063c24fe21b14610784578063d242b051146107a6578063daf13a47146107c8578063dd62ed3e146107ea578063f088d5471461081e578063f232880d14610834578063f8f079bb14610856575b6101f05b6101ed33610878565b5b565b005b34156101fa57fe5b610202610adf565b604080516020808252835181830152835191928392908301918501908083838215610248575b80518252602083111561024857601f199092019160209182019101610228565b505050905090810190601f1680156102745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561028a57fe5b610292610b16565b60408051918252519081900360200190f35b34156102ac57fe5b6102c3600160a060020a0360043516602435610b1c565b604080519115158252519081900360200190f35b34156102df57fe5b610292610b87565b60408051918252519081900360200190f35b341561030157fe5b6101f0610b8d565b005b341561031357fe5b6102c3600160a060020a0360043581169060243516604435610c4f565b604080519115158252519081900360200190f35b341561034c57fe5b6102c3610cb1565b604080519115158252519081900360200190f35b341561037057fe5b610292610cbf565b60408051918252519081900360200190f35b341561039257fe5b6101f0610cc4565b005b34156103a457fe5b6101f0610daa565b005b34156103b657fe5b610292610e72565b60408051918252519081900360200190f35b34156103d857fe5b610292610e78565b60408051918252519081900360200190f35b34156103fa57fe5b610402610e7e565b60408051600160a060020a039092168252519081900360200190f35b341561042657fe5b6102c3610e8d565b604080519115158252519081900360200190f35b341561044a57fe5b610292610e96565b60408051918252519081900360200190f35b341561046c57fe5b6101f0610ea1565b005b341561047e57fe5b6101f0610ef5565b005b341561049057fe5b610292600160a060020a0360043516610f4c565b60408051918252519081900360200190f35b34156104be57fe5b610292610f6b565b60408051918252519081900360200190f35b34156104e057fe5b604080516020600460443581810135601f81018490048402850184019095528484526101f0948235600160a060020a0316946024803595606494929391909201918190840183828082843750949650610f7195505050505050565b005b341561054557fe5b6102c3600160a060020a03600435166024356044356111ba565b604080519115158252519081900360200190f35b341561057b57fe5b610292611204565b60408051918252519081900360200190f35b341561059d57fe5b61029261120a565b60408051918252519081900360200190f35b34156105bf57fe5b610292611210565b60408051918252519081900360200190f35b34156105e157fe5b610402611216565b60408051600160a060020a039092168252519081900360200190f35b341561060d57fe5b610202611225565b604080516020808252835181830152835191928392908301918501908083838215610248575b80518252602083111561024857601f199092019160209182019101610228565b505050905090810190601f1680156102745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561069d57fe5b6106a561125c565b604051808260038111156106b557fe5b60ff16815260200191505060405180910390f35b34156106d157fe5b610292611265565b60408051918252519081900360200190f35b34156106f357fe5b6102c3600160a060020a03600435166024356112d6565b604080519115158252519081900360200190f35b341561072657fe5b610292611336565b60408051918252519081900360200190f35b341561074857fe5b61029261133c565b60408051918252519081900360200190f35b341561076a57fe5b610292611342565b60408051918252519081900360200190f35b341561078c57fe5b610292611348565b60408051918252519081900360200190f35b34156107ae57fe5b61029261134e565b60408051918252519081900360200190f35b34156107d057fe5b610292611354565b60408051918252519081900360200190f35b34156107f257fe5b610292600160a060020a036004358116906024351661135a565b60408051918252519081900360200190f35b6101f0600160a060020a0360043516610878565b005b341561083c57fe5b610292611387565b60408051918252519081900360200190f35b341561085e57fe5b61029261138d565b60408051918252519081900360200190f35b6000600160a060020a03821615156108905760006000fd5b66038d7ea4c680003410156108a55760006000fd5b600754600954106108b65760006000fd5b60035b60165460ff1660038111156108ca57fe5b14156108d65760006000fd5b60005b60165460ff1660038111156108ea57fe5b1480610907575060015b60165460ff16600381111561090557fe5b145b80156109175750600c54600a5410155b156109225760006000fd5b60005b60165460ff16600381111561093657fe5b1480610953575060015b60165460ff16600381111561095157fe5b145b80156109635750600854600b5410155b1561096e5760006000fd5b610976610daa565b61098734610982611265565b611393565b90508015156109965760006000fd5b600160a060020a0382166000908152602081905260409020546109b990826113c2565b600160a060020a0383166000908152602081905260409020556009546109df90826113c2565b60095560005b60165460ff1660038111156109f657fe5b1480610a13575060015b60165460ff166003811115610a1157fe5b145b15610a3857610a24600b54346113c2565b600b55600a54610a3490826113c2565b600a555b600554604051600160a060020a03909116903480156108fc02916000818181858888f193505050501515610a6857fe5b604080518281529051600160a060020a038416916000916000805160206116618339815191529181900360200190a360408051348152602081018390528151600160a060020a038516927f1cbc5ab135991bd2b6a4b034a04aa2aa086dac1371cb9b16b8b5e2ed6b036bed928290030190a25b5050565b60408051808201909152600a81527f4348455820546f6b656e00000000000000000000000000000000000000000000602082015281565b60045481565b600160a060020a03338116600081815260016020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60075481565b60065433600160a060020a0390811691161480610bb8575060055433600160a060020a039081169116145b1515610bc45760006000fd5b601154600454014311610bd75760006000fd5b600f5460ff1615610be85760006000fd5b600654600160a060020a0316600090815260208190526040902054600d54610c1091906113c2565b600654600160a060020a0316600090815260208190526040902055600954600d54610c3b91906113c2565b600955600f805460ff191660011790555b5b565b6000601054600454014311158015610c76575060055433600160a060020a03908116911614155b8015610c91575060065433600160a060020a03908116911614155b15610c9c5760006000fd5b610ca78484846113dc565b90505b9392505050565b600f54610100900460ff1681565b601281565b60065433600160a060020a0390811691161480610cef575060055433600160a060020a039081169116145b1515610cfb5760006000fd5b601354601554601254600454019102014311610d175760006000fd5b600f54610100900460ff1615610d2d5760006000fd5b600554600160a060020a0316600090815260208190526040902054601454610d5591906113c2565b600554600160a060020a0316600090815260208190526040902055600954601454610d8091906113c2565b6009556013805460010190819055600a90106101ed57600f805461ff0019166101001790555b5b5b565b60035b60165460ff166003811115610dbe57fe5b1415610dc9576101ed565b60025b60165460ff166003811115610ddd57fe5b148015610deb575060045443115b15610df5576101ed565b60005b60165460ff166003811115610e0957fe5b148015610e1857506003544310155b15610e3257601680546001919060ff191682805b02179055505b60015b60165460ff166003811115610e4657fe5b148015610e54575060045443115b156101ed57601680546002919060ff19166001835b02179055505b5b565b600b5481565b60035481565b600554600160a060020a031681565b600f5460ff1681565b66038d7ea4c6800081565b60065433600160a060020a0390811691161480610ecc575060055433600160a060020a039081169116145b1515610ed85760006000fd5b601680546003919060ff1916600183610e69565b02179055505b5b565b60065433600160a060020a0390811691161480610f20575060055433600160a060020a039081169116145b1515610f2c5760006000fd5b601680546001919060ff191682805b02179055506101ed610daa565b5b5b565b600160a060020a0381166000908152602081905260409020545b919050565b60085481565b60065433600160a060020a0390811691161480610f9c575060055433600160a060020a039081169116145b1515610fa85760006000fd5b811515610fb55760006000fd5b60075460095410610fc65760006000fd5b60035b60165460ff166003811115610fda57fe5b1415610fe65760006000fd5b60005b60165460ff166003811115610ffa57fe5b1480611017575060015b60165460ff16600381111561101557fe5b145b80156110275750600c54600a5410155b156110325760006000fd5b61103a610daa565b600160a060020a03831660009081526020819052604090205461105d90836113c2565b600160a060020a03841660009081526020819052604090205560095461108390836113c2565b60095560005b60165460ff16600381111561109a57fe5b14806110b7575060015b60165460ff1660038111156110b557fe5b145b156110cc576110c8600a54836113c2565b600a555b604080518381529051600160a060020a038516916000916000805160206116618339815191529181900360200190a382600160a060020a03167f13f593817caf9182e118fa99ab8cf9567cba0642e65021633e964cacc8576ef083836040518083815260200180602001828103825283818151815260200191508051906020019080838360008314611179575b80518252602083111561117957601f199092019160209182019101611159565b505050905090810190601f1680156111a55780820380516001836020036101000a031916815260200191505b50935050505060405180910390a25b5b505050565b600160a060020a03338116600090815260016020908152604080832093871683529290529081205483146111f057506000610caa565b610ca78483610b1c565b90505b9392505050565b60095481565b600c5481565b600d5481565b600654600160a060020a031681565b60408051808201909152600381527f4348580000000000000000000000000000000000000000000000000000000000602082015281565b60165460ff1681565b600080805b60165460ff16600381111561127b57fe5b141561128b5761177191506112d2565b60015b60165460ff16600381111561129f57fe5b14156112cc576112bb4360045403600354600454036003611533565b905080600302610bb80191506112d2565b610bb891505b5090565b60006010546004540143111580156112fd575060055433600160a060020a03908116911614155b8015611318575060065433600160a060020a03908116911614155b156113235760006000fd5b61132d838361156e565b90505b92915050565b60115481565b60135481565b600a5481565b60105481565b60155481565b60125481565b600160a060020a038083166000908152600160209081526040808320938516835292905220545b92915050565b60145481565b600e5481565b60008282028315806113af57508284828115156113ac57fe5b04145b15156113b757fe5b8091505b5092915050565b6000828201838110156113b757fe5b8091505b5092915050565b600160a060020a03831660009081526020819052604081205482901080159061142c5750600160a060020a0380851660009081526001602090815260408083203390941683529290522054829010155b80156114385750600082115b1561152357600160a060020a03831660009081526020819052604090205461146090836113c2565b600160a060020a03808516600090815260208190526040808220939093559086168152205461148f9083611649565b600160a060020a0380861660009081526020818152604080832094909455600181528382203390931682529190915220546114ca9083611649565b600160a060020a03808616600081815260016020908152604080832033861684528252918290209490945580518681529051928716939192600080516020611661833981519152929181900390910190a3506001610caa565b506000610caa565b5b9392505050565b60006000600083600101600a0a86029150600a858381151561155157fe5b0460050181151561155e57fe5b0490508092505b50509392505050565b600160a060020a0333166000908152602081905260408120548290108015906115975750600082115b1561163a57600160a060020a0333166000908152602081905260409020546115bf9083611649565b600160a060020a0333811660009081526020819052604080822093909355908516815220546115ee90836113c2565b600160a060020a038085166000818152602081815260409182902094909455805186815290519193339093169260008051602061166183398151915292918290030190a3506001610b81565b506000610b81565b5b92915050565b60008282111561165557fe5b508082035b929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058204d926aaa9ffcfa27f7d56e2eb36864e276069cc2c02f25a3af22593a8d17320b0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000074031094ba9b590fe4a3b4594a3a682dc05eecbc00000000000000000000000091dc241c0ec3129a7a6a46d52a51efd6ae4f45b500000000000000000000000000000000000000000000000000000000003de19e000000000000000000000000000000000000000000000000000000000046af64
-----Decoded View---------------
Arg [0] : founderInput (address): 0x74031094ba9B590Fe4a3b4594a3A682dC05EECbC
Arg [1] : ownerInput (address): 0x91dC241C0ec3129a7A6A46D52a51efD6aE4f45b5
Arg [2] : startBlockInput (uint256): 4055454
Arg [3] : endBlockInput (uint256): 4632420
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000074031094ba9b590fe4a3b4594a3a682dc05eecbc
Arg [1] : 00000000000000000000000091dc241c0ec3129a7a6a46d52a51efd6ae4f45b5
Arg [2] : 00000000000000000000000000000000000000000000000000000000003de19e
Arg [3] : 000000000000000000000000000000000000000000000000000000000046af64
Swarm Source
bzzr://4d926aaa9ffcfa27f7d56e2eb36864e276069cc2c02f25a3af22593a8d17320b
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.