ETH Price: $2,323.68 (+2.24%)

Token

1K Token (1KT)
 

Overview

Max Total Supply

100 1KT

Holders

175

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.05 1KT

Value
$0.00
0xc7e98a1f2f749b9737878748ddf971ea3234077d
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:
onethousand

Compiler Version
v0.4.11+commit.68ef5810

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.11;


/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
    function mul(uint256 a, uint256 b) internal constant returns (uint256) {
        uint256 c = a * b;
        assert(a == 0 || c / a == b);
        return c;
    }

    function div(uint256 a, uint256 b) internal constant returns (uint256) {
        // assert(b > 0); // Solidity automatically throws when dividing by 0
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold
        return c;
    }

    function sub(uint256 a, uint256 b) internal constant returns (uint256) {
        assert(b <= a);
        return a - b;
    }

    function add(uint256 a, uint256 b) internal constant returns (uint256) {
        uint256 c = a + b;
        assert(c >= a);
        return c;
    }
}


/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
    address public owner;


    /**
     * @dev The Ownable constructor sets the original `owner` of the contract to the sender
     * account.
     */
    function Ownable() {
        owner = msg.sender;
    }


    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }


}


/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
    uint256 public totalSupply;
    function balanceOf(address who) constant returns (uint256);
    function transfer(address to, uint256 value) returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
}


/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
    function allowance(address owner, address spender) constant returns (uint256);
    function transferFrom(address from, address to, uint256 value) returns (bool);
    function approve(address spender, uint256 value) returns (bool);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}


/**
 * @title onethousandToken
 * @dev the interface of PoSTokenStandard
 */
contract onethousandToken {
    uint256 public stakeStartTime;
    uint256 public stakeMinAge;
    uint256 public stakeMaxAge;
    function mint() returns (bool);
    function coinAge() constant returns (uint256);
    function annualInterest() constant returns (uint256);
    event Mint(address indexed _address, uint _reward);
}


contract onethousand is ERC20, onethousandToken,Ownable {
    using SafeMath for uint256;

    string public name = "1K Token";
    string public symbol = "1KT";
    uint public decimals = 18;

    uint public chainStartTime; //chain start time
    uint public chainStartBlockNumber; //chain start block number
    uint public stakeStartTime; //stake start time
    uint public stakeMinAge = 3 days; // minimum age for coin age: 3D
    uint public stakeMaxAge = 90 days; // stake age of full weight: 90D
    uint public maxMintProofOfStake = 10**17; // default 10% annual interest

    uint public totalSupply;
    uint public maxTotalSupply;
    uint public totalInitialSupply;

    struct transferInStruct{
    uint128 amount;
    uint64 time;
    }

    mapping(address => uint256) balances;
    mapping(address => mapping (address => uint256)) allowed;
    mapping(address => transferInStruct[]) transferIns;

    event Burn(address indexed burner, uint256 value);

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

    modifier canPoSMint() {
        require(totalSupply < maxTotalSupply);
        _;
    }

    function onethousand() {
        maxTotalSupply = 1000000000000000000000;
        totalInitialSupply = 100000000000000000000;

        chainStartTime = now;
        chainStartBlockNumber = block.number;

        balances[msg.sender] = totalInitialSupply;
        totalSupply = totalInitialSupply;
    }

    function transfer(address _to, uint256 _value) onlyPayloadSize(2 * 32) returns (bool) {
        if(msg.sender == _to) return mint();
        balances[msg.sender] = balances[msg.sender].sub(_value);
        balances[_to] = balances[_to].add(_value);
        Transfer(msg.sender, _to, _value);
        if(transferIns[msg.sender].length > 0) delete transferIns[msg.sender];
        uint64 _now = uint64(now);
        transferIns[msg.sender].push(transferInStruct(uint128(balances[msg.sender]),_now));
        transferIns[_to].push(transferInStruct(uint128(_value),_now));
        return true;
    }

    function balanceOf(address _owner) constant returns (uint256 balance) {
        return balances[_owner];
    }

    function transferFrom(address _from, address _to, uint256 _value) onlyPayloadSize(3 * 32) returns (bool) {
        require(_to != address(0));

        var _allowance = allowed[_from][msg.sender];

        // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
        // require (_value <= _allowance);

        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(_value);
        allowed[_from][msg.sender] = _allowance.sub(_value);
        Transfer(_from, _to, _value);
        if(transferIns[_from].length > 0) delete transferIns[_from];
        uint64 _now = uint64(now);
        transferIns[_from].push(transferInStruct(uint128(balances[_from]),_now));
        transferIns[_to].push(transferInStruct(uint128(_value),_now));
        return true;
    }

    function approve(address _spender, uint256 _value) returns (bool) {
        require((_value == 0) || (allowed[msg.sender][_spender] == 0));

        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];
    }

    function mint() canPoSMint returns (bool) {
        if(balances[msg.sender] <= 0) return false;
        if(transferIns[msg.sender].length <= 0) return false;

        uint reward = getProofOfStakeReward(msg.sender);
        if(reward <= 0) return false;

        totalSupply = totalSupply.add(reward);
        balances[msg.sender] = balances[msg.sender].add(reward);
        delete transferIns[msg.sender];
        transferIns[msg.sender].push(transferInStruct(uint128(balances[msg.sender]),uint64(now)));

        Mint(msg.sender, reward);
        return true;
    }

    function getBlockNumber() returns (uint blockNumber) {
        blockNumber = block.number.sub(chainStartBlockNumber);
    }

    function coinAge() constant returns (uint myCoinAge) {
        myCoinAge = getCoinAge(msg.sender,now);
    }

    function annualInterest() constant returns(uint interest) {
        uint _now = now;
        interest = maxMintProofOfStake;
        if((_now.sub(stakeStartTime)).div(1 years) == 0) {
            interest = (770 * maxMintProofOfStake).div(100);
        } else if((_now.sub(stakeStartTime)).div(1 years) == 1){
            interest = (435 * maxMintProofOfStake).div(100);
        }
    }

    function getProofOfStakeReward(address _address) internal returns (uint) {
        require( (now >= stakeStartTime) && (stakeStartTime > 0) );

        uint _now = now;
        uint _coinAge = getCoinAge(_address, _now);
        if(_coinAge <= 0) return 0;

        uint interest = maxMintProofOfStake;
        // Due to the high interest rate for the first and second years, compounding should be taken into account.
        // Effective annual interest rate = (1 + (nominal rate / number of compounding periods)) ^ (number of compounding periods) - 1
        if((_now.sub(stakeStartTime)).div(1 years) == 0) {
            // 1st year effective annual interest rate is 100% when we select the stakeMaxAge (90 days) as the compounding period.
            interest = (770 * maxMintProofOfStake).div(100);
        } else if((_now.sub(stakeStartTime)).div(1 years) == 1){
            // 2nd year effective annual interest rate is 50%
            interest = (435 * maxMintProofOfStake).div(100);
        }

        return (_coinAge * interest).div(365 * (10**decimals));
    }

    function getCoinAge(address _address, uint _now) internal returns (uint _coinAge) {
        if(transferIns[_address].length <= 0) return 0;

        for (uint i = 0; i < transferIns[_address].length; i++){
            if( _now < uint(transferIns[_address][i].time).add(stakeMinAge) ) continue;

            uint nCoinSeconds = _now.sub(uint(transferIns[_address][i].time));
            if( nCoinSeconds > stakeMaxAge ) nCoinSeconds = stakeMaxAge;

            _coinAge = _coinAge.add(uint(transferIns[_address][i].amount) * nCoinSeconds.div(1 days));
        }
    }

    function ownerSetStakeStartTime(uint timestamp) onlyOwner {
        require((stakeStartTime <= 0) && (timestamp >= chainStartTime));
        stakeStartTime = timestamp;
    }

    function ownerBurnToken(uint _value) onlyOwner {
        require(_value > 0);

        balances[msg.sender] = balances[msg.sender].sub(_value);
        delete transferIns[msg.sender];
        transferIns[msg.sender].push(transferInStruct(uint128(balances[msg.sender]),uint64(now)));

        totalSupply = totalSupply.sub(_value);
        totalInitialSupply = totalInitialSupply.sub(_value);
        maxTotalSupply = maxTotalSupply.sub(_value*10);

        Burn(msg.sender, _value);
    }

    /* Batch token transfer. Used by contract creator to distribute initial tokens to holders */
    function batchTransfer(address[] _recipients, uint[] _values) onlyOwner returns (bool) {
        require( _recipients.length > 0 && _recipients.length == _values.length);

        uint total = 0;
        for(uint i = 0; i < _values.length; i++){
            total = total.add(_values[i]);
        }
        require(total <= balances[msg.sender]);

        uint64 _now = uint64(now);
        for(uint j = 0; j < _recipients.length; j++){
            balances[_recipients[j]] = balances[_recipients[j]].add(_values[j]);
            transferIns[_recipients[j]].push(transferInStruct(uint128(_values[j]),_now));
            Transfer(msg.sender, _recipients[j], _values[j]);
        }

        balances[msg.sender] = balances[msg.sender].sub(total);
        if(transferIns[msg.sender].length > 0) delete transferIns[msg.sender];
        if(balances[msg.sender] > 0) transferIns[msg.sender].push(transferInStruct(uint128(balances[msg.sender]),_now));

        return true;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"coinAge","outputs":[{"name":"myCoinAge","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"timestamp","type":"uint256"}],"name":"ownerSetStakeStartTime","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"maxTotalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"getBlockNumber","outputs":[{"name":"blockNumber","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"chainStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"stakeStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_recipients","type":"address[]"},{"name":"_values","type":"uint256[]"}],"name":"batchTransfer","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"ownerBurnToken","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalInitialSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"annualInterest","outputs":[{"name":"interest","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"stakeMinAge","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"chainStartBlockNumber","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"stakeMaxAge","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"maxMintProofOfStake","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_address","type":"address"},{"indexed":false,"name":"_reward","type":"uint256"}],"name":"Mint","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"}]

60a0604052600860608190527f314b20546f6b656e000000000000000000000000000000000000000000000000608090815262000040916005919062000117565b506040805180820190915260038082527f314b5400000000000000000000000000000000000000000000000000000000006020909201918252620000879160069162000117565b5060126007556203f480600b556276a700600c5567016345785d8a0000600d553415620000b057fe5b5b5b60048054600160a060020a03191633600160a060020a03161790555b683635c9adc5dea00000600f5568056bc75e2d6310000060108190554260085543600955600160a060020a0333166000908152601160205260409020819055600e555b620001c1565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200015a57805160ff19168380011785556200018a565b828001600101855582156200018a579182015b828111156200018a5782518255916020019190600101906200016d565b5b50620001999291506200019d565b5090565b620001be91905b80821115620001995760008155600101620001a4565b5090565b90565b6119f880620001d16000396000f300606060405236156101465763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610148578063095ea7b3146101d85780631249c58b1461020b57806318160ddd1461022f5780631e1b13c01461025157806323b872dd146102735780632a9edf6f146102ac5780632ab4d052146102c1578063313ce567146102e357806342cbb15c146103055780635b054f9b1461032757806370a08231146103495780637419f1901461037757806388d695b2146103995780638da5cb5b1461043857806390762a8b1461046457806395d89b41146104795780639fd4da4014610509578063a9059cbb1461052b578063b2552fc41461055e578063cbd8877e14610580578063cd474b04146105a2578063dd62ed3e146105c4578063e1c3bac6146105f8578063f2bb5ce11461061a575bfe5b341561015057fe5b61015861063c565b60408051602080825283518183015283519192839290830191850190808383821561019e575b80518252602083111561019e57601f19909201916020918201910161017e565b505050905090810190601f1680156101ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101e057fe5b6101f7600160a060020a03600435166024356106ca565b604080519115158252519081900360200190f35b341561021357fe5b6101f761076f565b604080519115158252519081900360200190f35b341561023757fe5b61023f61093f565b60408051918252519081900360200190f35b341561025957fe5b61023f610945565b60408051918252519081900360200190f35b341561027b57fe5b6101f7600160a060020a0360043581169060243516604435610957565b604080519115158252519081900360200190f35b34156102b457fe5b6102bf600435610c02565b005b34156102c957fe5b61023f610c49565b60408051918252519081900360200190f35b34156102eb57fe5b61023f610c4f565b60408051918252519081900360200190f35b341561030d57fe5b61023f610c55565b60408051918252519081900360200190f35b341561032f57fe5b61023f610c72565b60408051918252519081900360200190f35b341561035157fe5b61023f600160a060020a0360043516610c78565b60408051918252519081900360200190f35b341561037f57fe5b61023f610c97565b60408051918252519081900360200190f35b34156103a157fe5b6101f7600480803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843750506040805187358901803560208181028481018201909552818452989a998901989297509082019550935083925085019084908082843750949650610c9d95505050505050565b604080519115158252519081900360200190f35b341561044057fe5b61044861109a565b60408051600160a060020a039092168252519081900360200190f35b341561046c57fe5b6102bf6004356110a9565b005b341561048157fe5b61015861124f565b60408051602080825283518183015283519192839290830191850190808383821561019e575b80518252602083111561019e57601f19909201916020918201910161017e565b505050905090810190601f1680156101ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561051157fe5b61023f6112dd565b60408051918252519081900360200190f35b341561053357fe5b6101f7600160a060020a03600435166024356112e3565b604080519115158252519081900360200190f35b341561056657fe5b61023f61154c565b60408051918252519081900360200190f35b341561058857fe5b61023f6115f2565b60408051918252519081900360200190f35b34156105aa57fe5b61023f6115f8565b60408051918252519081900360200190f35b34156105cc57fe5b61023f600160a060020a03600435811690602435166115fe565b60408051918252519081900360200190f35b341561060057fe5b61023f61162b565b60408051918252519081900360200190f35b341561062257fe5b61023f611631565b60408051918252519081900360200190f35b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106c25780601f10610697576101008083540402835291602001916106c2565b820191906000526020600020905b8154815290600101906020018083116106a557829003601f168201915b505050505081565b60008115806106fc5750600160a060020a03338116600090815260126020908152604080832093871683529290522054155b15156107085760006000fd5b600160a060020a03338116600081815260126020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060015b92915050565b60006000600f54600e541015156107865760006000fd5b600160a060020a033316600090815260116020526040812054116107ad576000915061093a565b600160a060020a033316600090815260136020526040812054116107d4576000915061093a565b6107dd33611637565b9050600081116107f0576000915061093a565b600e54610803908263ffffffff61174816565b600e55600160a060020a03331660009081526011602052604090205461082f908263ffffffff61174816565b600160a060020a0333166000908152601160209081526040808320939093556013905290812061085e91611924565b600160a060020a03331660009081526013602052604090208054600181016108868382611946565b916000526020600020900160005b5060408051808201825233600160a060020a031660008181526011602090815290849020546001608060020a03168084524267ffffffffffffffff1693820184905285546001608060020a031916176000805160206119ad83398151915216608060020a90930292909217909355815185815291519293507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2600191505b5b5090565b600e5481565b60006109513342611762565b90505b90565b600080806060606436101561096c5760006000fd5b600160a060020a03861615156109825760006000fd5b600160a060020a038088166000818152601260209081526040808320339095168352938152838220549282526011905291909120549093506109ca908663ffffffff6118f016565b600160a060020a0380891660009081526011602052604080822093909355908816815220546109ff908663ffffffff61174816565b600160a060020a038716600090815260116020526040902055610a28838663ffffffff6118f016565b600160a060020a03808916600081815260126020908152604080832033861684528252918290209490945580518981529051928a169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600160a060020a0387166000908152601360205260408120541115610acb57600160a060020a0387166000908152601360205260408120610acb91611924565b5b600160a060020a0387166000908152601360205260409020805442935060018101610af78382611946565b916000526020600020900160005b50604080518082018252600160a060020a038b8116600090815260116020908152848220546001608060020a031680855267ffffffffffffffff8a1694820185905286546001608060020a031916176000805160206119ad83398151915216608060020a909402939093179094558a168352601390529020805490915060018101610b908382611946565b916000526020600020900160005b50604080518082019091526001608060020a03881680825267ffffffffffffffff8616602090920182905282546001608060020a031916176000805160206119ad83398151915216608060020a90910217905550600193505b5b5050509392505050565b60045433600160a060020a03908116911614610c1e5760006000fd5b6000600a5411158015610c3357506008548110155b1515610c3f5760006000fd5b600a8190555b5b50565b600f5481565b60075481565b6000610951600954436118f090919063ffffffff16565b90505b90565b60085481565b600160a060020a0381166000908152601160205260409020545b919050565b600a5481565b600454600090819081908190819033600160a060020a03908116911614610cc45760006000fd5b60008751118015610cd6575085518751145b1515610ce25760006000fd5b60009350600092505b8551831015610d2a57610d1c8684815181101515610d0557fe5b60209081029091010151859063ffffffff61174816565b93505b600190920191610ceb565b600160a060020a033316600090815260116020526040902054841115610d505760006000fd5b5042905060005b8651811015610f5157610dbc8682815181101515610d7157fe5b90602001906020020151601160008a85815181101515610d8d57fe5b6020908102909101810151600160a060020a03168252810191909152604001600020549063ffffffff61174816565b601160008984815181101515610dce57fe5b90602001906020020151600160a060020a0316600160a060020a0316815260200190815260200160002081905550601360008883815181101515610e0e57fe5b6020908102909101810151600160a060020a03168252810191909152604001600020805460018101610e408382611946565b916000526020600020900160005b6040604051908101604052808a86815181101515610e6857fe5b6020908102919091018101516001608060020a03908116835267ffffffffffffffff898116938301939093528351865494909201516001608060020a03199094169116176000805160206119ad83398151915216608060020a92909116919091021790915550508651879082908110610edd57fe5b90602001906020020151600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8884815181101515610f2957fe5b906020019060200201516040518082815260200191505060405180910390a35b600101610d57565b600160a060020a033316600090815260116020526040902054610f7a908563ffffffff6118f016565b600160a060020a03331660009081526011602090815260408083209390935560139052908120541115610fc857600160a060020a0333166000908152601360205260408120610fc891611924565b5b600160a060020a033316600090815260116020526040812054111561108a57600160a060020a03331660009081526013602052604090208054600181016110108382611946565b916000526020600020900160005b5060408051808201825233600160a060020a0316600090815260116020908152929020546001608060020a031680825267ffffffffffffffff87169290910182905282546001608060020a031916176000805160206119ad83398151915216608060020a909102179055505b600194505b5b5050505092915050565b600454600160a060020a031681565b60045433600160a060020a039081169116146110c55760006000fd5b600081116110d35760006000fd5b600160a060020a0333166000908152601160205260409020546110fc908263ffffffff6118f016565b600160a060020a0333166000908152601160209081526040808320939093556013905290812061112b91611924565b600160a060020a03331660009081526013602052604090208054600181016111538382611946565b916000526020600020900160005b5060408051808201825233600160a060020a0316600090815260116020908152929020546001608060020a03168082524267ffffffffffffffff169290910182905282546001608060020a031916176000805160206119ad83398151915216608060020a90910217905550600e546111d990826118f0565b600e556010546111ef908263ffffffff6118f016565b601055600f5461120890600a830263ffffffff6118f016565b600f55604080518281529051600160a060020a033316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25b5b50565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106c25780601f10610697576101008083540402835291602001916106c2565b820191906000526020600020905b8154815290600101906020018083116106a557829003601f168201915b505050505081565b60105481565b600080604060443610156112f75760006000fd5b84600160a060020a031633600160a060020a031614156113205761131961076f565b9250611543565b600160a060020a033316600090815260116020526040902054611349908563ffffffff6118f016565b600160a060020a03338116600090815260116020526040808220939093559087168152205461137e908563ffffffff61174816565b600160a060020a038087166000818152601160209081526040918290209490945580518881529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3600160a060020a033316600090815260136020526040812054111561141657600160a060020a033316600090815260136020526040812061141691611924565b5b600160a060020a03331660009081526013602052604090208054429350600181016114428382611946565b916000526020600020900160005b5060408051808201825233600160a060020a03908116600090815260116020908152848220546001608060020a031680855267ffffffffffffffff8a1694820185905286546001608060020a031916176000805160206119ad83398151915216608060020a90940293909317909455891683526013905290208054909150600181016114dc8382611946565b916000526020600020900160005b50604080518082019091526001608060020a03871680825267ffffffffffffffff8616602090920182905282546001608060020a031916176000805160206119ad83398151915216608060020a90910217905550600192505b5b505092915050565b600d54600a54429061157b906301e133809061156f90849063ffffffff6118f016565b9063ffffffff61190716565b15156115a057600d546115999061030202606463ffffffff61190716565b915061093a565b6115c96301e1338061156f600a54846118f090919063ffffffff16565b9063ffffffff61190716565b6001141561093a57600d546115e9906101b302606463ffffffff61190716565b91505b5b5b5090565b600b5481565b60095481565b600160a060020a038083166000908152601260209081526040808320938516835292905220545b92915050565b600c5481565b600d5481565b6000600060006000600a54421015801561165357506000600a54115b151561165f5760006000fd5b42925061166c8584611762565b91506000821161167f5760009350611740565b600d5490506116ad6301e1338061156f600a54866118f090919063ffffffff16565b9063ffffffff61190716565b15156116d257600d546116cb9061030202606463ffffffff61190716565b905061171e565b6116fb6301e1338061156f600a54866118f090919063ffffffff16565b9063ffffffff61190716565b6001141561171e57600d5461171b906101b302606463ffffffff61190716565b90505b5b61173d600754600a0a61016d0282840261190790919063ffffffff16565b93505b505050919050565b60008282018381101561175757fe5b8091505b5092915050565b600160a060020a0382166000908152601360205260408120548190819081901161178f5760009250611543565b600091505b600160a060020a03851660009081526013602052604090205482101561154357600b54600160a060020a03861660009081526013602052604090208054611808929190859081106117e157fe5b906000526020600020900160005b5054608060020a900467ffffffffffffffff1690611748565b841015611814576118dc565b600160a060020a0385166000908152601360205260409020805461186591908490811061183d57fe5b906000526020600020900160005b50548590608060020a900467ffffffffffffffff166118f0565b9050600c548111156118765750600c545b6118d961188c826201518063ffffffff61190716565b600160a060020a03871660009081526013602052604090208054859081106118b057fe5b906000526020600020900160005b505485916001608060020a039091160263ffffffff61174816565b92505b600190910190611794565b5b505092915050565b6000828211156118fc57fe5b508082035b92915050565b60006000828481151561191657fe5b0490508091505b5092915050565b5080546000825590600052602060002090810190610c459190611970565b5b50565b81548183558181151161196a5760008381526020902061196a918101908301611970565b5b505050565b61095491905b8082111561093a57805477ffffffffffffffffffffffffffffffffffffffffffffffff19168155600101611976565b5090565b905600ffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffffa165627a7a723058207a2c3a8408fb0ba361723076f272949b7704469c43a3244cfd06a1907c2739d10029

Deployed Bytecode

0x606060405236156101465763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610148578063095ea7b3146101d85780631249c58b1461020b57806318160ddd1461022f5780631e1b13c01461025157806323b872dd146102735780632a9edf6f146102ac5780632ab4d052146102c1578063313ce567146102e357806342cbb15c146103055780635b054f9b1461032757806370a08231146103495780637419f1901461037757806388d695b2146103995780638da5cb5b1461043857806390762a8b1461046457806395d89b41146104795780639fd4da4014610509578063a9059cbb1461052b578063b2552fc41461055e578063cbd8877e14610580578063cd474b04146105a2578063dd62ed3e146105c4578063e1c3bac6146105f8578063f2bb5ce11461061a575bfe5b341561015057fe5b61015861063c565b60408051602080825283518183015283519192839290830191850190808383821561019e575b80518252602083111561019e57601f19909201916020918201910161017e565b505050905090810190601f1680156101ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101e057fe5b6101f7600160a060020a03600435166024356106ca565b604080519115158252519081900360200190f35b341561021357fe5b6101f761076f565b604080519115158252519081900360200190f35b341561023757fe5b61023f61093f565b60408051918252519081900360200190f35b341561025957fe5b61023f610945565b60408051918252519081900360200190f35b341561027b57fe5b6101f7600160a060020a0360043581169060243516604435610957565b604080519115158252519081900360200190f35b34156102b457fe5b6102bf600435610c02565b005b34156102c957fe5b61023f610c49565b60408051918252519081900360200190f35b34156102eb57fe5b61023f610c4f565b60408051918252519081900360200190f35b341561030d57fe5b61023f610c55565b60408051918252519081900360200190f35b341561032f57fe5b61023f610c72565b60408051918252519081900360200190f35b341561035157fe5b61023f600160a060020a0360043516610c78565b60408051918252519081900360200190f35b341561037f57fe5b61023f610c97565b60408051918252519081900360200190f35b34156103a157fe5b6101f7600480803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843750506040805187358901803560208181028481018201909552818452989a998901989297509082019550935083925085019084908082843750949650610c9d95505050505050565b604080519115158252519081900360200190f35b341561044057fe5b61044861109a565b60408051600160a060020a039092168252519081900360200190f35b341561046c57fe5b6102bf6004356110a9565b005b341561048157fe5b61015861124f565b60408051602080825283518183015283519192839290830191850190808383821561019e575b80518252602083111561019e57601f19909201916020918201910161017e565b505050905090810190601f1680156101ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561051157fe5b61023f6112dd565b60408051918252519081900360200190f35b341561053357fe5b6101f7600160a060020a03600435166024356112e3565b604080519115158252519081900360200190f35b341561056657fe5b61023f61154c565b60408051918252519081900360200190f35b341561058857fe5b61023f6115f2565b60408051918252519081900360200190f35b34156105aa57fe5b61023f6115f8565b60408051918252519081900360200190f35b34156105cc57fe5b61023f600160a060020a03600435811690602435166115fe565b60408051918252519081900360200190f35b341561060057fe5b61023f61162b565b60408051918252519081900360200190f35b341561062257fe5b61023f611631565b60408051918252519081900360200190f35b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106c25780601f10610697576101008083540402835291602001916106c2565b820191906000526020600020905b8154815290600101906020018083116106a557829003601f168201915b505050505081565b60008115806106fc5750600160a060020a03338116600090815260126020908152604080832093871683529290522054155b15156107085760006000fd5b600160a060020a03338116600081815260126020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060015b92915050565b60006000600f54600e541015156107865760006000fd5b600160a060020a033316600090815260116020526040812054116107ad576000915061093a565b600160a060020a033316600090815260136020526040812054116107d4576000915061093a565b6107dd33611637565b9050600081116107f0576000915061093a565b600e54610803908263ffffffff61174816565b600e55600160a060020a03331660009081526011602052604090205461082f908263ffffffff61174816565b600160a060020a0333166000908152601160209081526040808320939093556013905290812061085e91611924565b600160a060020a03331660009081526013602052604090208054600181016108868382611946565b916000526020600020900160005b5060408051808201825233600160a060020a031660008181526011602090815290849020546001608060020a03168084524267ffffffffffffffff1693820184905285546001608060020a031916176000805160206119ad83398151915216608060020a90930292909217909355815185815291519293507f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2600191505b5b5090565b600e5481565b60006109513342611762565b90505b90565b600080806060606436101561096c5760006000fd5b600160a060020a03861615156109825760006000fd5b600160a060020a038088166000818152601260209081526040808320339095168352938152838220549282526011905291909120549093506109ca908663ffffffff6118f016565b600160a060020a0380891660009081526011602052604080822093909355908816815220546109ff908663ffffffff61174816565b600160a060020a038716600090815260116020526040902055610a28838663ffffffff6118f016565b600160a060020a03808916600081815260126020908152604080832033861684528252918290209490945580518981529051928a169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600160a060020a0387166000908152601360205260408120541115610acb57600160a060020a0387166000908152601360205260408120610acb91611924565b5b600160a060020a0387166000908152601360205260409020805442935060018101610af78382611946565b916000526020600020900160005b50604080518082018252600160a060020a038b8116600090815260116020908152848220546001608060020a031680855267ffffffffffffffff8a1694820185905286546001608060020a031916176000805160206119ad83398151915216608060020a909402939093179094558a168352601390529020805490915060018101610b908382611946565b916000526020600020900160005b50604080518082019091526001608060020a03881680825267ffffffffffffffff8616602090920182905282546001608060020a031916176000805160206119ad83398151915216608060020a90910217905550600193505b5b5050509392505050565b60045433600160a060020a03908116911614610c1e5760006000fd5b6000600a5411158015610c3357506008548110155b1515610c3f5760006000fd5b600a8190555b5b50565b600f5481565b60075481565b6000610951600954436118f090919063ffffffff16565b90505b90565b60085481565b600160a060020a0381166000908152601160205260409020545b919050565b600a5481565b600454600090819081908190819033600160a060020a03908116911614610cc45760006000fd5b60008751118015610cd6575085518751145b1515610ce25760006000fd5b60009350600092505b8551831015610d2a57610d1c8684815181101515610d0557fe5b60209081029091010151859063ffffffff61174816565b93505b600190920191610ceb565b600160a060020a033316600090815260116020526040902054841115610d505760006000fd5b5042905060005b8651811015610f5157610dbc8682815181101515610d7157fe5b90602001906020020151601160008a85815181101515610d8d57fe5b6020908102909101810151600160a060020a03168252810191909152604001600020549063ffffffff61174816565b601160008984815181101515610dce57fe5b90602001906020020151600160a060020a0316600160a060020a0316815260200190815260200160002081905550601360008883815181101515610e0e57fe5b6020908102909101810151600160a060020a03168252810191909152604001600020805460018101610e408382611946565b916000526020600020900160005b6040604051908101604052808a86815181101515610e6857fe5b6020908102919091018101516001608060020a03908116835267ffffffffffffffff898116938301939093528351865494909201516001608060020a03199094169116176000805160206119ad83398151915216608060020a92909116919091021790915550508651879082908110610edd57fe5b90602001906020020151600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8884815181101515610f2957fe5b906020019060200201516040518082815260200191505060405180910390a35b600101610d57565b600160a060020a033316600090815260116020526040902054610f7a908563ffffffff6118f016565b600160a060020a03331660009081526011602090815260408083209390935560139052908120541115610fc857600160a060020a0333166000908152601360205260408120610fc891611924565b5b600160a060020a033316600090815260116020526040812054111561108a57600160a060020a03331660009081526013602052604090208054600181016110108382611946565b916000526020600020900160005b5060408051808201825233600160a060020a0316600090815260116020908152929020546001608060020a031680825267ffffffffffffffff87169290910182905282546001608060020a031916176000805160206119ad83398151915216608060020a909102179055505b600194505b5b5050505092915050565b600454600160a060020a031681565b60045433600160a060020a039081169116146110c55760006000fd5b600081116110d35760006000fd5b600160a060020a0333166000908152601160205260409020546110fc908263ffffffff6118f016565b600160a060020a0333166000908152601160209081526040808320939093556013905290812061112b91611924565b600160a060020a03331660009081526013602052604090208054600181016111538382611946565b916000526020600020900160005b5060408051808201825233600160a060020a0316600090815260116020908152929020546001608060020a03168082524267ffffffffffffffff169290910182905282546001608060020a031916176000805160206119ad83398151915216608060020a90910217905550600e546111d990826118f0565b600e556010546111ef908263ffffffff6118f016565b601055600f5461120890600a830263ffffffff6118f016565b600f55604080518281529051600160a060020a033316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25b5b50565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106c25780601f10610697576101008083540402835291602001916106c2565b820191906000526020600020905b8154815290600101906020018083116106a557829003601f168201915b505050505081565b60105481565b600080604060443610156112f75760006000fd5b84600160a060020a031633600160a060020a031614156113205761131961076f565b9250611543565b600160a060020a033316600090815260116020526040902054611349908563ffffffff6118f016565b600160a060020a03338116600090815260116020526040808220939093559087168152205461137e908563ffffffff61174816565b600160a060020a038087166000818152601160209081526040918290209490945580518881529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3600160a060020a033316600090815260136020526040812054111561141657600160a060020a033316600090815260136020526040812061141691611924565b5b600160a060020a03331660009081526013602052604090208054429350600181016114428382611946565b916000526020600020900160005b5060408051808201825233600160a060020a03908116600090815260116020908152848220546001608060020a031680855267ffffffffffffffff8a1694820185905286546001608060020a031916176000805160206119ad83398151915216608060020a90940293909317909455891683526013905290208054909150600181016114dc8382611946565b916000526020600020900160005b50604080518082019091526001608060020a03871680825267ffffffffffffffff8616602090920182905282546001608060020a031916176000805160206119ad83398151915216608060020a90910217905550600192505b5b505092915050565b600d54600a54429061157b906301e133809061156f90849063ffffffff6118f016565b9063ffffffff61190716565b15156115a057600d546115999061030202606463ffffffff61190716565b915061093a565b6115c96301e1338061156f600a54846118f090919063ffffffff16565b9063ffffffff61190716565b6001141561093a57600d546115e9906101b302606463ffffffff61190716565b91505b5b5b5090565b600b5481565b60095481565b600160a060020a038083166000908152601260209081526040808320938516835292905220545b92915050565b600c5481565b600d5481565b6000600060006000600a54421015801561165357506000600a54115b151561165f5760006000fd5b42925061166c8584611762565b91506000821161167f5760009350611740565b600d5490506116ad6301e1338061156f600a54866118f090919063ffffffff16565b9063ffffffff61190716565b15156116d257600d546116cb9061030202606463ffffffff61190716565b905061171e565b6116fb6301e1338061156f600a54866118f090919063ffffffff16565b9063ffffffff61190716565b6001141561171e57600d5461171b906101b302606463ffffffff61190716565b90505b5b61173d600754600a0a61016d0282840261190790919063ffffffff16565b93505b505050919050565b60008282018381101561175757fe5b8091505b5092915050565b600160a060020a0382166000908152601360205260408120548190819081901161178f5760009250611543565b600091505b600160a060020a03851660009081526013602052604090205482101561154357600b54600160a060020a03861660009081526013602052604090208054611808929190859081106117e157fe5b906000526020600020900160005b5054608060020a900467ffffffffffffffff1690611748565b841015611814576118dc565b600160a060020a0385166000908152601360205260409020805461186591908490811061183d57fe5b906000526020600020900160005b50548590608060020a900467ffffffffffffffff166118f0565b9050600c548111156118765750600c545b6118d961188c826201518063ffffffff61190716565b600160a060020a03871660009081526013602052604090208054859081106118b057fe5b906000526020600020900160005b505485916001608060020a039091160263ffffffff61174816565b92505b600190910190611794565b5b505092915050565b6000828211156118fc57fe5b508082035b92915050565b60006000828481151561191657fe5b0490508091505b5092915050565b5080546000825590600052602060002090810190610c459190611970565b5b50565b81548183558181151161196a5760008381526020902061196a918101908301611970565b5b505050565b61095491905b8082111561093a57805477ffffffffffffffffffffffffffffffffffffffffffffffff19168155600101611976565b5090565b905600ffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffffa165627a7a723058207a2c3a8408fb0ba361723076f272949b7704469c43a3244cfd06a1907c2739d10029

Swarm Source

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