ETH Price: $2,419.60 (+0.74%)

Contract

0x0E73754A21442d1bd8F945669aC4aae0CD2B0934
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer49234302018-01-17 12:02:252453 days ago1516190545IN
FiinuToken
0 ETH0.0006251820
Transfer46705062017-12-03 21:25:282498 days ago1512336328IN
FiinuToken
0 ETH0.0003125910
Transfer46653832017-12-03 1:09:172499 days ago1512263357IN
FiinuToken
0 ETH0.0002310
Transfer46653532017-12-03 1:02:572499 days ago1512262977IN
FiinuToken
0 ETH0.0003125910
Transfer46653442017-12-03 0:59:572499 days ago1512262797IN
FiinuToken
0 ETH0.0002310
Transfer46377612017-11-28 12:30:442503 days ago1511872244IN
FiinuToken
0 ETH0.0009377730
Transfer46377452017-11-28 12:27:402503 days ago1511872060IN
FiinuToken
0 ETH0.0005532817.7
Transfer46377292017-11-28 12:23:412503 days ago1511871821IN
FiinuToken
0 ETH0.0005532817.7
Transfer46377112017-11-28 12:19:172503 days ago1511871557IN
FiinuToken
0 ETH0.0011628337.2
Transfer46377012017-11-28 12:17:022503 days ago1511871422IN
FiinuToken
0 ETH0.000375112
Transfer46376962017-11-28 12:15:332503 days ago1511871333IN
FiinuToken
0 ETH0.000375112
Transfer46376902017-11-28 12:14:292503 days ago1511871269IN
FiinuToken
0 ETH0.000375112
Transfer46376852017-11-28 12:13:272503 days ago1511871207IN
FiinuToken
0 ETH0.000764429.4
Transfer46376722017-11-28 12:09:222503 days ago1511870962IN
FiinuToken
0 ETH0.000282912.3
Change Controlle...43646722017-10-14 9:29:172548 days ago1507973357IN
FiinuToken
0 ETH0.0005742620
0x6060604043646492017-10-14 9:17:022548 days ago1507972622IN
 Create: FiinuToken
0 ETH0.0464762420

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FiinuToken

Compiler Version
v0.4.15+commit.bbb8e64f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2017-10-19
*/

pragma solidity ^0.4.15;

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

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

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

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

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

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

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

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

    /**
     * @dev Allows the current owner to transfer control of the contract to a newOwner.
     * @param newOwner The address to transfer ownership to.
     */
    function transferOwnership(address newOwner) onlyOwner public {
        require(newOwner != address(0));
        OwnershipTransferred(owner, newOwner);
        owner = newOwner;
    }

}


/*
    Copyright 2016, Jordi Baylina

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

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

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

/// @title MiniMeToken Contract
/// @author Jordi Baylina
/// @dev This token contract's goal is to make it easy for anyone to clone this
///  token using the token distribution at a given block, this will allow DAO's
///  and DApps to upgrade their features in a decentralized manner without
///  affecting the original token
/// @dev It is ERC20 compliant, but still needs to under go further testing.


/// @dev The token controller contract must implement these functions
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, uint256 _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, uint256 _amount)
    returns(bool);
}

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); _; }

    address public controller;

    function Controlled() { controller = msg.sender;}

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

contract ApproveAndCallFallBack {
    function receiveApproval(address from, uint256 _amount, address _token, bytes _data);
}

/// @dev The actual token contract, the default controller is the msg.sender
///  that deploys the contract, so usually this token will be deployed by a
///  token controller contract, which Giveth will call a "Campaign"
contract MiniMeToken is 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


    /// @dev `Checkpoint` is the structure that attaches a block number to a
    ///  given value, the block number attached is the one that last changed the
    ///  value
    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;
    }

    // `parentToken` is the Token address that was cloned to produce this token;
    //  it will be 0x0 for a token that was not cloned
    MiniMeToken public parentToken;

    // `parentSnapShotBlock` is the block number from the Parent Token that was
    //  used to determine the initial distribution of the Clone Token
    uint256 public parentSnapShotBlock;

    // `creationBlock` is the block number that the Clone Token was created
    uint256 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;

    // `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;

    // The factory used to create new clone tokens
    MiniMeTokenFactory public tokenFactory;

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

    /// @notice Constructor to create a MiniMeToken
    /// @param _tokenFactory The address of the MiniMeTokenFactory 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 MiniMeToken(
        address _tokenFactory,
        address _parentToken,
        uint256 _parentSnapShotBlock,
        string _tokenName,
        uint8 _decimalUnits,
        string _tokenSymbol,
        bool _transfersEnabled
    ) {
        tokenFactory = MiniMeTokenFactory(_tokenFactory);
        name = _tokenName;                                 // Set the name
        decimals = _decimalUnits;                          // Set the decimals
        symbol = _tokenSymbol;                             // Set the symbol
        parentToken = MiniMeToken(_parentToken);
        parentSnapShotBlock = _parentSnapShotBlock;
        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, uint256 _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)) {
            require(TokenController(controller).onTransfer(_from, _to, _amount));
        }

        // 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)) {
            require(TokenController(controller).onApprove(msg.sender, _spender, _amount));
        }

        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));

        ApproveAndCallFallBack(_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, uint256 _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(uint256 _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);
        }
    }

    ////////////////
    // Clone Token Method
    ////////////////

    /// @notice Creates a new clone token with the initial distribution being
    ///  this token at `_snapshotBlock`
    /// @param _cloneTokenName Name of the clone token
    /// @param _cloneDecimalUnits Number of decimals of the smallest unit
    /// @param _cloneTokenSymbol Symbol of the clone token
    /// @param _snapshotBlock Block when the distribution of the parent token is
    ///  copied to set the initial distribution of the new clone token;
    ///  if the block is zero than the actual block, the current block is used
    /// @param _transfersEnabled True if transfers are allowed in the clone
    /// @return The address of the new MiniMeToken Contract
    function createCloneToken(
    string _cloneTokenName,
    uint8 _cloneDecimalUnits,
    string _cloneTokenSymbol,
    uint256 _snapshotBlock,
    bool _transfersEnabled
    ) returns(address) {
        if (_snapshotBlock == 0) _snapshotBlock = block.number;
        MiniMeToken cloneToken = tokenFactory.createCloneToken(
        this,
        _snapshotBlock,
        _cloneTokenName,
        _cloneDecimalUnits,
        _cloneTokenSymbol,
        _transfersEnabled
        );

        cloneToken.changeController(msg.sender);

        // An event to make the token easy to find on the blockchain
        NewCloneToken(address(cloneToken), _snapshotBlock);
        return address(cloneToken);
    }

    ////////////////
    // 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, uint256 _amount
    ) onlyController returns (bool) {
        uint256 curTotalSupply = totalSupply();
        require(curTotalSupply + _amount >= curTotalSupply); // Check for overflow
        uint256 previousBalanceTo = balanceOf(_owner);
        require(previousBalanceTo + _amount >= previousBalanceTo); // Check for overflow
        updateValueAtNow(totalSupplyHistory, curTotalSupply + _amount);
        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, uint256 _amount
    ) onlyController returns (bool) {
        uint256 curTotalSupply = totalSupply();
        require(curTotalSupply >= _amount);
        uint256 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, uint256 _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
        uint256 min = 0;
        uint256 max = checkpoints.length-1;
        while (max > min) {
            uint256 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, uint256 _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) {
        uint256 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(uint256 a, uint256 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));
        require(TokenController(controller).proxyPayment.value(msg.value)(msg.sender));
    }

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

        MiniMeToken token = MiniMeToken(_token);
        uint256 balance = token.balanceOf(this);
        token.transfer(controller, balance);
        ClaimedTokens(_token, controller, balance);
    }

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

}

////////////////
// MiniMeTokenFactory
////////////////

/// @dev This contract is used to generate clone contracts from a contract.
///  In solidity this is the way to create a contract from a contract of the
///  same class
contract MiniMeTokenFactory {

    /// @notice Update the DApp by creating a new token with new functionalities
    ///  the msg.sender becomes the controller of this clone token
    /// @param _parentToken Address of the token being cloned
    /// @param _snapshotBlock Block of the parent token that will
    ///  determine the initial distribution of the clone 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
    /// @return The address of the new token contract
    function createCloneToken(
        address _parentToken,
        uint256 _snapshotBlock,
        string _tokenName,
        uint8 _decimalUnits,
        string _tokenSymbol,
        bool _transfersEnabled
    ) returns (MiniMeToken) {
        MiniMeToken newToken = new MiniMeToken(
            this,
            _parentToken,
            _snapshotBlock,
            _tokenName,
            _decimalUnits,
            _tokenSymbol,
            _transfersEnabled
        );

        newToken.changeController(msg.sender);
        return newToken;
    }
}

contract TokenBurner {
    function burn(address , uint256 )
    returns (bool result) {
        return false;
    }
}

contract FiinuToken is MiniMeToken, Ownable {

    TokenBurner public tokenBurner;

    function FiinuToken(address _tokenFactory)
    MiniMeToken(
        _tokenFactory,
        0x0,                     // no parent token
        0,                       // no snapshot block number from parent
        "Fiinu Token",           // Token name
        6,                       // Decimals
        "FNU",                   // Symbol
        true                    // Enable transfers
    )
    {}

    function setTokenBurner(address _tokenBurner) onlyOwner {
        tokenBurner = TokenBurner(_tokenBurner);
    }

    // allows a token holder to burn tokens
    // requires tokenBurner to be set to a valid contract address
    // tokenBurner can take any appropriate action
    function burn(uint256 _amount) {
        uint256 curTotalSupply = totalSupply();
        require(curTotalSupply >= _amount);
        uint256 previousBalanceFrom = balanceOf(msg.sender);
        require(previousBalanceFrom >= _amount);
        updateValueAtNow(totalSupplyHistory, curTotalSupply - _amount);
        updateValueAtNow(balances[msg.sender], previousBalanceFrom - _amount);
        assert(tokenBurner.burn(msg.sender, _amount));
        Transfer(msg.sender, 0, _amount);
    }

}

contract Milestones is Ownable {

    enum State { PreIco, IcoOpen, IcoClosed, IcoSuccessful, IcoFailed, BankLicenseSuccessful, BankLicenseFailed }

    event Milestone(string _announcement, State _state);

    State public state = State.PreIco;
    bool public tradingOpen = false;

    modifier inState(State _state) {
        require(state == _state);
        _;
    }

    modifier isTradingOpen() {
        require(tradingOpen);
        _;
    }

    function Milestone_OpenTheIco(string _announcement) onlyOwner inState(State.PreIco) {
        state = State.IcoOpen;
        Milestone(_announcement, state);
    }

    function Milestone_CloseTheIco(string _announcement) onlyOwner inState(State.IcoOpen) {
        state = State.IcoClosed;
        Milestone(_announcement, state);
    }

    function Milestone_IcoSuccessful(string _announcement) onlyOwner inState(State.IcoClosed) {
        state = State.IcoSuccessful;
        Milestone(_announcement, state);
    }

    function Milestone_IcoFailed(string _announcement) onlyOwner inState(State.IcoClosed) {
        state = State.IcoFailed;
        Milestone(_announcement, state);
    }

    function Milestone_BankLicenseSuccessful(string _announcement) onlyOwner inState(State.IcoSuccessful) {
        tradingOpen = true;
        state = State.BankLicenseSuccessful;
        Milestone(_announcement, state);
    }

    function Milestone_BankLicenseFailed(string _announcement) onlyOwner inState(State.IcoSuccessful) {
        state = State.BankLicenseFailed;
        Milestone(_announcement, state);
    }

}

contract Investors is Milestones {

    struct WhitelistEntry {
        uint256 max;
        uint256 total;
        bool init;
    }

    mapping(address => bool) internal admins;
    mapping(address => WhitelistEntry) approvedInvestors;

    modifier onlyAdmins() {
        require(admins[msg.sender] == true);
        _;
    }

    function manageInvestors(address _investors_wallet_address, uint256 _max_approved_investment) onlyAdmins {
        if(approvedInvestors[_investors_wallet_address].init){
            approvedInvestors[_investors_wallet_address].max = SafeMath.mul(_max_approved_investment, 10 ** 18); // ETH to WEI
            // clean up
            if(approvedInvestors[_investors_wallet_address].max == 0 && approvedInvestors[_investors_wallet_address].total == 0)
            delete approvedInvestors[_investors_wallet_address];
        }
        else{
            approvedInvestors[_investors_wallet_address] = WhitelistEntry(SafeMath.mul(_max_approved_investment, 10 ** 18), 0, true);
        }
    }

    function manageAdmins(address _address, bool _add) onlyOwner {
        admins[_address] = _add;
    }

}

contract FiinuCrowdSale is TokenController, Investors {
    using SafeMath for uint256;

    event Investment(address indexed _investor, uint256 _valueEth, uint256 _valueFnu);
    event RefundAdded(address indexed _refunder, uint256 _valueEth);
    event RefundEnabled(uint256 _valueEth);

    address wallet;
    address public staff_1 = 0x2717FCee32b2896E655Ad82EfF81987A34EFF3E7;
    address public staff_2 = 0x7ee4471C371e581Af42b280CD19Ed7593BD7D15F;
    address public staff_3 = 0xE6BeCcc43b48416CE69B6d03c2e44E2B7b8F77b4;
    address public staff_4 = 0x3369De7Ff98bd5C225a67E09ac81aFa7b5dF3d3d;

    uint256 constant minRaisedWei = 20000 ether;
    uint256 constant targetRaisedWei = 100000 ether;
    uint256 constant maxRaisedWei = 400000 ether;
    uint256 public raisedWei = 0;
    uint256 public refundWei = 0;

    bool public refundOpen = false;

    MiniMeToken public tokenContract;   // The new token for this Campaign

    function FiinuCrowdSale(address _wallet, address _tokenAddress) {
        wallet = _wallet; // multi sig wallet
        tokenContract = MiniMeToken(_tokenAddress);// The Deployed Token Contract
    }

    /////////////////
    // TokenController interface
    /////////////////

    /// @notice `proxyPayment()` returns false, meaning ether is not accepted at
    ///  the token address, only the address of FiinuCrowdSale
    /// @param _owner The address that will hold the newly created tokens

    function proxyPayment(address _owner) payable returns(bool) {
        return false;
    }

    /// @notice Notifies the controller about a transfer, for this Campaign all
    ///  transfers are allowed by default and no extra notifications are needed
    /// @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, uint256 _amount) returns(bool) {
        return tradingOpen;
    }

    /// @notice Notifies the controller about an approval, for this Campaign all
    ///  approvals are allowed by default and no extra notifications are needed
    /// @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, uint256 _amount)
    returns(bool)
    {
        return true;
    }

    function weiToFNU(uint256 _wei) public constant returns (uint){
        uint256 _return;
        // 1 FNU = 0.75 ETH
        if(state == State.PreIco){
            _return = _wei.add(_wei.div(3));
        }
        else {
            // 1 FNU = 1 ETH
            if(raisedWei < targetRaisedWei){
                _return = _wei;
            } else {
                // 1 FNU = raisedWei / targetRaisedWei
                _return = _wei.mul(targetRaisedWei).div(raisedWei);
            }
        }
        // WEI to FNU
        return _return.div(10 ** 12);
    }

    function () payable { // incoming investment in the state of PreIco or IcoOpen

        require(msg.value != 0); // incoming transaction must have value
        require(state == State.PreIco || state == State.IcoOpen);
        require(approvedInvestors[msg.sender].init == true); // is approved investor
        require(approvedInvestors[msg.sender].max >= approvedInvestors[msg.sender].total.add(msg.value)); // investment is not breaching max approved investment amount
        require(maxRaisedWei >= raisedWei.add(msg.value)); // investment is not breaching max raising limit

        uint256 _fnu = weiToFNU(msg.value);
        require(_fnu > 0);

        raisedWei = raisedWei.add(msg.value);
        approvedInvestors[msg.sender].total = approvedInvestors[msg.sender].total.add(msg.value); // increase total invested
        mint(msg.sender, _fnu); // Mint the tokens
        wallet.transfer(msg.value); // Move ETH to multi sig wallet
        Investment(msg.sender, msg.value, _fnu); // Announce investment
    }

    function refund() payable {
        require(msg.value != 0); // incoming transaction must have value
        require(state == State.IcoClosed || state == State.IcoSuccessful || state == State.IcoFailed || state == State.BankLicenseFailed);
        refundWei = refundWei.add(msg.value);
        RefundAdded(msg.sender, msg.value);
    }

    function Milestone_IcoSuccessful(string _announcement) onlyOwner {
        require(raisedWei >= minRaisedWei);
        uint256 _toBeAllocated = tokenContract.totalSupply();
        _toBeAllocated = _toBeAllocated.div(10);
        mint(staff_1, _toBeAllocated.mul(81).div(100)); // 81%
        mint(staff_2, _toBeAllocated.mul(9).div(100)); // 9%
        mint(staff_3, _toBeAllocated.mul(15).div(1000));  // 1.5%
        mint(staff_4, _toBeAllocated.mul(15).div(1000)); // 1.5%
        mint(owner, _toBeAllocated.mul(7).div(100)); // 7%
        super.Milestone_IcoSuccessful(_announcement);
    }

    function Milestone_IcoFailed(string _announcement) onlyOwner {
        require(raisedWei < minRaisedWei);
        super.Milestone_IcoFailed(_announcement);
    }

    function Milestone_BankLicenseFailed(string _announcement) onlyOwner {
        // remove staff allocations
        burn(staff_1);
        burn(staff_2);
        burn(staff_3);
        burn(staff_4);
        burn(owner);
        super.Milestone_BankLicenseFailed(_announcement);
    }

    function EnableRefund() onlyOwner {
        require(state == State.IcoFailed || state == State.BankLicenseFailed);
        require(refundWei > 0);
        refundOpen = true;
        RefundEnabled(refundWei);
    }

    // handle automatic refunds
    function RequestRefund() public {
        require(refundOpen);
        require(state == State.IcoFailed || state == State.BankLicenseFailed);
        require(tokenContract.balanceOf(msg.sender) > 0); // you must have some FNU to request refund
        // refund prorata against your ETH investment
        uint256 refundAmount = refundWei.mul(approvedInvestors[msg.sender].total).div(raisedWei);
        burn(msg.sender);
        msg.sender.transfer(refundAmount);
    }

    // minting possible only if State.PreIco and State.IcoOpen for () payable or State.IcoClosed for investFIAT()
    function mint(address _to, uint256 _tokens) internal {
        tokenContract.generateTokens(_to, _tokens);
    }

    // burning only in State.ICOcompleted for Milestone_BankLicenseFailed() or State.BankLicenseFailed for RequestRefund()
    function burn(address _address) internal {
        tokenContract.destroyTokens(_address, tokenContract.balanceOf(_address));
    }
}

contract ProfitSharing is Ownable {
    using SafeMath for uint256;

    event DividendDeposited(address indexed _depositor, uint256 _blockNumber, uint256 _amount, uint256 _totalSupply, uint256 _dividendIndex);
    event DividendClaimed(address indexed _claimer, uint256 _dividendIndex, uint256 _claim);
    event DividendRecycled(address indexed _recycler, uint256 _blockNumber, uint256 _amount, uint256 _totalSupply, uint256 _dividendIndex);

    MiniMeToken public token;

    uint256 public RECYCLE_TIME = 1 years;

    struct Dividend {
        uint256 blockNumber;
        uint256 timestamp;
        uint256 amount;
        uint256 claimedAmount;
        uint256 totalSupply;
        bool recycled;
        mapping (address => bool) claimed;
    }

    Dividend[] public dividends;

    mapping (address => uint256) dividendsClaimed;

    modifier validDividendIndex(uint256 _dividendIndex) {
        require(_dividendIndex < dividends.length);
        _;
    }

    function ProfitSharing(address _token) {
        token = MiniMeToken(_token);
    }

    function depositDividend() payable
    onlyOwner
    {
        uint256 currentSupply = token.totalSupplyAt(block.number);
        uint256 dividendIndex = dividends.length;
        uint256 blockNumber = SafeMath.sub(block.number, 1);
        dividends.push(
            Dividend(
                blockNumber,
                getNow(),
                msg.value,
                0,
                currentSupply,
                false
            )
        );
        DividendDeposited(msg.sender, blockNumber, msg.value, currentSupply, dividendIndex);
    }

    function claimDividend(uint256 _dividendIndex) public
    validDividendIndex(_dividendIndex)
    {
        Dividend storage dividend = dividends[_dividendIndex];
        require(dividend.claimed[msg.sender] == false);
        require(dividend.recycled == false);
        uint256 balance = token.balanceOfAt(msg.sender, dividend.blockNumber);
        uint256 claim = balance.mul(dividend.amount).div(dividend.totalSupply);
        dividend.claimed[msg.sender] = true;
        dividend.claimedAmount = SafeMath.add(dividend.claimedAmount, claim);
        if (claim > 0) {
            msg.sender.transfer(claim);
            DividendClaimed(msg.sender, _dividendIndex, claim);
        }
    }

    function claimDividendAll() public {
        require(dividendsClaimed[msg.sender] < dividends.length);
        for (uint256 i = dividendsClaimed[msg.sender]; i < dividends.length; i++) {
            if ((dividends[i].claimed[msg.sender] == false) && (dividends[i].recycled == false)) {
                dividendsClaimed[msg.sender] = SafeMath.add(i, 1);
                claimDividend(i);
            }
        }
    }

    function recycleDividend(uint256 _dividendIndex) public
    onlyOwner
    validDividendIndex(_dividendIndex)
    {
        Dividend storage dividend = dividends[_dividendIndex];
        require(dividend.recycled == false);
        require(dividend.timestamp < SafeMath.sub(getNow(), RECYCLE_TIME));
        dividends[_dividendIndex].recycled = true;
        uint256 currentSupply = token.totalSupplyAt(block.number);
        uint256 remainingAmount = SafeMath.sub(dividend.amount, dividend.claimedAmount);
        uint256 dividendIndex = dividends.length;
        uint256 blockNumber = SafeMath.sub(block.number, 1);
        dividends.push(
            Dividend(
                blockNumber,
                getNow(),
                remainingAmount,
                0,
                currentSupply,
                false
            )
        );
        DividendRecycled(msg.sender, blockNumber, remainingAmount, currentSupply, dividendIndex);
    }

    //Function is mocked for tests
    function getNow() internal constant returns (uint256) {
        return now;
    }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_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":"tokenBurner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_newController","type":"address"}],"name":"changeController","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"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":false,"inputs":[{"name":"_cloneTokenName","type":"string"},{"name":"_cloneDecimalUnits","type":"uint8"},{"name":"_cloneTokenSymbol","type":"string"},{"name":"_snapshotBlock","type":"uint256"},{"name":"_transfersEnabled","type":"bool"}],"name":"createCloneToken","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"parentToken","outputs":[{"name":"","type":"address"}],"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":"owner","outputs":[{"name":"","type":"address"}],"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":false,"inputs":[{"name":"_tokenBurner","type":"address"}],"name":"setTokenBurner","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"transfersEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"parentSnapShotBlock","outputs":[{"name":"","type":"uint256"}],"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":true,"inputs":[],"name":"tokenFactory","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","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":"_tokenFactory","type":"address"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"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":"_cloneToken","type":"address"},{"indexed":false,"name":"_snapshotBlock","type":"uint256"}],"name":"NewCloneToken","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"}]

606060405260408051908101604052600781527f4d4d545f302e3100000000000000000000000000000000000000000000000000602082015260049080516200004d929160200190620001bc565b5034156200005a57600080fd5b604051602080620020ab833981016040528080519150505b5b806000806040805190810160405280600b81526020017f4669696e7520546f6b656e000000000000000000000000000000000000000000815250600660408051908101604052600381527f464e550000000000000000000000000000000000000000000000000000000000602082015260015b5b60008054600160a060020a03191633600160a060020a03161790555b600b805461010060a860020a031916610100600160a060020a038a1602179055600184805162000138929160200190620001bc565b506002805460ff191660ff851617905560038280516200015d929160200190620001bc565b5060058054600160a060020a031916600160a060020a0388161790556006859055600b805460ff1916821515179055436007555b5050600c8054600160a060020a03191633600160a060020a031617905550505050505b5b5062000266565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001ff57805160ff19168380011785556200022f565b828001600101855582156200022f579182015b828111156200022f57825182559160200191906001019062000212565b5b506200023e92915062000242565b5090565b6200026391905b808211156200023e576000815560010162000249565b5090565b90565b611e3580620002766000396000f300606060405236156101645763ffffffff60e060020a60003504166306fdde03811461020b578063095ea7b31461029657806317634514146102cc57806318160ddd146102f157806323b872dd146103165780632996f97214610352578063313ce567146103815780633cebb823146103aa57806342966c68146103cb5780634ee2cd7e146103e357806354fd4d50146104175780636638c087146104a257806370a082311461056657806380a5400114610597578063827f32c0146105c65780638da5cb5b146105fc57806395d89b411461062b578063981b24d0146106b6578063a9059cbb146106de578063b0af768b14610714578063bef97c8714610735578063c5bcc4f11461075c578063cae9ca5114610781578063d3ce77fe146107fa578063dd62ed3e14610830578063df8de3e714610867578063e77772fe14610888578063f2fde38b146108b7578063f41e60c5146108d8578063f77c4791146108f2575b5b60005461017a90600160a060020a0316610921565b151561018557600080fd5b60008054600160a060020a03169063f48c305490349033906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390911660048201526024016020604051808303818588803b15156101e157600080fd5b6125ee5a03f115156101f257600080fd5b5050505060405180519050151561020857600080fd5b5b005b341561021657600080fd5b61021e61094e565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561025b5780820151818401525b602001610242565b50505050905090810190601f1680156102885780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102a157600080fd5b6102b8600160a060020a03600435166024356109ec565b604051901515815260200160405180910390f35b34156102d757600080fd5b6102df610b56565b60405190815260200160405180910390f35b34156102fc57600080fd5b6102df610b5c565b60405190815260200160405180910390f35b341561032157600080fd5b6102b8600160a060020a0360043581169060243516604435610b6d565b604051901515815260200160405180910390f35b341561035d57600080fd5b610365610c0f565b604051600160a060020a03909116815260200160405180910390f35b341561038c57600080fd5b610394610c1e565b60405160ff909116815260200160405180910390f35b34156103b557600080fd5b610208600160a060020a0360043516610c27565b005b34156103d657600080fd5b610208600435610c6f565b005b34156103ee57600080fd5b6102df600160a060020a0360043516602435610d87565b60405190815260200160405180910390f35b341561042257600080fd5b61021e610ecd565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561025b5780820151818401525b602001610242565b50505050905090810190601f1680156102885780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156104ad57600080fd5b61036560046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803560ff1690602001909190803590602001908201803590602001908080601f016020809104026020016040519081016040528181529291906020840183838082843750949650508435946020013515159350610f6b92505050565b604051600160a060020a03909116815260200160405180910390f35b341561057157600080fd5b6102df600160a060020a036004351661119b565b60405190815260200160405180910390f35b34156105a257600080fd5b6103656111af565b604051600160a060020a03909116815260200160405180910390f35b34156105d157600080fd5b6102b8600160a060020a03600435166024356111be565b604051901515815260200160405180910390f35b341561060757600080fd5b61036561127f565b604051600160a060020a03909116815260200160405180910390f35b341561063657600080fd5b61021e61128e565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561025b5780820151818401525b602001610242565b50505050905090810190601f1680156102885780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156106c157600080fd5b6102df60043561132c565b60405190815260200160405180910390f35b34156106e957600080fd5b6102b8600160a060020a0360043516602435611424565b604051901515815260200160405180910390f35b341561071f57600080fd5b610208600160a060020a036004351661144c565b005b341561074057600080fd5b6102b8611494565b604051901515815260200160405180910390f35b341561076757600080fd5b6102df61149d565b60405190815260200160405180910390f35b341561078c57600080fd5b6102b860048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506114a395505050505050565b604051901515815260200160405180910390f35b341561080557600080fd5b6102b8600160a060020a03600435166024356115c1565b604051901515815260200160405180910390f35b341561083b57600080fd5b6102df600160a060020a036004358116906024351661167c565b60405190815260200160405180910390f35b341561087257600080fd5b610208600160a060020a03600435166116a9565b005b341561089357600080fd5b610365611856565b604051600160a060020a03909116815260200160405180910390f35b34156108c257600080fd5b610208600160a060020a036004351661186a565b005b34156108e357600080fd5b6102086004351515611903565b005b34156108fd57600080fd5b610365611931565b604051600160a060020a03909116815260200160405180910390f35b600080600160a060020a038316151561093d5760009150610948565b823b90506000811191505b50919050565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b505050505081565b600b5460009060ff161515610a0057600080fd5b811580610a305750600160a060020a03338116600090815260096020908152604080832093871683529290522054155b1515610a3b57600080fd5b600054610a5090600160a060020a0316610921565b15610aeb5760008054600160a060020a03169063da682aeb903390869086906040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610ac557600080fd5b6102c65a03f11515610ad657600080fd5b505050604051805190501515610aeb57600080fd5b5b600160a060020a03338116600081815260096020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60075481565b6000610b674361132c565b90505b90565b6000805433600160a060020a03908116911614610bfa57600b5460ff161515610b9557600080fd5b600160a060020a038085166000908152600960209081526040808320339094168352929052205482901015610bcc57506000610c08565b600160a060020a03808516600090815260096020908152604080832033909416835292905220805483900390555b610c05848484611940565b90505b9392505050565b600d54600160a060020a031681565b60025460ff1681565b60005433600160a060020a03908116911614610c4257600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600080610c7a610b5c565b915082821015610c8957600080fd5b610c923361119b565b905082811015610ca157600080fd5b610cae600a848403611b0d565b600160a060020a0333166000908152600860205260409020610cd290848303611b0d565b600d54600160a060020a0316639dc29fac338560006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610d3157600080fd5b6102c65a03f11515610d4257600080fd5b505050604051805190501515610d5457fe5b600033600160a060020a0316600080516020611dea8339815191528560405190815260200160405180910390a35b505050565b600160a060020a0382166000908152600860205260408120541580610de75750600160a060020a038316600090815260086020526040812080548492908110610dcc57fe5b906000526020600020900160005b50546001608060020a0316115b15610e9d57600554600160a060020a031615610e9057600554600654600160a060020a0390911690634ee2cd7e908590610e22908690611c10565b60006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610e6e57600080fd5b6102c65a03f11515610e7f57600080fd5b505050604051805190509050610b50565b506000610b50565b610b50565b600160a060020a0383166000908152600860205260409020610ebf9083611c2a565b9050610b50565b5b92915050565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b505050505081565b600080831515610f79574393505b600b546101009004600160a060020a0316635b7b72c130868a8a8a8960006040516020015260405160e060020a63ffffffff8916028152600160a060020a038716600482019081526024820187905260ff8516606483015282151560a483015260c0604483019081529091608481019060c40187818151815260200191508051906020019080838360005b8381101561101d5780820151818401525b602001611004565b50505050905090810190601f16801561104a5780820380516001836020036101000a031916815260200191505b50838103825285818151815260200191508051906020019080838360005b838110156110815780820151818401525b602001611068565b50505050905090810190601f1680156110ae5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b15156110d257600080fd5b6102c65a03f115156110e357600080fd5b5050506040518051915050600160a060020a038116633cebb8233360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561113c57600080fd5b6102c65a03f1151561114d57600080fd5b50505080600160a060020a03167f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade8560405190815260200160405180910390a28091505b5095945050505050565b60006111a78243610d87565b90505b919050565b600554600160a060020a031681565b600080548190819033600160a060020a039081169116146111de57600080fd5b6111e6610b5c565b9150838201829010156111f857600080fd5b6112018561119b565b90508381018190101561121357600080fd5b611220600a858401611b0d565b600160a060020a038516600090815260086020526040902061124490828601611b0d565b84600160a060020a03166000600080516020611dea8339815191528660405190815260200160405180910390a3600192505b5b505092915050565b600c54600160a060020a031681565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b505050505081565b600a546000901580611365575081600a600081548110151561134a57fe5b906000526020600020900160005b50546001608060020a0316115b1561140c57600554600160a060020a0316156113ff57600554600654600160a060020a039091169063981b24d09061139e908590611c10565b60006040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b15156113dd57600080fd5b6102c65a03f115156113ee57600080fd5b5050506040518051905090506111aa565b5060006111aa565b6111aa565b611417600a83611c2a565b90506111aa565b5b919050565b600b5460009060ff16151561143857600080fd5b611443338484611940565b90505b92915050565b600c5433600160a060020a0390811691161461146757600080fd5b600d805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600b5460ff1681565b60065481565b60006114af84846109ec565b15156114ba57600080fd5b83600160a060020a0316638f4ffcb1338530866040518563ffffffff1660e060020a0281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156115535780820151818401525b60200161153a565b50505050905090810190601f1680156115805780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15156115a157600080fd5b6102c65a03f115156115b257600080fd5b505050600190505b9392505050565b600080548190819033600160a060020a039081169116146115e157600080fd5b6115e9610b5c565b9150838210156115f857600080fd5b6116018561119b565b90508381101561161057600080fd5b61161d600a858403611b0d565b600160a060020a038516600090815260086020526040902061164190858303611b0d565b600085600160a060020a0316600080516020611dea8339815191528660405190815260200160405180910390a3600192505b5b505092915050565b600160a060020a038083166000908152600960209081526040808320938516835292905220545b92915050565b60008054819033600160a060020a039081169116146116c757600080fd5b600160a060020a038316151561171557600054600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561171057600080fd5b610d82565b82915081600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561176f57600080fd5b6102c65a03f1151561178057600080fd5b505050604051805160008054919350600160a060020a03808616935063a9059cbb92169084906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156117f057600080fd5b6102c65a03f1151561180157600080fd5b50505060405180515050600054600160a060020a039081169084167ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c8360405190815260200160405180910390a35b5b505050565b600b546101009004600160a060020a031681565b600c5433600160a060020a0390811691161461188557600080fd5b600160a060020a038116151561189a57600080fd5b600c54600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3600c805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60005433600160a060020a0390811691161461191e57600080fd5b600b805460ff19168215151790555b5b50565b600054600160a060020a031681565b600080808315156119545760019250611b04565b60065443901061196357600080fd5b600160a060020a0385161580159061198d575030600160a060020a031685600160a060020a031614155b151561199857600080fd5b6119a28643610d87565b9150838210156119b55760009250611b04565b6000546119ca90600160a060020a0316610921565b15611a655760008054600160a060020a031690634a393149908890889088906040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515611a3f57600080fd5b6102c65a03f11515611a5057600080fd5b505050604051805190501515611a6557600080fd5b5b600160a060020a0386166000908152600860205260409020611a8a90858403611b0d565b611a948543610d87565b905083810181901015611aa657600080fd5b600160a060020a0385166000908152600860205260409020611aca90828601611b0d565b84600160a060020a031686600160a060020a0316600080516020611dea8339815191528660405190815260200160405180910390a3600192505b50509392505050565b815460009081901580611b4a57508354439085906000198101908110611b2f57fe5b906000526020600020900160005b50546001608060020a0316105b15611bc05783548490611b608260018301611d9e565b81548110611b6a57fe5b906000526020600020900160005b5080546001608060020a03858116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161781559150611c09565b835484906000198101908110611bd257fe5b906000526020600020900160005b5080546001608060020a0380861670010000000000000000000000000000000002911617815590505b5b50505050565b6000818310611c1f5781611443565b825b90505b92915050565b600080600080858054905060001415611c465760009350611d95565b855486906000198101908110611c5857fe5b906000526020600020900160005b50546001608060020a03168510611cbd57855486906000198101908110611c8957fe5b906000526020600020900160005b505470010000000000000000000000000000000090046001608060020a03169350611d95565b856000815481101515611ccc57fe5b906000526020600020900160005b50546001608060020a0316851015611cf55760009350611d95565b8554600093506000190191505b82821115611d575760026001838501015b049050848682815481101515611d2557fe5b906000526020600020900160005b50546001608060020a031611611d4b57809250611d52565b6001810391505b611d02565b8583815481101515611d6557fe5b906000526020600020900160005b505470010000000000000000000000000000000090046001608060020a031693505b50505092915050565b815481835581811511610d8257600083815260209020610d82918101908301611dc8565b5b505050565b610b6a91905b80821115611de25760008155600101611dce565b5090565b905600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820befd8b88ff00bfbb79a3e110c1cf57434992fb06120d859cfe5232207b61d345002900000000000000000000000054c31704c1052ffa9922fb769277e9e5bafc0d92

Deployed Bytecode

0x606060405236156101645763ffffffff60e060020a60003504166306fdde03811461020b578063095ea7b31461029657806317634514146102cc57806318160ddd146102f157806323b872dd146103165780632996f97214610352578063313ce567146103815780633cebb823146103aa57806342966c68146103cb5780634ee2cd7e146103e357806354fd4d50146104175780636638c087146104a257806370a082311461056657806380a5400114610597578063827f32c0146105c65780638da5cb5b146105fc57806395d89b411461062b578063981b24d0146106b6578063a9059cbb146106de578063b0af768b14610714578063bef97c8714610735578063c5bcc4f11461075c578063cae9ca5114610781578063d3ce77fe146107fa578063dd62ed3e14610830578063df8de3e714610867578063e77772fe14610888578063f2fde38b146108b7578063f41e60c5146108d8578063f77c4791146108f2575b5b60005461017a90600160a060020a0316610921565b151561018557600080fd5b60008054600160a060020a03169063f48c305490349033906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390911660048201526024016020604051808303818588803b15156101e157600080fd5b6125ee5a03f115156101f257600080fd5b5050505060405180519050151561020857600080fd5b5b005b341561021657600080fd5b61021e61094e565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561025b5780820151818401525b602001610242565b50505050905090810190601f1680156102885780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102a157600080fd5b6102b8600160a060020a03600435166024356109ec565b604051901515815260200160405180910390f35b34156102d757600080fd5b6102df610b56565b60405190815260200160405180910390f35b34156102fc57600080fd5b6102df610b5c565b60405190815260200160405180910390f35b341561032157600080fd5b6102b8600160a060020a0360043581169060243516604435610b6d565b604051901515815260200160405180910390f35b341561035d57600080fd5b610365610c0f565b604051600160a060020a03909116815260200160405180910390f35b341561038c57600080fd5b610394610c1e565b60405160ff909116815260200160405180910390f35b34156103b557600080fd5b610208600160a060020a0360043516610c27565b005b34156103d657600080fd5b610208600435610c6f565b005b34156103ee57600080fd5b6102df600160a060020a0360043516602435610d87565b60405190815260200160405180910390f35b341561042257600080fd5b61021e610ecd565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561025b5780820151818401525b602001610242565b50505050905090810190601f1680156102885780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156104ad57600080fd5b61036560046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803560ff1690602001909190803590602001908201803590602001908080601f016020809104026020016040519081016040528181529291906020840183838082843750949650508435946020013515159350610f6b92505050565b604051600160a060020a03909116815260200160405180910390f35b341561057157600080fd5b6102df600160a060020a036004351661119b565b60405190815260200160405180910390f35b34156105a257600080fd5b6103656111af565b604051600160a060020a03909116815260200160405180910390f35b34156105d157600080fd5b6102b8600160a060020a03600435166024356111be565b604051901515815260200160405180910390f35b341561060757600080fd5b61036561127f565b604051600160a060020a03909116815260200160405180910390f35b341561063657600080fd5b61021e61128e565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561025b5780820151818401525b602001610242565b50505050905090810190601f1680156102885780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156106c157600080fd5b6102df60043561132c565b60405190815260200160405180910390f35b34156106e957600080fd5b6102b8600160a060020a0360043516602435611424565b604051901515815260200160405180910390f35b341561071f57600080fd5b610208600160a060020a036004351661144c565b005b341561074057600080fd5b6102b8611494565b604051901515815260200160405180910390f35b341561076757600080fd5b6102df61149d565b60405190815260200160405180910390f35b341561078c57600080fd5b6102b860048035600160a060020a03169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506114a395505050505050565b604051901515815260200160405180910390f35b341561080557600080fd5b6102b8600160a060020a03600435166024356115c1565b604051901515815260200160405180910390f35b341561083b57600080fd5b6102df600160a060020a036004358116906024351661167c565b60405190815260200160405180910390f35b341561087257600080fd5b610208600160a060020a03600435166116a9565b005b341561089357600080fd5b610365611856565b604051600160a060020a03909116815260200160405180910390f35b34156108c257600080fd5b610208600160a060020a036004351661186a565b005b34156108e357600080fd5b6102086004351515611903565b005b34156108fd57600080fd5b610365611931565b604051600160a060020a03909116815260200160405180910390f35b600080600160a060020a038316151561093d5760009150610948565b823b90506000811191505b50919050565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b505050505081565b600b5460009060ff161515610a0057600080fd5b811580610a305750600160a060020a03338116600090815260096020908152604080832093871683529290522054155b1515610a3b57600080fd5b600054610a5090600160a060020a0316610921565b15610aeb5760008054600160a060020a03169063da682aeb903390869086906040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515610ac557600080fd5b6102c65a03f11515610ad657600080fd5b505050604051805190501515610aeb57600080fd5b5b600160a060020a03338116600081815260096020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60075481565b6000610b674361132c565b90505b90565b6000805433600160a060020a03908116911614610bfa57600b5460ff161515610b9557600080fd5b600160a060020a038085166000908152600960209081526040808320339094168352929052205482901015610bcc57506000610c08565b600160a060020a03808516600090815260096020908152604080832033909416835292905220805483900390555b610c05848484611940565b90505b9392505050565b600d54600160a060020a031681565b60025460ff1681565b60005433600160a060020a03908116911614610c4257600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600080610c7a610b5c565b915082821015610c8957600080fd5b610c923361119b565b905082811015610ca157600080fd5b610cae600a848403611b0d565b600160a060020a0333166000908152600860205260409020610cd290848303611b0d565b600d54600160a060020a0316639dc29fac338560006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610d3157600080fd5b6102c65a03f11515610d4257600080fd5b505050604051805190501515610d5457fe5b600033600160a060020a0316600080516020611dea8339815191528560405190815260200160405180910390a35b505050565b600160a060020a0382166000908152600860205260408120541580610de75750600160a060020a038316600090815260086020526040812080548492908110610dcc57fe5b906000526020600020900160005b50546001608060020a0316115b15610e9d57600554600160a060020a031615610e9057600554600654600160a060020a0390911690634ee2cd7e908590610e22908690611c10565b60006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610e6e57600080fd5b6102c65a03f11515610e7f57600080fd5b505050604051805190509050610b50565b506000610b50565b610b50565b600160a060020a0383166000908152600860205260409020610ebf9083611c2a565b9050610b50565b5b92915050565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b505050505081565b600080831515610f79574393505b600b546101009004600160a060020a0316635b7b72c130868a8a8a8960006040516020015260405160e060020a63ffffffff8916028152600160a060020a038716600482019081526024820187905260ff8516606483015282151560a483015260c0604483019081529091608481019060c40187818151815260200191508051906020019080838360005b8381101561101d5780820151818401525b602001611004565b50505050905090810190601f16801561104a5780820380516001836020036101000a031916815260200191505b50838103825285818151815260200191508051906020019080838360005b838110156110815780820151818401525b602001611068565b50505050905090810190601f1680156110ae5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b15156110d257600080fd5b6102c65a03f115156110e357600080fd5b5050506040518051915050600160a060020a038116633cebb8233360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561113c57600080fd5b6102c65a03f1151561114d57600080fd5b50505080600160a060020a03167f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade8560405190815260200160405180910390a28091505b5095945050505050565b60006111a78243610d87565b90505b919050565b600554600160a060020a031681565b600080548190819033600160a060020a039081169116146111de57600080fd5b6111e6610b5c565b9150838201829010156111f857600080fd5b6112018561119b565b90508381018190101561121357600080fd5b611220600a858401611b0d565b600160a060020a038516600090815260086020526040902061124490828601611b0d565b84600160a060020a03166000600080516020611dea8339815191528660405190815260200160405180910390a3600192505b5b505092915050565b600c54600160a060020a031681565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b505050505081565b600a546000901580611365575081600a600081548110151561134a57fe5b906000526020600020900160005b50546001608060020a0316115b1561140c57600554600160a060020a0316156113ff57600554600654600160a060020a039091169063981b24d09061139e908590611c10565b60006040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b15156113dd57600080fd5b6102c65a03f115156113ee57600080fd5b5050506040518051905090506111aa565b5060006111aa565b6111aa565b611417600a83611c2a565b90506111aa565b5b919050565b600b5460009060ff16151561143857600080fd5b611443338484611940565b90505b92915050565b600c5433600160a060020a0390811691161461146757600080fd5b600d805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600b5460ff1681565b60065481565b60006114af84846109ec565b15156114ba57600080fd5b83600160a060020a0316638f4ffcb1338530866040518563ffffffff1660e060020a0281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156115535780820151818401525b60200161153a565b50505050905090810190601f1680156115805780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15156115a157600080fd5b6102c65a03f115156115b257600080fd5b505050600190505b9392505050565b600080548190819033600160a060020a039081169116146115e157600080fd5b6115e9610b5c565b9150838210156115f857600080fd5b6116018561119b565b90508381101561161057600080fd5b61161d600a858403611b0d565b600160a060020a038516600090815260086020526040902061164190858303611b0d565b600085600160a060020a0316600080516020611dea8339815191528660405190815260200160405180910390a3600192505b5b505092915050565b600160a060020a038083166000908152600960209081526040808320938516835292905220545b92915050565b60008054819033600160a060020a039081169116146116c757600080fd5b600160a060020a038316151561171557600054600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561171057600080fd5b610d82565b82915081600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561176f57600080fd5b6102c65a03f1151561178057600080fd5b505050604051805160008054919350600160a060020a03808616935063a9059cbb92169084906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156117f057600080fd5b6102c65a03f1151561180157600080fd5b50505060405180515050600054600160a060020a039081169084167ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c8360405190815260200160405180910390a35b5b505050565b600b546101009004600160a060020a031681565b600c5433600160a060020a0390811691161461188557600080fd5b600160a060020a038116151561189a57600080fd5b600c54600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3600c805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60005433600160a060020a0390811691161461191e57600080fd5b600b805460ff19168215151790555b5b50565b600054600160a060020a031681565b600080808315156119545760019250611b04565b60065443901061196357600080fd5b600160a060020a0385161580159061198d575030600160a060020a031685600160a060020a031614155b151561199857600080fd5b6119a28643610d87565b9150838210156119b55760009250611b04565b6000546119ca90600160a060020a0316610921565b15611a655760008054600160a060020a031690634a393149908890889088906040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b1515611a3f57600080fd5b6102c65a03f11515611a5057600080fd5b505050604051805190501515611a6557600080fd5b5b600160a060020a0386166000908152600860205260409020611a8a90858403611b0d565b611a948543610d87565b905083810181901015611aa657600080fd5b600160a060020a0385166000908152600860205260409020611aca90828601611b0d565b84600160a060020a031686600160a060020a0316600080516020611dea8339815191528660405190815260200160405180910390a3600192505b50509392505050565b815460009081901580611b4a57508354439085906000198101908110611b2f57fe5b906000526020600020900160005b50546001608060020a0316105b15611bc05783548490611b608260018301611d9e565b81548110611b6a57fe5b906000526020600020900160005b5080546001608060020a03858116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161781559150611c09565b835484906000198101908110611bd257fe5b906000526020600020900160005b5080546001608060020a0380861670010000000000000000000000000000000002911617815590505b5b50505050565b6000818310611c1f5781611443565b825b90505b92915050565b600080600080858054905060001415611c465760009350611d95565b855486906000198101908110611c5857fe5b906000526020600020900160005b50546001608060020a03168510611cbd57855486906000198101908110611c8957fe5b906000526020600020900160005b505470010000000000000000000000000000000090046001608060020a03169350611d95565b856000815481101515611ccc57fe5b906000526020600020900160005b50546001608060020a0316851015611cf55760009350611d95565b8554600093506000190191505b82821115611d575760026001838501015b049050848682815481101515611d2557fe5b906000526020600020900160005b50546001608060020a031611611d4b57809250611d52565b6001810391505b611d02565b8583815481101515611d6557fe5b906000526020600020900160005b505470010000000000000000000000000000000090046001608060020a031693505b50505092915050565b815481835581811511610d8257600083815260209020610d82918101908301611dc8565b5b505050565b610b6a91905b80821115611de25760008155600101611dce565b5090565b905600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820befd8b88ff00bfbb79a3e110c1cf57434992fb06120d859cfe5232207b61d3450029

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

00000000000000000000000054c31704c1052ffa9922fb769277e9e5bafc0d92

-----Decoded View---------------
Arg [0] : _tokenFactory (address): 0x54c31704C1052FfA9922fb769277E9E5baFC0d92

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000054c31704c1052ffa9922fb769277e9e5bafc0d92


Swarm Source

bzzr://befd8b88ff00bfbb79a3e110c1cf57434992fb06120d859cfe5232207b61d345

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.