More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 2,107 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 8135835 | 1965 days ago | IN | 0 ETH | 0.0002086 | ||||
Transfer | 7893259 | 2003 days ago | IN | 0 ETH | 0.00029771 | ||||
Approve | 7627001 | 2044 days ago | IN | 0 ETH | 0.00009191 | ||||
Transfer | 7496980 | 2065 days ago | IN | 0 ETH | 0.0002966 | ||||
Transfer | 7298658 | 2095 days ago | IN | 0 ETH | 0.00011145 | ||||
Approve | 7169601 | 2124 days ago | IN | 0 ETH | 0.00009191 | ||||
Approve | 7095057 | 2138 days ago | IN | 0 ETH | 0.00018382 | ||||
Transfer | 7094265 | 2139 days ago | IN | 0 ETH | 0.00037214 | ||||
Transfer | 6981912 | 2158 days ago | IN | 0 ETH | 0.00011107 | ||||
Transfer | 6977950 | 2159 days ago | IN | 0 ETH | 0.0004458 | ||||
Transfer | 6972243 | 2160 days ago | IN | 0 ETH | 0.0005215 | ||||
Transfer | 6968204 | 2161 days ago | IN | 0 ETH | 0.00022328 | ||||
Transfer | 6702565 | 2205 days ago | IN | 0 ETH | 0.00033492 | ||||
Transfer | 6691288 | 2207 days ago | IN | 0 ETH | 0.00026049 | ||||
Transfer | 6691282 | 2207 days ago | IN | 0 ETH | 0.00026049 | ||||
Transfer | 6548842 | 2230 days ago | IN | 0 ETH | 0.00022366 | ||||
Transfer | 6547634 | 2230 days ago | IN | 0 ETH | 0.00007442 | ||||
Transfer | 6494480 | 2239 days ago | IN | 0 ETH | 0.00051542 | ||||
Transfer | 6423915 | 2250 days ago | IN | 0 ETH | 0.00152315 | ||||
Transfer | 6321463 | 2267 days ago | IN | 0 ETH | 0.00021637 | ||||
Transfer | 6276163 | 2275 days ago | IN | 0 ETH | 0.00011164 | ||||
Transfer | 6258149 | 2278 days ago | IN | 0 ETH | 0.00015664 | ||||
Transfer | 6188298 | 2290 days ago | IN | 0.01 ETH | 0.00023427 | ||||
Transfer | 6183757 | 2290 days ago | IN | 0.01 ETH | 0.00023427 | ||||
Transfer | 6183744 | 2290 days ago | IN | 0.01 ETH | 0.00023427 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
5750390 | 2364 days ago | 29.44242212 ETH |
Loading...
Loading
Contract Name:
KingToken
Compiler Version
v0.4.21+commit.dfe3193c
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-06-02 */ pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 a, uint256 b) internal pure 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 a / b; } /** * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a + b; assert(c >= a); return c; } } contract ForeignToken { function balanceOf(address _owner) constant public returns (uint256); function transfer(address _to, uint256 _value) public returns (bool); } contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public constant returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } contract KingToken is ERC20 { using SafeMath for uint256; address owner = msg.sender; mapping (address => uint256) balances; mapping (address => mapping (address => uint256)) allowed; string public constant name = "KingToken"; string public constant symbol = "KING"; uint public constant decimals = 8; uint256 public totalSupply = 15000000000e8; uint256 public totalDistributed = 4000000000e8; uint256 public constant MIN_CONTRIBUTION = 1 ether / 100; // 0.01 Ether uint256 public tokensPerEth = 20000000e8; event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); event Distr(address indexed to, uint256 amount); event DistrFinished(); event Airdrop(address indexed _owner, uint _amount, uint _balance); event TokensPerEthUpdated(uint _tokensPerEth); event Burn(address indexed burner, uint256 value); bool public distributionFinished = false; modifier canDistr() { require(!distributionFinished); _; } modifier onlyOwner() { require(msg.sender == owner); _; } function KingToken () public { owner = msg.sender; distr(owner, totalDistributed); } function transferOwnership(address newOwner) onlyOwner public { if (newOwner != address(0)) { owner = newOwner; } } function finishDistribution() onlyOwner canDistr public returns (bool) { distributionFinished = true; emit DistrFinished(); return true; } function distr(address _to, uint256 _amount) canDistr private returns (bool) { totalDistributed = totalDistributed.add(_amount); balances[_to] = balances[_to].add(_amount); emit Distr(_to, _amount); emit Transfer(address(0), _to, _amount); return true; } function doAirdrop(address _participant, uint _amount) internal { require( _amount > 0 ); require( totalDistributed < totalSupply ); balances[_participant] = balances[_participant].add(_amount); totalDistributed = totalDistributed.add(_amount); if (totalDistributed >= totalSupply) { distributionFinished = true; } // log emit Airdrop(_participant, _amount, balances[_participant]); emit Transfer(address(0), _participant, _amount); } function adminClaimAirdrop(address _participant, uint _amount) external { doAirdrop(_participant, _amount); } function adminClaimAirdropMultiple(address[] _addresses, uint _amount) external { for (uint i = 0; i < _addresses.length; i++) doAirdrop(_addresses[i], _amount); } function updateTokensPerEth(uint _tokensPerEth) public onlyOwner { tokensPerEth = _tokensPerEth; emit TokensPerEthUpdated(_tokensPerEth); } function () external payable { getTokens(); } function getTokens() payable canDistr public { uint256 tokens = 0; // minimum contribution require( msg.value >= MIN_CONTRIBUTION ); require( msg.value > 0 ); // get baseline number of tokens tokens = tokensPerEth.mul(msg.value) / 1 ether; address investor = msg.sender; if (tokens > 0) { distr(investor, tokens); } if (totalDistributed >= totalSupply) { distributionFinished = true; } } function balanceOf(address _owner) constant public returns (uint256) { return balances[_owner]; } // mitigates the ERC20 short address attack modifier onlyPayloadSize(uint size) { assert(msg.data.length >= size + 4); _; } function transfer(address _to, uint256 _amount) onlyPayloadSize(2 * 32) public returns (bool success) { require(_to != address(0)); require(_amount <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(_amount); balances[_to] = balances[_to].add(_amount); emit Transfer(msg.sender, _to, _amount); return true; } function transferFrom(address _from, address _to, uint256 _amount) onlyPayloadSize(3 * 32) public returns (bool success) { require(_to != address(0)); require(_amount <= balances[_from]); require(_amount <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_amount); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_amount); balances[_to] = balances[_to].add(_amount); emit Transfer(_from, _to, _amount); return true; } function approve(address _spender, uint256 _value) public returns (bool success) { // mitigates the ERC20 spend/approval race condition if (_value != 0 && allowed[msg.sender][_spender] != 0) { return false; } allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) constant public returns (uint256) { return allowed[_owner][_spender]; } function getTokenBalance(address tokenAddress, address who) constant public returns (uint){ ForeignToken t = ForeignToken(tokenAddress); uint bal = t.balanceOf(who); return bal; } function withdraw() onlyOwner public { address myAddress = this; uint256 etherBalance = myAddress.balance; owner.transfer(etherBalance); } function burn(uint256 _value) onlyOwner public { require(_value <= balances[msg.sender]); // no need to require value <= totalSupply, since that would imply the // sender's balance is greater than the totalSupply, which *should* be an assertion failure address burner = msg.sender; balances[burner] = balances[burner].sub(_value); totalSupply = totalSupply.sub(_value); totalDistributed = totalDistributed.sub(_value); emit Burn(burner, _value); } function withdrawForeignTokens(address _tokenContract) onlyOwner public returns (bool) { ForeignToken token = ForeignToken(_tokenContract); uint256 amount = token.balanceOf(address(this)); return token.transfer(owner, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"MIN_CONTRIBUTION","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_participant","type":"address"},{"name":"_amount","type":"uint256"}],"name":"adminClaimAirdrop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_addresses","type":"address[]"},{"name":"_amount","type":"uint256"}],"name":"adminClaimAirdropMultiple","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finishDistribution","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokensPerEth","type":"uint256"}],"name":"updateTokensPerEth","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"distributionFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"who","type":"address"}],"name":"getTokenBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokensPerEth","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenContract","type":"address"}],"name":"withdrawForeignTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalDistributed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Distr","type":"event"},{"anonymous":false,"inputs":[],"name":"DistrFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_balance","type":"uint256"}],"name":"Airdrop","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_tokensPerEth","type":"uint256"}],"name":"TokensPerEthUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]
Contract Creation Code
606060405260018054600160a060020a03191633600160a060020a03161790556714d1120d7b16000060045567058d15e17628000060055566071afd498d00006006556007805460ff19169055341561005757600080fd5b60018054600160a060020a03191633600160a060020a039081169190911791829055600554610096929091169064010000000061009c8102610ce21704565b506101a9565b60075460009060ff16156100af57600080fd5b6005546100c99083640100000000610dce61019682021704565b600555600160a060020a0383166000908152600260205260409020546100fc9083640100000000610dce61019682021704565b600160a060020a0384166000818152600260205260409081902092909255907f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a779084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b818101828110156101a357fe5b92915050565b610f3b806101b86000396000f3006060604052600436106101195763ffffffff60e060020a60003504166306fdde038114610123578063095ea7b3146101ad57806318160ddd146101e357806323b872dd14610208578063313ce567146102305780633ccfd60b1461024357806340650c911461025657806342966c68146102695780634a63464d1461027f57806367220fd7146102a157806370a08231146102c357806395d89b41146102e25780639b1cbccc146102f55780639ea407be14610308578063a9059cbb1461031e578063aa6ca80814610119578063c108d54214610340578063c489744b14610353578063cbdd69b514610378578063dd62ed3e1461038b578063e58fc54c146103b0578063efca2eed146103cf578063f2fde38b146103e2575b610121610401565b005b341561012e57600080fd5b610136610499565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561017257808201518382015260200161015a565b50505050905090810190601f16801561019f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101b857600080fd5b6101cf600160a060020a03600435166024356104d0565b604051901515815260200160405180910390f35b34156101ee57600080fd5b6101f661057c565b60405190815260200160405180910390f35b341561021357600080fd5b6101cf600160a060020a0360043581169060243516604435610582565b341561023b57600080fd5b6101f6610700565b341561024e57600080fd5b610121610705565b341561026157600080fd5b6101f6610761565b341561027457600080fd5b61012160043561076c565b341561028a57600080fd5b610121600160a060020a036004351660243561085a565b34156102ac57600080fd5b610121602460048035828101929101359035610864565b34156102ce57600080fd5b6101f6600160a060020a03600435166108a2565b34156102ed57600080fd5b6101366108bd565b341561030057600080fd5b6101cf6108f4565b341561031357600080fd5b610121600435610961565b341561032957600080fd5b6101cf600160a060020a03600435166024356109b7565b341561034b57600080fd5b6101cf610aae565b341561035e57600080fd5b6101f6600160a060020a0360043581169060243516610ab7565b341561038357600080fd5b6101f6610b28565b341561039657600080fd5b6101f6600160a060020a0360043581169060243516610b2e565b34156103bb57600080fd5b6101cf600160a060020a0360043516610b59565b34156103da57600080fd5b6101f6610c5d565b34156103ed57600080fd5b610121600160a060020a0360043516610c63565b600754600090819060ff161561041657600080fd5b60009150662386f26fc1000034101561042e57600080fd5b6000341161043b57600080fd5b600654670de0b6b3a764000090610458903463ffffffff610cb916565b81151561046157fe5b049150339050600082111561047c5761047a8183610ce2565b505b60045460055410610495576007805460ff191660011790555b5050565b60408051908101604052600981527f4b696e67546f6b656e0000000000000000000000000000000000000000000000602082015281565b600081158015906105055750600160a060020a0333811660009081526003602090815260408083209387168352929052205415155b1561051257506000610576565b600160a060020a03338116600081815260036020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60045481565b60006060606436101561059157fe5b600160a060020a03841615156105a657600080fd5b600160a060020a0385166000908152600260205260409020548311156105cb57600080fd5b600160a060020a03808616600090815260036020908152604080832033909416835292905220548311156105fe57600080fd5b600160a060020a038516600090815260026020526040902054610627908463ffffffff610dbc16565b600160a060020a038087166000908152600260209081526040808320949094556003815283822033909316825291909152205461066a908463ffffffff610dbc16565b600160a060020a03808716600090815260036020908152604080832033851684528252808320949094559187168152600290915220546106b0908463ffffffff610dce16565b600160a060020a0380861660008181526002602052604090819020939093559190871690600080516020610ef08339815191529086905190815260200160405180910390a3506001949350505050565b600881565b600154600090819033600160a060020a0390811691161461072557600080fd5b50506001543090600160a060020a0380831631911681156108fc0282604051600060405180830381858888f19350505050151561049557600080fd5b662386f26fc1000081565b60015460009033600160a060020a0390811691161461078a57600080fd5b600160a060020a0333166000908152600260205260409020548211156107af57600080fd5b5033600160a060020a0381166000908152600260205260409020546107d49083610dbc565b600160a060020a038216600090815260026020526040902055600454610800908363ffffffff610dbc16565b600455600554610816908363ffffffff610dbc16565b600555600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25050565b6104958282610ddb565b60005b8281101561089c5761089484848381811061087e57fe5b90506020020135600160a060020a031683610ddb565b600101610867565b50505050565b600160a060020a031660009081526002602052604090205490565b60408051908101604052600481527f4b494e4700000000000000000000000000000000000000000000000000000000602082015281565b60015460009033600160a060020a0390811691161461091257600080fd5b60075460ff161561092257600080fd5b6007805460ff191660011790557f7f95d919e78bdebe8a285e6e33357c2fcb65ccf66e72d7573f9f8f6caad0c4cc60405160405180910390a150600190565b60015433600160a060020a0390811691161461097c57600080fd5b60068190557ff7729fa834bbef70b6d3257c2317a562aa88b56c81b544814f93dc5963a2c0038160405190815260200160405180910390a150565b6000604060443610156109c657fe5b600160a060020a03841615156109db57600080fd5b600160a060020a033316600090815260026020526040902054831115610a0057600080fd5b600160a060020a033316600090815260026020526040902054610a29908463ffffffff610dbc16565b600160a060020a033381166000908152600260205260408082209390935590861681522054610a5e908463ffffffff610dce16565b600160a060020a038086166000818152600260205260409081902093909355913390911690600080516020610ef08339815191529086905190815260200160405180910390a35060019392505050565b60075460ff1681565b60008281600160a060020a0382166370a082318560405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610b0957600080fd5b5af11515610b1657600080fd5b50505060405180519695505050505050565b60065481565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b6001546000908190819033600160a060020a03908116911614610b7b57600080fd5b83915081600160a060020a03166370a082313060405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610bcc57600080fd5b5af11515610bd957600080fd5b5050506040518051600154909250600160a060020a03808516925063a9059cbb91168360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610c3f57600080fd5b5af11515610c4c57600080fd5b505050604051805195945050505050565b60055481565b60015433600160a060020a03908116911614610c7e57600080fd5b600160a060020a03811615610cb6576001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b6000821515610cca57506000610576565b50818102818382811515610cda57fe5b041461057657fe5b60075460009060ff1615610cf557600080fd5b600554610d08908363ffffffff610dce16565b600555600160a060020a038316600090815260026020526040902054610d34908363ffffffff610dce16565b600160a060020a0384166000818152600260205260409081902092909255907f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a779084905190815260200160405180910390a2600160a060020a0383166000600080516020610ef08339815191528460405190815260200160405180910390a350600192915050565b600082821115610dc857fe5b50900390565b8181018281101561057657fe5b60008111610de857600080fd5b60045460055410610df857600080fd5b600160a060020a038216600090815260026020526040902054610e21908263ffffffff610dce16565b600160a060020a038316600090815260026020526040902055600554610e4d908263ffffffff610dce16565b60058190556004549010610e69576007805460ff191660011790555b600160a060020a03821660008181526002602052604090819020547fada993ad066837289fe186cd37227aa338d27519a8a1547472ecb9831486d272918491905191825260208201526040908101905180910390a2600160a060020a0382166000600080516020610ef08339815191528360405190815260200160405180910390a350505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820c2f0ee1a29e5f2b9e96bd40e31e3af446e9f3706005bf7e1231374324c9f197d0029
Deployed Bytecode
0x6060604052600436106101195763ffffffff60e060020a60003504166306fdde038114610123578063095ea7b3146101ad57806318160ddd146101e357806323b872dd14610208578063313ce567146102305780633ccfd60b1461024357806340650c911461025657806342966c68146102695780634a63464d1461027f57806367220fd7146102a157806370a08231146102c357806395d89b41146102e25780639b1cbccc146102f55780639ea407be14610308578063a9059cbb1461031e578063aa6ca80814610119578063c108d54214610340578063c489744b14610353578063cbdd69b514610378578063dd62ed3e1461038b578063e58fc54c146103b0578063efca2eed146103cf578063f2fde38b146103e2575b610121610401565b005b341561012e57600080fd5b610136610499565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561017257808201518382015260200161015a565b50505050905090810190601f16801561019f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101b857600080fd5b6101cf600160a060020a03600435166024356104d0565b604051901515815260200160405180910390f35b34156101ee57600080fd5b6101f661057c565b60405190815260200160405180910390f35b341561021357600080fd5b6101cf600160a060020a0360043581169060243516604435610582565b341561023b57600080fd5b6101f6610700565b341561024e57600080fd5b610121610705565b341561026157600080fd5b6101f6610761565b341561027457600080fd5b61012160043561076c565b341561028a57600080fd5b610121600160a060020a036004351660243561085a565b34156102ac57600080fd5b610121602460048035828101929101359035610864565b34156102ce57600080fd5b6101f6600160a060020a03600435166108a2565b34156102ed57600080fd5b6101366108bd565b341561030057600080fd5b6101cf6108f4565b341561031357600080fd5b610121600435610961565b341561032957600080fd5b6101cf600160a060020a03600435166024356109b7565b341561034b57600080fd5b6101cf610aae565b341561035e57600080fd5b6101f6600160a060020a0360043581169060243516610ab7565b341561038357600080fd5b6101f6610b28565b341561039657600080fd5b6101f6600160a060020a0360043581169060243516610b2e565b34156103bb57600080fd5b6101cf600160a060020a0360043516610b59565b34156103da57600080fd5b6101f6610c5d565b34156103ed57600080fd5b610121600160a060020a0360043516610c63565b600754600090819060ff161561041657600080fd5b60009150662386f26fc1000034101561042e57600080fd5b6000341161043b57600080fd5b600654670de0b6b3a764000090610458903463ffffffff610cb916565b81151561046157fe5b049150339050600082111561047c5761047a8183610ce2565b505b60045460055410610495576007805460ff191660011790555b5050565b60408051908101604052600981527f4b696e67546f6b656e0000000000000000000000000000000000000000000000602082015281565b600081158015906105055750600160a060020a0333811660009081526003602090815260408083209387168352929052205415155b1561051257506000610576565b600160a060020a03338116600081815260036020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60045481565b60006060606436101561059157fe5b600160a060020a03841615156105a657600080fd5b600160a060020a0385166000908152600260205260409020548311156105cb57600080fd5b600160a060020a03808616600090815260036020908152604080832033909416835292905220548311156105fe57600080fd5b600160a060020a038516600090815260026020526040902054610627908463ffffffff610dbc16565b600160a060020a038087166000908152600260209081526040808320949094556003815283822033909316825291909152205461066a908463ffffffff610dbc16565b600160a060020a03808716600090815260036020908152604080832033851684528252808320949094559187168152600290915220546106b0908463ffffffff610dce16565b600160a060020a0380861660008181526002602052604090819020939093559190871690600080516020610ef08339815191529086905190815260200160405180910390a3506001949350505050565b600881565b600154600090819033600160a060020a0390811691161461072557600080fd5b50506001543090600160a060020a0380831631911681156108fc0282604051600060405180830381858888f19350505050151561049557600080fd5b662386f26fc1000081565b60015460009033600160a060020a0390811691161461078a57600080fd5b600160a060020a0333166000908152600260205260409020548211156107af57600080fd5b5033600160a060020a0381166000908152600260205260409020546107d49083610dbc565b600160a060020a038216600090815260026020526040902055600454610800908363ffffffff610dbc16565b600455600554610816908363ffffffff610dbc16565b600555600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25050565b6104958282610ddb565b60005b8281101561089c5761089484848381811061087e57fe5b90506020020135600160a060020a031683610ddb565b600101610867565b50505050565b600160a060020a031660009081526002602052604090205490565b60408051908101604052600481527f4b494e4700000000000000000000000000000000000000000000000000000000602082015281565b60015460009033600160a060020a0390811691161461091257600080fd5b60075460ff161561092257600080fd5b6007805460ff191660011790557f7f95d919e78bdebe8a285e6e33357c2fcb65ccf66e72d7573f9f8f6caad0c4cc60405160405180910390a150600190565b60015433600160a060020a0390811691161461097c57600080fd5b60068190557ff7729fa834bbef70b6d3257c2317a562aa88b56c81b544814f93dc5963a2c0038160405190815260200160405180910390a150565b6000604060443610156109c657fe5b600160a060020a03841615156109db57600080fd5b600160a060020a033316600090815260026020526040902054831115610a0057600080fd5b600160a060020a033316600090815260026020526040902054610a29908463ffffffff610dbc16565b600160a060020a033381166000908152600260205260408082209390935590861681522054610a5e908463ffffffff610dce16565b600160a060020a038086166000818152600260205260409081902093909355913390911690600080516020610ef08339815191529086905190815260200160405180910390a35060019392505050565b60075460ff1681565b60008281600160a060020a0382166370a082318560405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610b0957600080fd5b5af11515610b1657600080fd5b50505060405180519695505050505050565b60065481565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b6001546000908190819033600160a060020a03908116911614610b7b57600080fd5b83915081600160a060020a03166370a082313060405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610bcc57600080fd5b5af11515610bd957600080fd5b5050506040518051600154909250600160a060020a03808516925063a9059cbb91168360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610c3f57600080fd5b5af11515610c4c57600080fd5b505050604051805195945050505050565b60055481565b60015433600160a060020a03908116911614610c7e57600080fd5b600160a060020a03811615610cb6576001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b6000821515610cca57506000610576565b50818102818382811515610cda57fe5b041461057657fe5b60075460009060ff1615610cf557600080fd5b600554610d08908363ffffffff610dce16565b600555600160a060020a038316600090815260026020526040902054610d34908363ffffffff610dce16565b600160a060020a0384166000818152600260205260409081902092909255907f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a779084905190815260200160405180910390a2600160a060020a0383166000600080516020610ef08339815191528460405190815260200160405180910390a350600192915050565b600082821115610dc857fe5b50900390565b8181018281101561057657fe5b60008111610de857600080fd5b60045460055410610df857600080fd5b600160a060020a038216600090815260026020526040902054610e21908263ffffffff610dce16565b600160a060020a038316600090815260026020526040902055600554610e4d908263ffffffff610dce16565b60058190556004549010610e69576007805460ff191660011790555b600160a060020a03821660008181526002602052604090819020547fada993ad066837289fe186cd37227aa338d27519a8a1547472ecb9831486d272918491905191825260208201526040908101905180910390a2600160a060020a0382166000600080516020610ef08339815191528360405190815260200160405180910390a350505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820c2f0ee1a29e5f2b9e96bd40e31e3af446e9f3706005bf7e1231374324c9f197d0029
Swarm Source
bzzr://c2f0ee1a29e5f2b9e96bd40e31e3af446e9f3706005bf7e1231374324c9f197d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $1 | 20 | $20.04 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.