ETH Price: $3,157.73 (+0.15%)
Gas: 6 Gwei

Contract

0xA60b1f1b6E8e05b65647B6C3701B624093700B57
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Start194431842024-03-15 22:01:1136 days ago1710540071IN
0xA60b1f1b...093700B57
0 ETH0.0057382442.0520085
Start194419122024-03-15 17:44:1137 days ago1710524651IN
0xA60b1f1b...093700B57
0 ETH0.0063600246.60449619
End193483412024-03-02 15:20:5950 days ago1709392859IN
0xA60b1f1b...093700B57
0 ETH0.0112257750.61762051
Start190426442024-01-19 18:17:1193 days ago1705688231IN
0xA60b1f1b...093700B57
0 ETH0.0046152732.67312064
Start190390002024-01-19 6:04:4793 days ago1705644287IN
0xA60b1f1b...093700B57
0 ETH0.0027555419.50742297
Start189069162023-12-31 17:22:35112 days ago1704043355IN
0xA60b1f1b...093700B57
0 ETH0.0026242718.57811484
Start188886432023-12-29 3:44:35114 days ago1703821475IN
0xA60b1f1b...093700B57
0 ETH0.0028704821.03409895
Start188845052023-12-28 13:48:47115 days ago1703771327IN
0xA60b1f1b...093700B57
0 ETH0.0054771640.13519262
Start188844902023-12-28 13:45:35115 days ago1703771135IN
0xA60b1f1b...093700B57
0 ETH0.0046787734.28480602
End188839552023-12-28 11:56:59115 days ago1703764619IN
0xA60b1f1b...093700B57
0 ETH0.0070513231.79480422
End188055432023-12-17 11:47:59126 days ago1702813679IN
0xA60b1f1b...093700B57
0 ETH0.0077323134.8635198
End186465902023-11-25 5:21:11148 days ago1700889671IN
0xA60b1f1b...093700B57
0 ETH0.0054448121.27078776
End185919362023-11-17 13:36:59156 days ago1700228219IN
0xA60b1f1b...093700B57
0 ETH0.008840437.00835299
Start185871012023-11-16 21:21:59157 days ago1700169719IN
0xA60b1f1b...093700B57
0 ETH0.0045371138.01327617
End185758432023-11-15 7:35:47158 days ago1700033747IN
0xA60b1f1b...093700B57
0 ETH0.0065311227.34105977
Start185593812023-11-13 0:22:59160 days ago1699834979IN
0xA60b1f1b...093700B57
0 ETH0.0072477351.30922904
End185339422023-11-09 10:58:47164 days ago1699527527IN
0xA60b1f1b...093700B57
0 ETH0.0090926738.06440626
End185273492023-11-08 12:50:47165 days ago1699447847IN
0xA60b1f1b...093700B57
0 ETH0.0070234929.40226823
End185020802023-11-04 23:56:23168 days ago1699142183IN
0xA60b1f1b...093700B57
0 ETH0.0062563928.20888905
End185020742023-11-04 23:54:59168 days ago1699142099IN
0xA60b1f1b...093700B57
0 ETH0.0062563928.20888905
Start184612732023-10-30 6:45:35174 days ago1698648335IN
0xA60b1f1b...093700B57
0 ETH0.0025980519.03782111
End184144092023-10-23 17:18:35181 days ago1698081515IN
0xA60b1f1b...093700B57
0 ETH0.0053759642.13766962
End183953702023-10-21 1:19:59183 days ago1697851199IN
0xA60b1f1b...093700B57
0 ETH0.002050378.58344731
End183899302023-10-20 7:04:23184 days ago1697785463IN
0xA60b1f1b...093700B57
0 ETH0.001750687.32848492
End183899262023-10-20 7:03:23184 days ago1697785403IN
0xA60b1f1b...093700B57
0 ETH0.001766896.90256875
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DualStaking

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2023-06-14
*/

// SPDX-License-Identifier: MIT

// Dual Staking contract for DeFi Platform. Easy access for projects to have asset to asset staking earning interest based on APY % 
// from token to another desired token or currency from the same chain.

pragma solidity ^0.8.2;

/**
 * @title Owner
 * @dev Set & change owner
 */
contract Owner {

    address private owner;
    
    // event for EVM logging
    event OwnerSet(address indexed oldOwner, address indexed newOwner);
    
    // modifier to check if caller is owner
    modifier isOwner() {
        // If the first argument of 'require' evaluates to 'false', execution terminates and all
        // changes to the state and to Ether balances are reverted.
        // This used to consume all gas in old EVM versions, but not anymore.
        // It is often a good idea to use 'require' to check if functions are called correctly.
        // As a second argument, you can also provide an explanation about what went wrong.
        require(msg.sender == owner, "Caller is not owner");
        _;
    }
    
    /**
     * @dev Set contract deployer as owner
     */
    constructor(address _owner) {
        owner = _owner;
        emit OwnerSet(address(0), owner);
    }

    /**
     * @dev Change owner
     * @param newOwner address of new owner
     */
    function changeOwner(address newOwner) public isOwner {
        emit OwnerSet(owner, newOwner);
        owner = newOwner;
    }

    /**
     * @dev Return owner address 
     * @return address of owner
     */
    function getOwner() public view returns (address) {
        return owner;
    }
}

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// Using consensys implementation of ERC-20, because of decimals

// Abstract contract for the full ERC 20 Token standard
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md

abstract contract EIP20Interface {
    /* This is a slight change to the EIP20 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
    uint256 public totalSupply;

    /// @param _owner The address from which the balance will be retrieved
    /// @return balance The balance
    function balanceOf(address _owner) virtual public view 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 success Whether the transfer was successful or not
    function transfer(address _to, uint256 _value) virtual public 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 success Whether the transfer was successful or not
    function transferFrom(address _from, address _to, uint256 _value) virtual public 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 success Whether the approval was successful or not
    function approve(address _spender, uint256 _value) virtual public 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 remaining Amount of remaining tokens allowed to spent
    function allowance(address _owner, address _spender) virtual public view returns (uint256 remaining);

    // solhint-disable-next-line no-simple-event-func-name
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

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

contract EIP20 is EIP20Interface {

    uint256 constant private MAX_UINT256 = 2**256 - 1;
    mapping (address => uint256) public balances;
    mapping (address => mapping (address => uint256)) public allowed;
    /*
    NOTE:
    The following variables are OPTIONAL vanities. One does not have to include them.
    They allow one to customise the token contract & in no way influences the core functionality.
    Some wallets/interfaces might not even bother to look at this information.
    */
    string public name;                   //fancy name: eg Simon Bucks
    uint8 public decimals;                //How many decimals to show.
    string public symbol;                 //An identifier: eg SBX

    constructor(
        uint256 _initialAmount,
        string memory _tokenName,
        uint8 _decimalUnits,
        string memory _tokenSymbol
    ) {
        balances[msg.sender] = _initialAmount;               // Give the creator all initial tokens
        totalSupply = _initialAmount;                        // Update total supply
        name = _tokenName;                                   // Set the name for display purposes
        decimals = _decimalUnits;                            // Amount of decimals for display purposes
        symbol = _tokenSymbol;                               // Set the symbol for display purposes
    }

    function transfer(address _to, uint256 _value) override public returns (bool success) {
        require(balances[msg.sender] >= _value);
        balances[msg.sender] -= _value;
        balances[_to] += _value;
        emit Transfer(msg.sender, _to, _value); //solhint-disable-line indent, no-unused-vars
        return true;
    }

    function transferFrom(address _from, address _to, uint256 _value) override public returns (bool success) {
        uint256 the_allowance = allowed[_from][msg.sender];
        require(balances[_from] >= _value && the_allowance >= _value);
        balances[_to] += _value;
        balances[_from] -= _value;
        if (the_allowance < MAX_UINT256) {
            allowed[_from][msg.sender] -= _value;
        }
        emit Transfer(_from, _to, _value); //solhint-disable-line indent, no-unused-vars
        return true;
    }

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

    function approve(address _spender, uint256 _value) override public returns (bool success) {
        allowed[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value); //solhint-disable-line indent, no-unused-vars
        return true;
    }

    function allowance(address _owner, address _spender) override public view returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }
}

/**
 * 
 * Dual Staking is an interest gain contract for ERC-20 tokens to earn revenue staking token A and earn token B
 * 
 * asset is the EIP20 token to deposit in
 * asset2 is the EIP20 token to get interest in
 * interest_rate: percentage earning rate of token1 based on APY (annual yield)
 * interest_rate2: percentage earning rate of token2 based on APY (annual yield)
 * maturity is the time in seconds after which is safe to end the stake
 * penalization is for ending a stake before maturity time of the stake taking loss quitting the commitment
 * lower_amount is the minimum amount for creating the stake in tokens
 * 
 */
contract DualStaking is Owner, ReentrancyGuard {

    // Token to deposit
    EIP20 public asset;

    // Token to pay interest in | (Can be the same but suggested to use Single Staking for this)
    EIP20 public asset2;

    // stakes history
    struct Record {
        uint256 from;
        uint256 amount;
        uint256 gain;
        uint256 gain2;
        uint256 penalization;
        uint256 to;
        bool ended;
    }

    // contract parameters
    uint16 public interest_rate;
    uint16 public interest_rate2;
    uint256 public maturity;
    uint8 public penalization;
    uint256 public lower_amount;

    // conversion ratio for token1 and token2
    // 1:10 ratio will be: 
    // ratio1 = 1 
    // ratio2 = 10
    uint256 public ratio1;
    uint256 public ratio2;

    mapping(address => Record[]) public ledger;

    event StakeStart(address indexed user, uint256 value, uint256 index);
    event StakeEnd(address indexed user, uint256 value, uint256 penalty, uint256 interest, uint256 index);
    
    constructor(
        EIP20 _erc20, EIP20 _erc20_2, address _owner, uint16 _rate, uint16 _rate2, uint256 _maturity, 
        uint8 _penalization, uint256 _lower, uint256 _ratio1, uint256 _ratio2) Owner(_owner) {
        require(_penalization<=100, "Penalty has to be an integer between 0 and 100");
        asset = _erc20;
        asset2 = _erc20_2;
        ratio1 = _ratio1;
        ratio2 = _ratio2;
        interest_rate = _rate;
        interest_rate2 = _rate2;
        maturity = _maturity;
        penalization = _penalization;
        lower_amount = _lower;
    }
    
    function start(uint256 _value) external nonReentrant {
        require(_value >= lower_amount, "Invalid value");
        require(asset.transferFrom(msg.sender, address(this), _value));
        ledger[msg.sender].push(Record(block.timestamp, _value, 0, 0, 0, 0, false));
        emit StakeStart(msg.sender, _value, ledger[msg.sender].length-1);
    }

    function end(uint256 i) external nonReentrant {

        require(i < ledger[msg.sender].length, "Invalid index");
        require(ledger[msg.sender][i].ended==false, "Invalid stake");
        
        // penalization
        if(block.timestamp - ledger[msg.sender][i].from < maturity) {

            uint256 _penalization = ledger[msg.sender][i].amount * penalization / 100;
            require(asset.transfer(msg.sender, ledger[msg.sender][i].amount - _penalization));
            require(asset.transfer(getOwner(), _penalization));
            ledger[msg.sender][i].penalization = _penalization;
            ledger[msg.sender][i].to = block.timestamp;
            ledger[msg.sender][i].ended = true;
            emit StakeEnd(msg.sender, ledger[msg.sender][i].amount, _penalization, 0, i);

        // interest gained
        } else {
            
            // interest is calculated in asset2
            uint256 _interest = get_gains(msg.sender, i);

            // check that the owner can pay interest before trying to pay, token 1
            if (_interest>0 && asset.allowance(getOwner(), address(this)) >= _interest && asset.balanceOf(getOwner()) >= _interest) {
                require(asset.transferFrom(getOwner(), msg.sender, _interest));
            } else {
                _interest = 0;
            }

            // interest is calculated in asset2
            uint256 _interest2 = get_gains2(msg.sender, i);

            // check that the owner can pay interest before trying to pay, token 1
            if (_interest2>0 && asset2.allowance(getOwner(), address(this)) >= _interest2 && asset2.balanceOf(getOwner()) >= _interest2) {
                require(asset2.transferFrom(getOwner(), msg.sender, _interest2));
            } else {
                _interest2 = 0;
            }

            // the original asset is returned to the investor
            require(asset.transfer(msg.sender, ledger[msg.sender][i].amount));
            ledger[msg.sender][i].gain = _interest;
            ledger[msg.sender][i].gain2 = _interest2;
            ledger[msg.sender][i].to = block.timestamp;
            ledger[msg.sender][i].ended = true;
            emit StakeEnd(msg.sender, ledger[msg.sender][i].amount, 0, _interest, i);

        }
    }

    function set(EIP20 _erc20, EIP20 _erc20_2, uint256 _lower, uint256 _maturity, uint16 _rate, uint16 _rate2, uint8 _penalization, uint256 _ratio1, uint256 _ratio2) external isOwner {
        require(_penalization<=100, "Invalid value");
        asset = _erc20;
        asset2 = _erc20_2;
        ratio1 = _ratio1;
        ratio2 = _ratio2;
        lower_amount = _lower;
        maturity = _maturity;
        interest_rate = _rate;
        interest_rate2 = _rate2;
        penalization = _penalization;
    }

    // calculate interest of the token 1 to the current date time
    function get_gains(address _address, uint256 _rec_number) public view returns (uint256) {
        uint256 _record_seconds = block.timestamp - ledger[_address][_rec_number].from;
        uint256 _year_seconds = 365*24*60*60;
        return _record_seconds * 
            ledger[_address][_rec_number].amount * interest_rate / 100
        / _year_seconds;
    }

    // calculate interest to the current date time
    function get_gains2(address _address, uint256 _rec_number) public view returns (uint256) {
        uint256 _record_seconds = block.timestamp - ledger[_address][_rec_number].from;
        uint256 _year_seconds = 365*24*60*60;
        
        /**
         *
         * Oririginal code:
         * 
         *   // now we calculate the value of the transforming the staked asset (asset) into the asset2
         *   // first we calculate the ratio
         *   uint256 value_in_asset2 = ledger[_address][_rec_number].amount * ratio2 / ratio1;
         *   // now we transform into decimals of the asset2
         *   value_in_asset2 = value_in_asset2 * 10**asset2.decimals() / 10**asset.decimals();
         *   uint256 interest = _record_seconds * value_in_asset2 * interest_rate2 / 100 / _year_seconds;
         *   // now lets calculate the interest rate based on the converted value in asset 2
         *
         * Simplified into:
         * 
         */

        return (_record_seconds * ledger[_address][_rec_number].amount * ratio2 * 10**asset2.decimals() * interest_rate2) / 
               (ratio1 * 10**asset.decimals() * 100 * _year_seconds);

    }

    function ledger_length(address _address) external view 
        returns (uint256) {
        return ledger[_address].length;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract EIP20","name":"_erc20","type":"address"},{"internalType":"contract EIP20","name":"_erc20_2","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint16","name":"_rate","type":"uint16"},{"internalType":"uint16","name":"_rate2","type":"uint16"},{"internalType":"uint256","name":"_maturity","type":"uint256"},{"internalType":"uint8","name":"_penalization","type":"uint8"},{"internalType":"uint256","name":"_lower","type":"uint256"},{"internalType":"uint256","name":"_ratio1","type":"uint256"},{"internalType":"uint256","name":"_ratio2","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"penalty","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"interest","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"StakeEnd","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"StakeStart","type":"event"},{"inputs":[],"name":"asset","outputs":[{"internalType":"contract EIP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"asset2","outputs":[{"internalType":"contract EIP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"end","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_rec_number","type":"uint256"}],"name":"get_gains","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_rec_number","type":"uint256"}],"name":"get_gains2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"interest_rate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"interest_rate2","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"ledger","outputs":[{"internalType":"uint256","name":"from","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"gain","type":"uint256"},{"internalType":"uint256","name":"gain2","type":"uint256"},{"internalType":"uint256","name":"penalization","type":"uint256"},{"internalType":"uint256","name":"to","type":"uint256"},{"internalType":"bool","name":"ended","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"ledger_length","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lower_amount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maturity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"penalization","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ratio1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ratio2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract EIP20","name":"_erc20","type":"address"},{"internalType":"contract EIP20","name":"_erc20_2","type":"address"},{"internalType":"uint256","name":"_lower","type":"uint256"},{"internalType":"uint256","name":"_maturity","type":"uint256"},{"internalType":"uint16","name":"_rate","type":"uint16"},{"internalType":"uint16","name":"_rate2","type":"uint16"},{"internalType":"uint8","name":"_penalization","type":"uint8"},{"internalType":"uint256","name":"_ratio1","type":"uint256"},{"internalType":"uint256","name":"_ratio2","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162001a7338038062001a738339810160408190526200003491620001ab565b600080546001600160a01b0319166001600160a01b038a1690811782556040518a92907f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a735908290a35060018055606460ff85161115620000f15760405162461bcd60e51b815260206004820152602e60248201527f50656e616c74792068617320746f20626520616e20696e74656765722062657460448201526d07765656e203020616e64203130360941b606482015260840160405180910390fd5b600280546001600160a01b0319166001600160a01b039b8c1617905560038054600793909355600891909155979098166001600160b01b031990981697909717600160a01b61ffff958616021761ffff60b01b1916600160b01b939094169290920292909217909355600455506005805460ff191660ff90921691909117905560065562000267565b6001600160a01b03811681146200019057600080fd5b50565b805161ffff81168114620001a657600080fd5b919050565b6000806000806000806000806000806101408b8d031215620001cc57600080fd5b8a51620001d9816200017a565b60208c0151909a50620001ec816200017a565b60408c0151909950620001ff816200017a565b97506200020f60608c0162000193565b96506200021f60808c0162000193565b955060a08b0151945060c08b015160ff811681146200023d57600080fd5b8094505060e08b015192506101008b015191506101208b015190509295989b9194979a5092959850565b6117fc80620002776000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80639665e82a116100a2578063cbb3d80811610071578063cbb3d8081461026e578063d36a1b8614610296578063d3ae9fa0146102ab578063e9423bf2146102be578063f44c0a64146102d157600080fd5b80639665e82a14610216578063a6f9dae11461021f578063aa4c0dd914610232578063b7f8f9ea1461025b57600080fd5b80634a5064a9116100e95780634a5064a91461018057806357ca87401461018957806374f1ca3a146101a8578063893d20e8146101f257806395805dad1461020357600080fd5b80630ad245281461011b5780630c98c9c114610130578063204f83f91461014c57806338d52e0f14610155575b600080fd5b61012e6101293660046114c8565b6102e4565b005b61013960065481565b6040519081526020015b60405180910390f35b61013960045481565b600254610168906001600160a01b031681565b6040516001600160a01b039091168152602001610143565b61013960085481565b6005546101969060ff1681565b60405160ff9091168152602001610143565b6101bb6101b63660046114f9565b610de9565b604080519788526020880196909652948601939093526060850191909152608084015260a0830152151560c082015260e001610143565b6000546001600160a01b0316610168565b61012e6102113660046114c8565b610e46565b61013960075481565b61012e61022d366004611525565b611050565b610139610240366004611525565b6001600160a01b031660009081526009602052604090205490565b6101396102693660046114f9565b6110fb565b60035461028390600160a01b900461ffff1681565b60405161ffff9091168152602001610143565b60035461028390600160b01b900461ffff1681565b61012e6102b936600461156f565b6111d3565b600354610168906001600160a01b031681565b6101396102df3660046114f9565b6112f1565b60026001540361033b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260015533600090815260096020526040902054811061038e5760405162461bcd60e51b815260206004820152600d60248201526c092dcecc2d8d2c840d2dcc8caf609b1b6044820152606401610332565b3360009081526009602052604090208054829081106103af576103af611603565b600091825260209091206006600790920201015460ff16156104035760405162461bcd60e51b815260206004820152600d60248201526c496e76616c6964207374616b6560981b6044820152606401610332565b60045433600090815260096020526040902080548390811061042757610427611603565b90600052602060002090600702016000015442610444919061162f565b1015610778576005543360009081526009602052604081208054919260649260ff90911691908590811061047a5761047a611603565b9060005260206000209060070201600101546104969190611642565b6104a09190611659565b60025433600081815260096020526040902080549394506001600160a01b039092169263a9059cbb928591879081106104db576104db611603565b9060005260206000209060070201600101546104f7919061162f565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610542573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610566919061167b565b61056f57600080fd5b6002546001600160a01b031663a9059cbb6105926000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156105df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610603919061167b565b61060c57600080fd5b33600090815260096020526040902080548291908490811061063057610630611603565b9060005260206000209060070201600401819055504260096000336001600160a01b03166001600160a01b03168152602001908152602001600020838154811061067c5761067c611603565b906000526020600020906007020160050181905550600160096000336001600160a01b03166001600160a01b0316815260200190815260200160002083815481106106c9576106c9611603565b60009182526020808320600792909202909101600601805460ff1916931515939093179092553380825260099092526040902080547f1deb31f039e2645a4e97af07659090228d39e7f992bfaf37af3838ad9665e23a91908590811061073157610731611603565b6000918252602082206001600790920201015460405161076a928691889093845260208401929092526040830152606082015260800190565b60405180910390a250610de2565b600061078433836110fb565b9050600081118015610827575060025481906001600160a01b031663dd62ed3e6107b66000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381865afa158015610800573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610824919061169d565b10155b80156108be575060025481906001600160a01b03166370a082316108536000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610897573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bb919061169d565b10155b1561096b576002546001600160a01b03166323b872dd6108e66000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152336024820152604481018490526064016020604051808303816000875af1158015610939573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095d919061167b565b61096657600080fd5b61096f565b5060005b600061097b33846112f1565b9050600081118015610a1e575060035481906001600160a01b031663dd62ed3e6109ad6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381865afa1580156109f7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1b919061169d565b10155b8015610ab5575060035481906001600160a01b03166370a08231610a4a6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610a8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab2919061169d565b10155b15610b62576003546001600160a01b03166323b872dd610add6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152336024820152604481018490526064016020604051808303816000875af1158015610b30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b54919061167b565b610b5d57600080fd5b610b66565b5060005b60025433600081815260096020526040902080546001600160a01b039093169263a9059cbb92919087908110610b9e57610b9e611603565b60009182526020909120600160079092020101546040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610bfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c21919061167b565b610c2a57600080fd5b336000908152600960205260409020805483919085908110610c4e57610c4e611603565b9060005260206000209060070201600201819055508060096000336001600160a01b03166001600160a01b031681526020019081526020016000208481548110610c9a57610c9a611603565b9060005260206000209060070201600301819055504260096000336001600160a01b03166001600160a01b031681526020019081526020016000208481548110610ce657610ce6611603565b906000526020600020906007020160050181905550600160096000336001600160a01b03166001600160a01b031681526020019081526020016000208481548110610d3357610d33611603565b60009182526020808320600792909202909101600601805460ff1916931515939093179092553380825260099092526040902080547f1deb31f039e2645a4e97af07659090228d39e7f992bfaf37af3838ad9665e23a919086908110610d9b57610d9b611603565b90600052602060002090600702016001015460008587604051610dd7949392919093845260208401929092526040830152606082015260800190565b60405180910390a250505b5060018055565b60096020528160005260406000208181548110610e0557600080fd5b600091825260209091206007909102018054600182015460028301546003840154600485015460058601546006909601549497509295509093909260ff1687565b600260015403610e985760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610332565b6002600155600654811015610edf5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610332565b6002546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303816000875af1158015610f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5a919061167b565b610f6357600080fd5b336000818152600960208181526040808420815160e081018352428152808401888152928101868152606082018781526080830188815260a0840189815260c085018a8152865460018082018955888d528a8d20975160079092029097019081559751888701559351600288015591516003870155516004860155516005850155516006909301805460ff1916931515939093179092559385905291905290547f01030a23696d25d6138e45b2944d465c807d48422a2700ae29527f92b6cb439c918491611031919061162f565b6040805192835260208301919091520160405180910390a25060018055565b6000546001600160a01b031633146110a05760405162461bcd60e51b815260206004820152601360248201527221b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610332565b600080546040516001600160a01b03808516939216917f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a73591a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216600090815260096020526040812080548291908490811061112857611128611603565b90600052602060002090600702016000015442611145919061162f565b6003546001600160a01b038616600090815260096020526040902080549293506301e13380928392606492600160a01b90910461ffff16918890811061118d5761118d611603565b906000526020600020906007020160010154856111aa9190611642565b6111b49190611642565b6111be9190611659565b6111c89190611659565b925050505b92915050565b6000546001600160a01b031633146112235760405162461bcd60e51b815260206004820152601360248201527221b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610332565b60648360ff1611156112675760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610332565b600280546001600160a01b0319166001600160a01b039a8b1617905560038054600793909355600891909155600696909655600494909455949095166001600160b01b031990921691909117600160a01b61ffff928316021761ffff60b01b1916600160b01b9490911693909302929092179091556005805460ff191660ff909216919091179055565b6001600160a01b038216600090815260096020526040812080548291908490811061131e5761131e611603565b9060005260206000209060070201600001544261133b919061162f565b6002546040805163313ce56760e01b815290519293506301e133809283926001600160a01b03169163313ce5679160048083019260209291908290030181865afa15801561138d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b191906116b6565b6113bc90600a6117b7565b6007546113c99190611642565b6113d4906064611642565b6113de9190611642565b6003546040805163313ce56760e01b8152905161ffff600160b01b840416926001600160a01b03169163313ce5679160048083019260209291908290030181865afa158015611431573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145591906116b6565b61146090600a6117b7565b6008546001600160a01b038916600090815260096020526040902080548990811061148d5761148d611603565b906000526020600020906007020160010154866114aa9190611642565b6114b49190611642565b6114be9190611642565b6111be9190611642565b6000602082840312156114da57600080fd5b5035919050565b6001600160a01b03811681146114f657600080fd5b50565b6000806040838503121561150c57600080fd5b8235611517816114e1565b946020939093013593505050565b60006020828403121561153757600080fd5b8135611542816114e1565b9392505050565b803561ffff8116811461155b57600080fd5b919050565b60ff811681146114f657600080fd5b60008060008060008060008060006101208a8c03121561158e57600080fd5b8935611599816114e1565b985060208a01356115a9816114e1565b975060408a0135965060608a013595506115c560808b01611549565b94506115d360a08b01611549565b935060c08a01356115e381611560565b8093505060e08a013591506101008a013590509295985092959850929598565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156111cd576111cd611619565b80820281158282048414176111cd576111cd611619565b60008261167657634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561168d57600080fd5b8151801515811461154257600080fd5b6000602082840312156116af57600080fd5b5051919050565b6000602082840312156116c857600080fd5b815161154281611560565b600181815b8085111561170e5781600019048211156116f4576116f4611619565b8085161561170157918102915b93841c93908002906116d8565b509250929050565b600082611725575060016111cd565b81611732575060006111cd565b816001811461174857600281146117525761176e565b60019150506111cd565b60ff84111561176357611763611619565b50506001821b6111cd565b5060208310610133831016604e8410600b8410161715611791575081810a6111cd565b61179b83836116d3565b80600019048211156117af576117af611619565b029392505050565b600061154260ff84168361171656fea2646970667358221220ae99f78aa3ceaefb3818c2678bd581169335b12c65e859df73be794f7979bb6d64736f6c634300081200330000000000000000000000004be2b2c45b432ba362f198c08094017b61e3bdc600000000000000000000000095ad61b0a150d79219dcf64e1e6cc01f0b64c4ce0000000000000000000000000de2035e9619a137ba4ca77c89afc2c70954f2e90000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000004f1a00000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c80639665e82a116100a2578063cbb3d80811610071578063cbb3d8081461026e578063d36a1b8614610296578063d3ae9fa0146102ab578063e9423bf2146102be578063f44c0a64146102d157600080fd5b80639665e82a14610216578063a6f9dae11461021f578063aa4c0dd914610232578063b7f8f9ea1461025b57600080fd5b80634a5064a9116100e95780634a5064a91461018057806357ca87401461018957806374f1ca3a146101a8578063893d20e8146101f257806395805dad1461020357600080fd5b80630ad245281461011b5780630c98c9c114610130578063204f83f91461014c57806338d52e0f14610155575b600080fd5b61012e6101293660046114c8565b6102e4565b005b61013960065481565b6040519081526020015b60405180910390f35b61013960045481565b600254610168906001600160a01b031681565b6040516001600160a01b039091168152602001610143565b61013960085481565b6005546101969060ff1681565b60405160ff9091168152602001610143565b6101bb6101b63660046114f9565b610de9565b604080519788526020880196909652948601939093526060850191909152608084015260a0830152151560c082015260e001610143565b6000546001600160a01b0316610168565b61012e6102113660046114c8565b610e46565b61013960075481565b61012e61022d366004611525565b611050565b610139610240366004611525565b6001600160a01b031660009081526009602052604090205490565b6101396102693660046114f9565b6110fb565b60035461028390600160a01b900461ffff1681565b60405161ffff9091168152602001610143565b60035461028390600160b01b900461ffff1681565b61012e6102b936600461156f565b6111d3565b600354610168906001600160a01b031681565b6101396102df3660046114f9565b6112f1565b60026001540361033b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260015533600090815260096020526040902054811061038e5760405162461bcd60e51b815260206004820152600d60248201526c092dcecc2d8d2c840d2dcc8caf609b1b6044820152606401610332565b3360009081526009602052604090208054829081106103af576103af611603565b600091825260209091206006600790920201015460ff16156104035760405162461bcd60e51b815260206004820152600d60248201526c496e76616c6964207374616b6560981b6044820152606401610332565b60045433600090815260096020526040902080548390811061042757610427611603565b90600052602060002090600702016000015442610444919061162f565b1015610778576005543360009081526009602052604081208054919260649260ff90911691908590811061047a5761047a611603565b9060005260206000209060070201600101546104969190611642565b6104a09190611659565b60025433600081815260096020526040902080549394506001600160a01b039092169263a9059cbb928591879081106104db576104db611603565b9060005260206000209060070201600101546104f7919061162f565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610542573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610566919061167b565b61056f57600080fd5b6002546001600160a01b031663a9059cbb6105926000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156105df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610603919061167b565b61060c57600080fd5b33600090815260096020526040902080548291908490811061063057610630611603565b9060005260206000209060070201600401819055504260096000336001600160a01b03166001600160a01b03168152602001908152602001600020838154811061067c5761067c611603565b906000526020600020906007020160050181905550600160096000336001600160a01b03166001600160a01b0316815260200190815260200160002083815481106106c9576106c9611603565b60009182526020808320600792909202909101600601805460ff1916931515939093179092553380825260099092526040902080547f1deb31f039e2645a4e97af07659090228d39e7f992bfaf37af3838ad9665e23a91908590811061073157610731611603565b6000918252602082206001600790920201015460405161076a928691889093845260208401929092526040830152606082015260800190565b60405180910390a250610de2565b600061078433836110fb565b9050600081118015610827575060025481906001600160a01b031663dd62ed3e6107b66000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381865afa158015610800573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610824919061169d565b10155b80156108be575060025481906001600160a01b03166370a082316108536000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610897573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bb919061169d565b10155b1561096b576002546001600160a01b03166323b872dd6108e66000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152336024820152604481018490526064016020604051808303816000875af1158015610939573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095d919061167b565b61096657600080fd5b61096f565b5060005b600061097b33846112f1565b9050600081118015610a1e575060035481906001600160a01b031663dd62ed3e6109ad6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152306024820152604401602060405180830381865afa1580156109f7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1b919061169d565b10155b8015610ab5575060035481906001600160a01b03166370a08231610a4a6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610a8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab2919061169d565b10155b15610b62576003546001600160a01b03166323b872dd610add6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152336024820152604481018490526064016020604051808303816000875af1158015610b30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b54919061167b565b610b5d57600080fd5b610b66565b5060005b60025433600081815260096020526040902080546001600160a01b039093169263a9059cbb92919087908110610b9e57610b9e611603565b60009182526020909120600160079092020101546040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610bfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c21919061167b565b610c2a57600080fd5b336000908152600960205260409020805483919085908110610c4e57610c4e611603565b9060005260206000209060070201600201819055508060096000336001600160a01b03166001600160a01b031681526020019081526020016000208481548110610c9a57610c9a611603565b9060005260206000209060070201600301819055504260096000336001600160a01b03166001600160a01b031681526020019081526020016000208481548110610ce657610ce6611603565b906000526020600020906007020160050181905550600160096000336001600160a01b03166001600160a01b031681526020019081526020016000208481548110610d3357610d33611603565b60009182526020808320600792909202909101600601805460ff1916931515939093179092553380825260099092526040902080547f1deb31f039e2645a4e97af07659090228d39e7f992bfaf37af3838ad9665e23a919086908110610d9b57610d9b611603565b90600052602060002090600702016001015460008587604051610dd7949392919093845260208401929092526040830152606082015260800190565b60405180910390a250505b5060018055565b60096020528160005260406000208181548110610e0557600080fd5b600091825260209091206007909102018054600182015460028301546003840154600485015460058601546006909601549497509295509093909260ff1687565b600260015403610e985760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610332565b6002600155600654811015610edf5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610332565b6002546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303816000875af1158015610f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5a919061167b565b610f6357600080fd5b336000818152600960208181526040808420815160e081018352428152808401888152928101868152606082018781526080830188815260a0840189815260c085018a8152865460018082018955888d528a8d20975160079092029097019081559751888701559351600288015591516003870155516004860155516005850155516006909301805460ff1916931515939093179092559385905291905290547f01030a23696d25d6138e45b2944d465c807d48422a2700ae29527f92b6cb439c918491611031919061162f565b6040805192835260208301919091520160405180910390a25060018055565b6000546001600160a01b031633146110a05760405162461bcd60e51b815260206004820152601360248201527221b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610332565b600080546040516001600160a01b03808516939216917f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a73591a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216600090815260096020526040812080548291908490811061112857611128611603565b90600052602060002090600702016000015442611145919061162f565b6003546001600160a01b038616600090815260096020526040902080549293506301e13380928392606492600160a01b90910461ffff16918890811061118d5761118d611603565b906000526020600020906007020160010154856111aa9190611642565b6111b49190611642565b6111be9190611659565b6111c89190611659565b925050505b92915050565b6000546001600160a01b031633146112235760405162461bcd60e51b815260206004820152601360248201527221b0b63632b91034b9903737ba1037bbb732b960691b6044820152606401610332565b60648360ff1611156112675760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610332565b600280546001600160a01b0319166001600160a01b039a8b1617905560038054600793909355600891909155600696909655600494909455949095166001600160b01b031990921691909117600160a01b61ffff928316021761ffff60b01b1916600160b01b9490911693909302929092179091556005805460ff191660ff909216919091179055565b6001600160a01b038216600090815260096020526040812080548291908490811061131e5761131e611603565b9060005260206000209060070201600001544261133b919061162f565b6002546040805163313ce56760e01b815290519293506301e133809283926001600160a01b03169163313ce5679160048083019260209291908290030181865afa15801561138d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b191906116b6565b6113bc90600a6117b7565b6007546113c99190611642565b6113d4906064611642565b6113de9190611642565b6003546040805163313ce56760e01b8152905161ffff600160b01b840416926001600160a01b03169163313ce5679160048083019260209291908290030181865afa158015611431573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145591906116b6565b61146090600a6117b7565b6008546001600160a01b038916600090815260096020526040902080548990811061148d5761148d611603565b906000526020600020906007020160010154866114aa9190611642565b6114b49190611642565b6114be9190611642565b6111be9190611642565b6000602082840312156114da57600080fd5b5035919050565b6001600160a01b03811681146114f657600080fd5b50565b6000806040838503121561150c57600080fd5b8235611517816114e1565b946020939093013593505050565b60006020828403121561153757600080fd5b8135611542816114e1565b9392505050565b803561ffff8116811461155b57600080fd5b919050565b60ff811681146114f657600080fd5b60008060008060008060008060006101208a8c03121561158e57600080fd5b8935611599816114e1565b985060208a01356115a9816114e1565b975060408a0135965060608a013595506115c560808b01611549565b94506115d360a08b01611549565b935060c08a01356115e381611560565b8093505060e08a013591506101008a013590509295985092959850929598565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156111cd576111cd611619565b80820281158282048414176111cd576111cd611619565b60008261167657634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561168d57600080fd5b8151801515811461154257600080fd5b6000602082840312156116af57600080fd5b5051919050565b6000602082840312156116c857600080fd5b815161154281611560565b600181815b8085111561170e5781600019048211156116f4576116f4611619565b8085161561170157918102915b93841c93908002906116d8565b509250929050565b600082611725575060016111cd565b81611732575060006111cd565b816001811461174857600281146117525761176e565b60019150506111cd565b60ff84111561176357611763611619565b50506001821b6111cd565b5060208310610133831016604e8410600b8410161715611791575081810a6111cd565b61179b83836116d3565b80600019048211156117af576117af611619565b029392505050565b600061154260ff84168361171656fea2646970667358221220ae99f78aa3ceaefb3818c2678bd581169335b12c65e859df73be794f7979bb6d64736f6c63430008120033

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

0000000000000000000000004be2b2c45b432ba362f198c08094017b61e3bdc600000000000000000000000095ad61b0a150d79219dcf64e1e6cc01f0b64c4ce0000000000000000000000000de2035e9619a137ba4ca77c89afc2c70954f2e90000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000004f1a00000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : _erc20 (address): 0x4bE2b2C45b432BA362f198c08094017b61E3BDc6
Arg [1] : _erc20_2 (address): 0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE
Arg [2] : _owner (address): 0x0dE2035E9619A137BA4cA77c89AFC2C70954F2e9
Arg [3] : _rate (uint16): 1
Arg [4] : _rate2 (uint16): 2
Arg [5] : _maturity (uint256): 5184000
Arg [6] : _penalization (uint8): 10
Arg [7] : _lower (uint256): 0
Arg [8] : _ratio1 (uint256): 1
Arg [9] : _ratio2 (uint256): 1

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000004be2b2c45b432ba362f198c08094017b61e3bdc6
Arg [1] : 00000000000000000000000095ad61b0a150d79219dcf64e1e6cc01f0b64c4ce
Arg [2] : 0000000000000000000000000de2035e9619a137ba4ca77c89afc2c70954f2e9
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 00000000000000000000000000000000000000000000000000000000004f1a00
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000001


Deployed Bytecode Sourcemap

10512:6677:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12532:2303;;;;;;:::i;:::-;;:::i;:::-;;11126:27;;;;;;;;;345:25:1;;;333:2;318:18;11126:27:0;;;;;;;;11064:23;;;;;;10593:18;;;;;-1:-1:-1;;;;;10593:18:0;;;;;;-1:-1:-1;;;;;558:32:1;;;540:51;;528:2;513:18;10593::0;381:216:1;11306:21:0;;;;;;11094:25;;;;;;;;;;;;774:4:1;762:17;;;744:36;;732:2;717:18;11094:25:0;602:184:1;11336:42:0;;;;;;:::i;:::-;;:::i;:::-;;;;1556:25:1;;;1612:2;1597:18;;1590:34;;;;1640:18;;;1633:34;;;;1698:2;1683:18;;1676:34;;;;1741:3;1726:19;;1719:35;1785:3;1770:19;;1763:35;1842:14;1835:22;1829:3;1814:19;;1807:51;1543:3;1528:19;11336:42:0;1247:617:1;1574:81:0;1615:7;1642:5;-1:-1:-1;;;;;1642:5:0;1574:81;;12170:354;;;;;;:::i;:::-;;:::i;11278:21::-;;;;;;1350:130;;;;;;:::i;:::-;;:::i;17052:132::-;;;;;;:::i;:::-;-1:-1:-1;;;;;17153:16:0;17126:7;17153:16;;;:6;:16;;;;;:23;;17052:132;15435:365;;;;;;:::i;:::-;;:::i;10995:27::-;;;;;-1:-1:-1;;;10995:27:0;;;;;;;;;2503:6:1;2491:19;;;2473:38;;2461:2;2446:18;10995:27:0;2329:188:1;11029:28:0;;;;;-1:-1:-1;;;11029:28:0;;;;;;14843:517;;;;;;:::i;:::-;;:::i;10718:19::-;;;;;-1:-1:-1;;;;;10718:19:0;;;15860:1184;;;;;;:::i;:::-;;:::i;12532:2303::-;3313:1;3911:7;;:19;3903:63;;;;-1:-1:-1;;;3903:63:0;;3985:2:1;3903:63:0;;;3967:21:1;4024:2;4004:18;;;3997:30;4063:33;4043:18;;;4036:61;4114:18;;3903:63:0;;;;;;;;;3313:1;4044:7;:18;12610:10:::1;12603:18;::::0;;;:6:::1;:18;::::0;;;;:25;12599:29;::::1;12591:55;;;::::0;-1:-1:-1;;;12591:55:0;;4345:2:1;12591:55:0::1;::::0;::::1;4327:21:1::0;4384:2;4364:18;;;4357:30;-1:-1:-1;;;4403:18:1;;;4396:43;4456:18;;12591:55:0::1;4143:337:1::0;12591:55:0::1;12672:10;12665:18;::::0;;;:6:::1;:18;::::0;;;;:21;;12684:1;;12665:21;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;:27:::1;:21;::::0;;::::1;;:27;::::0;::::1;;:34;12657:60;;;::::0;-1:-1:-1;;;12657:60:0;;4819:2:1;12657:60:0::1;::::0;::::1;4801:21:1::0;4858:2;4838:18;;;4831:30;-1:-1:-1;;;4877:18:1;;;4870:43;4930:18;;12657:60:0::1;4617:337:1::0;12657:60:0::1;12813:8;::::0;12791:10:::1;12784:18;::::0;;;:6:::1;:18;::::0;;;;:21;;12803:1;;12784:21;::::1;;;;;:::i;:::-;;;;;;;;;;;:26;;;12766:15;:44;;;;:::i;:::-;:55;12763:2065;;;12895:12;::::0;12871:10:::1;12840:21;12864:18:::0;;;:6:::1;:18;::::0;;;;:21;;12840;;12910:3:::1;::::0;12895:12:::1;::::0;;::::1;::::0;12864:18;12883:1;;12864:21;::::1;;;;;:::i;:::-;;;;;;;;;;;:28;;;:43;;;;:::i;:::-;:49;;;;:::i;:::-;12936:5;::::0;12951:10:::1;12936:5;12963:18:::0;;;:6:::1;:18;::::0;;;;:21;;12840:73;;-1:-1:-1;;;;;;12936:5:0;;::::1;::::0;:14:::1;::::0;12840:73;;12982:1;;12963:21;::::1;;;;;:::i;:::-;;;;;;;;;;;:28;;;:44;;;;:::i;:::-;12936:72;::::0;-1:-1:-1;;;;;;12936:72:0::1;::::0;;;;;;-1:-1:-1;;;;;5811:32:1;;;12936:72:0::1;::::0;::::1;5793:51:1::0;5860:18;;;5853:34;5766:18;;12936:72:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12928:81;;;::::0;::::1;;13032:5;::::0;-1:-1:-1;;;;;13032:5:0::1;:14;13047:10;1615:7:::0;1642:5;-1:-1:-1;;;;;1642:5:0;;1574:81;13047:10:::1;13032:41;::::0;-1:-1:-1;;;;;;13032:41:0::1;::::0;;;;;;-1:-1:-1;;;;;5811:32:1;;;13032:41:0::1;::::0;::::1;5793:51:1::0;5860:18;;;5853:34;;;5766:18;;13032:41:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13024:50;;;::::0;::::1;;13096:10;13089:18;::::0;;;:6:::1;:18;::::0;;;;:21;;13126:13;;13089:18;13108:1;;13089:21;::::1;;;;;:::i;:::-;;;;;;;;;;;:34;;:50;;;;13181:15;13154:6;:18;13161:10;-1:-1:-1::0;;;;;13154:18:0::1;-1:-1:-1::0;;;;;13154:18:0::1;;;;;;;;;;;;13173:1;13154:21;;;;;;;;:::i;:::-;;;;;;;;;;;:24;;:42;;;;13241:4;13211:6;:18;13218:10;-1:-1:-1::0;;;;;13211:18:0::1;-1:-1:-1::0;;;;;13211:18:0::1;;;;;;;;;;;;13230:1;13211:21;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;:27;;:34:::0;;-1:-1:-1;;13211:34:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;13274:10:::1;13286:18:::0;;;:6:::1;:18:::0;;;;;;:21;;13265:71:::1;::::0;13286:18;13305:1;;13286:21;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;:28:::1;:21;::::0;;::::1;;:28;::::0;13265:71:::1;::::0;::::1;::::0;13316:13;;13334:1;;6419:25:1;;;6475:2;6460:18;;6453:34;;;;6518:2;6503:18;;6496:34;6561:2;6546:18;;6539:34;6406:3;6391:19;;6180:399;13265:71:0::1;;;;;;;;12823:555;12763:2065;;;13462:17;13482:24;13492:10;13504:1;13482:9;:24::i;:::-;13462:44;;13621:1;13611:9;:11;:70;;;;-1:-1:-1::0;13626:5:0::1;::::0;13672:9;;-1:-1:-1;;;;;13626:5:0::1;:15;13642:10;1615:7:::0;1642:5;-1:-1:-1;;;;;1642:5:0;;1574:81;13642:10:::1;13626:42;::::0;-1:-1:-1;;;;;;13626:42:0::1;::::0;;;;;;-1:-1:-1;;;;;6814:15:1;;;13626:42:0::1;::::0;::::1;6796:34:1::0;13662:4:0::1;6846:18:1::0;;;6839:43;6731:18;;13626:42:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:55;;13611:70;:114;;;;-1:-1:-1::0;13685:5:0::1;::::0;13716:9;;-1:-1:-1;;;;;13685:5:0::1;:15;13701:10;1615:7:::0;1642:5;-1:-1:-1;;;;;1642:5:0;;1574:81;13701:10:::1;13685:27;::::0;-1:-1:-1;;;;;;13685:27:0::1;::::0;;;;;;-1:-1:-1;;;;;558:32:1;;;13685:27:0::1;::::0;::::1;540:51:1::0;513:18;;13685:27:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:40;;13611:114;13607:271;;;13754:5;::::0;-1:-1:-1;;;;;13754:5:0::1;:18;13773:10;1615:7:::0;1642:5;-1:-1:-1;;;;;1642:5:0;;1574:81;13773:10:::1;13754:53;::::0;-1:-1:-1;;;;;;13754:53:0::1;::::0;;;;;;-1:-1:-1;;;;;7340:15:1;;;13754:53:0::1;::::0;::::1;7322:34:1::0;13785:10:0::1;7372:18:1::0;;;7365:43;7424:18;;;7417:34;;;7257:18;;13754:53:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13746:62;;;::::0;::::1;;13607:271;;;-1:-1:-1::0;13861:1:0::1;13607:271;13943:18;13964:25;13975:10;13987:1;13964:10;:25::i;:::-;13943:46;;14105:1;14094:10;:12;:73;;;;-1:-1:-1::0;14110:6:0::1;::::0;14157:10;;-1:-1:-1;;;;;14110:6:0::1;:16;14127:10;1615:7:::0;1642:5;-1:-1:-1;;;;;1642:5:0;;1574:81;14127:10:::1;14110:43;::::0;-1:-1:-1;;;;;;14110:43:0::1;::::0;;;;;;-1:-1:-1;;;;;6814:15:1;;;14110:43:0::1;::::0;::::1;6796:34:1::0;14147:4:0::1;6846:18:1::0;;;6839:43;6731:18;;14110:43:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:57;;14094:73;:119;;;;-1:-1:-1::0;14171:6:0::1;::::0;14203:10;;-1:-1:-1;;;;;14171:6:0::1;:16;14188:10;1615:7:::0;1642:5;-1:-1:-1;;;;;1642:5:0;;1574:81;14188:10:::1;14171:28;::::0;-1:-1:-1;;;;;;14171:28:0::1;::::0;;;;;;-1:-1:-1;;;;;558:32:1;;;14171:28:0::1;::::0;::::1;540:51:1::0;513:18;;14171:28:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:42;;14094:119;14090:279;;;14242:6;::::0;-1:-1:-1;;;;;14242:6:0::1;:19;14262:10;1615:7:::0;1642:5;-1:-1:-1;;;;;1642:5:0;;1574:81;14262:10:::1;14242:55;::::0;-1:-1:-1;;;;;;14242:55:0::1;::::0;;;;;;-1:-1:-1;;;;;7340:15:1;;;14242:55:0::1;::::0;::::1;7322:34:1::0;14274:10:0::1;7372:18:1::0;;;7365:43;7424:18;;;7417:34;;;7257:18;;14242:55:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;14234:64;;;::::0;::::1;;14090:279;;;-1:-1:-1::0;14352:1:0::1;14090:279;14456:5;::::0;14471:10:::1;14456:5;14483:18:::0;;;:6:::1;:18;::::0;;;;:21;;-1:-1:-1;;;;;14456:5:0;;::::1;::::0;:14:::1;::::0;14471:10;14483:18;14502:1;;14483:21;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;:28:::1;:21;::::0;;::::1;;:28;::::0;14456:56:::1;::::0;-1:-1:-1;;;;;;14456:56:0::1;::::0;;;;;;-1:-1:-1;;;;;5811:32:1;;;14456:56:0::1;::::0;::::1;5793:51:1::0;5860:18;;;5853:34;5766:18;;14456:56:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;14448:65;;;::::0;::::1;;14535:10;14528:18;::::0;;;:6:::1;:18;::::0;;;;:21;;14557:9;;14528:18;14547:1;;14528:21;::::1;;;;;:::i;:::-;;;;;;;;;;;:26;;:38;;;;14611:10;14581:6;:18;14588:10;-1:-1:-1::0;;;;;14581:18:0::1;-1:-1:-1::0;;;;;14581:18:0::1;;;;;;;;;;;;14600:1;14581:21;;;;;;;;:::i;:::-;;;;;;;;;;;:27;;:40;;;;14663:15;14636:6;:18;14643:10;-1:-1:-1::0;;;;;14636:18:0::1;-1:-1:-1::0;;;;;14636:18:0::1;;;;;;;;;;;;14655:1;14636:21;;;;;;;;:::i;:::-;;;;;;;;;;;:24;;:42;;;;14723:4;14693:6;:18;14700:10;-1:-1:-1::0;;;;;14693:18:0::1;-1:-1:-1::0;;;;;14693:18:0::1;;;;;;;;;;;;14712:1;14693:21;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;:27;;:34:::0;;-1:-1:-1;;14693:34:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;14756:10:::1;14768:18:::0;;;:6:::1;:18:::0;;;;;;:21;;14747:67:::1;::::0;14768:18;14787:1;;14768:21;::::1;;;;;:::i;:::-;;;;;;;;;;;:28;;;14798:1;14801:9;14812:1;14747:67;;;;;;;;6419:25:1::0;;;6475:2;6460:18;;6453:34;;;;6518:2;6503:18;;6496:34;6561:2;6546:18;;6539:34;6406:3;6391:19;;6180:399;14747:67:0::1;;;;;;;;13384:1444;;12763:2065;-1:-1:-1::0;3269:1:0;4223:22;;12532:2303::o;11336:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11336:42:0;;-1:-1:-1;11336:42:0;;;;;;;:::o;12170:354::-;3313:1;3911:7;;:19;3903:63;;;;-1:-1:-1;;;3903:63:0;;3985:2:1;3903:63:0;;;3967:21:1;4024:2;4004:18;;;3997:30;4063:33;4043:18;;;4036:61;4114:18;;3903:63:0;3783:355:1;3903:63:0;3313:1;4044:7;:18;12252:12:::1;::::0;12242:22;::::1;;12234:48;;;::::0;-1:-1:-1;;;12234:48:0;;8068:2:1;12234:48:0::1;::::0;::::1;8050:21:1::0;8107:2;8087:18;;;8080:30;-1:-1:-1;;;8126:18:1;;;8119:43;8179:18;;12234:48:0::1;7866:337:1::0;12234:48:0::1;12301:5;::::0;:53:::1;::::0;-1:-1:-1;;;12301:53:0;;12320:10:::1;12301:53;::::0;::::1;7322:34:1::0;12340:4:0::1;7372:18:1::0;;;7365:43;7424:18;;;7417:34;;;-1:-1:-1;;;;;12301:5:0;;::::1;::::0;:18:::1;::::0;7257::1;;12301:53:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12293:62;;;::::0;::::1;;12373:10;12366:18;::::0;;;:6:::1;:18;::::0;;;;;;;12390:50;;::::1;::::0;::::1;::::0;;12397:15:::1;12390:50:::0;;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12366:75;;12390:50;12366:75;;::::1;::::0;;;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;12366:75:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;12488:18;;;;;;;:25;;12457:59:::1;::::0;12390:50;;12488:27:::1;::::0;12390:50;12488:27:::1;:::i;:::-;12457:59;::::0;;8382:25:1;;;8438:2;8423:18;;8416:34;;;;8355:18;12457:59:0::1;;;;;;;-1:-1:-1::0;3269:1:0;4223:22;;12170:354::o;1350:130::-;1026:5;;-1:-1:-1;;;;;1026:5:0;1012:10;:19;1004:51;;;;-1:-1:-1;;;1004:51:0;;8663:2:1;1004:51:0;;;8645:21:1;8702:2;8682:18;;;8675:30;-1:-1:-1;;;8721:18:1;;;8714:49;8780:18;;1004:51:0;8461:343:1;1004:51:0;1429:5:::1;::::0;;1420:25:::1;::::0;-1:-1:-1;;;;;1420:25:0;;::::1;::::0;1429:5;::::1;::::0;1420:25:::1;::::0;::::1;1456:5;:16:::0;;-1:-1:-1;;;;;;1456:16:0::1;-1:-1:-1::0;;;;;1456:16:0;;;::::1;::::0;;;::::1;::::0;;1350:130::o;15435:365::-;-1:-1:-1;;;;;15578:16:0;;15514:7;15578:16;;;:6;:16;;;;;:29;;15514:7;;15578:16;15595:11;;15578:29;;;;;;:::i;:::-;;;;;;;;;;;:34;;;15560:15;:52;;;;:::i;:::-;15748:13;;-1:-1:-1;;;;;15709:16:0;;15623:21;15709:16;;;:6;:16;;;;;:29;;15534:78;;-1:-1:-1;15647:12:0;;;;15764:3;;-1:-1:-1;;;15748:13:0;;;;;;15726:11;;15709:29;;;;;;:::i;:::-;;;;;;;;;;;:36;;;15677:15;:68;;;;:::i;:::-;:84;;;;:::i;:::-;:90;;;;:::i;:::-;:115;;;;:::i;:::-;15670:122;;;;15435:365;;;;;:::o;14843:517::-;1026:5;;-1:-1:-1;;;;;1026:5:0;1012:10;:19;1004:51;;;;-1:-1:-1;;;1004:51:0;;8663:2:1;1004:51:0;;;8645:21:1;8702:2;8682:18;;;8675:30;-1:-1:-1;;;8721:18:1;;;8714:49;8780:18;;1004:51:0;8461:343:1;1004:51:0;15056:3:::1;15041:13;:18;;;;15033:44;;;::::0;-1:-1:-1;;;15033:44:0;;8068:2:1;15033:44:0::1;::::0;::::1;8050:21:1::0;8107:2;8087:18;;;8080:30;-1:-1:-1;;;8126:18:1;;;8119:43;8179:18;;15033:44:0::1;7866:337:1::0;15033:44:0::1;15088:5;:14:::0;;-1:-1:-1;;;;;;15088:14:0::1;-1:-1:-1::0;;;;;15088:14:0;;::::1;;::::0;;15113:6:::1;:17:::0;;15141:6:::1;:16:::0;;;;15168:6:::1;:16:::0;;;;15195:12:::1;:21:::0;;;;15227:8:::1;:20:::0;;;;15113:17;;;::::1;-1:-1:-1::0;;;;;;15258:21:0;;;;;;;-1:-1:-1;;;15258:21:0::1;::::0;;::::1;;;-1:-1:-1::0;;;;15290:23:0::1;-1:-1:-1::0;;;15290:23:0;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;15324:28:0;;-1:-1:-1;;15324:28:0::1;;::::0;;::::1;::::0;;;::::1;::::0;;14843:517::o;15860:1184::-;-1:-1:-1;;;;;16004:16:0;;15940:7;16004:16;;;:6;:16;;;;;:29;;15940:7;;16004:16;16021:11;;16004:29;;;;;;:::i;:::-;;;;;;;;;;;:34;;;15986:15;:52;;;;:::i;:::-;16995:5;;:16;;;-1:-1:-1;;;16995:16:0;;;;15960:78;;-1:-1:-1;16073:12:0;;;;-1:-1:-1;;;;;16995:5:0;;:14;;:16;;;;;;;;;;;;;;:5;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16991:20;;:2;:20;:::i;:::-;16982:6;;:29;;;;:::i;:::-;:35;;17014:3;16982:35;:::i;:::-;:51;;;;:::i;:::-;16946:14;;16926:17;;;-1:-1:-1;;;16926:17:0;;;;16946:14;-1:-1:-1;;;16946:14:0;;;;-1:-1:-1;;;;;16926:6:0;;:15;;:17;;;;;;;;;;;;;;:6;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16922:21;;:2;:21;:::i;:::-;16913:6;;-1:-1:-1;;;;;16874:16:0;;;;;;:6;:16;;;;;:29;;16891:11;;16874:29;;;;;;:::i;:::-;;;;;;;;;;;:36;;;16856:15;:54;;;;:::i;:::-;:63;;;;:::i;:::-;:87;;;;:::i;:::-;:104;;;;:::i;14:180:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;791:131::-;-1:-1:-1;;;;;866:31:1;;856:42;;846:70;;912:1;909;902:12;846:70;791:131;:::o;927:315::-;995:6;1003;1056:2;1044:9;1035:7;1031:23;1027:32;1024:52;;;1072:1;1069;1062:12;1024:52;1111:9;1098:23;1130:31;1155:5;1130:31;:::i;:::-;1180:5;1232:2;1217:18;;;;1204:32;;-1:-1:-1;;;927:315:1:o;2077:247::-;2136:6;2189:2;2177:9;2168:7;2164:23;2160:32;2157:52;;;2205:1;2202;2195:12;2157:52;2244:9;2231:23;2263:31;2288:5;2263:31;:::i;:::-;2313:5;2077:247;-1:-1:-1;;;2077:247:1:o;2522:159::-;2589:20;;2649:6;2638:18;;2628:29;;2618:57;;2671:1;2668;2661:12;2618:57;2522:159;;;:::o;2686:114::-;2770:4;2763:5;2759:16;2752:5;2749:27;2739:55;;2790:1;2787;2780:12;2805:973;2958:6;2966;2974;2982;2990;2998;3006;3014;3022;3075:3;3063:9;3054:7;3050:23;3046:33;3043:53;;;3092:1;3089;3082:12;3043:53;3131:9;3118:23;3150:31;3175:5;3150:31;:::i;:::-;3200:5;-1:-1:-1;3257:2:1;3242:18;;3229:32;3270:33;3229:32;3270:33;:::i;:::-;3322:7;-1:-1:-1;3376:2:1;3361:18;;3348:32;;-1:-1:-1;3427:2:1;3412:18;;3399:32;;-1:-1:-1;3450:38:1;3483:3;3468:19;;3450:38;:::i;:::-;3440:48;;3507:38;3540:3;3529:9;3525:19;3507:38;:::i;:::-;3497:48;;3597:3;3586:9;3582:19;3569:33;3611:31;3634:7;3611:31;:::i;:::-;3661:7;3651:17;;;3715:3;3704:9;3700:19;3687:33;3677:43;;3767:3;3756:9;3752:19;3739:33;3729:43;;2805:973;;;;;;;;;;;:::o;4485:127::-;4546:10;4541:3;4537:20;4534:1;4527:31;4577:4;4574:1;4567:15;4601:4;4598:1;4591:15;4959:127;5020:10;5015:3;5011:20;5008:1;5001:31;5051:4;5048:1;5041:15;5075:4;5072:1;5065:15;5091:128;5158:9;;;5179:11;;;5176:37;;;5193:18;;:::i;5224:168::-;5297:9;;;5328;;5345:15;;;5339:22;;5325:37;5315:71;;5366:18;;:::i;5397:217::-;5437:1;5463;5453:132;;5507:10;5502:3;5498:20;5495:1;5488:31;5542:4;5539:1;5532:15;5570:4;5567:1;5560:15;5453:132;-1:-1:-1;5599:9:1;;5397:217::o;5898:277::-;5965:6;6018:2;6006:9;5997:7;5993:23;5989:32;5986:52;;;6034:1;6031;6024:12;5986:52;6066:9;6060:16;6119:5;6112:13;6105:21;6098:5;6095:32;6085:60;;6141:1;6138;6131:12;6893:184;6963:6;7016:2;7004:9;6995:7;6991:23;6987:32;6984:52;;;7032:1;7029;7022:12;6984:52;-1:-1:-1;7055:16:1;;6893:184;-1:-1:-1;6893:184:1:o;8809:247::-;8877:6;8930:2;8918:9;8909:7;8905:23;8901:32;8898:52;;;8946:1;8943;8936:12;8898:52;8978:9;8972:16;8997:29;9020:5;8997:29;:::i;9061:422::-;9150:1;9193:5;9150:1;9207:270;9228:7;9218:8;9215:21;9207:270;;;9287:4;9283:1;9279:6;9275:17;9269:4;9266:27;9263:53;;;9296:18;;:::i;:::-;9346:7;9336:8;9332:22;9329:55;;;9366:16;;;;9329:55;9445:22;;;;9405:15;;;;9207:270;;;9211:3;9061:422;;;;;:::o;9488:806::-;9537:5;9567:8;9557:80;;-1:-1:-1;9608:1:1;9622:5;;9557:80;9656:4;9646:76;;-1:-1:-1;9693:1:1;9707:5;;9646:76;9738:4;9756:1;9751:59;;;;9824:1;9819:130;;;;9731:218;;9751:59;9781:1;9772:10;;9795:5;;;9819:130;9856:3;9846:8;9843:17;9840:43;;;9863:18;;:::i;:::-;-1:-1:-1;;9919:1:1;9905:16;;9934:5;;9731:218;;10033:2;10023:8;10020:16;10014:3;10008:4;10005:13;10001:36;9995:2;9985:8;9982:16;9977:2;9971:4;9968:12;9964:35;9961:77;9958:159;;;-1:-1:-1;10070:19:1;;;10102:5;;9958:159;10149:34;10174:8;10168:4;10149:34;:::i;:::-;10219:6;10215:1;10211:6;10207:19;10198:7;10195:32;10192:58;;;10230:18;;:::i;:::-;10268:20;;9488:806;-1:-1:-1;;;9488:806:1:o;10299:140::-;10357:5;10386:47;10427:4;10417:8;10413:19;10407:4;10386:47;:::i

Swarm Source

ipfs://ae99f78aa3ceaefb3818c2678bd581169335b12c65e859df73be794f7979bb6d

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
[ 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.