ETH Price: $2,381.66 (+2.42%)

Token

SEDO PoW Token (SEDO)
 

Overview

Max Total Supply

50,000,000 SEDO

Holders

518

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 8 Decimals)

Balance
0 SEDO

Value
$0.00
0x790aac02412e8665604bdae39b00be012f4acc12
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:
SedoPoWToken

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-11-01
*/

pragma solidity ^0.4.19;

// ----------------------------------------------------------------------------

// 'SEDO PoW Token' contract

// Mineable ERC20 / ERC918 Token using Proof Of Work

// Supported Merge Mining with 0xbitcoin and other compatible tokens

// Based on technologies of 0xBitcoin (0xbitcoin.org)

// Many thanks to the Mikers help (http://mike.rs) for pool help

// ********************************************************

// S.E.D.O. web site: http://sedocoin.org
// S.E.D.O. pool address: http://pool.sedocoin.org

// ********************************************************

// Symbol      : SEDO

// Name        : SEDO PoW Token

// Total supply: 50,000,000.00
// Premine     : 1,000,000

// Decimals    : 8

// Rewards     : 25 (initial)


// ********************************************************

// Safe maths

// ----------------------------------------------------------------------------

library SafeMath {

    function add(uint a, uint b) internal pure returns (uint c) {

        c = a + b;

        require(c >= a);

    }

    function sub(uint a, uint b) internal pure returns (uint c) {

        require(b <= a);

        c = a - b;

    }

    function mul(uint a, uint b) internal pure returns (uint c) {

        c = a * b;

        require(a == 0 || c / a == b);

    }

    function div(uint a, uint b) internal pure returns (uint c) {

        require(b > 0);

        c = a / b;

    }

}



library ExtendedMath {


    //return the smaller of the two inputs (a or b)
    function limitLessThan(uint a, uint b) internal pure returns (uint c) {

        if(a > b) return b;

        return a;

    }
}

// ----------------------------------------------------------------------------

// ERC Token Standard #20 Interface

// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md

// ----------------------------------------------------------------------------

contract ERC20Interface {

    function totalSupply() public constant returns (uint);

    function balanceOf(address tokenOwner) public constant returns (uint balance);

    function allowance(address tokenOwner, address spender) public constant returns (uint remaining);

    function transfer(address to, uint tokens) public returns (bool success);

    function approve(address spender, uint tokens) public returns (bool success);

    function transferFrom(address from, address to, uint tokens) public returns (bool success);


    event Transfer(address indexed from, address indexed to, uint tokens);

    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);

}



// ----------------------------------------------------------------------------

// Contract function to receive approval and execute function in one call

//

// Borrowed from MiniMeToken

// ----------------------------------------------------------------------------

contract ApproveAndCallFallBack {

    function receiveApproval(address from, uint256 tokens, address token, bytes data) public;

}



// ----------------------------------------------------------------------------

// Owned contract

// ----------------------------------------------------------------------------

contract Owned {

    address public owner;

    address public newOwner;


    event OwnershipTransferred(address indexed _from, address indexed _to);


    function Owned() public {

        owner = msg.sender;

    }


    modifier onlyOwner {

        require(msg.sender == owner);

        _;

    }


    function transferOwnership(address _newOwner) public onlyOwner {

        newOwner = _newOwner;

    }

    function acceptOwnership() public {

        require(msg.sender == newOwner);

        OwnershipTransferred(owner, newOwner);

        owner = newOwner;

        newOwner = address(0);

    }

}


// ----------------------------------------------------------------------------

// EIP-918 Interface

// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-918.md

// ----------------------------------------------------------------------------


contract ERC918Interface {
  function totalSupply() public constant returns (uint);
  function getMiningDifficulty() public constant returns (uint);
  function getMiningTarget() public constant returns (uint);
  function getMiningReward() public constant returns (uint);
  function balanceOf(address tokenOwner) public constant returns (uint balance);

  function mint(uint256 nonce, bytes32 challenge_digest) public returns (bool success);

  event Mint(address indexed from, uint reward_amount, uint epochCount, bytes32 newChallengeNumber);
  address public lastRewardTo;
  uint public lastRewardAmount;
  uint public lastRewardEthBlockNumber;
  bytes32 public challengeNumber;

}


// ----------------------------------------------------------------------------

// ERC20 Token, with the addition of symbol, name and decimals and an

// initial fixed supply

// ----------------------------------------------------------------------------


contract SedoPoWToken is ERC20Interface, Owned {

    using SafeMath for uint;
    using ExtendedMath for uint;


    string public symbol;

    string public  name;

    uint8 public decimals;

    uint public _totalSupply;


    uint public latestDifficultyPeriodStarted;

    uint public epochCount;//number of 'blocks' mined

    uint public _BLOCKS_PER_READJUSTMENT = 1024;

    //a little number
    uint public  _MINIMUM_TARGET = 2**16;

    uint public  _MAXIMUM_TARGET = 2**234;

    uint public miningTarget;

    bytes32 public challengeNumber;   //generate a new one when a new reward is minted

    uint public rewardEra;
    uint public maxSupplyForEra;

    address public lastRewardTo;
    uint public lastRewardAmount;
    uint public lastRewardEthBlockNumber;

    bool locked = false;

    mapping(bytes32 => bytes32) solutionForChallenge;

    uint public tokensMinted; 
    address public parentAddress; //address of 0xbtc
    uint public miningReward; //initial reward

    mapping(address => uint) balances;
    
    mapping(address => uint) merge_mint_ious;
    mapping(address => uint) merge_mint_payout_threshold;

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

    event Mint(address indexed from, uint reward_amount, uint epochCount, bytes32 newChallengeNumber);

    // ------------------------------------------------------------------------

    // Constructor

    // ------------------------------------------------------------------------

    function SedoPoWToken() public onlyOwner{

        symbol = "SEDO";

        name = "SEDO PoW Token";

        decimals = 8; 

        _totalSupply = 50000000 * 10**uint(decimals);

        if(locked) revert();
        locked = true;

        tokensMinted = 1000000 * 10**uint(decimals);
        
        miningReward = 25; //initial Mining reward for 1st half of totalSupply (50 000 000 / 2)
 
        rewardEra = 0;
        maxSupplyForEra = _totalSupply.div(2);

        miningTarget = 2**220; //initial mining target

        latestDifficultyPeriodStarted = block.number;

        _startNewMiningEpoch();

        parentAddress = 0x9D2Cc383E677292ed87f63586086CfF62a009010; //address of parent coin 0xBTC - need to be changed to actual in the mainnet !
       //0xB6eD7644C69416d67B522e20bC294A9a9B405B31 - production

        balances[owner] = balances[owner].add(tokensMinted);
        Transfer(address(this), owner, tokensMinted); 


    }
    
    
    // ------------------------------------------------------------------------

    // Parent contract changing (it can be useful if parent will make a swap or in some other cases)

    // ------------------------------------------------------------------------
    

    function ParentCoinAddress(address parent) public onlyOwner{
        parentAddress = parent;
    }


    // ------------------------------------------------------------------------

    // Main mint function

    // ------------------------------------------------------------------------

    function mint(uint256 nonce, bytes32 challenge_digest) public returns (bool success) {


            //the PoW must contain work that includes a recent ethereum block hash (challenge number) and the msg.sender's address to prevent MITM attacks
            bytes32 digest =  keccak256(challengeNumber, msg.sender, nonce );

            //the challenge digest must match the expected
            if (digest != challenge_digest) revert();

            //the digest must be smaller than the target
            if(uint256(digest) > miningTarget) revert();


            //only allow one reward for each challenge
            bytes32 solution = solutionForChallenge[challengeNumber];
            solutionForChallenge[challengeNumber] = digest;
            if(solution != 0x0) revert();  //prevent the same answer from awarding twice


            uint reward_amount = getMiningReward();

            balances[msg.sender] = balances[msg.sender].add(reward_amount);

            tokensMinted = tokensMinted.add(reward_amount);


            //Cannot mint more tokens than there are
            assert(tokensMinted <= maxSupplyForEra);

            //set readonly diagnostics data
            lastRewardTo = msg.sender;
            lastRewardAmount = reward_amount;
            lastRewardEthBlockNumber = block.number;
            
            _startNewMiningEpoch();

            Mint(msg.sender, reward_amount, epochCount, challengeNumber );
              
            emit Transfer(address(this), msg.sender, reward_amount); //we need add it to show token transfers in the etherscan

           return true;

    }

    
    // ------------------------------------------------------------------------

    // merge mint function

    // ------------------------------------------------------------------------

    function merge() public returns (bool success) {

            // Function for the Merge mining (0xbitcoin as a parent coin)
            // original idea by 0xbitcoin developers
            // the idea is that the miner uses https://github.com/0xbitcoin/mint-helper/blob/master/contracts/MintHelper.sol 
            // to call mint() and then mergeMint() in the same transaction
            // hard code a reference to the "Parent" ERC918 Contract ( in this case 0xBitcoin)
            // Verify that the Parent contract was minted in this block, by the same person calling this contract
            // then followthrough with the resulting mint logic
            // don't call revert, but return true or false based on success
            // this method shouldn't revert because it will be calleed in the same transaction as a "Parent" mint attempt
            //ensure that mergeMint() can only be called once per Parent::mint()
            //do this by ensuring that the "new" challenge number from Parent::challenge post mint can be called once
            //and that this block time is the same as this mint, and the caller is msg.sender
            //only allow one reward for each challenge
            // do this by calculating what the new challenge will be in _startNewMiningEpoch, and verify that it is not that value
            // this checks happen in the local contract, not in the parent

            bytes32 future_challengeNumber = block.blockhash(block.number - 1);

            if(challengeNumber == future_challengeNumber){
                return false; // ( this is likely the second time that mergeMint() has been called in a transaction, so return false (don't revert))
            }

            if(ERC918Interface(parentAddress).lastRewardTo() != msg.sender){
                return false; // a different address called mint last so return false ( don't revert)
            }
            

            if(ERC918Interface(parentAddress).lastRewardEthBlockNumber() != block.number){
                return false; // parent::mint() was called in a different block number so return false ( don't revert)
            }

            //we have verified that _startNewMiningEpoch has not been run more than once this block by verifying that
            // the challenge is not the challenge that will be set by _startNewMiningEpoch
            //we have verified that this is the same block as a call to Parent::mint() and that the sender
            // is the sender that has called mint
            
            //SEDO will have the same challenge numbers as 0xBitcoin, this means that mining for one is literally the same process as mining for the other
            // we want to make sure that one can't use a combination of merge and mint to get two blocks of SEDO for each valid nonce, since the same solution 
            //    applies to each coin
            // for this reason, we update the solutionForChallenge hashmap with the value of parent::challengeNumber when a solution is merge minted.
            // when a miner finds a valid solution, if they call this::mint(), without the next few lines of code they can then subsequently use the mint helper and in one transaction
            //   call parent::mint() this::merge(). the following code will ensure that this::merge() does not give a block reward, because the challenge number will already be set in the 
            //   solutionForChallenge map
            //only allow one reward for each challenge based on parent::challengeNumber
            
            bytes32 parentChallengeNumber = ERC918Interface(parentAddress).challengeNumber();
            bytes32 solution = solutionForChallenge[parentChallengeNumber];
            if(solution != 0x0) return false;  //prevent the same answer from awarding twice

            //now that we've checked that the next challenge wasn't reused, apply the current SEDO challenge 
            //this will prevent the 'previous' challenge from being reused
            
            bytes32 digest = 'merge';
            solutionForChallenge[challengeNumber] = digest;

            //so now we may safely run the relevant logic to give an award to the sender, and update the contract

            uint reward_amount = getMiningReward();

            balances[msg.sender] = balances[msg.sender].add(reward_amount);

            tokensMinted = tokensMinted.add(reward_amount);


            //Cannot mint more tokens than there are
            assert(tokensMinted <= maxSupplyForEra);

            //set readonly diagnostics data
            lastRewardTo = msg.sender;
            lastRewardAmount = reward_amount;
            lastRewardEthBlockNumber = block.number;


            _startNewMiningEpoch();

            Mint(msg.sender, reward_amount, epochCount, 0 ); // use 0 to indicate a merge mine

            return true;

    }


    //a new 'block' to be mined
    
    function _startNewMiningEpoch() internal {

      //if max supply for the era will be exceeded next reward round then enter the new era before that happens

      //40 is the final reward era, almost all tokens minted
      //once the final era is reached, more tokens will not be given out because the assert function
      if( tokensMinted.add(getMiningReward()) > maxSupplyForEra && rewardEra < 39)
      {
        rewardEra = rewardEra + 1;
      }

      //set the next minted supply at which the era will change
      // total supply is 5000000000000000  because of 8 decimal places
      maxSupplyForEra = _totalSupply - _totalSupply.div( 2**(rewardEra + 1));

      epochCount = epochCount.add(1);

      //every so often, readjust difficulty. Dont readjust when deploying
      if(epochCount % _BLOCKS_PER_READJUSTMENT == 0)
      {
        _reAdjustDifficulty();
      }


      //make the latest ethereum block hash a part of the next challenge for PoW to prevent pre-mining future blocks
      //do this last since this is a protection mechanism in the mint() function
      challengeNumber = block.blockhash(block.number - 1);

    }


    //https://en.bitcoin.it/wiki/Difficulty#What_is_the_formula_for_difficulty.3F
    //as of 2017 the bitcoin difficulty was up to 17 zeroes, it was only 8 in the early days

    //readjust the target by 5 percent
    
    function _reAdjustDifficulty() internal {


        uint ethBlocksSinceLastDifficultyPeriod = block.number - latestDifficultyPeriodStarted;

        uint epochsMined = _BLOCKS_PER_READJUSTMENT; //256

        uint targetEthBlocksPerDiffPeriod = epochsMined * 60; //should be 60 times slower than ethereum

        //if there were less eth blocks passed in time than expected
        if( ethBlocksSinceLastDifficultyPeriod < targetEthBlocksPerDiffPeriod )
        {
            uint excess_block_pct = (targetEthBlocksPerDiffPeriod.mul(100)).div( ethBlocksSinceLastDifficultyPeriod );

            uint excess_block_pct_extra = excess_block_pct.sub(100).limitLessThan(1000);
            // If there were 5% more blocks mined than expected then this is 5.  If there were 100% more blocks mined than expected then this is 100.

            //make it harder
            miningTarget = miningTarget.sub(miningTarget.div(2000).mul(excess_block_pct_extra));   //by up to 50 %
        }else{
            uint shortage_block_pct = (ethBlocksSinceLastDifficultyPeriod.mul(100)).div( targetEthBlocksPerDiffPeriod );

            uint shortage_block_pct_extra = shortage_block_pct.sub(100).limitLessThan(1000); //always between 0 and 1000

            //make it easier
            miningTarget = miningTarget.add(miningTarget.div(2000).mul(shortage_block_pct_extra));   //by up to 50 %
        }


        latestDifficultyPeriodStarted = block.number;

        if(miningTarget < _MINIMUM_TARGET) //very difficult
        {
          miningTarget = _MINIMUM_TARGET;
        }

        if(miningTarget > _MAXIMUM_TARGET) //very easy
        {
          miningTarget = _MAXIMUM_TARGET;
        }
    }


    //this is a recent ethereum block hash, used to prevent pre-mining future blocks
    function getChallengeNumber() public constant returns (bytes32) {
        return challengeNumber;
    }

    //the number of zeroes the digest of the PoW solution requires.  Auto adjusts
     function getMiningDifficulty() public constant returns (uint) {
        return _MAXIMUM_TARGET.div(miningTarget);
    }

    function getMiningTarget() public constant returns (uint) {
       return miningTarget;
   }


    //50m coins total
    //reward begins at miningReward and is cut in half every reward era (as tokens are mined)
    function getMiningReward() public constant returns (uint) {
        //once we get half way thru the coins, only get 25 per block

         //every reward era, the reward amount halves.

         return (miningReward * 10**uint(decimals) ).div( 2**rewardEra ) ;

    }

    //help debug mining software
    function getMintDigest(uint256 nonce, bytes32 challenge_digest, bytes32 challenge_number) public view returns (bytes32 digesttest) {

        bytes32 digest = keccak256(challenge_number,msg.sender,nonce);

        return digest;

    }

        //help debug mining software
    function checkMintSolution(uint256 nonce, bytes32 challenge_digest, bytes32 challenge_number, uint testTarget) public view returns (bool success) {

          bytes32 digest = keccak256(challenge_number,msg.sender,nonce);

          if(uint256(digest) > testTarget) revert();

          return (digest == challenge_digest);

    }


    // ------------------------------------------------------------------------

    // Total supply

    // ------------------------------------------------------------------------

    function totalSupply() public constant returns (uint) {

        return _totalSupply  - balances[address(0)];

    }


    // ------------------------------------------------------------------------

    // Get the token balance for account `tokenOwner`

    // ------------------------------------------------------------------------

    function balanceOf(address tokenOwner) public constant returns (uint balance) {

        return balances[tokenOwner];

    }


    // ------------------------------------------------------------------------

    // Transfer the balance from token owner's account to `to` account

    // - Owner's account must have sufficient balance to transfer

    // - 0 value transfers are allowed

    // ------------------------------------------------------------------------

    function transfer(address to, uint tokens) public returns (bool success) {

        balances[msg.sender] = balances[msg.sender].sub(tokens);

        balances[to] = balances[to].add(tokens);

        Transfer(msg.sender, to, tokens);

        return true;

    }


    // ------------------------------------------------------------------------

    // Token owner can approve for `spender` to transferFrom(...) `tokens`

    // from the token owner's account

    //

    // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md

    // recommends that there are no checks for the approval double-spend attack

    // as this should be implemented in user interfaces

    // ------------------------------------------------------------------------

    function approve(address spender, uint tokens) public returns (bool success) {

        allowed[msg.sender][spender] = tokens;

        Approval(msg.sender, spender, tokens);

        return true;

    }


    // ------------------------------------------------------------------------

    // Transfer `tokens` from the `from` account to the `to` account

    //

    // The calling account must already have sufficient tokens approve(...)-d

    // for spending from the `from` account and

    // - From account must have sufficient balance to transfer

    // - Spender must have sufficient allowance to transfer

    // - 0 value transfers are allowed

    // ------------------------------------------------------------------------

    function transferFrom(address from, address to, uint tokens) public returns (bool success) {

        balances[from] = balances[from].sub(tokens);

        allowed[from][msg.sender] = allowed[from][msg.sender].sub(tokens);

        balances[to] = balances[to].add(tokens);

        Transfer(from, to, tokens);

        return true;

    }



    // ------------------------------------------------------------------------

    // Returns the amount of tokens approved by the owner that can be

    // transferred to the spender's account

    // ------------------------------------------------------------------------

    function allowance(address tokenOwner, address spender) public constant returns (uint remaining) {

        return allowed[tokenOwner][spender];

    }


    // ------------------------------------------------------------------------

    // Token owner can approve for `spender` to transferFrom(...) `tokens`

    // from the token owner's account. The `spender` contract function

    // `receiveApproval(...)` is then executed

    // ------------------------------------------------------------------------

    function approveAndCall(address spender, uint tokens, bytes data) public returns (bool success) {

        allowed[msg.sender][spender] = tokens;

        Approval(msg.sender, spender, tokens);

        ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, this, data);

        return true;

    }

    // ------------------------------------------------------------------------

    // Don't accept ETH

    // ------------------------------------------------------------------------

    function () public payable {

        revert();

    }


    // ------------------------------------------------------------------------

    // Owner can transfer out any accidentally sent ERC20 tokens

    // ------------------------------------------------------------------------

    function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) {

        return ERC20Interface(tokenAddress).transfer(owner, tokens);

    }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"parentAddress","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":"tokens","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"merge","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lastRewardEthBlockNumber","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMiningDifficulty","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"nonce","type":"uint256"},{"name":"challenge_digest","type":"bytes32"}],"name":"mint","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":"tokens","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardEra","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMiningTarget","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMiningReward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"miningReward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"parent","type":"address"}],"name":"ParentCoinAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getChallengeNumber","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxSupplyForEra","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokensMinted","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastRewardTo","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"nonce","type":"uint256"},{"name":"challenge_digest","type":"bytes32"},{"name":"challenge_number","type":"bytes32"},{"name":"testTarget","type":"uint256"}],"name":"checkMintSolution","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"epochCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_MAXIMUM_TARGET","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"miningTarget","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"challengeNumber","outputs":[{"name":"","type":"bytes32"}],"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":true,"inputs":[{"name":"nonce","type":"uint256"},{"name":"challenge_digest","type":"bytes32"},{"name":"challenge_number","type":"bytes32"}],"name":"getMintDigest","outputs":[{"name":"digesttest","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_BLOCKS_PER_READJUSTMENT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastRewardAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"tokens","type":"uint256"},{"name":"data","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"latestDifficultyPeriodStarted","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"newOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transferAnyERC20Token","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_MINIMUM_TARGET","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","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":false,"name":"reward_amount","type":"uint256"},{"indexed":false,"name":"epochCount","type":"uint256"},{"indexed":false,"name":"newChallengeNumber","type":"bytes32"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"tokenOwner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Approval","type":"event"}]

6080604052610400600855620100006009557d040000000000000000000000000000000000000000000000000000000000600a556012805460ff191690553480156200004a57600080fd5b5060008054600160a060020a0319163390811791829055600160a060020a0391909116146200007857600080fd5b6040805180820190915260048082527f5345444f000000000000000000000000000000000000000000000000000000006020909201918252620000be91600291620005cd565b5060408051808201909152600e8082527f5345444f20506f5720546f6b656e00000000000000000000000000000000000060209092019182526200010591600391620005cd565b506004805460ff1916600817908190556302faf08060ff918216600a0a0260055560125416156200013557600080fd5b60128054600160ff1990911617905560045460ff16600a0a620f42400260145560196016556000600d556005546200017d906002640100000000620002738102620014731704565b600e557b10000000000000000000000000000000000000000000000000000000600b5543600655620001b764010000000062000296810204565b60158054600160a060020a031916739d2cc383e677292ed87f63586086cff62a00901017905560145460008054600160a060020a03168152601760205260409020546200021291640100000000620013c66200036b82021704565b60008054600160a060020a0390811682526017602090815260408084209490945591546014548451908152935191169230927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a36200066f565b60008082116200028257600080fd5b81838115156200028e57fe5b049392505050565b600e54620002c8620002b064010000000062000382810204565b60145490640100000000620013c66200036b82021704565b118015620002d857506027600d54105b15620002e857600d805460010190555b600d546005546200030d9160010160020a640100000000620014736200027382021704565b60055403600e5560075462000332906001640100000000620013c66200036b82021704565b6007819055600854908115156200034557fe5b061515620003605762000360640100000000620003ba810204565b600019430140600c55565b818101828110156200037c57600080fd5b92915050565b600d54600454601654600092620003b49260ff16600a0a9091029060020a640100000000620002738102620014731704565b90505b90565b600654600854439190910390603c8102600080808084871015620004ae576200040d87620003f8876064640100000000620015e36200057582021704565b90640100000000620014736200027382021704565b9350620004466103e862000431866064640100000000620014946200059d82021704565b9064010000000062001608620005b382021704565b9250620004a56200048d84620004786107d0600b54620002736401000000000262001473179091906401000000009004565b90640100000000620015e36200057582021704565b600b5490640100000000620014946200059d82021704565b600b5562000540565b620004ce85620003f8896064640100000000620015e36200057582021704565b9150620004f26103e862000431846064640100000000620014946200059d82021704565b90506200053c6200052482620004786107d0600b54620002736401000000000262001473179091906401000000009004565b600b5490640100000000620013c66200036b82021704565b600b555b43600655600954600b5410156200055857600954600b555b600a54600b5411156200056c57600a54600b555b50505050505050565b8181028215806200059157508183828115156200058e57fe5b04145b15156200037c57600080fd5b600082821115620005ad57600080fd5b50900390565b600081831115620005c65750806200037c565b5090919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200061057805160ff191683800117855562000640565b8280016001018555821562000640579182015b828111156200064057825182559160200191906001019062000623565b506200064e92915062000652565b5090565b620003b791905b808211156200064e576000815560010162000659565b61164c806200067f6000396000f3006080604052600436106101ec5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041662821de381146101f157806306fdde0314610222578063095ea7b3146102ac5780630b65108b146102e4578063163aa00d146102f957806317da485f146103205780631801fbe51461033557806318160ddd1461035057806323b872dd146103655780632d38bf7a1461038f578063313ce567146103a457806332e99708146103cf5780633eaaf86b146103e4578063490203a7146103f95780634ac2d1031461040e5780634e1a1853146104235780634ef37628146104465780634fa972e11461045b5780636de9f32b146104705780636fd396d61461048557806370a082311461049a57806379ba5097146104bb57806381269a56146104d0578063829965cc146104f157806387a2a9d6146105065780638a769d351461051b5780638ae0368b146105305780638da5cb5b1461054557806395d89b411461055a57806397566aa01461056f578063a9059cbb1461058d578063b5ade81b146105b1578063bafedcaa146105c6578063cae9ca51146105db578063cb9ae70714610644578063d4ee1d9014610659578063dc39d06d1461066e578063dc6e9cf914610692578063dd62ed3e146106a7578063f2fde38b146106ce575b600080fd5b3480156101fd57600080fd5b506102066106ef565b60408051600160a060020a039092168252519081900360200190f35b34801561022e57600080fd5b506102376106fe565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610271578181015183820152602001610259565b50505050905090810190601f16801561029e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102b857600080fd5b506102d0600160a060020a036004351660243561078c565b604080519115158252519081900360200190f35b3480156102f057600080fd5b506102d06107f3565b34801561030557600080fd5b5061030e610b27565b60408051918252519081900360200190f35b34801561032c57600080fd5b5061030e610b2d565b34801561034157600080fd5b506102d0600435602435610b4b565b34801561035c57600080fd5b5061030e610cda565b34801561037157600080fd5b506102d0600160a060020a0360043581169060243516604435610d0c565b34801561039b57600080fd5b5061030e610e17565b3480156103b057600080fd5b506103b9610e1d565b6040805160ff9092168252519081900360200190f35b3480156103db57600080fd5b5061030e610e26565b3480156103f057600080fd5b5061030e610e2c565b34801561040557600080fd5b5061030e610e32565b34801561041a57600080fd5b5061030e610e54565b34801561042f57600080fd5b50610444600160a060020a0360043516610e5a565b005b34801561045257600080fd5b5061030e610ea0565b34801561046757600080fd5b5061030e610ea6565b34801561047c57600080fd5b5061030e610eac565b34801561049157600080fd5b50610206610eb2565b3480156104a657600080fd5b5061030e600160a060020a0360043516610ec1565b3480156104c757600080fd5b50610444610edc565b3480156104dc57600080fd5b506102d0600435602435604435606435610f64565b3480156104fd57600080fd5b5061030e610fae565b34801561051257600080fd5b5061030e610fb4565b34801561052757600080fd5b5061030e610fba565b34801561053c57600080fd5b5061030e610fc0565b34801561055157600080fd5b50610206610fc6565b34801561056657600080fd5b50610237610fd5565b34801561057b57600080fd5b5061030e60043560243560443561102d565b34801561059957600080fd5b506102d0600160a060020a0360043516602435611062565b3480156105bd57600080fd5b5061030e611112565b3480156105d257600080fd5b5061030e611118565b3480156105e757600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526102d0948235600160a060020a031694602480359536959460649492019190819084018382808284375094975061111e9650505050505050565b34801561065057600080fd5b5061030e61127f565b34801561066557600080fd5b50610206611285565b34801561067a57600080fd5b506102d0600160a060020a0360043516602435611294565b34801561069e57600080fd5b5061030e61134f565b3480156106b357600080fd5b5061030e600160a060020a0360043581169060243516611355565b3480156106da57600080fd5b50610444600160a060020a0360043516611380565b601554600160a060020a031681565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107845780601f1061075957610100808354040283529160200191610784565b820191906000526020600020905b81548152906001019060200180831161076757829003601f168201915b505050505081565b336000818152601a60209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b600c546000906000194301409082908190819081908514156108185760009550610b1f565b601554604080517f6fd396d600000000000000000000000000000000000000000000000000000000815290513392600160a060020a031691636fd396d69160048083019260209291908290030181600087803b15801561087757600080fd5b505af115801561088b573d6000803e3d6000fd5b505050506040513d60208110156108a157600080fd5b5051600160a060020a0316146108ba5760009550610b1f565b601554604080517f163aa00d00000000000000000000000000000000000000000000000000000000815290514392600160a060020a03169163163aa00d9160048083019260209291908290030181600087803b15801561091957600080fd5b505af115801561092d573d6000803e3d6000fd5b505050506040513d602081101561094357600080fd5b5051146109535760009550610b1f565b601560009054906101000a9004600160a060020a0316600160a060020a0316638ae0368b6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156109bf57600080fd5b505af11580156109d3573d6000803e3d6000fd5b505050506040513d60208110156109e957600080fd5b505160008181526013602052604090205490945092508215610a0e5760009550610b1f565b600c5460009081526013602052604090207f6d65726765000000000000000000000000000000000000000000000000000000908190559150610a4e610e32565b33600090815260176020526040902054909150610a71908263ffffffff6113c616565b33600090815260176020526040902055601454610a94908263ffffffff6113c616565b6014819055600e541015610aa457fe5b600f805473ffffffffffffffffffffffffffffffffffffffff191633179055601081905543601155610ad46113d6565b6007546040805183815260208101929092526000828201525133917fcf6fbb9dcea7d07263ab4f5c3a92f53af33dffc421d9d121e1c74b307e68189d919081900360600190a2600195505b505050505090565b60115481565b6000610b46600b54600a5461147390919063ffffffff16565b905090565b600c54604080519182526c010000000000000000000000003302602083015260348201849052519081900360540190206000908180848314610b8c57600080fd5b600b54831115610b9b57600080fd5b600c54600090815260136020526040902080549084905591508115610bbf57600080fd5b610bc7610e32565b33600090815260176020526040902054909150610bea908263ffffffff6113c616565b33600090815260176020526040902055601454610c0d908263ffffffff6113c616565b6014819055600e541015610c1d57fe5b600f805473ffffffffffffffffffffffffffffffffffffffff191633179055601081905543601155610c4d6113d6565b600754600c54604080518481526020810193909352828101919091525133917fcf6fbb9dcea7d07263ab4f5c3a92f53af33dffc421d9d121e1c74b307e68189d919081900360600190a2604080518281529051339130917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600195945050505050565b6000805260176020527fd840e16649f6b9a295d95876f4633d3a6b10b55e8162971cf78afd886d5ec89b546005540390565b600160a060020a038316600090815260176020526040812054610d35908363ffffffff61149416565b600160a060020a038516600090815260176020908152604080832093909355601a815282822033835290522054610d72908363ffffffff61149416565b600160a060020a038086166000908152601a60209081526040808320338452825280832094909455918616815260179091522054610db6908363ffffffff6113c616565b600160a060020a0380851660008181526017602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b600d5481565b60045460ff1681565b600b5490565b60055481565b600d54600454601654600092610b469260ff16600a0a9091029060020a611473565b60165481565b600054600160a060020a03163314610e7157600080fd5b6015805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600c5490565b600e5481565b60145481565b600f54600160a060020a031681565b600160a060020a031660009081526017602052604090205490565b600154600160a060020a03163314610ef357600080fd5b60015460008054604051600160a060020a0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b604080518381526c010000000000000000000000003302602082015260348101869052905190819003605401902060009082811115610fa257600080fd5b93909314949350505050565b60075481565b600a5481565b600b5481565b600c5481565b600054600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156107845780601f1061075957610100808354040283529160200191610784565b604080518281526c01000000000000000000000000330260208201526034810185905290519081900360540190209392505050565b33600090815260176020526040812054611082908363ffffffff61149416565b3360009081526017602052604080822092909255600160a060020a038516815220546110b4908363ffffffff6113c616565b600160a060020a0384166000818152601760209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60085481565b60105481565b336000818152601a60209081526040808320600160a060020a038816808552908352818420879055815187815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a36040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b8381101561120e5781810151838201526020016111f6565b50505050905090810190601f16801561123b5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561125d57600080fd5b505af1158015611271573d6000803e3d6000fd5b506001979650505050505050565b60065481565b600154600160a060020a031681565b60008054600160a060020a031633146112ac57600080fd5b60008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810186905290519186169263a9059cbb926044808401936020939083900390910190829087803b15801561131c57600080fd5b505af1158015611330573d6000803e3d6000fd5b505050506040513d602081101561134657600080fd5b50519392505050565b60095481565b600160a060020a039182166000908152601a6020908152604080832093909416825291909152205490565b600054600160a060020a0316331461139757600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b818101828110156107ed57600080fd5b600e546113f36113e4610e32565b6014549063ffffffff6113c616565b11801561140257506027600d54105b1561141157600d805460010190555b600d5460055461142c9160010160020a63ffffffff61147316565b60055403600e5560075461144790600163ffffffff6113c616565b60078190556008549081151561145957fe5b061515611468576114686114a9565b600019430140600c55565b600080821161148157600080fd5b818381151561148c57fe5b049392505050565b6000828211156114a357600080fd5b50900390565b600654600854439190910390603c810260008080808487101561154f576114e7876114db87606463ffffffff6115e316565b9063ffffffff61147316565b935061150c6103e861150086606463ffffffff61149416565b9063ffffffff61160816565b92506115476115388461152c6107d0600b5461147390919063ffffffff16565b9063ffffffff6115e316565b600b549063ffffffff61149416565b600b556115b0565b611564856114db89606463ffffffff6115e316565b915061157d6103e861150084606463ffffffff61149416565b90506115ac61159d8261152c6107d0600b5461147390919063ffffffff16565b600b549063ffffffff6113c616565b600b555b43600655600954600b5410156115c757600954600b555b600a54600b5411156115da57600a54600b555b50505050505050565b8181028215806115fd57508183828115156115fa57fe5b04145b15156107ed57600080fd5b6000818311156116195750806107ed565b50909190505600a165627a7a72305820c4774b9768b3b751f21d10c61fa3e0c71800beaa69e1672013c69d5ace49c9fb0029

Deployed Bytecode

0x6080604052600436106101ec5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041662821de381146101f157806306fdde0314610222578063095ea7b3146102ac5780630b65108b146102e4578063163aa00d146102f957806317da485f146103205780631801fbe51461033557806318160ddd1461035057806323b872dd146103655780632d38bf7a1461038f578063313ce567146103a457806332e99708146103cf5780633eaaf86b146103e4578063490203a7146103f95780634ac2d1031461040e5780634e1a1853146104235780634ef37628146104465780634fa972e11461045b5780636de9f32b146104705780636fd396d61461048557806370a082311461049a57806379ba5097146104bb57806381269a56146104d0578063829965cc146104f157806387a2a9d6146105065780638a769d351461051b5780638ae0368b146105305780638da5cb5b1461054557806395d89b411461055a57806397566aa01461056f578063a9059cbb1461058d578063b5ade81b146105b1578063bafedcaa146105c6578063cae9ca51146105db578063cb9ae70714610644578063d4ee1d9014610659578063dc39d06d1461066e578063dc6e9cf914610692578063dd62ed3e146106a7578063f2fde38b146106ce575b600080fd5b3480156101fd57600080fd5b506102066106ef565b60408051600160a060020a039092168252519081900360200190f35b34801561022e57600080fd5b506102376106fe565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610271578181015183820152602001610259565b50505050905090810190601f16801561029e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102b857600080fd5b506102d0600160a060020a036004351660243561078c565b604080519115158252519081900360200190f35b3480156102f057600080fd5b506102d06107f3565b34801561030557600080fd5b5061030e610b27565b60408051918252519081900360200190f35b34801561032c57600080fd5b5061030e610b2d565b34801561034157600080fd5b506102d0600435602435610b4b565b34801561035c57600080fd5b5061030e610cda565b34801561037157600080fd5b506102d0600160a060020a0360043581169060243516604435610d0c565b34801561039b57600080fd5b5061030e610e17565b3480156103b057600080fd5b506103b9610e1d565b6040805160ff9092168252519081900360200190f35b3480156103db57600080fd5b5061030e610e26565b3480156103f057600080fd5b5061030e610e2c565b34801561040557600080fd5b5061030e610e32565b34801561041a57600080fd5b5061030e610e54565b34801561042f57600080fd5b50610444600160a060020a0360043516610e5a565b005b34801561045257600080fd5b5061030e610ea0565b34801561046757600080fd5b5061030e610ea6565b34801561047c57600080fd5b5061030e610eac565b34801561049157600080fd5b50610206610eb2565b3480156104a657600080fd5b5061030e600160a060020a0360043516610ec1565b3480156104c757600080fd5b50610444610edc565b3480156104dc57600080fd5b506102d0600435602435604435606435610f64565b3480156104fd57600080fd5b5061030e610fae565b34801561051257600080fd5b5061030e610fb4565b34801561052757600080fd5b5061030e610fba565b34801561053c57600080fd5b5061030e610fc0565b34801561055157600080fd5b50610206610fc6565b34801561056657600080fd5b50610237610fd5565b34801561057b57600080fd5b5061030e60043560243560443561102d565b34801561059957600080fd5b506102d0600160a060020a0360043516602435611062565b3480156105bd57600080fd5b5061030e611112565b3480156105d257600080fd5b5061030e611118565b3480156105e757600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526102d0948235600160a060020a031694602480359536959460649492019190819084018382808284375094975061111e9650505050505050565b34801561065057600080fd5b5061030e61127f565b34801561066557600080fd5b50610206611285565b34801561067a57600080fd5b506102d0600160a060020a0360043516602435611294565b34801561069e57600080fd5b5061030e61134f565b3480156106b357600080fd5b5061030e600160a060020a0360043581169060243516611355565b3480156106da57600080fd5b50610444600160a060020a0360043516611380565b601554600160a060020a031681565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107845780601f1061075957610100808354040283529160200191610784565b820191906000526020600020905b81548152906001019060200180831161076757829003601f168201915b505050505081565b336000818152601a60209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b600c546000906000194301409082908190819081908514156108185760009550610b1f565b601554604080517f6fd396d600000000000000000000000000000000000000000000000000000000815290513392600160a060020a031691636fd396d69160048083019260209291908290030181600087803b15801561087757600080fd5b505af115801561088b573d6000803e3d6000fd5b505050506040513d60208110156108a157600080fd5b5051600160a060020a0316146108ba5760009550610b1f565b601554604080517f163aa00d00000000000000000000000000000000000000000000000000000000815290514392600160a060020a03169163163aa00d9160048083019260209291908290030181600087803b15801561091957600080fd5b505af115801561092d573d6000803e3d6000fd5b505050506040513d602081101561094357600080fd5b5051146109535760009550610b1f565b601560009054906101000a9004600160a060020a0316600160a060020a0316638ae0368b6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156109bf57600080fd5b505af11580156109d3573d6000803e3d6000fd5b505050506040513d60208110156109e957600080fd5b505160008181526013602052604090205490945092508215610a0e5760009550610b1f565b600c5460009081526013602052604090207f6d65726765000000000000000000000000000000000000000000000000000000908190559150610a4e610e32565b33600090815260176020526040902054909150610a71908263ffffffff6113c616565b33600090815260176020526040902055601454610a94908263ffffffff6113c616565b6014819055600e541015610aa457fe5b600f805473ffffffffffffffffffffffffffffffffffffffff191633179055601081905543601155610ad46113d6565b6007546040805183815260208101929092526000828201525133917fcf6fbb9dcea7d07263ab4f5c3a92f53af33dffc421d9d121e1c74b307e68189d919081900360600190a2600195505b505050505090565b60115481565b6000610b46600b54600a5461147390919063ffffffff16565b905090565b600c54604080519182526c010000000000000000000000003302602083015260348201849052519081900360540190206000908180848314610b8c57600080fd5b600b54831115610b9b57600080fd5b600c54600090815260136020526040902080549084905591508115610bbf57600080fd5b610bc7610e32565b33600090815260176020526040902054909150610bea908263ffffffff6113c616565b33600090815260176020526040902055601454610c0d908263ffffffff6113c616565b6014819055600e541015610c1d57fe5b600f805473ffffffffffffffffffffffffffffffffffffffff191633179055601081905543601155610c4d6113d6565b600754600c54604080518481526020810193909352828101919091525133917fcf6fbb9dcea7d07263ab4f5c3a92f53af33dffc421d9d121e1c74b307e68189d919081900360600190a2604080518281529051339130917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600195945050505050565b6000805260176020527fd840e16649f6b9a295d95876f4633d3a6b10b55e8162971cf78afd886d5ec89b546005540390565b600160a060020a038316600090815260176020526040812054610d35908363ffffffff61149416565b600160a060020a038516600090815260176020908152604080832093909355601a815282822033835290522054610d72908363ffffffff61149416565b600160a060020a038086166000908152601a60209081526040808320338452825280832094909455918616815260179091522054610db6908363ffffffff6113c616565b600160a060020a0380851660008181526017602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b600d5481565b60045460ff1681565b600b5490565b60055481565b600d54600454601654600092610b469260ff16600a0a9091029060020a611473565b60165481565b600054600160a060020a03163314610e7157600080fd5b6015805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600c5490565b600e5481565b60145481565b600f54600160a060020a031681565b600160a060020a031660009081526017602052604090205490565b600154600160a060020a03163314610ef357600080fd5b60015460008054604051600160a060020a0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b604080518381526c010000000000000000000000003302602082015260348101869052905190819003605401902060009082811115610fa257600080fd5b93909314949350505050565b60075481565b600a5481565b600b5481565b600c5481565b600054600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156107845780601f1061075957610100808354040283529160200191610784565b604080518281526c01000000000000000000000000330260208201526034810185905290519081900360540190209392505050565b33600090815260176020526040812054611082908363ffffffff61149416565b3360009081526017602052604080822092909255600160a060020a038516815220546110b4908363ffffffff6113c616565b600160a060020a0384166000818152601760209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b60085481565b60105481565b336000818152601a60209081526040808320600160a060020a038816808552908352818420879055815187815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a36040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b8381101561120e5781810151838201526020016111f6565b50505050905090810190601f16801561123b5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561125d57600080fd5b505af1158015611271573d6000803e3d6000fd5b506001979650505050505050565b60065481565b600154600160a060020a031681565b60008054600160a060020a031633146112ac57600080fd5b60008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810186905290519186169263a9059cbb926044808401936020939083900390910190829087803b15801561131c57600080fd5b505af1158015611330573d6000803e3d6000fd5b505050506040513d602081101561134657600080fd5b50519392505050565b60095481565b600160a060020a039182166000908152601a6020908152604080832093909416825291909152205490565b600054600160a060020a0316331461139757600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b818101828110156107ed57600080fd5b600e546113f36113e4610e32565b6014549063ffffffff6113c616565b11801561140257506027600d54105b1561141157600d805460010190555b600d5460055461142c9160010160020a63ffffffff61147316565b60055403600e5560075461144790600163ffffffff6113c616565b60078190556008549081151561145957fe5b061515611468576114686114a9565b600019430140600c55565b600080821161148157600080fd5b818381151561148c57fe5b049392505050565b6000828211156114a357600080fd5b50900390565b600654600854439190910390603c810260008080808487101561154f576114e7876114db87606463ffffffff6115e316565b9063ffffffff61147316565b935061150c6103e861150086606463ffffffff61149416565b9063ffffffff61160816565b92506115476115388461152c6107d0600b5461147390919063ffffffff16565b9063ffffffff6115e316565b600b549063ffffffff61149416565b600b556115b0565b611564856114db89606463ffffffff6115e316565b915061157d6103e861150084606463ffffffff61149416565b90506115ac61159d8261152c6107d0600b5461147390919063ffffffff16565b600b549063ffffffff6113c616565b600b555b43600655600954600b5410156115c757600954600b555b600a54600b5411156115da57600a54600b555b50505050505050565b8181028215806115fd57508183828115156115fa57fe5b04145b15156107ed57600080fd5b6000818311156116195750806107ed565b50909190505600a165627a7a72305820c4774b9768b3b751f21d10c61fa3e0c71800beaa69e1672013c69d5ace49c9fb0029

Swarm Source

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