Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
2,000,000,000 CHX
Holders
30
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.12+commit.194ff033
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-07-23 */ pragma solidity ^0.4.12; /** * 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 totalTokens = 0; uint public presaleSupply = 0; uint public presaleEtherRaised = 0; event Buy(address indexed recipient, uint eth, uint chx); 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 = 172800; //no transfers until 30 days after crowdsale begins (assumes 100 day crowdsale) 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 12002; if (_saleState == TokenSaleState.Presale) { uint percentRemaining = pct((endBlock - block.number), (endBlock - startBlock), 3); return 6000 + 6 * percentRemaining; } return 6000; } function() payable { buy(msg.sender); } function buy(address recipient) payable { if (recipient == 0x0) throw; if (msg.value < MIN_ETHER) throw; if (_saleState == TokenSaleState.Frozen) throw; updateTokenSaleState(); uint tokens = mul(msg.value, price()); uint nextTotal = add(totalTokens, tokens); uint nextPresaleTotal = add(presaleSupply, tokens); if (nextTotal >= totalSupply) throw; if (nextPresaleTotal >= presaleAllocation) throw; balances[recipient] = add(balances[recipient], tokens); presaleSupply = nextPresaleTotal; totalTokens = nextTotal; if (_saleState == TokenSaleState.Initial || _saleState == TokenSaleState.Presale) { presaleEtherRaised = add(presaleEtherRaised, msg.value); } founder.transfer(msg.value); Transfer(0, recipient, tokens); Buy(recipient, msg.value, tokens); } 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 transfer(address _to, uint256 _value) returns (bool success) { if (block.number <= startBlock + 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 <= startBlock + transferLockup && msg.sender != founder && msg.sender != owner) throw; return super.transferFrom(_from, _to, _value); } modifier onlyInternal { require(msg.sender == owner || msg.sender == founder); _; } function allocateStrategicTokens() onlyInternal { if (strategicAllocated) throw; balances[owner] = add(balances[owner], strategicAllocation); totalTokens = add(totalTokens, strategicAllocation); strategicAllocated = true; Transfer(0, owner, strategicAllocation); } 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; } Transfer(0, founder, reserveWaveTokens); } 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":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":"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":"_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
60606040526b06765c793fa10079d00000006007819055600060088190556009819055600a556002905b04600b556007546004905b04600c556007546004905b04600d819055600e805461ffff191690556202a300600f556203b1006010556000601155600a905b046012556202a300601355601480546000919060ff19166001835b021790555034156200009357600080fd5b604051608080620015c4833981016040528080519190602001805191906020018051919060200180519150505b60058054600160a060020a03808716600160a060020a0319928316179092556006805492861692909116919091179055600382905560048190556200011264010000000062000d006200011d82021704565b5b50505050620001f2565b60035b60145460ff1660038111156200013257fe5b14156200013f57620001ef565b60025b60145460ff1660038111156200015457fe5b14801562000163575060045443115b156200016f57620001ef565b60005b60145460ff1660038111156200018457fe5b1480156200019457506003544310155b15620001af57601480546001919060ff191682805b02179055505b60015b60145460ff166003811115620001c457fe5b148015620001d3575060045443115b15620001ef57601480546002919060ff19166001835b02179055505b5b565b6113c280620002026000396000f300606060405236156101bf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101d1578063083c63231461025c578063095ea7b31461028157806318160ddd146102b75780632165fef9146102dc57806323b872dd146102f1578063253847701461032d578063313ce567146103545780633e260a2c146103795780633fa1436e1461038e57806344b49958146103a357806348cd4cb1146103c85780634d853ee5146103ed5780635bf95e431461041c5780635cd851871461044357806362a5af3b146104685780636a28f0001461047d57806370a0823114610492578063751e1079146104c35780637e1c0c09146104fc57806381d136cb14610521578063885463fd146105465780638da5cb5b1461056b57806395d89b411461059a5780639be5ad7814610625578063a035b1fe1461065c578063a9059cbb14610681578063b0acc531146106b7578063b3a196e9146106dc578063c24fe21b14610701578063d242b05114610726578063daf13a471461074b578063dd62ed3e14610770578063f088d547146107a7578063f232880d146107bd578063f8f079bb146107e2575b6101cf5b6101cc33610807565b5b565b005b34156101dc57600080fd5b6101e46109e0565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102215780820151818401525b602001610208565b50505050905090810190601f16801561024e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561026757600080fd5b61026f610a17565b60405190815260200160405180910390f35b341561028c57600080fd5b6102a3600160a060020a0360043516602435610a1d565b604051901515815260200160405180910390f35b34156102c257600080fd5b61026f610a8a565b60405190815260200160405180910390f35b34156102e757600080fd5b6101cf610a90565b005b34156102fc57600080fd5b6102a3600160a060020a0360043581169060243516604435610b73565b604051901515815260200160405180910390f35b341561033857600080fd5b6102a3610bd4565b604051901515815260200160405180910390f35b341561035f57600080fd5b61026f610be2565b60405190815260200160405180910390f35b341561038457600080fd5b6101cf610be7565b005b341561039957600080fd5b6101cf610d00565b005b34156103ae57600080fd5b61026f610dc8565b60405190815260200160405180910390f35b34156103d357600080fd5b61026f610dce565b60405190815260200160405180910390f35b34156103f857600080fd5b610400610dd4565b604051600160a060020a03909116815260200160405180910390f35b341561042757600080fd5b6102a3610de3565b604051901515815260200160405180910390f35b341561044e57600080fd5b61026f610dec565b60405190815260200160405180910390f35b341561047357600080fd5b6101cf610df7565b005b341561048857600080fd5b6101cf610e4a565b005b341561049d57600080fd5b61026f600160a060020a0360043516610ea0565b60405190815260200160405180910390f35b34156104ce57600080fd5b6102a3600160a060020a0360043516602435604435610ebf565b604051901515815260200160405180910390f35b341561050757600080fd5b61026f610f09565b60405190815260200160405180910390f35b341561052c57600080fd5b61026f610f0f565b60405190815260200160405180910390f35b341561055157600080fd5b61026f610f15565b60405190815260200160405180910390f35b341561057657600080fd5b610400610f1b565b604051600160a060020a03909116815260200160405180910390f35b34156105a557600080fd5b6101e4610f2a565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102215780820151818401525b602001610208565b50505050905090810190601f16801561024e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561063057600080fd5b610638610f61565b6040518082600381111561064857fe5b60ff16815260200191505060405180910390f35b341561066757600080fd5b61026f610f6a565b60405190815260200160405180910390f35b341561068c57600080fd5b6102a3600160a060020a0360043516602435610fdb565b604051901515815260200160405180910390f35b34156106c257600080fd5b61026f61103a565b60405190815260200160405180910390f35b34156106e757600080fd5b61026f611040565b60405190815260200160405180910390f35b341561070c57600080fd5b61026f611046565b60405190815260200160405180910390f35b341561073157600080fd5b61026f61104c565b60405190815260200160405180910390f35b341561075657600080fd5b61026f611052565b60405190815260200160405180910390f35b341561077b57600080fd5b61026f600160a060020a0360043581169060243516611058565b60405190815260200160405180910390f35b6101cf600160a060020a0360043516610807565b005b34156107c857600080fd5b61026f611085565b60405190815260200160405180910390f35b34156107ed57600080fd5b61026f61108b565b60405190815260200160405180910390f35b60008080600160a060020a038416151561082057600080fd5b66038d7ea4c6800034101561083457600080fd5b60035b60145460ff16600381111561084857fe5b141561085357600080fd5b61085b610d00565b61086c34610867610f6a565b611091565b925061087a600854846110c0565b9150610888600954846110c0565b600754909150821061089957600080fd5b600b5481106108a757600080fd5b600160a060020a0384166000908152602081905260409020546108ca90846110c0565b600160a060020a038516600090815260208190526040812091909155600982905560088390555b60145460ff16600381111561090257fe5b148061091f575060015b60145460ff16600381111561091d57fe5b145b1561093457610930600a54346110c0565b600a555b600554600160a060020a03163480156108fc0290604051600060405180830381858888f19350505050151561096857600080fd5b83600160a060020a031660006000805160206113778339815191528560405190815260200160405180910390a383600160a060020a03167f1cbc5ab135991bd2b6a4b034a04aa2aa086dac1371cb9b16b8b5e2ed6b036bed348560405191825260208201526040908101905180910390a25b50505050565b60408051908101604052600a81527f4348455820546f6b656e00000000000000000000000000000000000000000000602082015281565b60045481565b600160a060020a03338116600081815260016020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60075481565b60065433600160a060020a0390811691161480610abb575060055433600160a060020a039081169116145b1515610ac657600080fd5b600e5460ff1615610ad657600080fd5b600654600160a060020a0316600090815260208190526040902054600c54610afe91906110c0565b600654600160a060020a0316600090815260208190526040902055600854600c54610b2991906110c0565b600855600e805460ff19166001179055600654600c54600160a060020a03909116906000906000805160206113778339815191529060405190815260200160405180910390a35b5b565b6000600f54600354014311158015610b9a575060055433600160a060020a03908116911614155b8015610bb5575060065433600160a060020a03908116911614155b15610bbf57600080fd5b610bca8484846110da565b90505b9392505050565b600e54610100900460ff1681565b601281565b60065433600160a060020a0390811691161480610c12575060055433600160a060020a039081169116145b1515610c1d57600080fd5b601154601354601054600454019102014311610c3857600080fd5b600e54610100900460ff1615610c4d57600080fd5b600554600160a060020a0316600090815260208190526040902054601254610c7591906110c0565b600554600160a060020a0316600090815260208190526040902055600854601254610ca091906110c0565b6008556011805460010190819055600a9010610cc657600e805461ff0019166101001790555b600554601254600160a060020a03909116906000906000805160206113778339815191529060405190815260200160405180910390a35b5b565b60035b60145460ff166003811115610d1457fe5b1415610d1f576101cc565b60025b60145460ff166003811115610d3357fe5b148015610d41575060045443115b15610d4b576101cc565b60005b60145460ff166003811115610d5f57fe5b148015610d6e57506003544310155b15610d8857601480546001919060ff191682805b02179055505b60015b60145460ff166003811115610d9c57fe5b148015610daa575060045443115b156101cc57601480546002919060ff19166001835b02179055505b5b565b600a5481565b60035481565b600554600160a060020a031681565b600e5460ff1681565b66038d7ea4c6800081565b60065433600160a060020a0390811691161480610e22575060055433600160a060020a039081169116145b1515610e2d57600080fd5b601480546003919060ff1916600183610dbf565b02179055505b5b565b60065433600160a060020a0390811691161480610e75575060055433600160a060020a039081169116145b1515610e8057600080fd5b601480546001919060ff191682805b02179055506101cc610d00565b5b5b565b600160a060020a0381166000908152602081905260409020545b919050565b600160a060020a0333811660009081526001602090815260408083209387168352929052908120548314610ef557506000610bcd565b610bca8483610a1d565b90505b9392505050565b60085481565b600b5481565b600c5481565b600654600160a060020a031681565b60408051908101604052600381527f4348580000000000000000000000000000000000000000000000000000000000602082015281565b60145460ff1681565b600080805b60145460ff166003811115610f8057fe5b1415610f9057612ee29150610fd7565b60015b60145460ff166003811115610fa457fe5b1415610fd157610fc04360045403600354600454036003611231565b905080600602611770019150610fd7565b61177091505b5090565b6000600f54600354014311158015611002575060055433600160a060020a03908116911614155b801561101d575060065433600160a060020a03908116911614155b1561102757600080fd5b611031838361126b565b90505b92915050565b60115481565b60095481565b600f5481565b60135481565b60105481565b600160a060020a038083166000908152600160209081526040808320938516835292905220545b92915050565b60125481565b600d5481565b60008282028315806110ad57508284828115156110aa57fe5b04145b15156110b557fe5b8091505b5092915050565b6000828201838110156110b557fe5b8091505b5092915050565b600160a060020a03831660009081526020819052604081205482901080159061112a5750600160a060020a0380851660009081526001602090815260408083203390941683529290522054829010155b80156111365750600082115b1561122157600160a060020a03831660009081526020819052604090205461115e90836110c0565b600160a060020a03808516600090815260208190526040808220939093559086168152205461118d908361135f565b600160a060020a0380861660009081526020818152604080832094909455600181528382203390931682529190915220546111c8908361135f565b600160a060020a03808616600081815260016020908152604080832033861684529091529081902093909355908516916000805160206113778339815191529085905190815260200160405180910390a3506001610bcd565b506000610bcd565b5b9392505050565b600080600083600101600a0a86029150600a858381151561124e57fe5b0460050181151561125b57fe5b0490508092505b50509392505050565b600160a060020a0333166000908152602081905260408120548290108015906112945750600082115b1561135057600160a060020a0333166000908152602081905260409020546112bc908361135f565b600160a060020a0333811660009081526020819052604080822093909355908516815220546112eb90836110c0565b60008085600160a060020a0316600160a060020a031681526020019081526020016000208190555082600160a060020a031633600160a060020a03166000805160206113778339815191528460405190815260200160405180910390a3506001610a84565b506000610a84565b5b92915050565b60008282111561136b57fe5b508082035b929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582071763fa3f1892238eb8c097a71364db5cf8fc7af3b22147024780571a71bfc1c0029000000000000000000000000a4586da92f4c7806cef98ee425955710c426de7300000000000000000000000091dc241c0ec3129a7a6a46d52a51efd6ae4f45b500000000000000000000000000000000000000000000000000000000003de1a6000000000000000000000000000000000000000000000000000000000046af64
Deployed Bytecode
0x606060405236156101bf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101d1578063083c63231461025c578063095ea7b31461028157806318160ddd146102b75780632165fef9146102dc57806323b872dd146102f1578063253847701461032d578063313ce567146103545780633e260a2c146103795780633fa1436e1461038e57806344b49958146103a357806348cd4cb1146103c85780634d853ee5146103ed5780635bf95e431461041c5780635cd851871461044357806362a5af3b146104685780636a28f0001461047d57806370a0823114610492578063751e1079146104c35780637e1c0c09146104fc57806381d136cb14610521578063885463fd146105465780638da5cb5b1461056b57806395d89b411461059a5780639be5ad7814610625578063a035b1fe1461065c578063a9059cbb14610681578063b0acc531146106b7578063b3a196e9146106dc578063c24fe21b14610701578063d242b05114610726578063daf13a471461074b578063dd62ed3e14610770578063f088d547146107a7578063f232880d146107bd578063f8f079bb146107e2575b6101cf5b6101cc33610807565b5b565b005b34156101dc57600080fd5b6101e46109e0565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102215780820151818401525b602001610208565b50505050905090810190601f16801561024e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561026757600080fd5b61026f610a17565b60405190815260200160405180910390f35b341561028c57600080fd5b6102a3600160a060020a0360043516602435610a1d565b604051901515815260200160405180910390f35b34156102c257600080fd5b61026f610a8a565b60405190815260200160405180910390f35b34156102e757600080fd5b6101cf610a90565b005b34156102fc57600080fd5b6102a3600160a060020a0360043581169060243516604435610b73565b604051901515815260200160405180910390f35b341561033857600080fd5b6102a3610bd4565b604051901515815260200160405180910390f35b341561035f57600080fd5b61026f610be2565b60405190815260200160405180910390f35b341561038457600080fd5b6101cf610be7565b005b341561039957600080fd5b6101cf610d00565b005b34156103ae57600080fd5b61026f610dc8565b60405190815260200160405180910390f35b34156103d357600080fd5b61026f610dce565b60405190815260200160405180910390f35b34156103f857600080fd5b610400610dd4565b604051600160a060020a03909116815260200160405180910390f35b341561042757600080fd5b6102a3610de3565b604051901515815260200160405180910390f35b341561044e57600080fd5b61026f610dec565b60405190815260200160405180910390f35b341561047357600080fd5b6101cf610df7565b005b341561048857600080fd5b6101cf610e4a565b005b341561049d57600080fd5b61026f600160a060020a0360043516610ea0565b60405190815260200160405180910390f35b34156104ce57600080fd5b6102a3600160a060020a0360043516602435604435610ebf565b604051901515815260200160405180910390f35b341561050757600080fd5b61026f610f09565b60405190815260200160405180910390f35b341561052c57600080fd5b61026f610f0f565b60405190815260200160405180910390f35b341561055157600080fd5b61026f610f15565b60405190815260200160405180910390f35b341561057657600080fd5b610400610f1b565b604051600160a060020a03909116815260200160405180910390f35b34156105a557600080fd5b6101e4610f2a565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102215780820151818401525b602001610208565b50505050905090810190601f16801561024e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561063057600080fd5b610638610f61565b6040518082600381111561064857fe5b60ff16815260200191505060405180910390f35b341561066757600080fd5b61026f610f6a565b60405190815260200160405180910390f35b341561068c57600080fd5b6102a3600160a060020a0360043516602435610fdb565b604051901515815260200160405180910390f35b34156106c257600080fd5b61026f61103a565b60405190815260200160405180910390f35b34156106e757600080fd5b61026f611040565b60405190815260200160405180910390f35b341561070c57600080fd5b61026f611046565b60405190815260200160405180910390f35b341561073157600080fd5b61026f61104c565b60405190815260200160405180910390f35b341561075657600080fd5b61026f611052565b60405190815260200160405180910390f35b341561077b57600080fd5b61026f600160a060020a0360043581169060243516611058565b60405190815260200160405180910390f35b6101cf600160a060020a0360043516610807565b005b34156107c857600080fd5b61026f611085565b60405190815260200160405180910390f35b34156107ed57600080fd5b61026f61108b565b60405190815260200160405180910390f35b60008080600160a060020a038416151561082057600080fd5b66038d7ea4c6800034101561083457600080fd5b60035b60145460ff16600381111561084857fe5b141561085357600080fd5b61085b610d00565b61086c34610867610f6a565b611091565b925061087a600854846110c0565b9150610888600954846110c0565b600754909150821061089957600080fd5b600b5481106108a757600080fd5b600160a060020a0384166000908152602081905260409020546108ca90846110c0565b600160a060020a038516600090815260208190526040812091909155600982905560088390555b60145460ff16600381111561090257fe5b148061091f575060015b60145460ff16600381111561091d57fe5b145b1561093457610930600a54346110c0565b600a555b600554600160a060020a03163480156108fc0290604051600060405180830381858888f19350505050151561096857600080fd5b83600160a060020a031660006000805160206113778339815191528560405190815260200160405180910390a383600160a060020a03167f1cbc5ab135991bd2b6a4b034a04aa2aa086dac1371cb9b16b8b5e2ed6b036bed348560405191825260208201526040908101905180910390a25b50505050565b60408051908101604052600a81527f4348455820546f6b656e00000000000000000000000000000000000000000000602082015281565b60045481565b600160a060020a03338116600081815260016020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60075481565b60065433600160a060020a0390811691161480610abb575060055433600160a060020a039081169116145b1515610ac657600080fd5b600e5460ff1615610ad657600080fd5b600654600160a060020a0316600090815260208190526040902054600c54610afe91906110c0565b600654600160a060020a0316600090815260208190526040902055600854600c54610b2991906110c0565b600855600e805460ff19166001179055600654600c54600160a060020a03909116906000906000805160206113778339815191529060405190815260200160405180910390a35b5b565b6000600f54600354014311158015610b9a575060055433600160a060020a03908116911614155b8015610bb5575060065433600160a060020a03908116911614155b15610bbf57600080fd5b610bca8484846110da565b90505b9392505050565b600e54610100900460ff1681565b601281565b60065433600160a060020a0390811691161480610c12575060055433600160a060020a039081169116145b1515610c1d57600080fd5b601154601354601054600454019102014311610c3857600080fd5b600e54610100900460ff1615610c4d57600080fd5b600554600160a060020a0316600090815260208190526040902054601254610c7591906110c0565b600554600160a060020a0316600090815260208190526040902055600854601254610ca091906110c0565b6008556011805460010190819055600a9010610cc657600e805461ff0019166101001790555b600554601254600160a060020a03909116906000906000805160206113778339815191529060405190815260200160405180910390a35b5b565b60035b60145460ff166003811115610d1457fe5b1415610d1f576101cc565b60025b60145460ff166003811115610d3357fe5b148015610d41575060045443115b15610d4b576101cc565b60005b60145460ff166003811115610d5f57fe5b148015610d6e57506003544310155b15610d8857601480546001919060ff191682805b02179055505b60015b60145460ff166003811115610d9c57fe5b148015610daa575060045443115b156101cc57601480546002919060ff19166001835b02179055505b5b565b600a5481565b60035481565b600554600160a060020a031681565b600e5460ff1681565b66038d7ea4c6800081565b60065433600160a060020a0390811691161480610e22575060055433600160a060020a039081169116145b1515610e2d57600080fd5b601480546003919060ff1916600183610dbf565b02179055505b5b565b60065433600160a060020a0390811691161480610e75575060055433600160a060020a039081169116145b1515610e8057600080fd5b601480546001919060ff191682805b02179055506101cc610d00565b5b5b565b600160a060020a0381166000908152602081905260409020545b919050565b600160a060020a0333811660009081526001602090815260408083209387168352929052908120548314610ef557506000610bcd565b610bca8483610a1d565b90505b9392505050565b60085481565b600b5481565b600c5481565b600654600160a060020a031681565b60408051908101604052600381527f4348580000000000000000000000000000000000000000000000000000000000602082015281565b60145460ff1681565b600080805b60145460ff166003811115610f8057fe5b1415610f9057612ee29150610fd7565b60015b60145460ff166003811115610fa457fe5b1415610fd157610fc04360045403600354600454036003611231565b905080600602611770019150610fd7565b61177091505b5090565b6000600f54600354014311158015611002575060055433600160a060020a03908116911614155b801561101d575060065433600160a060020a03908116911614155b1561102757600080fd5b611031838361126b565b90505b92915050565b60115481565b60095481565b600f5481565b60135481565b60105481565b600160a060020a038083166000908152600160209081526040808320938516835292905220545b92915050565b60125481565b600d5481565b60008282028315806110ad57508284828115156110aa57fe5b04145b15156110b557fe5b8091505b5092915050565b6000828201838110156110b557fe5b8091505b5092915050565b600160a060020a03831660009081526020819052604081205482901080159061112a5750600160a060020a0380851660009081526001602090815260408083203390941683529290522054829010155b80156111365750600082115b1561122157600160a060020a03831660009081526020819052604090205461115e90836110c0565b600160a060020a03808516600090815260208190526040808220939093559086168152205461118d908361135f565b600160a060020a0380861660009081526020818152604080832094909455600181528382203390931682529190915220546111c8908361135f565b600160a060020a03808616600081815260016020908152604080832033861684529091529081902093909355908516916000805160206113778339815191529085905190815260200160405180910390a3506001610bcd565b506000610bcd565b5b9392505050565b600080600083600101600a0a86029150600a858381151561124e57fe5b0460050181151561125b57fe5b0490508092505b50509392505050565b600160a060020a0333166000908152602081905260408120548290108015906112945750600082115b1561135057600160a060020a0333166000908152602081905260409020546112bc908361135f565b600160a060020a0333811660009081526020819052604080822093909355908516815220546112eb90836110c0565b60008085600160a060020a0316600160a060020a031681526020019081526020016000208190555082600160a060020a031633600160a060020a03166000805160206113778339815191528460405190815260200160405180910390a3506001610a84565b506000610a84565b5b92915050565b60008282111561136b57fe5b508082035b929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582071763fa3f1892238eb8c097a71364db5cf8fc7af3b22147024780571a71bfc1c0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a4586da92f4c7806cef98ee425955710c426de7300000000000000000000000091dc241c0ec3129a7a6a46d52a51efd6ae4f45b500000000000000000000000000000000000000000000000000000000003de1a6000000000000000000000000000000000000000000000000000000000046af64
-----Decoded View---------------
Arg [0] : founderInput (address): 0xA4586Da92f4c7806CeF98eE425955710C426de73
Arg [1] : ownerInput (address): 0x91dC241C0ec3129a7A6A46D52a51efD6aE4f45b5
Arg [2] : startBlockInput (uint256): 4055462
Arg [3] : endBlockInput (uint256): 4632420
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000a4586da92f4c7806cef98ee425955710c426de73
Arg [1] : 00000000000000000000000091dc241c0ec3129a7a6a46d52a51efd6ae4f45b5
Arg [2] : 00000000000000000000000000000000000000000000000000000000003de1a6
Arg [3] : 000000000000000000000000000000000000000000000000000000000046af64
Swarm Source
bzzr://71763fa3f1892238eb8c097a71364db5cf8fc7af3b22147024780571a71bfc1c
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.