Sponsored:   Ubex.com - Token sale will end in just 5 days. 98% hard cap already reached. Don't Miss Out!
 Latest 25 txns From a total of 102251 Transactions

TxHash Age From To Value [TxFee]
0xcd25532f703169c7fcfefeed211f9e91ddd6057774f29dce293911588daef2b647 mins ago0xc12886c8c18ead74458efb006dbf0255ec194d8f  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.00197618
0xbf42bc6c75381867c1fdda9c9f01ba77bdda365084eae639be1f9d3704fcfcea55 mins agoBigONE_1  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.002073645
0x11d14fe259cf3711ea2836cb9fa60770920a87f93d5a48f2064e6f344f8d1f1d1 hr 7 mins ago0xb032fefc4c734e31156fdc410980357785f9ccdf  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.001462
0x2fd62437919a58f29daca4e07fd547ebfbe8068de65920f7408618f2a3e3f3821 hr 7 mins ago0xd00ae2d78d950b07e6cc30dfbebcd30a02344068  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.00197746
0x6e76e5f91e5a21298137a1102fbfdd87feacc1adf8ee6babce9ce787c78f25131 hr 18 mins ago0x6570b83e7bca6df4c793aa5d372f15fe7b93551d  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.001462
0x00d0a83c9573376dbbf5597d5e5abf56dc27f7889595e68fac651c6649a74b381 hr 18 mins ago0xcf0697240463c242f2fa3e4101fab6f7d29b44fc  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.00197618
0x6ad5867cb0b7aede31fe3b57dfd438c2efe63e2b2579735e497bad1b9498b86b1 hr 22 mins agoBigONE_1  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.002076333
0x94a1eca028e5f215fc712e9833284efa082663f57926a5a78dfb75ddb6f597a61 hr 22 mins agoOkex  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.00494045
0xff355da1ac775c1d0ad5cac9eb557a832dcbdb82a739015ab9deaa160f3b6ac31 hr 26 mins agoHuobi_10  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.006224967
0xed307121a324af0194538313ec18760e001eef7b1d17cd025bfd8294a9fef2281 hr 27 mins ago0x1e920a6638e609a69bce2c2aa16a5fd215a7f922  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.00146328
0x7a44dd1cb3997e5ce215b06cbf4e804ffb76e22fc04bab58d2fe7f15ab6886131 hr 27 mins ago0x7917ee245442c81d7d5d9c224142cff3b8c59fd5  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.00197618
0x00cbde80f813bd0b8c86241c0ce433ed2930c2d08a6deac92d37dfac2ff3136b1 hr 27 mins agoHuobi_2  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.006224967
0x53f3c06273cf8f90a1736f7d59405db9387e9e099bd80286ec59213c772749f41 hr 36 mins agoHuobi_1  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.006224967
0x2633f541a486aabbf668bc14661b368b5cb937598b5683bce2a9ec28da5a4bd01 hr 50 mins ago0x0de0dcc9b690c0e1136398195f8054aaf9446116  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.00419786
0xc3439921b529037126c4db8d103039aff8eaf7a8380a4ba93f4ada1acc080fac4 hrs 17 mins ago0x60dc5fb9b2dd6a271ef976bbaf6f0241571917ba  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.001462
0xee99497c263f7d87c18b0e586ad47dd3f5cbe0ac26f7e5764de6563e58085d174 hrs 17 mins ago0xd52d8617922d7d71fd464db788765a52b7fae90a  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.00197618
0x0f5bfa95da90982e685f8396c920899f1df5a836f4db6fda2652d4eb435f8e634 hrs 20 mins agoHuobi_9  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.006224967
0x63655b60e6df272b9a7f435ab52df9d577246e3d96ee144c4a2ce1f386cfe4a24 hrs 24 mins agoHuobi_10  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.006224967
0x7447ada6b88068ae1976fb10416c79ae6a4104b8340c2e1eebe2148a6c682a8b4 hrs 30 mins agoHuobi_5  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.006224967
0x16b22b5af650706bb0867937c085dba7cd4b0b488a083eba09baa1ad47d322f54 hrs 32 mins agoOkex  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.00494045
0xab40a292f80d25d8649a12d269f3172eb4c96cbea15d0595597060fcefa0769b6 hrs 7 mins ago0x02dd914281987d7d42f12c71bae11b8ede74aae9  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.00197618
0xc59e26abb75d1f8c9f12c12edb66fc6ee707e7b2ca4c2ec90b378a46938926156 hrs 18 mins ago0x60dc5fb9b2dd6a271ef976bbaf6f0241571917ba  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.00197618
0x56d1c2be0c5ea76003de8df9490965338831e911a5ca7d008527704a88b500f46 hrs 24 mins agoBinance_3  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.00496827
0x3bd72256c370a91324e2db4f2119b8603eb430a2a963f6e91de6db8e43d679b56 hrs 31 mins agoHuobi_4  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.006224967
0xcdf463ced30fb88a6ed42934faf0fe1f4a156bfd89a4e516e287e00699836f6c6 hrs 58 mins ago0x8f3481b5b99f280fb15143195f3fcb83bfb21766  IN   0xf7920b0768ecb20a123fac32311d07d193381d6f0 Ether0.0007707102
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), NestedArrayFunctionCallDecoder (medium-severity), ZeroFunctionSelector (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: TNBToken
Compiler Text: v0.4.15+commit.bbb8e64f
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.13;

contract ApproveAndCallReceiver {
    function receiveApproval(
        address _from, 
        uint256 _amount, 
        address _token, 
        bytes _data
    );
}

contract Controlled {
    /// @notice The address of the controller is the only address that can call
    ///  a function with this modifier
    modifier onlyController { 
        require(msg.sender == controller); 
        _; 
    }

    //block for check//bool private initialed = false;
    address public controller;

    function Controlled() {
      //block for check//require(!initialed);
      controller = msg.sender;
      //block for check//initialed = true;
    }

    /// @notice Changes the controller of the contract
    /// @param _newController The new controller of the contract
    function changeController(address _newController) onlyController {
        controller = _newController;
    }
}

contract ERC20Token {
    /* This is a slight change to the ERC20 base standard.
      function totalSupply() constant returns (uint256 supply);
      is replaced with:
      uint256 public totalSupply;
      This automatically creates a getter function for the totalSupply.
      This is moved to the base contract since public getter functions are not
      currently recognised as an implementation of the matching abstract
      function by the compiler.
    */
    /// total amount of tokens
    function totalSupply() constant returns (uint256 balance);

    /// @param _owner The address from which the balance will be retrieved
    /// @return The balance
    function balanceOf(address _owner) constant returns (uint256 balance);

    /// @notice send `_value` token to `_to` from `msg.sender`
    /// @param _to The address of the recipient
    /// @param _value The amount of token to be transferred
    /// @return Whether the transfer was successful or not
    function transfer(address _to, uint256 _value) returns (bool success);

    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`
    /// @param _from The address of the sender
    /// @param _to The address of the recipient
    /// @param _value The amount of token to be transferred
    /// @return Whether the transfer was successful or not
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success);

    /// @notice `msg.sender` approves `_spender` to spend `_value` tokens
    /// @param _spender The address of the account able to transfer the tokens
    /// @param _value The amount of tokens to be approved for transfer
    /// @return Whether the approval was successful or not
    function approve(address _spender, uint256 _value) returns (bool success);

    /// @param _owner The address of the account owning tokens
    /// @param _spender The address of the account able to transfer the tokens
    /// @return Amount of remaining tokens allowed to spent
    function allowance(address _owner, address _spender) constant returns (uint256 remaining);

    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

contract TNBTokenI is ERC20Token, Controlled {

    string public name;                //The Token's name: e.g. DigixDAO Tokens
    uint8 public decimals;             //Number of decimals of the smallest unit
    string public symbol;              //An identifier: e.g. REP
    string public version = "MMT_0.1"; //An arbitrary versioning scheme

///////////////////
// ERC20 Methods
///////////////////

    /// @notice `msg.sender` approves `_spender` to send `_amount` tokens on
    ///  its behalf, and then a function is triggered in the contract that is
    ///  being approved, `_spender`. This allows users to use their tokens to
    ///  interact with contracts in one function call instead of two
    /// @param _spender The address of the contract able to transfer the tokens
    /// @param _amount The amount of tokens to be approved for transfer
    /// @return True if the function call was successful
    function approveAndCall(
        address _spender,
        uint256 _amount,
        bytes _extraData
    ) returns (bool success);

////////////////
// Query balance and totalSupply in History
////////////////

    /// @dev Queries the balance of `_owner` at a specific `_blockNumber`
    /// @param _owner The address from which the balance will be retrieved
    /// @param _blockNumber The block number when the balance is queried
    /// @return The balance at `_blockNumber`
    function balanceOfAt(
        address _owner,
        uint _blockNumber
    ) constant returns (uint);

    /// @notice Total amount of tokens at a specific `_blockNumber`.
    /// @param _blockNumber The block number when the totalSupply is queried
    /// @return The total amount of tokens at `_blockNumber`
    function totalSupplyAt(uint _blockNumber) constant returns(uint);

////////////////
// Generate and destroy tokens
////////////////

    /// @notice Generates `_amount` tokens that are assigned to `_owner`
    /// @param _owner The address that will be assigned the new tokens
    /// @param _amount The quantity of tokens generated
    /// @return True if the tokens are generated correctly
    function generateTokens(address _owner, uint _amount) returns (bool);


    /// @notice Burns `_amount` tokens from `_owner`
    /// @param _owner The address that will lose the tokens
    /// @param _amount The quantity of tokens to burn
    /// @return True if the tokens are burned correctly
    function destroyTokens(address _owner, uint _amount) returns (bool);

////////////////
// Enable tokens transfers
////////////////

    /// @notice Enables token holders to transfer their tokens freely if true
    /// @param _transfersEnabled True if transfers are allowed in the clone
    function enableTransfers(bool _transfersEnabled);

//////////
// Safety Methods
//////////

    /// @notice This method can be used by the controller to extract mistakenly
    ///  sent tokens to this contract.
    /// @param _token The address of the token contract that you want to recover
    ///  set to 0 in case you want to extract ether.
    function claimTokens(address _token);

////////////////
// Events
////////////////

    event ClaimedTokens(address indexed _token, address indexed _controller, uint _amount);
}

contract TNBToken is TNBTokenI {

    string public name;                //代币名称: e.g. DigixDAO Tokens
    uint8 public decimals;             //最小单位精度,即可以精确到小数点后多少位
    string public symbol;              //符号
    string public version = "TNB_0.2"; //任意格式的版本数据
    uint256 public maximumTNB = 60 * 10**8 * 10**18;
    /// @dev `Checkpoint` 是一个记录区块数及其对应总额的结构
    struct Checkpoint {

        // `fromBlock` is the block number that the value was generated from
        uint128 fromBlock;

        // `value` is the amount of tokens at a specific block number
        uint128 value;
    }

    // `creationBlock` is the block number that the Clone Token was created
    uint public creationBlock;

    // `balances` is the map that tracks the balance of each address, in this
    //  contract when the balance changes the block number that the change
    //  occurred is also included in the map
    mapping (address => Checkpoint[]) balances;

    //禁售数量
    mapping (address => uint256) frozen;
    bool public isFrozen = false;
    //每次解禁时间点
    uint[] forbidenEndTime;

    // `allowed` tracks any extra transfer rights as in all ERC20 tokens
    mapping (address => mapping (address => uint256)) allowed;

    // Tracks the history of the `totalSupply` of the token
    Checkpoint[] totalSupplyHistory;

    // Flag that determines if the token is transferable or not.
    bool public transfersEnabled;


////////////////
// Constructor
////////////////

    /// @notice Constructor to create a TNBToken
    ///  param _tokenFactory The address of the TNBTokenFactory contract that
    ///  will create the Clone token contracts, the token factory needs to be
    ///  deployed first
    /// param _parentToken Address of the parent token, set to 0x0 if it is a
    ///  new token
    /// param _parentSnapShotBlock Block of the parent token that will
    ///  determine the initial distribution of the clone token, set to 0 if it
    ///  is a new token
    /// @param _tokenName Name of the new token
    /// @param _decimalUnits Number of decimals of the new token
    /// @param _tokenSymbol Token Symbol for the new token
    /// @param _transfersEnabled If true, tokens will be able to be transferred
    function TNBToken(
        //address _tokenFactory,
        //address _parentToken,
        //uint _parentSnapShotBlock,
        string _tokenName,
        uint8 _decimalUnits,
        string _tokenSymbol,
        bool _transfersEnabled
    ) {
        name = _tokenName;                                 // Set the name
        decimals = _decimalUnits;                          // Set the decimals
        symbol = _tokenSymbol;                             // Set the symbol
        transfersEnabled = _transfersEnabled;
        creationBlock = block.number;
    }

///////////////////
// ERC20 Methods
///////////////////

    /// @notice Send `_amount` tokens to `_to` from `msg.sender`
    /// @param _to The address of the recipient
    /// @param _amount The amount of tokens to be transferred
    /// @return Whether the transfer was successful or not
    function transfer(address _to, uint256 _amount) returns (bool success) {
        require(transfersEnabled);
        return doTransfer(msg.sender, _to, _amount);
    }

    /// @notice Send `_amount` tokens to `_to` from `_from` on the condition it
    ///  is approved by `_from`
    /// @param _from The address holding the tokens being transferred
    /// @param _to The address of the recipient
    /// @param _amount The amount of tokens to be transferred
    /// @return True if the transfer was successful
    function transferFrom(address _from, address _to, uint256 _amount) returns (bool success) {

        // The controller of this contract can move tokens around at will,
        //  this is important to recognize! Confirm that you trust the
        //  controller of this contract, which in most situations should be
        //  another open source smart contract or 0x0
        if (msg.sender != controller) {
            require(transfersEnabled);

            // The standard ERC 20 transferFrom functionality
            if (allowed[_from][msg.sender] < _amount) {
                return false;
            }
            allowed[_from][msg.sender] -= _amount;
        }
        return doTransfer(_from, _to, _amount);
    }

    /// @dev This is the actual transfer function in the token contract, it can
    ///  only be called by other functions in this contract.
    /// @param _from The address holding the tokens being transferred
    /// @param _to The address of the recipient
    /// @param _amount The amount of tokens to be transferred
    /// @return True if the transfer was successful
    function doTransfer(address _from, address _to, uint _amount) internal returns(bool) {

        if (_amount == 0) {
            return true;
        }

        //require(parentSnapShotBlock < block.number);

        // Do not allow transfer to 0x0 or the token contract itself
        require((_to != 0) && (_to != address(this)));

        // If the amount being transfered is more than the balance of the
        //  account the transfer returns false
        var previousBalanceFrom = balanceOfAt(_from, block.number);
        if (previousBalanceFrom < _amount) {
            return false;
        }

        // Alerts the token controller of the transfer
        if (isContract(controller)) {
            bool onTransfer = TokenController(controller).onTransfer(_from, _to, _amount);
            require(onTransfer);
        }

        // First update the balance array with the new value for the address
        //  sending the tokens
        updateValueAtNow(balances[_from], previousBalanceFrom - _amount);

        // Then update the balance array with the new value for the address
        //  receiving the tokens
        var previousBalanceTo = balanceOfAt(_to, block.number);
        require(previousBalanceTo + _amount >= previousBalanceTo); // Check for overflow
        updateValueAtNow(balances[_to], previousBalanceTo + _amount);

        // An event to make the transfer easy to find on the blockchain
        Transfer(_from, _to, _amount);

        return true;
    }

    /// @param _owner The address that's balance is being requested
    /// @return The balance of `_owner` at the current block
    function balanceOf(address _owner) constant returns (uint256 balance) {
        return balanceOfAt(_owner, block.number);
    }

    /// @notice `msg.sender` approves `_spender` to spend `_amount` tokens on
    ///  its behalf. This is a modified version of the ERC20 approve function
    ///  to be a little bit safer
    /// @param _spender The address of the account able to transfer the tokens
    /// @param _amount The amount of tokens to be approved for transfer
    /// @return True if the approval was successful
    function approve(address _spender, uint256 _amount) returns (bool success) {
        require(transfersEnabled);

        // To change the approve amount you first have to reduce the addresses`
        //  allowance to zero by calling `approve(_spender,0)` if it is not
        //  already 0 to mitigate the race condition described here:
        //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
        require((_amount == 0) || (allowed[msg.sender][_spender] == 0));

        // Alerts the token controller of the approve function call
        if (isContract(controller)) {
            bool onApprove = TokenController(controller).onApprove(msg.sender, _spender, _amount);
            require(onApprove);
        }

        allowed[msg.sender][_spender] = _amount;
        Approval(msg.sender, _spender, _amount);
        return true;
    }

    /// @dev This function makes it easy to read the `allowed[]` map
    /// @param _owner The address of the account that owns the token
    /// @param _spender The address of the account able to transfer the tokens
    /// @return Amount of remaining tokens of _owner that _spender is allowed
    ///  to spend
    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }

    /// @notice `msg.sender` approves `_spender` to send `_amount` tokens on
    ///  its behalf, and then a function is triggered in the contract that is
    ///  being approved, `_spender`. This allows users to use their tokens to
    ///  interact with contracts in one function call instead of two
    /// @param _spender The address of the contract able to transfer the tokens
    /// @param _amount The amount of tokens to be approved for transfer
    /// @return True if the function call was successful
    function approveAndCall(address _spender, uint256 _amount, bytes _extraData) returns (bool success) {
        require(approve(_spender, _amount));

        ApproveAndCallReceiver(_spender).receiveApproval(
            msg.sender,
            _amount,
            this,
            _extraData
        );

        return true;
    }

    /// @dev This function makes it easy to get the total number of tokens
    /// @return The total number of tokens
    function totalSupply() constant returns (uint) {
        return totalSupplyAt(block.number);
    }

////////////////
// Query balance and totalSupply in History
////////////////

    /// @dev Queries the balance of `_owner` at a specific `_blockNumber`
    /// @param _owner The address from which the balance will be retrieved
    /// @param _blockNumber The block number when the balance is queried
    /// @return The balance at `_blockNumber`
    function balanceOfAt(address _owner, uint _blockNumber) constant returns (uint) {

        // These next few lines are used when the balance of the token is
        //  requested before a check point was ever created for this token, it
        //  requires that the `parentToken.balanceOfAt` be queried at the
        //  genesis block for that token as this contains initial balance of
        //  this token
        if ((balances[_owner].length == 0) || (balances[_owner][0].fromBlock > _blockNumber)) {
            //if (address(parentToken) != 0) {
            //    return parentToken.balanceOfAt(_owner, min(_blockNumber, parentSnapShotBlock));
            //} else {
                // Has no parent
                return 0;
            //}

        // This will return the expected balance during normal situations
        } else {
            return getValueAt(balances[_owner], _blockNumber);
        }
    }

    /// @notice Total amount of tokens at a specific `_blockNumber`.
    /// @param _blockNumber The block number when the totalSupply is queried
    /// @return The total amount of tokens at `_blockNumber`
    function totalSupplyAt(uint _blockNumber) constant returns(uint) {

        // These next few lines are used when the totalSupply of the token is
        //  requested before a check point was ever created for this token, it
        //  requires that the `parentToken.totalSupplyAt` be queried at the
        //  genesis block for this token as that contains totalSupply of this
        //  token at this block number.
        if ((totalSupplyHistory.length == 0) || (totalSupplyHistory[0].fromBlock > _blockNumber)) {
            //if (address(parentToken) != 0) {
            //    return parentToken.totalSupplyAt(min(_blockNumber, parentSnapShotBlock));
            //} else {
                return 0;
            //}

        // This will return the expected totalSupply during normal situations
        } else {
            return getValueAt(totalSupplyHistory, _blockNumber);
        }
    }

////////////////
// Generate and destroy tokens
////////////////

    /// @notice Generates `_amount` tokens that are assigned to `_owner`
    /// @param _owner The address that will be assigned the new tokens
    /// @param _amount The quantity of tokens generated
    /// @return True if the tokens are generated correctly
    function generateTokens(address _owner, uint _amount) onlyController returns (bool) {
        uint curTotalSupply = totalSupply();
        uint256 newTotalSupply = curTotalSupply + _amount;
        require(newTotalSupply >= curTotalSupply); // Check for overflow
        require(newTotalSupply <= maximumTNB);
        uint previousBalanceTo = balanceOf(_owner);
        require(previousBalanceTo + _amount >= previousBalanceTo); // Check for overflow
        updateValueAtNow(totalSupplyHistory, newTotalSupply);
        updateValueAtNow(balances[_owner], previousBalanceTo + _amount);
        Transfer(0, _owner, _amount);
        return true;
    }

    /// @notice Burns `_amount` tokens from `_owner`
    /// @param _owner The address that will lose the tokens
    /// @param _amount The quantity of tokens to burn
    /// @return True if the tokens are burned correctly
    function destroyTokens(address _owner, uint _amount) onlyController returns (bool) {
        uint curTotalSupply = totalSupply();
        require(curTotalSupply >= _amount);
        uint previousBalanceFrom = balanceOf(_owner);
        require(previousBalanceFrom >= _amount);
        updateValueAtNow(totalSupplyHistory, curTotalSupply - _amount);
        updateValueAtNow(balances[_owner], previousBalanceFrom - _amount);
        Transfer(_owner, 0, _amount);
        return true;
    }

////////////////
// Enable tokens transfers
////////////////

    /// @notice Enables token holders to transfer their tokens freely if true
    /// @param _transfersEnabled True if transfers are allowed in the clone
    function enableTransfers(bool _transfersEnabled) onlyController {
        transfersEnabled = _transfersEnabled;
    }

////////////////
// Internal helper functions to query and set a value in a snapshot array
////////////////

    /// @dev `getValueAt` retrieves the number of tokens at a given block number
    /// @param checkpoints The history of values being queried
    /// @param _block The block number to retrieve the value at
    /// @return The number of tokens being queried
    function getValueAt(Checkpoint[] storage checkpoints, uint _block) constant internal returns (uint) {
        if (checkpoints.length == 0) {
            return 0;
        }

        // Shortcut for the actual value
        if (_block >= checkpoints[checkpoints.length-1].fromBlock)
            return checkpoints[checkpoints.length-1].value;
        if (_block < checkpoints[0].fromBlock) {
            return 0;
        }

        // Binary search of the value in the array
        uint min = 0;
        uint max = checkpoints.length-1;
        while (max > min) {
            uint mid = (max + min + 1) / 2;
            if (checkpoints[mid].fromBlock<=_block) {
                min = mid;
            } else {
                max = mid-1;
            }
        }
        return checkpoints[min].value;
    }

    /// @dev `updateValueAtNow` used to update the `balances` map and the
    ///  `totalSupplyHistory`
    /// @param checkpoints The history of data being updated
    /// @param _value The new number of tokens
    function updateValueAtNow(Checkpoint[] storage checkpoints, uint _value) internal {
        if ((checkpoints.length == 0) || (checkpoints[checkpoints.length - 1].fromBlock < block.number)) {
            Checkpoint storage newCheckPoint = checkpoints[checkpoints.length++];
            newCheckPoint.fromBlock = uint128(block.number);
            newCheckPoint.value = uint128(_value);
        } else {
            Checkpoint storage oldCheckPoint = checkpoints[checkpoints.length-1];
            oldCheckPoint.value = uint128(_value);
        }
    }

    /// @dev Internal function to determine if an address is a contract
    /// @param _addr The address being queried
    /// @return True if `_addr` is a contract
    function isContract(address _addr) constant internal returns(bool) {
        uint size;
        if (_addr == 0) {
            return false;
        }
        assembly {
            size := extcodesize(_addr)
        }
        return size>0;
    }

    /// @dev Helper function to return a min betwen the two uints
    function min(uint a, uint b) internal returns (uint) {
        return a < b ? a : b;
    }

    /// @notice The fallback function: If the contract's controller has not been
    ///  set to 0, then the `proxyPayment` method is called which relays the
    ///  ether and creates tokens as described in the token controller contract
    function ()  payable {
        //屏蔽控制方的合约类型检查,以兼容发行方无控制合约的情况。
        require(isContract(controller));
        bool proxyPayment = TokenController(controller).proxyPayment.value(msg.value)(msg.sender);
        require(proxyPayment);
    }

//////////
// Safety Methods
//////////

    /// @notice This method can be used by the controller to extract mistakenly
    ///  sent tokens to this contract.
    /// @param _token The address of the token contract that you want to recover
    ///  set to 0 in case you want to extract ether.
    function claimTokens(address _token) onlyController {
        if (_token == 0x0) {
            controller.transfer(this.balance);
            return;
        }

        TNBToken token = TNBToken(_token);
        uint balance = token.balanceOf(this);
        token.transfer(controller, balance);
        ClaimedTokens(_token, controller, balance);
    }

////////////////
// Events
////////////////
    event ClaimedTokens(address indexed _token, address indexed _controller, uint _amount);
    event Transfer(address indexed _from, address indexed _to, uint256 _amount);
    event Approval(
        address indexed _owner,
        address indexed _spender,
        uint256 _amount
    );
}

contract TokenController {
    /// @notice Called when `_owner` sends ether to the MiniMe Token contract
    /// @param _owner The address that sent the ether to create tokens
    /// @return True if the ether is accepted, false if it throws
    function proxyPayment(address _owner) payable returns(bool);

    /// @notice Notifies the controller about a token transfer allowing the
    ///  controller to react if desired
    /// @param _from The origin of the transfer
    /// @param _to The destination of the transfer
    /// @param _amount The amount of the transfer
    /// @return False if the controller does not authorize the transfer
    function onTransfer(address _from, address _to, uint _amount) returns(bool);

    /// @notice Notifies the controller about an approval allowing the
    ///  controller to react if desired
    /// @param _owner The address that calls `approve()`
    /// @param _spender The spender in the `approve()` call
    /// @param _amount The amount in the `approve()` call
    /// @return False if the controller does not authorize the approval
    function onApprove(address _owner, address _spender, uint _amount) returns(bool);
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"creationBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"isFrozen","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_newController","type":"address"}],"name":"changeController","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"maximumTNB","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_blockNumber","type":"uint256"}],"name":"balanceOfAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_amount","type":"uint256"}],"name":"generateTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_blockNumber","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"transfersEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_amount","type":"uint256"}],"name":"destroyTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"claimTokens","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_transfersEnabled","type":"bool"}],"name":"enableTransfers","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"inputs":[{"name":"_tokenName","type":"string"},{"name":"_decimalUnits","type":"uint8"},{"name":"_tokenSymbol","type":"string"},{"name":"_transfersEnabled","type":"bool"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_token","type":"address"},{"indexed":true,"name":"_controller","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"ClaimedTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"}],"name":"Approval","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60606040526040805190810160405280600781526020017f4d4d545f302e31000000000000000000000000000000000000000000000000008152506004908051906020019062000051929190620001cf565b506040805190810160405280600781526020017f544e425f302e3200000000000000000000000000000000000000000000000000815250600890805190602001906200009f929190620001cf565b506b1363156bbee3016d700000006009556000600d60006101000a81548160ff0219169083151502179055503415620000d757600080fd5b604051620025fc380380620025fc833981016040528080518201919060200180519060200190919080518201919060200180519060200190919050505b5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b83600590805190602001906200016e929190620001cf565b5082600660006101000a81548160ff021916908360ff1602179055508160079080519060200190620001a2929190620001cf565b5080601160006101000a81548160ff02191690831515021790555043600a819055505b505050506200027e565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200021257805160ff191683800117855562000243565b8280016001018555821562000243579182015b828111156200024257825182559160200191906001019062000225565b5b50905062000252919062000256565b5090565b6200027b91905b80821115620002775760008160009055506001016200025d565b5090565b90565b61236e806200028e6000396000f30060606040523615610131576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461025b578063095ea7b3146102ea578063176345141461034457806318160ddd1461036d57806323b872dd14610396578063313ce5671461040f57806333eeb1471461043e5780633cebb8231461046b5780634a923199146104a45780634ee2cd7e146104cd57806354fd4d501461052357806370a08231146105b2578063827f32c0146105ff57806395d89b4114610659578063981b24d0146106e8578063a9059cbb1461071f578063bef97c8714610779578063cae9ca51146107a6578063d3ce77fe14610843578063dd62ed3e1461089d578063df8de3e714610909578063f41e60c514610942578063f77c479114610967575b5b600061015e6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff166109bc565b151561016957600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f48c305434336000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019150506020604051808303818588803b151561022d57600080fd5b6125ee5a03f1151561023e57600080fd5b5050505060405180519050905080151561025757600080fd5b5b50005b341561026657600080fd5b61026e6109f8565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102af5780820151818401525b602081019050610293565b50505050905090810190601f1680156102dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102f557600080fd5b61032a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610a96565b604051808215151515815260200191505060405180910390f35b341561034f57600080fd5b610357610d95565b6040518082815260200191505060405180910390f35b341561037857600080fd5b610380610d9b565b6040518082815260200191505060405180910390f35b34156103a157600080fd5b6103f5600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610dac565b604051808215151515815260200191505060405180910390f35b341561041a57600080fd5b610422610f4c565b604051808260ff1660ff16815260200191505060405180910390f35b341561044957600080fd5b610451610f5f565b604051808215151515815260200191505060405180910390f35b341561047657600080fd5b6104a2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610f72565b005b34156104af57600080fd5b6104b7611012565b6040518082815260200191505060405180910390f35b34156104d857600080fd5b61050d600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611018565b6040518082815260200191505060405180910390f35b341561052e57600080fd5b61053661115a565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105775780820151818401525b60208101905061055b565b50505050905090810190601f1680156105a45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156105bd57600080fd5b6105e9600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506111f8565b6040518082815260200191505060405180910390f35b341561060a57600080fd5b61063f600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061120c565b604051808215151515815260200191505060405180910390f35b341561066457600080fd5b61066c61136c565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156106ad5780820151818401525b602081019050610691565b50505050905090810190601f1680156106da5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156106f357600080fd5b610709600480803590602001909190505061140a565b6040518082815260200191505060405180910390f35b341561072a57600080fd5b61075f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611494565b604051808215151515815260200191505060405180910390f35b341561078457600080fd5b61078c6114c5565b604051808215151515815260200191505060405180910390f35b34156107b157600080fd5b610829600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919050506114d8565b604051808215151515815260200191505060405180910390f35b341561084e57600080fd5b610883600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611653565b604051808215151515815260200191505060405180910390f35b34156108a857600080fd5b6108f3600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061179b565b6040518082815260200191505060405180910390f35b341561091457600080fd5b610940600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611823565b005b341561094d57600080fd5b61096560048080351515906020019091905050611b55565b005b341561097257600080fd5b61097a611bcf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60008060008373ffffffffffffffffffffffffffffffffffffffff1614156109e757600091506109f2565b823b90506000811191505b50919050565b60058054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a8e5780601f10610a6357610100808354040283529160200191610a8e565b820191906000526020600020905b815481529060010190602001808311610a7157829003601f168201915b505050505081565b600080601160009054906101000a900460ff161515610ab457600080fd5b6000831480610b3f57506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054145b1515610b4a57600080fd5b610b746000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff166109bc565b15610ca3576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663da682aeb3386866000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1515610c7957600080fd5b6102c65a03f11515610c8a57600080fd5b505050604051805190509050801515610ca257600080fd5b5b82600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040518082815260200191505060405180910390a3600191505b5092915050565b600a5481565b6000610da64361140a565b90505b90565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610f3757601160009054906101000a900460ff161515610e1f57600080fd5b81600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610eac5760009050610f45565b81600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b610f42848484611bf4565b90505b9392505050565b600660009054906101000a900460ff1681565b600d60009054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610fcd57600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b50565b60095481565b600080600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905014806110f6575081600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154811015156110b357fe5b906000526020600020900160005b5060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16115b156111045760009050611154565b61114c600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002083611f05565b9050611154565b5b92915050565b60088054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111f05780601f106111c5576101008083540402835291602001916111f0565b820191906000526020600020905b8154815290600101906020018083116111d357829003601f168201915b505050505081565b60006112048243611018565b90505b919050565b6000806000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561126d57600080fd5b611275610d9b565b9250848301915082821015151561128b57600080fd5b600954821115151561129c57600080fd5b6112a5866111f8565b905080858201101515156112b857600080fd5b6112c360108361212d565b61130d600b60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002086830161212d565b8573ffffffffffffffffffffffffffffffffffffffff1660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef876040518082815260200191505060405180910390a3600193505b5b50505092915050565b60078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156114025780601f106113d757610100808354040283529160200191611402565b820191906000526020600020905b8154815290600101906020018083116113e557829003601f168201915b505050505081565b600080601080549050148061146e5750816010600081548110151561142b57fe5b906000526020600020900160005b5060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16115b1561147c576000905061148f565b611487601083611f05565b905061148f565b5b919050565b6000601160009054906101000a900460ff1615156114b157600080fd5b6114bc338484611bf4565b90505b92915050565b601160009054906101000a900460ff1681565b60006114e48484610a96565b15156114ef57600080fd5b8373ffffffffffffffffffffffffffffffffffffffff16638f4ffcb1338530866040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b838110156115e55780820151818401525b6020810190506115c9565b50505050905090810190601f1680156116125780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b151561163357600080fd5b6102c65a03f1151561164457600080fd5b505050600190505b9392505050565b60008060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156116b357600080fd5b6116bb610d9b565b91508382101515156116cc57600080fd5b6116d5856111f8565b90508381101515156116e657600080fd5b6116f3601085840361212d565b61173d600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002085830361212d565b60008573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040518082815260200191505060405180910390a3600192505b5b505092915050565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490505b92915050565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561188157600080fd5b60008373ffffffffffffffffffffffffffffffffffffffff16141561191d576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561191857600080fd5b611b4f565b8291508173ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15156119c357600080fd5b6102c65a03f115156119d457600080fd5b5050506040518051905090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1515611aac57600080fd5b6102c65a03f11515611abd57600080fd5b50505060405180519050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c836040518082815260200191505060405180910390a35b5b505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611bb057600080fd5b80601160006101000a81548160ff0219169083151502179055505b5b50565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000806000851415611c0c5760019350611efb565b60008673ffffffffffffffffffffffffffffffffffffffff1614158015611c5f57503073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614155b1515611c6a57600080fd5b611c748743611018565b925084831015611c875760009350611efb565b611cb16000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff166109bc565b15611de0576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634a3931498888886000604051602001526040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1515611db657600080fd5b6102c65a03f11515611dc757600080fd5b505050604051805190509150811515611ddf57600080fd5b5b611e2a600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002086850361212d565b611e348643611018565b90508085820110151515611e4757600080fd5b611e91600b60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002086830161212d565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef876040518082815260200191505060405180910390a3600193505b5050509392505050565b600080600080600086805490501415611f215760009350612124565b856001878054905003815481101515611f3657fe5b906000526020600020900160005b5060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1685101515611fdc57856001878054905003815481101515611f9457fe5b906000526020600020900160005b5060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169350612124565b856000815481101515611feb57fe5b906000526020600020900160005b5060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1685101561203c5760009350612124565b60009250600186805490500391505b828211156120d257600260018484010181151561206457fe5b04905084868281548110151561207657fe5b906000526020600020900160005b5060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff161115156120c6578092506120cd565b6001810391505b61204b565b85838154811015156120e057fe5b906000526020600020900160005b5060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1693505b50505092915050565b60008060008480549050148061219757504384600186805490500381548110151561215457fe5b906000526020600020900160005b5060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16105b1561224857838480548091906001016121b091906122b1565b8154811015156121bc57fe5b906000526020600020900160005b509150438260000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550828260000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506122aa565b83600185805490500381548110151561225d57fe5b906000526020600020900160005b509050828160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505b5b50505050565b8154818355818115116122d8578183600052602060002091820191016122d791906122dd565b5b505050565b61233f91905b8082111561233b57600080820160006101000a8154906fffffffffffffffffffffffffffffffff02191690556000820160106101000a8154906fffffffffffffffffffffffffffffffff0219169055506001016122e3565b5090565b905600a165627a7a72305820c292171cd9072d6a7ccb4871264da470e1f49cce7c8eca4f13a9096a5935e9c700290000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000d54696d65204e65772042616e6b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003544e420000000000000000000000000000000000000000000000000000000000

    Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000d54696d65204e65772042616e6b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003544e420000000000000000000000000000000000000000000000000000000000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [5] : 54696d65204e65772042616e6b00000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 544e420000000000000000000000000000000000000000000000000000000000


   Swarm Source:
bzzr://c292171cd9072d6a7ccb4871264da470e1f49cce7c8eca4f13a9096a5935e9c7

 

View All
Block Age transaction Difficulty Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.