ETH Price: $3,137.22 (-0.81%)

Token

OpenLongevity (YEAR)
 

Overview

Max Total Supply

2,473,202 YEAR

Holders

448

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Balance
45 YEAR

Value
$0.00
0x04cd193c757d2c5edf406efb688ec9301bffcd91
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
OpenLongevityPresale

Compiler Version
v0.4.17+commit.bdeb9e52

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-12-15
*/

/*
This file is part of the Open Longevity Contract.

The Open Longevity Contract is free software: you can redistribute it and/or
modify it under the terms of the GNU lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

The Open Longevity Contract is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU lesser General Public License for more details.

You should have received a copy of the GNU lesser General Public License
along with the Open Longevity Contract. If not, see <http://www.gnu.org/licenses/>.

@author Ilya Svirin <[email protected]>
*/


pragma solidity ^0.4.10;

contract owned {

    address public owner;
    address public newOwner;

    function owned() public payable {
        owner = msg.sender;
    }
    
    modifier onlyOwner {
        require(owner == msg.sender);
        _;
    }

    function changeOwner(address _owner) onlyOwner public {
        require(_owner != 0);
        newOwner = _owner;
    }
    
    function confirmOwner() public {
        require(newOwner == msg.sender);
        owner = newOwner;
        delete newOwner;
    }
}

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 {
    uint public totalSupply;
    function balanceOf(address who) public constant returns (uint);
    function transfer(address to, uint value) public ;
    function allowance(address owner, address spender) public constant returns (uint);
    function transferFrom(address from, address to, uint value) public;
    function approve(address spender, uint value) public;
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);
}

contract PresaleOriginal is owned, ERC20 {

    uint    public totalLimitUSD;
    uint    public collectedUSD;
    uint    public presaleStartTime;

    struct Investor {
        uint256 amountTokens;
        uint    amountWei;
    }
    mapping (address => Investor) public investors;
    mapping (uint => address)     public investorsIter;
    uint                          public numberOfInvestors;
}

contract Presale is PresaleOriginal {

    uint    public etherPrice;
    address public presaleOwner;

    enum State { Disabled, Presale, Finished }
    event NewState(State state);
    State   public state;
    uint    public presaleFinishTime;

    uint    public migrationCounter;

    function migrate(address _originalContract, uint n) public onlyOwner {
        require(state == State.Disabled);
        
        // migrate tokens with x2 bonus
        numberOfInvestors = PresaleOriginal(_originalContract).numberOfInvestors();
        uint limit = migrationCounter + n;
        if(limit > numberOfInvestors) {
            limit = numberOfInvestors;
        }
        for(; migrationCounter < limit; ++migrationCounter) {
            address a = PresaleOriginal(_originalContract).investorsIter(migrationCounter);
            investorsIter[migrationCounter] = a;
            uint256 amountTokens;
            uint amountWei;
            (amountTokens, amountWei) = PresaleOriginal(_originalContract).investors(a);
            amountTokens *= 2;
            investors[a].amountTokens = amountTokens;
            investors[a].amountWei = amountWei;
            totalSupply += amountTokens;
            Transfer(_originalContract, a, amountTokens);
        }
        if(limit < numberOfInvestors) {
            return;
        }

        // migrate main parameters
        presaleStartTime = PresaleOriginal(_originalContract).presaleStartTime();
        collectedUSD = PresaleOriginal(_originalContract).collectedUSD();
        totalLimitUSD = PresaleOriginal(_originalContract).totalLimitUSD();

        // add extra tokens for bounty
        address bountyAddress = 0x59B95A5e0268Cc843e6308FEf723544BaA6676c6;
        if(investors[bountyAddress].amountWei == 0 && investors[bountyAddress].amountTokens == 0) {
            investorsIter[numberOfInvestors++] = bountyAddress;
        }
        uint bountyTokens = 5 * PresaleOriginal(_originalContract).totalSupply() / 100;
        investors[bountyAddress].amountTokens += bountyTokens;
        totalSupply += bountyTokens;
    }

    function () payable public {
        require(state == State.Presale);
        require(now < presaleFinishTime);

        uint valueWei = msg.value;
        uint valueUSD = valueWei * etherPrice / 1000000000000000000;
        if (collectedUSD + valueUSD > totalLimitUSD) { // don't need so much ether
            valueUSD = totalLimitUSD - collectedUSD;
            valueWei = valueUSD * 1000000000000000000 / etherPrice;
            require(msg.sender.call.gas(3000000).value(msg.value - valueWei)());
            collectedUSD = totalLimitUSD; // to be sure!
        } else {
            collectedUSD += valueUSD;
        }

        uint256 tokensPer10USD = 130;
        if (valueUSD >= 100000) {
            tokensPer10USD = 150;
        }

        uint256 tokens = tokensPer10USD * valueUSD / 10;
        require(tokens > 0);

        Investor storage inv = investors[msg.sender];
        if (inv.amountWei == 0) { // new investor
            investorsIter[numberOfInvestors++] = msg.sender;
        }
        require(inv.amountTokens + tokens > inv.amountTokens); // overflow
        inv.amountTokens += tokens;
        inv.amountWei += valueWei;
        totalSupply += tokens;
        Transfer(this, msg.sender, tokens);
    }
    
    function startPresale(address _presaleOwner, uint _etherPrice) public onlyOwner {
        require(state == State.Disabled);
        presaleOwner = _presaleOwner;
        etherPrice = _etherPrice;
        presaleFinishTime = 1526342400; // (GMT) 15 May 2018, 00:00:00
        state = State.Presale;
        totalLimitUSD = 500000;
        NewState(state);
    }

    function setEtherPrice(uint _etherPrice) public onlyOwner {
        require(state == State.Presale);
        etherPrice = _etherPrice;
    }
    
    function timeToFinishPresale() public constant returns(uint t) {
        require(state == State.Presale);
        if (now > presaleFinishTime) {
            t = 0;
        } else {
            t = presaleFinishTime - now;
        }
    }
    
    function finishPresale() public onlyOwner {
        require(state == State.Presale);
        require(now >= presaleFinishTime || collectedUSD == totalLimitUSD);
        require(presaleOwner.call.gas(3000000).value(this.balance)());
        state = State.Finished;
        NewState(state);
    }
    
    function withdraw() public onlyOwner {
        require(presaleOwner.call.gas(3000000).value(this.balance)());
    }
}

contract PresaleToken is Presale {
    
    string  public standard    = 'Token 0.1';
    string  public name        = 'OpenLongevity';
    string  public symbol      = "YEAR";
    uint8   public decimals    = 0;

    mapping (address => mapping (address => uint)) public allowed;

    // Fix for the ERC20 short address attack
    modifier onlyPayloadSize(uint size) {
        require(msg.data.length >= size + 4);
        _;
    }

    function PresaleToken() payable public Presale() {}

    function balanceOf(address _who) constant public returns (uint) {
        return investors[_who].amountTokens;
    }

    function transfer(address _to, uint256 _value) public onlyPayloadSize(2 * 32) {
        require(investors[msg.sender].amountTokens >= _value);
        require(investors[_to].amountTokens + _value >= investors[_to].amountTokens);
        investors[msg.sender].amountTokens -= _value;
        if(investors[_to].amountTokens == 0 && investors[_to].amountWei == 0) {
            investorsIter[numberOfInvestors++] = _to;
        }
        investors[_to].amountTokens += _value;
        Transfer(msg.sender, _to, _value);
    }
    
    function transferFrom(address _from, address _to, uint _value) public onlyPayloadSize(3 * 32) {
        require(investors[_from].amountTokens >= _value);
        require(investors[_to].amountTokens + _value >= investors[_to].amountTokens); // overflow
        require(allowed[_from][msg.sender] >= _value);
        investors[_from].amountTokens -= _value;
        if(investors[_to].amountTokens == 0 && investors[_to].amountWei == 0) {
            investorsIter[numberOfInvestors++] = _to;
        }
        investors[_to].amountTokens += _value;
        allowed[_from][msg.sender] -= _value;
        Transfer(_from, _to, _value);
    }

    function approve(address _spender, uint _value) public {
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
    }

    function allowance(address _owner, address _spender) public constant
        returns (uint remaining) {
        return allowed[_owner][_spender];
    }
}

contract OpenLongevityPresale is PresaleToken {

    function OpenLongevityPresale() payable public PresaleToken() {}

    function killMe() public onlyOwner {
        selfdestruct(owner);
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"investorsIter","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"numberOfInvestors","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"collectedUSD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_etherPrice","type":"uint256"}],"name":"setEtherPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"timeToFinishPresale","outputs":[{"name":"t","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"investors","outputs":[{"name":"amountTokens","type":"uint256"},{"name":"amountWei","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_who","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"presaleFinishTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalLimitUSD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"migrationCounter","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"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":"finishPresale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"presaleOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"etherPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"changeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"presaleStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_originalContract","type":"address"},{"name":"n","type":"uint256"}],"name":"migrate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"killMe","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"confirmOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"state","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"newOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_presaleOwner","type":"address"},{"name":"_etherPrice","type":"uint256"}],"name":"startPresale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":true,"stateMutability":"payable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"state","type":"uint8"}],"name":"NewState","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]

606060405260408051908101604052600981527f546f6b656e20302e3100000000000000000000000000000000000000000000006020820152600d9080516200004d9291602001906200010d565b5060408051908101604052600d81527f4f70656e4c6f6e676576697479000000000000000000000000000000000000006020820152600e908051620000979291602001906200010d565b5060408051908101604052600481527f59454152000000000000000000000000000000000000000000000000000000006020820152600f908051620000e19291602001906200010d565b506010805460ff1916905560008054600160a060020a03191633600160a060020a0316179055620001b2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200015057805160ff191683800117855562000180565b8280016001018555821562000180579182015b828111156200018057825182559160200191906001019062000163565b506200018e92915062000192565b5090565b620001af91905b808211156200018e576000815560010162000199565b90565b61157b80620001c26000396000f300606060405236156101855763ffffffff60e060020a600035041663052deec5811461032457806306fdde0314610356578063095ea7b3146103e057806318160ddd146104045780631af2c9fd146104295780631ff6c2411461043c57806323b872dd1461044f578063271879911461047757806330986dea1461048d578063313ce567146104a05780633ccfd60b146104c95780635a3b7e42146104dc5780635c658165146104ef5780636f7bc9be1461051457806370a082311461054b57806372d0774a1461056a5780637b25aeca1461057d5780638b800e6f146105905780638da5cb5b146105a357806395d89b41146105b6578063974654c6146105c95780639c89a10a146105dc5780639e307955146105ef578063a6f9dae114610602578063a82524b214610621578063a9059cbb14610634578063ad68ebf714610656578063b603cd8014610678578063bd9b6d861461068b578063c19d93fb1461069e578063d4ee1d90146106d5578063dd62ed3e146106e8578063ddf0432f1461070d575b6000808080806001600a5460a060020a900460ff1660028111156101a557fe5b146101af57600080fd5b600b5442106101bd57600080fd5b600954349550670de0b6b3a76400009086020493506003548460045401111561023f5760045460035403935060095484670de0b6b3a76400000281151561020057fe5b04945033600160a060020a0316622dc6c0863403604051600060405180830381858888f19350505050151561023457600080fd5b600354600455610248565b60048054850190555b60829250620186a0841061025b57609692505b600a8385020491506000821161027057600080fd5b50600160a060020a0333166000908152600660205260409020600181015415156102c757600880546001810190915560009081526007602052604090208054600160a060020a03191633600160a060020a03161790555b8054828101116102d657600080fd5b805482018155600181018054860190556002805483019055600160a060020a033381169030166000805160206115308339815191528460405190815260200160405180910390a35050505050005b341561032f57600080fd5b61033a60043561072f565b604051600160a060020a03909116815260200160405180910390f35b341561036157600080fd5b61036961074a565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103a557808201518382015260200161038d565b50505050905090810190601f1680156103d25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103eb57600080fd5b610402600160a060020a03600435166024356107e8565b005b341561040f57600080fd5b61041761084c565b60405190815260200160405180910390f35b341561043457600080fd5b610417610852565b341561044757600080fd5b610417610858565b341561045a57600080fd5b610402600160a060020a036004358116906024351660443561085e565b341561048257600080fd5b6104026004356109e3565b341561049857600080fd5b610417610a27565b34156104ab57600080fd5b6104b3610a6a565b60405160ff909116815260200160405180910390f35b34156104d457600080fd5b610402610a73565b34156104e757600080fd5b610369610ac7565b34156104fa57600080fd5b610417600160a060020a0360043581169060243516610b32565b341561051f57600080fd5b610533600160a060020a0360043516610b4f565b60405191825260208201526040908101905180910390f35b341561055657600080fd5b610417600160a060020a0360043516610b68565b341561057557600080fd5b610417610b83565b341561058857600080fd5b610417610b89565b341561059b57600080fd5b610417610b8f565b34156105ae57600080fd5b61033a610b95565b34156105c157600080fd5b610369610ba4565b34156105d457600080fd5b610402610c0f565b34156105e757600080fd5b61033a610d2c565b34156105fa57600080fd5b610417610d3b565b341561060d57600080fd5b610402600160a060020a0360043516610d41565b341561062c57600080fd5b610417610d93565b341561063f57600080fd5b610402600160a060020a0360043516602435610d99565b341561066157600080fd5b610402600160a060020a0360043516602435610ec8565b341561068357600080fd5b61040261138e565b341561069657600080fd5b6104026113b7565b34156106a957600080fd5b6106b16113f9565b604051808260028111156106c157fe5b60ff16815260200191505060405180910390f35b34156106e057600080fd5b61033a611409565b34156106f357600080fd5b610417600160a060020a0360043581169060243516611418565b341561071857600080fd5b610402600160a060020a0360043516602435611443565b600760205260009081526040902054600160a060020a031681565b600e8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107e05780601f106107b5576101008083540402835291602001916107e0565b820191906000526020600020905b8154815290600101906020018083116107c357829003601f168201915b505050505081565b600160a060020a03338116600081815260116020908152604080832094871680845294909152908190208490557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259084905190815260200160405180910390a35050565b60025481565b60085481565b60045481565b6060606436101561086e57600080fd5b600160a060020a0384166000908152600660205260409020548290101561089457600080fd5b600160a060020a03831660009081526006602052604090205482810110156108bb57600080fd5b600160a060020a0380851660009081526011602090815260408083203390941683529290522054829010156108ef57600080fd5b600160a060020a03808516600090815260066020526040808220805486900390559185168152205415801561093d5750600160a060020a038316600090815260066020526040902060010154155b1561097557600880546001810190915560009081526007602052604090208054600160a060020a031916600160a060020a0385161790555b600160a060020a038084166000818152600660209081526040808320805488019055888516808452601183528184203390961684529490915290819020805486900390559091906000805160206115308339815191529085905190815260200160405180910390a350505050565b60005433600160a060020a039081169116146109fe57600080fd5b6001600a5460a060020a900460ff166002811115610a1857fe5b14610a2257600080fd5b600955565b60006001600a5460a060020a900460ff166002811115610a4357fe5b14610a4d57600080fd5b600b54421115610a5f57506000610a67565b42600b540390505b90565b60105460ff1681565b60005433600160a060020a03908116911614610a8e57600080fd5b600a54600160a060020a0390811690622dc6c090301631604051600060405180830381858888f193505050501515610ac557600080fd5b565b600d8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107e05780601f106107b5576101008083540402835291602001916107e0565b601160209081526000928352604080842090915290825290205481565b6006602052600090815260409020805460019091015482565b600160a060020a031660009081526006602052604090205490565b600b5481565b60035481565b600c5481565b600054600160a060020a031681565b600f8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107e05780601f106107b5576101008083540402835291602001916107e0565b60005433600160a060020a03908116911614610c2a57600080fd5b6001600a5460a060020a900460ff166002811115610c4457fe5b14610c4e57600080fd5b600b5442101580610c625750600354600454145b1515610c6d57600080fd5b600a54600160a060020a0390811690622dc6c090301631604051600060405180830381858888f193505050501515610ca457600080fd5b600a805474ff000000000000000000000000000000000000000019167402000000000000000000000000000000000000000017908190557fc9393c620dc0ed7b95591e2354866fb78b5ebff006e01bdd4cbcfb9f6024b4839060a060020a900460ff1660405180826002811115610d1757fe5b60ff16815260200191505060405180910390a1565b600a54600160a060020a031681565b60095481565b60005433600160a060020a03908116911614610d5c57600080fd5b600160a060020a0381161515610d7157600080fd5b60018054600160a060020a031916600160a060020a0392909216919091179055565b60055481565b60406044361015610da957600080fd5b600160a060020a03331660009081526006602052604090205482901015610dcf57600080fd5b600160a060020a0383166000908152600660205260409020548281011015610df657600080fd5b600160a060020a033381166000908152600660205260408082208054869003905591851681522054158015610e445750600160a060020a038316600090815260066020526040902060010154155b15610e7c57600880546001810190915560009081526007602052604090208054600160a060020a031916600160a060020a0385161790555b600160a060020a038084166000818152600660205260409081902080548601905590913316906000805160206115308339815191529085905190815260200160405180910390a3505050565b600080548190819081908190819033600160a060020a03908116911614610eee57600080fd5b6000600a5460a060020a900460ff166002811115610f0857fe5b14610f1257600080fd5b87600160a060020a0316631af2c9fd6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610f5857600080fd5b6102c65a03f11515610f6957600080fd5b50505060405180516008819055600c54890197508711159050610f8c5760085495505b85600c5410156111105787600160a060020a031663052deec5600c5460006040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610fe757600080fd5b6102c65a03f11515610ff857600080fd5b5050506040518051600c546000908152600760205260408082208054600160a060020a031916600160a060020a0385811691909117909155929850918b169250636f7bc9be91889190516040015260405160e060020a63ffffffff8416028152600160a060020a0390911660048201526024016040805180830381600087803b151561108357600080fd5b6102c65a03f1151561109457600080fd5b5050506040518051906020018051600160a060020a038089166000818152600660205260409081902060029687028082556001909101859055865481019096559498509196509092908b1691506000805160206115308339815191529087905190815260200160405180910390a3600c80546001019055610f8c565b60085486101561111f57611384565b87600160a060020a031663a82524b26000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561116557600080fd5b6102c65a03f1151561117657600080fd5b505050604051805160055550600160a060020a038816631ff6c2416000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156111c857600080fd5b6102c65a03f115156111d957600080fd5b505050604051805160045550600160a060020a038816637b25aeca6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561122b57600080fd5b6102c65a03f1151561123c57600080fd5b5050506040518051600355507359b95a5e0268cc843e6308fef723544baa6676c6600081905260066020527fb9d7207d73ef07a86305ddb2b481f7fb3cbefb0bdc7e08dea9369ef7065629aa549092501580156112af5750600160a060020a038216600090815260066020526040902054155b156112e757600880546001810190915560009081526007602052604090208054600160a060020a031916600160a060020a0384161790555b606488600160a060020a03166318160ddd6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561132f57600080fd5b6102c65a03f1151561134057600080fd5b5050506040518051905060050281151561135657fe5b600160a060020a03841660009081526006602052604090208054929091049182019055600280548201905590505b5050505050505050565b60005433600160a060020a039081169116146113a957600080fd5b600054600160a060020a0316ff5b60015433600160a060020a039081169116146113d257600080fd5b6001805460008054600160a060020a0319908116600160a060020a03841617909155169055565b600a5460a060020a900460ff1681565b600154600160a060020a031681565b600160a060020a03918216600090815260116020908152604080832093909416825291909152205490565b60005433600160a060020a0390811691161461145e57600080fd5b6000600a5460a060020a900460ff16600281111561147857fe5b1461148257600080fd5b600a8054600160a060020a031916600160a060020a038416178082556009839055635afa2300600b556001919074ff0000000000000000000000000000000000000000191660a060020a8302179055506207a120600355600a547fc9393c620dc0ed7b95591e2354866fb78b5ebff006e01bdd4cbcfb9f6024b4839060a060020a900460ff166040518082600281111561151857fe5b60ff16815260200191505060405180910390a150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058207effc57f85e2168f3c3cda66eb24392a1ff282534462fcada93dc22c70c280de0029

Deployed Bytecode

0x606060405236156101855763ffffffff60e060020a600035041663052deec5811461032457806306fdde0314610356578063095ea7b3146103e057806318160ddd146104045780631af2c9fd146104295780631ff6c2411461043c57806323b872dd1461044f578063271879911461047757806330986dea1461048d578063313ce567146104a05780633ccfd60b146104c95780635a3b7e42146104dc5780635c658165146104ef5780636f7bc9be1461051457806370a082311461054b57806372d0774a1461056a5780637b25aeca1461057d5780638b800e6f146105905780638da5cb5b146105a357806395d89b41146105b6578063974654c6146105c95780639c89a10a146105dc5780639e307955146105ef578063a6f9dae114610602578063a82524b214610621578063a9059cbb14610634578063ad68ebf714610656578063b603cd8014610678578063bd9b6d861461068b578063c19d93fb1461069e578063d4ee1d90146106d5578063dd62ed3e146106e8578063ddf0432f1461070d575b6000808080806001600a5460a060020a900460ff1660028111156101a557fe5b146101af57600080fd5b600b5442106101bd57600080fd5b600954349550670de0b6b3a76400009086020493506003548460045401111561023f5760045460035403935060095484670de0b6b3a76400000281151561020057fe5b04945033600160a060020a0316622dc6c0863403604051600060405180830381858888f19350505050151561023457600080fd5b600354600455610248565b60048054850190555b60829250620186a0841061025b57609692505b600a8385020491506000821161027057600080fd5b50600160a060020a0333166000908152600660205260409020600181015415156102c757600880546001810190915560009081526007602052604090208054600160a060020a03191633600160a060020a03161790555b8054828101116102d657600080fd5b805482018155600181018054860190556002805483019055600160a060020a033381169030166000805160206115308339815191528460405190815260200160405180910390a35050505050005b341561032f57600080fd5b61033a60043561072f565b604051600160a060020a03909116815260200160405180910390f35b341561036157600080fd5b61036961074a565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103a557808201518382015260200161038d565b50505050905090810190601f1680156103d25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103eb57600080fd5b610402600160a060020a03600435166024356107e8565b005b341561040f57600080fd5b61041761084c565b60405190815260200160405180910390f35b341561043457600080fd5b610417610852565b341561044757600080fd5b610417610858565b341561045a57600080fd5b610402600160a060020a036004358116906024351660443561085e565b341561048257600080fd5b6104026004356109e3565b341561049857600080fd5b610417610a27565b34156104ab57600080fd5b6104b3610a6a565b60405160ff909116815260200160405180910390f35b34156104d457600080fd5b610402610a73565b34156104e757600080fd5b610369610ac7565b34156104fa57600080fd5b610417600160a060020a0360043581169060243516610b32565b341561051f57600080fd5b610533600160a060020a0360043516610b4f565b60405191825260208201526040908101905180910390f35b341561055657600080fd5b610417600160a060020a0360043516610b68565b341561057557600080fd5b610417610b83565b341561058857600080fd5b610417610b89565b341561059b57600080fd5b610417610b8f565b34156105ae57600080fd5b61033a610b95565b34156105c157600080fd5b610369610ba4565b34156105d457600080fd5b610402610c0f565b34156105e757600080fd5b61033a610d2c565b34156105fa57600080fd5b610417610d3b565b341561060d57600080fd5b610402600160a060020a0360043516610d41565b341561062c57600080fd5b610417610d93565b341561063f57600080fd5b610402600160a060020a0360043516602435610d99565b341561066157600080fd5b610402600160a060020a0360043516602435610ec8565b341561068357600080fd5b61040261138e565b341561069657600080fd5b6104026113b7565b34156106a957600080fd5b6106b16113f9565b604051808260028111156106c157fe5b60ff16815260200191505060405180910390f35b34156106e057600080fd5b61033a611409565b34156106f357600080fd5b610417600160a060020a0360043581169060243516611418565b341561071857600080fd5b610402600160a060020a0360043516602435611443565b600760205260009081526040902054600160a060020a031681565b600e8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107e05780601f106107b5576101008083540402835291602001916107e0565b820191906000526020600020905b8154815290600101906020018083116107c357829003601f168201915b505050505081565b600160a060020a03338116600081815260116020908152604080832094871680845294909152908190208490557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259084905190815260200160405180910390a35050565b60025481565b60085481565b60045481565b6060606436101561086e57600080fd5b600160a060020a0384166000908152600660205260409020548290101561089457600080fd5b600160a060020a03831660009081526006602052604090205482810110156108bb57600080fd5b600160a060020a0380851660009081526011602090815260408083203390941683529290522054829010156108ef57600080fd5b600160a060020a03808516600090815260066020526040808220805486900390559185168152205415801561093d5750600160a060020a038316600090815260066020526040902060010154155b1561097557600880546001810190915560009081526007602052604090208054600160a060020a031916600160a060020a0385161790555b600160a060020a038084166000818152600660209081526040808320805488019055888516808452601183528184203390961684529490915290819020805486900390559091906000805160206115308339815191529085905190815260200160405180910390a350505050565b60005433600160a060020a039081169116146109fe57600080fd5b6001600a5460a060020a900460ff166002811115610a1857fe5b14610a2257600080fd5b600955565b60006001600a5460a060020a900460ff166002811115610a4357fe5b14610a4d57600080fd5b600b54421115610a5f57506000610a67565b42600b540390505b90565b60105460ff1681565b60005433600160a060020a03908116911614610a8e57600080fd5b600a54600160a060020a0390811690622dc6c090301631604051600060405180830381858888f193505050501515610ac557600080fd5b565b600d8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107e05780601f106107b5576101008083540402835291602001916107e0565b601160209081526000928352604080842090915290825290205481565b6006602052600090815260409020805460019091015482565b600160a060020a031660009081526006602052604090205490565b600b5481565b60035481565b600c5481565b600054600160a060020a031681565b600f8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107e05780601f106107b5576101008083540402835291602001916107e0565b60005433600160a060020a03908116911614610c2a57600080fd5b6001600a5460a060020a900460ff166002811115610c4457fe5b14610c4e57600080fd5b600b5442101580610c625750600354600454145b1515610c6d57600080fd5b600a54600160a060020a0390811690622dc6c090301631604051600060405180830381858888f193505050501515610ca457600080fd5b600a805474ff000000000000000000000000000000000000000019167402000000000000000000000000000000000000000017908190557fc9393c620dc0ed7b95591e2354866fb78b5ebff006e01bdd4cbcfb9f6024b4839060a060020a900460ff1660405180826002811115610d1757fe5b60ff16815260200191505060405180910390a1565b600a54600160a060020a031681565b60095481565b60005433600160a060020a03908116911614610d5c57600080fd5b600160a060020a0381161515610d7157600080fd5b60018054600160a060020a031916600160a060020a0392909216919091179055565b60055481565b60406044361015610da957600080fd5b600160a060020a03331660009081526006602052604090205482901015610dcf57600080fd5b600160a060020a0383166000908152600660205260409020548281011015610df657600080fd5b600160a060020a033381166000908152600660205260408082208054869003905591851681522054158015610e445750600160a060020a038316600090815260066020526040902060010154155b15610e7c57600880546001810190915560009081526007602052604090208054600160a060020a031916600160a060020a0385161790555b600160a060020a038084166000818152600660205260409081902080548601905590913316906000805160206115308339815191529085905190815260200160405180910390a3505050565b600080548190819081908190819033600160a060020a03908116911614610eee57600080fd5b6000600a5460a060020a900460ff166002811115610f0857fe5b14610f1257600080fd5b87600160a060020a0316631af2c9fd6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b1515610f5857600080fd5b6102c65a03f11515610f6957600080fd5b50505060405180516008819055600c54890197508711159050610f8c5760085495505b85600c5410156111105787600160a060020a031663052deec5600c5460006040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610fe757600080fd5b6102c65a03f11515610ff857600080fd5b5050506040518051600c546000908152600760205260408082208054600160a060020a031916600160a060020a0385811691909117909155929850918b169250636f7bc9be91889190516040015260405160e060020a63ffffffff8416028152600160a060020a0390911660048201526024016040805180830381600087803b151561108357600080fd5b6102c65a03f1151561109457600080fd5b5050506040518051906020018051600160a060020a038089166000818152600660205260409081902060029687028082556001909101859055865481019096559498509196509092908b1691506000805160206115308339815191529087905190815260200160405180910390a3600c80546001019055610f8c565b60085486101561111f57611384565b87600160a060020a031663a82524b26000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561116557600080fd5b6102c65a03f1151561117657600080fd5b505050604051805160055550600160a060020a038816631ff6c2416000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156111c857600080fd5b6102c65a03f115156111d957600080fd5b505050604051805160045550600160a060020a038816637b25aeca6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561122b57600080fd5b6102c65a03f1151561123c57600080fd5b5050506040518051600355507359b95a5e0268cc843e6308fef723544baa6676c6600081905260066020527fb9d7207d73ef07a86305ddb2b481f7fb3cbefb0bdc7e08dea9369ef7065629aa549092501580156112af5750600160a060020a038216600090815260066020526040902054155b156112e757600880546001810190915560009081526007602052604090208054600160a060020a031916600160a060020a0384161790555b606488600160a060020a03166318160ddd6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561132f57600080fd5b6102c65a03f1151561134057600080fd5b5050506040518051905060050281151561135657fe5b600160a060020a03841660009081526006602052604090208054929091049182019055600280548201905590505b5050505050505050565b60005433600160a060020a039081169116146113a957600080fd5b600054600160a060020a0316ff5b60015433600160a060020a039081169116146113d257600080fd5b6001805460008054600160a060020a0319908116600160a060020a03841617909155169055565b600a5460a060020a900460ff1681565b600154600160a060020a031681565b600160a060020a03918216600090815260116020908152604080832093909416825291909152205490565b60005433600160a060020a0390811691161461145e57600080fd5b6000600a5460a060020a900460ff16600281111561147857fe5b1461148257600080fd5b600a8054600160a060020a031916600160a060020a038416178082556009839055635afa2300600b556001919074ff0000000000000000000000000000000000000000191660a060020a8302179055506207a120600355600a547fc9393c620dc0ed7b95591e2354866fb78b5ebff006e01bdd4cbcfb9f6024b4839060a060020a900460ff166040518082600281111561151857fe5b60ff16815260200191505060405180910390a150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058207effc57f85e2168f3c3cda66eb24392a1ff282534462fcada93dc22c70c280de0029

Swarm Source

bzzr://7effc57f85e2168f3c3cda66eb24392a1ff282534462fcada93dc22c70c280de
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.