Contract 0xFeADE54DDeA9140A52BdE6282F711E0a4EF13F18

Contract Overview

Balance:
0 MATIC

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x0b2b2f83424c860f3ce72baabb03156aee5e888b45d9eb42f790a58d926bc699Start262969982022-05-12 16:45:38198 days 21 hrs ago0x8c357febf9fc47d82e97a05ff7c73344f235787a IN  0xfeade54ddea9140a52bde6282f711e0a4ef13f180 MATIC0.017901512501 176.500000013
0x99260c9256c9eee783394fa615e50c0d6149dd7304ed00cfead58809b5d74034End262969682022-05-12 16:40:38198 days 22 hrs ago0x8c357febf9fc47d82e97a05ff7c73344f235787a IN  0xfeade54ddea9140a52bde6282f711e0a4ef13f180 MATIC0.022161340001 176.500000008
0x6adf0da46330a02285c50c272d2c596ecea6d0e7385dea1b8847e4a951b81241Start262969392022-05-12 16:37:27198 days 22 hrs ago0x8c357febf9fc47d82e97a05ff7c73344f235787a IN  0xfeade54ddea9140a52bde6282f711e0a4ef13f180 MATIC0.022597118501 176.500000008
0xd0261079f966202ca4f5eec69f008ad9856e82ca24bf0a08628df3eb9124da93Start262953482022-05-12 12:41:16199 days 1 hr ago0x4b6123e6811c27558b5cb96b847b2f22b247bf25 IN  0xfeade54ddea9140a52bde6282f711e0a4ef13f180 MATIC0.025627976523 176.50000016
0x7612a37fcc0df505db9935726894eb1bc1756cd9589b2ece36f9a5e835eca0ba0x60806040262923222022-05-12 4:59:40199 days 9 hrs ago0x4b6123e6811c27558b5cb96b847b2f22b247bf25 IN  Create: LPstaker0 MATIC0.479112780029 176.500000011
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LPstaker

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at polygonscan.com on 2022-05-12
*/

// SPDX-License-Identifier: MIT

/**
██╗    ██╗ █████╗ ████████╗████████╗    ███████╗████████╗ █████╗ ██╗  ██╗███████╗
██║    ██║██╔══██╗╚══██╔══╝╚══██╔══╝    ██╔════╝╚══██╔══╝██╔══██╗██║ ██╔╝██╔════╝
██║ █╗ ██║███████║   ██║      ██║       ███████╗   ██║   ███████║█████╔╝ █████╗  
██║███╗██║██╔══██║   ██║      ██║       ╚════██║   ██║   ██╔══██║██╔═██╗ ██╔══╝  
╚███╔███╔╝██║  ██║   ██║      ██║       ███████║   ██║   ██║  ██║██║  ██╗███████╗
 ╚══╝╚══╝ ╚═╝  ╚═╝   ╚═╝      ╚═╝       ╚══════╝   ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝

WATT Liquidity Staking with maturity time and annual interest paid in WATT

*/

pragma solidity ^0.8.2;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */

library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

/**
 * @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];
    }
}

/**
 * 
 * Stakes is an interest gain contract for ERC-20 tokens
 * 
 * asset is the EIP20 token to deposit
 * asset2 is the EIP20 token to get interest
 * interest_rate: percentage rate of token1
 * interest_rate2: percentage rate of token2
 * maturity is the time in seconds after which is safe to end the stake
 * penalization for ending a stake before maturity time
 * lower_amount is the minimum amount for creating a stake
 * 
 */
contract LPstaker is Owner, ReentrancyGuard {

    using SafeMath for uint256;

    // token to deposit
    EIP20 public asset;

    // token to pay interest
    EIP20 public asset2;

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

    // contract parameters
    uint8 public interest_rate;
    uint8 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, uint8 _rate, uint8 _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 {
        require(_value >= lower_amount, "Invalid value");
        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.sub(ledger[msg.sender][i].from) < maturity) {

            uint256 _penalization = ledger[msg.sender][i].amount.mul(penalization).div(100);
            asset.transfer(msg.sender, ledger[msg.sender][i].amount.sub(_penalization));
            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) {
                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) {
                asset2.transferFrom(getOwner(), msg.sender, _interest2);
            } else {
                _interest2 = 0;
            }

            // the original asset is returned to the investor
            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, uint8 _rate, uint8 _rate2, uint8 _penalization, uint256 _ratio1, uint256 _ratio2) public 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.sub(ledger[_address][_rec_number].from);
        uint256 _year_seconds = 365*24*60*60;
        return _record_seconds.mul(
            ledger[_address][_rec_number].amount.mul(interest_rate).div(100)
        ).div(_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.sub(ledger[_address][_rec_number].from);
        uint256 _year_seconds = 365*24*60*60;
        // 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.mul(ratio2).div(ratio1);
        // now we transform into decimals of the asset2
        value_in_asset2 = value_in_asset2.mul(10**asset2.decimals()).div(10**asset.decimals());
        uint256 interest = _record_seconds.mul(
            value_in_asset2.mul(interest_rate2).div(100)
        ).div(_year_seconds);
        // now lets calculate the interest rate based on the converted value in asset 2
        return interest;
    }

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

}

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":"uint8","name":"_rate","type":"uint8"},{"internalType":"uint8","name":"_rate2","type":"uint8"},{"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":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"interest_rate2","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":"uint8","name":"_rate","type":"uint8"},{"internalType":"uint8","name":"_rate2","type":"uint8"},{"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"}]

60806040523480156200001157600080fd5b506040516200314f3803806200314f83398181016040528101906200003791906200036c565b87806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a73560405160405180910390a3506001808190555060648460ff16111562000145576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200013c90620004e9565b60405180910390fd5b89600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555088600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816007819055508060088190555086600360146101000a81548160ff021916908360ff16021790555085600360156101000a81548160ff021916908360ff1602179055508460048190555083600560006101000a81548160ff021916908360ff16021790555082600681905550505050505050505050506200050b565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002768262000249565b9050919050565b60006200028a8262000269565b9050919050565b6200029c816200027d565b8114620002a857600080fd5b50565b600081519050620002bc8162000291565b92915050565b620002cd8162000269565b8114620002d957600080fd5b50565b600081519050620002ed81620002c2565b92915050565b600060ff82169050919050565b6200030b81620002f3565b81146200031757600080fd5b50565b6000815190506200032b8162000300565b92915050565b6000819050919050565b620003468162000331565b81146200035257600080fd5b50565b60008151905062000366816200033b565b92915050565b6000806000806000806000806000806101408b8d03121562000393576200039262000244565b5b6000620003a38d828e01620002ab565b9a50506020620003b68d828e01620002ab565b9950506040620003c98d828e01620002dc565b9850506060620003dc8d828e016200031a565b9750506080620003ef8d828e016200031a565b96505060a0620004028d828e0162000355565b95505060c0620004158d828e016200031a565b94505060e0620004288d828e0162000355565b9350506101006200043c8d828e0162000355565b925050610120620004508d828e0162000355565b9150509295989b9194979a5092959850565b600082825260208201905092915050565b7f50656e616c74792068617320746f20626520616e20696e74656765722062657460008201527f7765656e203020616e6420313030000000000000000000000000000000000000602082015250565b6000620004d1602e8362000462565b9150620004de8262000473565b604082019050919050565b600060208201905081810360008301526200050481620004c2565b9050919050565b612c34806200051b6000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806395805dad116100a2578063b7f8f9ea11610071578063b7f8f9ea146102c3578063cbb3d808146102f3578063d36a1b8614610311578063e9423bf21461032f578063f44c0a641461034d57610116565b806395805dad1461023d5780639665e82a14610259578063a6f9dae114610277578063aa4c0dd91461029357610116565b806338d52e0f116100e957806338d52e0f1461018f5780634a5064a9146101ad57806357ca8740146101cb57806374f1ca3a146101e9578063893d20e81461021f57610116565b80630ad245281461011b5780630c98c9c114610137578063204f83f91461015557806335ddfdcb14610173575b600080fd5b61013560048036038101906101309190611fbc565b61037d565b005b61013f611234565b60405161014c9190611ff8565b60405180910390f35b61015d61123a565b60405161016a9190611ff8565b60405180910390f35b61018d600480360381019061018891906120bc565b611240565b005b61019761140f565b6040516101a491906121e5565b60405180910390f35b6101b5611435565b6040516101c29190611ff8565b60405180910390f35b6101d361143b565b6040516101e0919061220f565b60405180910390f35b61020360048036038101906101fe9190612256565b61144e565b60405161021697969594939291906122b1565b60405180910390f35b6102276114ba565b604051610234919061232f565b60405180910390f35b61025760048036038101906102529190611fbc565b6114e3565b005b61026161177b565b60405161026e9190611ff8565b60405180910390f35b610291600480360381019061028c919061234a565b611781565b005b6102ad60048036038101906102a8919061234a565b6118cc565b6040516102ba9190611ff8565b60405180910390f35b6102dd60048036038101906102d89190612256565b611918565b6040516102ea9190611ff8565b60405180910390f35b6102fb611a63565b604051610308919061220f565b60405180910390f35b610319611a76565b604051610326919061220f565b60405180910390f35b610337611a89565b60405161034491906121e5565b60405180910390f35b61036760048036038101906103629190612256565b611aaf565b6040516103749190611ff8565b60405180910390f35b600260015414156103c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ba906123d4565b60405180910390fd5b6002600181905550600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050811061044f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044690612440565b60405180910390fd5b60001515600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106104a4576104a3612460565b5b906000526020600020906007020160060160009054906101000a900460ff16151514610505576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104fc906124db565b60405180910390fd5b60045461057d600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061055c5761055b612460565b5b90600052602060002090600702016000015442611dab90919063ffffffff16565b1015610a0257600061061f6064610611600560009054906101000a900460ff1660ff16600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002086815481106105f1576105f0612460565b5b906000526020600020906007020160010154611df590919063ffffffff16565b611e7090919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb336106d584600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002087815481106106b5576106b4612460565b5b906000526020600020906007020160010154611dab90919063ffffffff16565b6040518363ffffffff1660e01b81526004016106f29291906124fb565b602060405180830381600087803b15801561070c57600080fd5b505af1158015610720573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107449190612550565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61078b6114ba565b836040518363ffffffff1660e01b81526004016107a99291906124fb565b602060405180830381600087803b1580156107c357600080fd5b505af11580156107d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fb9190612550565b5080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061084e5761084d612460565b5b90600052602060002090600702016004018190555042600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002083815481106108b5576108b4612460565b5b9060005260206000209060070201600501819055506001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061091d5761091c612460565b5b906000526020600020906007020160060160006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f1deb31f039e2645a4e97af07659090228d39e7f992bfaf37af3838ad9665e23a600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002084815481106109ce576109cd612460565b5b906000526020600020906007020160010154836000866040516109f494939291906125b8565b60405180910390a25061122a565b6000610a0e3383611918565b9050600081118015610ad3575080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e610a626114ba565b306040518363ffffffff1660e01b8152600401610a809291906125fd565b60206040518083038186803b158015610a9857600080fd5b505afa158015610aac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad0919061263b565b10155b8015610b90575080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231610b216114ba565b6040518263ffffffff1660e01b8152600401610b3d919061232f565b60206040518083038186803b158015610b5557600080fd5b505afa158015610b69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8d919061263b565b10155b15610c5357600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd610bdb6114ba565b33846040518463ffffffff1660e01b8152600401610bfb93929190612668565b602060405180830381600087803b158015610c1557600080fd5b505af1158015610c29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4d9190612550565b50610c58565b600090505b6000610c643384611aaf565b9050600081118015610d29575080600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e610cb86114ba565b306040518363ffffffff1660e01b8152600401610cd69291906125fd565b60206040518083038186803b158015610cee57600080fd5b505afa158015610d02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d26919061263b565b10155b8015610de6575080600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231610d776114ba565b6040518263ffffffff1660e01b8152600401610d93919061232f565b60206040518083038186803b158015610dab57600080fd5b505afa158015610dbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de3919061263b565b10155b15610ea957600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd610e316114ba565b33846040518463ffffffff1660e01b8152600401610e5193929190612668565b602060405180830381600087803b158015610e6b57600080fd5b505af1158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190612550565b50610eae565b600090505b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208681548110610f3e57610f3d612460565b5b9060005260206000209060070201600101546040518363ffffffff1660e01b8152600401610f6d9291906124fb565b602060405180830381600087803b158015610f8757600080fd5b505af1158015610f9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbf9190612550565b5081600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020848154811061101257611011612460565b5b90600052602060002090600702016002018190555080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020848154811061107957611078612460565b5b90600052602060002090600702016003018190555042600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002084815481106110e0576110df612460565b5b9060005260206000209060070201600501819055506001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020848154811061114857611147612460565b5b906000526020600020906007020160060160006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f1deb31f039e2645a4e97af07659090228d39e7f992bfaf37af3838ad9665e23a600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002085815481106111f9576111f8612460565b5b9060005260206000209060070201600101546000858760405161121f949392919061269f565b60405180910390a250505b6001808190555050565b60065481565b60045481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c590612730565b60405180910390fd5b60648360ff161115611315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130c9061279c565b60405180910390fd5b88600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555087600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160078190555080600881905550866006819055508560048190555084600360146101000a81548160ff021916908360ff16021790555083600360156101000a81548160ff021916908360ff16021790555082600560006101000a81548160ff021916908360ff160217905550505050505050505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b600560009054906101000a900460ff1681565b6009602052816000526040600020818154811061146a57600080fd5b9060005260206000209060070201600091509150508060000154908060010154908060020154908060030154908060040154908060050154908060060160009054906101000a900460ff16905087565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600654811015611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151f9061279c565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b815260040161158793929190612668565b602060405180830381600087803b1580156115a157600080fd5b505af11580156115b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d99190612550565b50600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060e0016040528042815260200183815260200160008152602001600081526020016000815260200160008152602001600015158152509080600181540180825580915050600190039060005260206000209060070201600090919091909150600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff02191690831515021790555050503373ffffffffffffffffffffffffffffffffffffffff167f01030a23696d25d6138e45b2944d465c807d48422a2700ae29527f92b6cb439c826001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061176291906127eb565b60405161177092919061281f565b60405180910390a250565b60075481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461180f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180690612730565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a73560405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b600080611990600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020848154811061196f5761196e612460565b5b90600052602060002090600702016000015442611dab90919063ffffffff16565b905060006301e133809050611a5981611a4b611a3c6064611a2e600360149054906101000a900460ff1660ff16600960008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208b81548110611a0e57611a0d612460565b5b906000526020600020906007020160010154611df590919063ffffffff16565b611e7090919063ffffffff16565b85611df590919063ffffffff16565b611e7090919063ffffffff16565b9250505092915050565b600360149054906101000a900460ff1681565b600360159054906101000a900460ff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080611b27600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208481548110611b0657611b05612460565b5b90600052602060002090600702016000015442611dab90919063ffffffff16565b905060006301e1338090506000611bbf600754611bb1600854600960008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208981548110611b9157611b90612460565b5b906000526020600020906007020160010154611df590919063ffffffff16565b611e7090919063ffffffff16565b9050611d3c600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611c2c57600080fd5b505afa158015611c40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c64919061285d565b600a611c7091906129bd565b611d2e600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611cdb57600080fd5b505afa158015611cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d13919061285d565b600a611d1f91906129bd565b84611df590919063ffffffff16565b611e7090919063ffffffff16565b90506000611d9c83611d8e611d7f6064611d71600360159054906101000a900460ff1660ff1688611df590919063ffffffff16565b611e7090919063ffffffff16565b87611df590919063ffffffff16565b611e7090919063ffffffff16565b90508094505050505092915050565b6000611ded83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611eba565b905092915050565b600080831415611e085760009050611e6a565b60008284611e169190612a08565b9050828482611e259190612a91565b14611e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5c90612b34565b60405180910390fd5b809150505b92915050565b6000611eb283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611f1e565b905092915050565b6000838311158290611f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef99190612bdc565b60405180910390fd5b5060008385611f1191906127eb565b9050809150509392505050565b60008083118290611f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5c9190612bdc565b60405180910390fd5b5060008385611f749190612a91565b9050809150509392505050565b600080fd5b6000819050919050565b611f9981611f86565b8114611fa457600080fd5b50565b600081359050611fb681611f90565b92915050565b600060208284031215611fd257611fd1611f81565b5b6000611fe084828501611fa7565b91505092915050565b611ff281611f86565b82525050565b600060208201905061200d6000830184611fe9565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061203e82612013565b9050919050565b600061205082612033565b9050919050565b61206081612045565b811461206b57600080fd5b50565b60008135905061207d81612057565b92915050565b600060ff82169050919050565b61209981612083565b81146120a457600080fd5b50565b6000813590506120b681612090565b92915050565b60008060008060008060008060006101208a8c0312156120df576120de611f81565b5b60006120ed8c828d0161206e565b99505060206120fe8c828d0161206e565b985050604061210f8c828d01611fa7565b97505060606121208c828d01611fa7565b96505060806121318c828d016120a7565b95505060a06121428c828d016120a7565b94505060c06121538c828d016120a7565b93505060e06121648c828d01611fa7565b9250506101006121768c828d01611fa7565b9150509295985092959850929598565b6000819050919050565b60006121ab6121a66121a184612013565b612186565b612013565b9050919050565b60006121bd82612190565b9050919050565b60006121cf826121b2565b9050919050565b6121df816121c4565b82525050565b60006020820190506121fa60008301846121d6565b92915050565b61220981612083565b82525050565b60006020820190506122246000830184612200565b92915050565b61223381612033565b811461223e57600080fd5b50565b6000813590506122508161222a565b92915050565b6000806040838503121561226d5761226c611f81565b5b600061227b85828601612241565b925050602061228c85828601611fa7565b9150509250929050565b60008115159050919050565b6122ab81612296565b82525050565b600060e0820190506122c6600083018a611fe9565b6122d36020830189611fe9565b6122e06040830188611fe9565b6122ed6060830187611fe9565b6122fa6080830186611fe9565b61230760a0830185611fe9565b61231460c08301846122a2565b98975050505050505050565b61232981612033565b82525050565b60006020820190506123446000830184612320565b92915050565b6000602082840312156123605761235f611f81565b5b600061236e84828501612241565b91505092915050565b600082825260208201905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006123be601f83612377565b91506123c982612388565b602082019050919050565b600060208201905081810360008301526123ed816123b1565b9050919050565b7f496e76616c696420696e64657800000000000000000000000000000000000000600082015250565b600061242a600d83612377565b9150612435826123f4565b602082019050919050565b600060208201905081810360008301526124598161241d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e76616c6964207374616b6500000000000000000000000000000000000000600082015250565b60006124c5600d83612377565b91506124d08261248f565b602082019050919050565b600060208201905081810360008301526124f4816124b8565b9050919050565b60006040820190506125106000830185612320565b61251d6020830184611fe9565b9392505050565b61252d81612296565b811461253857600080fd5b50565b60008151905061254a81612524565b92915050565b60006020828403121561256657612565611f81565b5b60006125748482850161253b565b91505092915050565b6000819050919050565b60006125a261259d6125988461257d565b612186565b611f86565b9050919050565b6125b281612587565b82525050565b60006080820190506125cd6000830187611fe9565b6125da6020830186611fe9565b6125e760408301856125a9565b6125f46060830184611fe9565b95945050505050565b60006040820190506126126000830185612320565b61261f6020830184612320565b9392505050565b60008151905061263581611f90565b92915050565b60006020828403121561265157612650611f81565b5b600061265f84828501612626565b91505092915050565b600060608201905061267d6000830186612320565b61268a6020830185612320565b6126976040830184611fe9565b949350505050565b60006080820190506126b46000830187611fe9565b6126c160208301866125a9565b6126ce6040830185611fe9565b6126db6060830184611fe9565b95945050505050565b7f43616c6c6572206973206e6f74206f776e657200000000000000000000000000600082015250565b600061271a601383612377565b9150612725826126e4565b602082019050919050565b600060208201905081810360008301526127498161270d565b9050919050565b7f496e76616c69642076616c756500000000000000000000000000000000000000600082015250565b6000612786600d83612377565b915061279182612750565b602082019050919050565b600060208201905081810360008301526127b581612779565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006127f682611f86565b915061280183611f86565b925082821015612814576128136127bc565b5b828203905092915050565b60006040820190506128346000830185611fe9565b6128416020830184611fe9565b9392505050565b60008151905061285781612090565b92915050565b60006020828403121561287357612872611f81565b5b600061288184828501612848565b91505092915050565b60008160011c9050919050565b6000808291508390505b60018511156128e1578086048111156128bd576128bc6127bc565b5b60018516156128cc5780820291505b80810290506128da8561288a565b94506128a1565b94509492505050565b6000826128fa57600190506129b6565b8161290857600090506129b6565b816001811461291e576002811461292857612957565b60019150506129b6565b60ff84111561293a576129396127bc565b5b8360020a915084821115612951576129506127bc565b5b506129b6565b5060208310610133831016604e8410600b841016171561298c5782820a905083811115612987576129866127bc565b5b6129b6565b6129998484846001612897565b925090508184048111156129b0576129af6127bc565b5b81810290505b9392505050565b60006129c882611f86565b91506129d383612083565b9250612a007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846128ea565b905092915050565b6000612a1382611f86565b9150612a1e83611f86565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612a5757612a566127bc565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612a9c82611f86565b9150612aa783611f86565b925082612ab757612ab6612a62565b5b828204905092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b6000612b1e602183612377565b9150612b2982612ac2565b604082019050919050565b60006020820190508181036000830152612b4d81612b11565b9050919050565b600081519050919050565b60005b83811015612b7d578082015181840152602081019050612b62565b83811115612b8c576000848401525b50505050565b6000601f19601f8301169050919050565b6000612bae82612b54565b612bb88185612377565b9350612bc8818560208601612b5f565b612bd181612b92565b840191505092915050565b60006020820190508181036000830152612bf68184612ba3565b90509291505056fea26469706673582212202492c8e18d694f17a21fd67c08fc7124a8de89f7bc8cd04254841fbab82a878164736f6c634300080900330000000000000000000000007353f45b9fd81972ccb8bdeeba228006037b7f1b000000000000000000000000eba5ebe8cb3af119cd21101591c8c1ce9804fa0a0000000000000000000000004b6123e6811c27558b5cb96b847b2f22b247bf25000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

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

0000000000000000000000007353f45b9fd81972ccb8bdeeba228006037b7f1b000000000000000000000000eba5ebe8cb3af119cd21101591c8c1ce9804fa0a0000000000000000000000004b6123e6811c27558b5cb96b847b2f22b247bf25000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : _erc20 (address): 0x7353f45b9fd81972ccb8bdeeba228006037b7f1b
Arg [1] : _erc20_2 (address): 0xeba5ebe8cb3af119cd21101591c8c1ce9804fa0a
Arg [2] : _owner (address): 0x4b6123e6811c27558b5cb96b847b2f22b247bf25
Arg [3] : _rate (uint8): 0
Arg [4] : _rate2 (uint8): 50
Arg [5] : _maturity (uint256): 1
Arg [6] : _penalization (uint8): 30
Arg [7] : _lower (uint256): 2
Arg [8] : _ratio1 (uint256): 1
Arg [9] : _ratio2 (uint256): 1

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000007353f45b9fd81972ccb8bdeeba228006037b7f1b
Arg [1] : 000000000000000000000000eba5ebe8cb3af119cd21101591c8c1ce9804fa0a
Arg [2] : 0000000000000000000000004b6123e6811c27558b5cb96b847b2f22b247bf25
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000001


Deployed ByteCode Sourcemap

16706:6289:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18664:2270;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;17282:27;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17220:23;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20942:513;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;16819:18;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17462:21;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17250:25;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17492:42;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;7965:81;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18324:332;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;17434:21;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;7741:130;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;22860;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21530:381;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17153:26;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;17186:27;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16876:19;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21971:881;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18664:2270;9704:1;10302:7;;:19;;10294:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;9704:1;10435:7;:18;;;;18735:6:::1;:18;18742:10;18735:18;;;;;;;;;;;;;;;:25;;;;18731:1;:29;18723:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;18826:5;18797:34;;:6;:18;18804:10;18797:18;;;;;;;;;;;;;;;18816:1;18797:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:27;;;;;;;;;;;;:34;;;18789:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;18948:8;;18898:47;18918:6;:18;18925:10;18918:18;;;;;;;;;;;;;;;18937:1;18918:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:26;;;18898:15;:19;;:47;;;;:::i;:::-;:58;18895:2032;;;18975:21;18999:55;19050:3;18999:46;19032:12;;;;;;;;;;;18999:46;;:6;:18;19006:10;18999:18;;;;;;;;;;;;;;;19018:1;18999:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:28;;;:32;;:46;;;;:::i;:::-;:50;;:55;;;;:::i;:::-;18975:79;;19069:5;;;;;;;;;;;:14;;;19084:10;19096:47;19129:13;19096:6;:18;19103:10;19096:18;;;;;;;;;;;;;;;19115:1;19096:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:28;;;:32;;:47;;;;:::i;:::-;19069:75;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19159:5;;;;;;;;;;;:14;;;19174:10;:8;:10::i;:::-;19186:13;19159:41;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19252:13;19215:6;:18;19222:10;19215:18;;;;;;;;;;;;;;;19234:1;19215:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:34;;:50;;;;19307:15;19280:6;:18;19287:10;19280:18;;;;;;;;;;;;;;;19299:1;19280:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:24;;:42;;;;19367:4;19337:6;:18;19344:10;19337:18;;;;;;;;;;;;;;;19356:1;19337:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:27;;;:34;;;;;;;;;;;;;;;;;;19400:10;19391:71;;;19412:6;:18;19419:10;19412:18;;;;;;;;;;;;;;;19431:1;19412:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:28;;;19442:13;19457:1;19460;19391:71;;;;;;;;;:::i;:::-;;;;;;;;18958:546;18895:2032;;;19588:17;19608:24;19618:10;19630:1;19608:9;:24::i;:::-;19588:44;;19747:1;19737:9;:11;:70;;;;;19798:9;19752:5;;;;;;;;;;;:15;;;19768:10;:8;:10::i;:::-;19788:4;19752:42;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:55;;19737:70;:114;;;;;19842:9;19811:5;;;;;;;;;;;:15;;;19827:10;:8;:10::i;:::-;19811:27;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:40;;19737:114;19733:262;;;19872:5;;;;;;;;;;;:18;;;19891:10;:8;:10::i;:::-;19903;19915:9;19872:53;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19733:262;;;19978:1;19966:13;;19733:262;20060:18;20081:25;20092:10;20104:1;20081:10;:25::i;:::-;20060:46;;20222:1;20211:10;:12;:73;;;;;20274:10;20227:6;;;;;;;;;;;:16;;;20244:10;:8;:10::i;:::-;20264:4;20227:43;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:57;;20211:73;:119;;;;;20320:10;20288:6;;;;;;;;;;;:16;;;20305:10;:8;:10::i;:::-;20288:28;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:42;;20211:119;20207:270;;;20351:6;;;;;;;;;;;:19;;;20371:10;:8;:10::i;:::-;20383;20395;20351:55;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20207:270;;;20460:1;20447:14;;20207:270;20556:5;;;;;;;;;;;:14;;;20571:10;20583:6;:18;20590:10;20583:18;;;;;;;;;;;;;;;20602:1;20583:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:28;;;20556:56;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20656:9;20627:6;:18;20634:10;20627:18;;;;;;;;;;;;;;;20646:1;20627:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:26;;:38;;;;20710:10;20680:6;:18;20687:10;20680:18;;;;;;;;;;;;;;;20699:1;20680:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:27;;:40;;;;20762:15;20735:6;:18;20742:10;20735:18;;;;;;;;;;;;;;;20754:1;20735:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:24;;:42;;;;20822:4;20792:6;:18;20799:10;20792:18;;;;;;;;;;;;;;;20811:1;20792:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:27;;;:34;;;;;;;;;;;;;;;;;;20855:10;20846:67;;;20867:6;:18;20874:10;20867:18;;;;;;;;;;;;;;;20886:1;20867:21;;;;;;;;:::i;:::-;;;;;;;;;;;;:28;;;20897:1;20900:9;20911:1;20846:67;;;;;;;;;:::i;:::-;;;;;;;;19510:1417;;18895:2032;9660:1:::0;10614:7;:22;;;;18664:2270;:::o;17282:27::-;;;;:::o;17220:23::-;;;;:::o;20942:513::-;7417:5;;;;;;;;;;7403:19;;:10;:19;;;7395:51;;;;;;;;;;;;:::i;:::-;;;;;;;;;21151:3:::1;21136:13;:18;;;;21128:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;21191:6;21183:5;;:14;;;;;;;;;;;;;;;;;;21217:8;21208:6;;:17;;;;;;;;;;;;;;;;;;21245:7;21236:6;:16;;;;21272:7;21263:6;:16;;;;21305:6;21290:12;:21;;;;21333:9;21322:8;:20;;;;21369:5;21353:13;;:21;;;;;;;;;;;;;;;;;;21402:6;21385:14;;:23;;;;;;;;;;;;;;;;;;21434:13;21419:12;;:28;;;;;;;;;;;;;;;;;;20942:513:::0;;;;;;;;;:::o;16819:18::-;;;;;;;;;;;;;:::o;17462:21::-;;;;:::o;17250:25::-;;;;;;;;;;;;;:::o;17492:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7965:81::-;8006:7;8033:5;;;;;;;;;;;8026:12;;7965:81;:::o;18324:332::-;18393:12;;18383:6;:22;;18375:48;;;;;;;;;;;;:::i;:::-;;;;;;;;;18434:5;;;;;;;;;;;:18;;;18453:10;18473:4;18480:6;18434:53;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;18498:6;:18;18505:10;18498:18;;;;;;;;;;;;;;;18522:50;;;;;;;;18529:15;18522:50;;;;18546:6;18522:50;;;;18554:1;18522:50;;;;18557:1;18522:50;;;;18560:1;18522:50;;;;18563:1;18522:50;;;;18566:5;18522:50;;;;;18498:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18600:10;18589:59;;;18612:6;18646:1;18620:6;:18;18627:10;18620:18;;;;;;;;;;;;;;;:25;;;;:27;;;;:::i;:::-;18589:59;;;;;;;:::i;:::-;;;;;;;;18324:332;:::o;17434:21::-;;;;:::o;7741:130::-;7417:5;;;;;;;;;;7403:19;;:10;:19;;;7395:51;;;;;;;;;;;;:::i;:::-;;;;;;;;;7827:8:::1;7811:25;;7820:5;::::0;::::1;;;;;;;;7811:25;;;;;;;;;;;;7855:8;7847:5;::::0;:16:::1;;;;;;;;;;;;;;;;;;7741:130:::0;:::o;22860:::-;22932:7;22959:6;:16;22966:8;22959:16;;;;;;;;;;;;;;;:23;;;;22952:30;;22860:130;;;:::o;21530:381::-;21609:7;21629:23;21655:55;21675:6;:16;21682:8;21675:16;;;;;;;;;;;;;;;21692:11;21675:29;;;;;;;;:::i;:::-;;;;;;;;;;;;:34;;;21655:15;:19;;:55;;;;:::i;:::-;21629:81;;21721:21;21745:12;21721:36;;21775:128;21889:13;21775:109;21809:64;21869:3;21809:55;21850:13;;;;;;;;;;;21809:55;;:6;:16;21816:8;21809:16;;;;;;;;;;;;;;;21826:11;21809:29;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;:40;;:55;;;;:::i;:::-;:59;;:64;;;;:::i;:::-;21775:15;:19;;:109;;;;:::i;:::-;:113;;:128;;;;:::i;:::-;21768:135;;;;21530:381;;;;:::o;17153:26::-;;;;;;;;;;;;;:::o;17186:27::-;;;;;;;;;;;;;:::o;16876:19::-;;;;;;;;;;;;;:::o;21971:881::-;22051:7;22071:23;22097:55;22117:6;:16;22124:8;22117:16;;;;;;;;;;;;;;;22134:11;22117:29;;;;;;;;:::i;:::-;;;;;;;;;;;;:34;;;22097:15;:19;;:55;;;;:::i;:::-;22071:81;;22163:21;22187:12;22163:36;;22351:23;22377:60;22430:6;;22377:48;22418:6;;22377;:16;22384:8;22377:16;;;;;;;;;;;;;;;22394:11;22377:29;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;:40;;:48;;;;:::i;:::-;:52;;:60;;;;:::i;:::-;22351:86;;22523:68;22574:5;;;;;;;;;;;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;22570:2;:20;;;;:::i;:::-;22523:42;22547:6;;;;;;;;;;;:15;;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;22543:2;:21;;;;:::i;:::-;22523:15;:19;;:42;;;;:::i;:::-;:46;;:68;;;;:::i;:::-;22505:86;;22602:16;22621:108;22715:13;22621:89;22655:44;22695:3;22655:35;22675:14;;;;;;;;;;;22655:35;;:15;:19;;:35;;;;:::i;:::-;:39;;:44;;;;:::i;:::-;22621:15;:19;;:89;;;;:::i;:::-;:93;;:108;;;;:::i;:::-;22602:127;;22836:8;22829:15;;;;;;21971:881;;;;:::o;2647:136::-;2705:7;2732:43;2736:1;2739;2732:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;2725:50;;2647:136;;;;:::o;3521:471::-;3579:7;3829:1;3824;:6;3820:47;;;3854:1;3847:8;;;;3820:47;3879:9;3895:1;3891;:5;;;;:::i;:::-;3879:17;;3924:1;3919;3915;:5;;;;:::i;:::-;:10;3907:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;3983:1;3976:8;;;3521:471;;;;;:::o;4460:132::-;4518:7;4545:39;4549:1;4552;4545:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;4538:46;;4460:132;;;;:::o;3078:192::-;3164:7;3197:1;3192;:6;;3200:12;3184:29;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;3224:9;3240:1;3236;:5;;;;:::i;:::-;3224:17;;3261:1;3254:8;;;3078:192;;;;;:::o;5080:345::-;5166:7;5265:1;5261;:5;5268:12;5253:28;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;5292:9;5308:1;5304;:5;;;;:::i;:::-;5292:17;;5416:1;5409:8;;;5080:345;;;;;:::o;88:117:1:-;197:1;194;187:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:329::-;749:6;798:2;786:9;777:7;773:23;769:32;766:119;;;804:79;;:::i;:::-;766:119;924:1;949:53;994:7;985:6;974:9;970:22;949:53;:::i;:::-;939:63;;895:117;690:329;;;;:::o;1025:118::-;1112:24;1130:5;1112:24;:::i;:::-;1107:3;1100:37;1025:118;;:::o;1149:222::-;1242:4;1280:2;1269:9;1265:18;1257:26;;1293:71;1361:1;1350:9;1346:17;1337:6;1293:71;:::i;:::-;1149:222;;;;:::o;1377:126::-;1414:7;1454:42;1447:5;1443:54;1432:65;;1377:126;;;:::o;1509:96::-;1546:7;1575:24;1593:5;1575:24;:::i;:::-;1564:35;;1509:96;;;:::o;1611:109::-;1661:7;1690:24;1708:5;1690:24;:::i;:::-;1679:35;;1611:109;;;:::o;1726:148::-;1812:37;1843:5;1812:37;:::i;:::-;1805:5;1802:48;1792:76;;1864:1;1861;1854:12;1792:76;1726:148;:::o;1880:165::-;1939:5;1977:6;1964:20;1955:29;;1993:46;2033:5;1993:46;:::i;:::-;1880:165;;;;:::o;2051:86::-;2086:7;2126:4;2119:5;2115:16;2104:27;;2051:86;;;:::o;2143:118::-;2214:22;2230:5;2214:22;:::i;:::-;2207:5;2204:33;2194:61;;2251:1;2248;2241:12;2194:61;2143:118;:::o;2267:135::-;2311:5;2349:6;2336:20;2327:29;;2365:31;2390:5;2365:31;:::i;:::-;2267:135;;;;:::o;2408:1535::-;2559:6;2567;2575;2583;2591;2599;2607;2615;2623;2672:3;2660:9;2651:7;2647:23;2643:33;2640:120;;;2679:79;;:::i;:::-;2640:120;2799:1;2824:66;2882:7;2873:6;2862:9;2858:22;2824:66;:::i;:::-;2814:76;;2770:130;2939:2;2965:66;3023:7;3014:6;3003:9;2999:22;2965:66;:::i;:::-;2955:76;;2910:131;3080:2;3106:53;3151:7;3142:6;3131:9;3127:22;3106:53;:::i;:::-;3096:63;;3051:118;3208:2;3234:53;3279:7;3270:6;3259:9;3255:22;3234:53;:::i;:::-;3224:63;;3179:118;3336:3;3363:51;3406:7;3397:6;3386:9;3382:22;3363:51;:::i;:::-;3353:61;;3307:117;3463:3;3490:51;3533:7;3524:6;3513:9;3509:22;3490:51;:::i;:::-;3480:61;;3434:117;3590:3;3617:51;3660:7;3651:6;3640:9;3636:22;3617:51;:::i;:::-;3607:61;;3561:117;3717:3;3744:53;3789:7;3780:6;3769:9;3765:22;3744:53;:::i;:::-;3734:63;;3688:119;3846:3;3873:53;3918:7;3909:6;3898:9;3894:22;3873:53;:::i;:::-;3863:63;;3817:119;2408:1535;;;;;;;;;;;:::o;3949:60::-;3977:3;3998:5;3991:12;;3949:60;;;:::o;4015:142::-;4065:9;4098:53;4116:34;4125:24;4143:5;4125:24;:::i;:::-;4116:34;:::i;:::-;4098:53;:::i;:::-;4085:66;;4015:142;;;:::o;4163:126::-;4213:9;4246:37;4277:5;4246:37;:::i;:::-;4233:50;;4163:126;;;:::o;4295:139::-;4358:9;4391:37;4422:5;4391:37;:::i;:::-;4378:50;;4295:139;;;:::o;4440:157::-;4540:50;4584:5;4540:50;:::i;:::-;4535:3;4528:63;4440:157;;:::o;4603:248::-;4709:4;4747:2;4736:9;4732:18;4724:26;;4760:84;4841:1;4830:9;4826:17;4817:6;4760:84;:::i;:::-;4603:248;;;;:::o;4857:112::-;4940:22;4956:5;4940:22;:::i;:::-;4935:3;4928:35;4857:112;;:::o;4975:214::-;5064:4;5102:2;5091:9;5087:18;5079:26;;5115:67;5179:1;5168:9;5164:17;5155:6;5115:67;:::i;:::-;4975:214;;;;:::o;5195:122::-;5268:24;5286:5;5268:24;:::i;:::-;5261:5;5258:35;5248:63;;5307:1;5304;5297:12;5248:63;5195:122;:::o;5323:139::-;5369:5;5407:6;5394:20;5385:29;;5423:33;5450:5;5423:33;:::i;:::-;5323:139;;;;:::o;5468:474::-;5536:6;5544;5593:2;5581:9;5572:7;5568:23;5564:32;5561:119;;;5599:79;;:::i;:::-;5561:119;5719:1;5744:53;5789:7;5780:6;5769:9;5765:22;5744:53;:::i;:::-;5734:63;;5690:117;5846:2;5872:53;5917:7;5908:6;5897:9;5893:22;5872:53;:::i;:::-;5862:63;;5817:118;5468:474;;;;;:::o;5948:90::-;5982:7;6025:5;6018:13;6011:21;6000:32;;5948:90;;;:::o;6044:109::-;6125:21;6140:5;6125:21;:::i;:::-;6120:3;6113:34;6044:109;;:::o;6159:874::-;6414:4;6452:3;6441:9;6437:19;6429:27;;6466:71;6534:1;6523:9;6519:17;6510:6;6466:71;:::i;:::-;6547:72;6615:2;6604:9;6600:18;6591:6;6547:72;:::i;:::-;6629;6697:2;6686:9;6682:18;6673:6;6629:72;:::i;:::-;6711;6779:2;6768:9;6764:18;6755:6;6711:72;:::i;:::-;6793:73;6861:3;6850:9;6846:19;6837:6;6793:73;:::i;:::-;6876;6944:3;6933:9;6929:19;6920:6;6876:73;:::i;:::-;6959:67;7021:3;7010:9;7006:19;6997:6;6959:67;:::i;:::-;6159:874;;;;;;;;;;:::o;7039:118::-;7126:24;7144:5;7126:24;:::i;:::-;7121:3;7114:37;7039:118;;:::o;7163:222::-;7256:4;7294:2;7283:9;7279:18;7271:26;;7307:71;7375:1;7364:9;7360:17;7351:6;7307:71;:::i;:::-;7163:222;;;;:::o;7391:329::-;7450:6;7499:2;7487:9;7478:7;7474:23;7470:32;7467:119;;;7505:79;;:::i;:::-;7467:119;7625:1;7650:53;7695:7;7686:6;7675:9;7671:22;7650:53;:::i;:::-;7640:63;;7596:117;7391:329;;;;:::o;7726:169::-;7810:11;7844:6;7839:3;7832:19;7884:4;7879:3;7875:14;7860:29;;7726:169;;;;:::o;7901:181::-;8041:33;8037:1;8029:6;8025:14;8018:57;7901:181;:::o;8088:366::-;8230:3;8251:67;8315:2;8310:3;8251:67;:::i;:::-;8244:74;;8327:93;8416:3;8327:93;:::i;:::-;8445:2;8440:3;8436:12;8429:19;;8088:366;;;:::o;8460:419::-;8626:4;8664:2;8653:9;8649:18;8641:26;;8713:9;8707:4;8703:20;8699:1;8688:9;8684:17;8677:47;8741:131;8867:4;8741:131;:::i;:::-;8733:139;;8460:419;;;:::o;8885:163::-;9025:15;9021:1;9013:6;9009:14;9002:39;8885:163;:::o;9054:366::-;9196:3;9217:67;9281:2;9276:3;9217:67;:::i;:::-;9210:74;;9293:93;9382:3;9293:93;:::i;:::-;9411:2;9406:3;9402:12;9395:19;;9054:366;;;:::o;9426:419::-;9592:4;9630:2;9619:9;9615:18;9607:26;;9679:9;9673:4;9669:20;9665:1;9654:9;9650:17;9643:47;9707:131;9833:4;9707:131;:::i;:::-;9699:139;;9426:419;;;:::o;9851:180::-;9899:77;9896:1;9889:88;9996:4;9993:1;9986:15;10020:4;10017:1;10010:15;10037:163;10177:15;10173:1;10165:6;10161:14;10154:39;10037:163;:::o;10206:366::-;10348:3;10369:67;10433:2;10428:3;10369:67;:::i;:::-;10362:74;;10445:93;10534:3;10445:93;:::i;:::-;10563:2;10558:3;10554:12;10547:19;;10206:366;;;:::o;10578:419::-;10744:4;10782:2;10771:9;10767:18;10759:26;;10831:9;10825:4;10821:20;10817:1;10806:9;10802:17;10795:47;10859:131;10985:4;10859:131;:::i;:::-;10851:139;;10578:419;;;:::o;11003:332::-;11124:4;11162:2;11151:9;11147:18;11139:26;;11175:71;11243:1;11232:9;11228:17;11219:6;11175:71;:::i;:::-;11256:72;11324:2;11313:9;11309:18;11300:6;11256:72;:::i;:::-;11003:332;;;;;:::o;11341:116::-;11411:21;11426:5;11411:21;:::i;:::-;11404:5;11401:32;11391:60;;11447:1;11444;11437:12;11391:60;11341:116;:::o;11463:137::-;11517:5;11548:6;11542:13;11533:22;;11564:30;11588:5;11564:30;:::i;:::-;11463:137;;;;:::o;11606:345::-;11673:6;11722:2;11710:9;11701:7;11697:23;11693:32;11690:119;;;11728:79;;:::i;:::-;11690:119;11848:1;11873:61;11926:7;11917:6;11906:9;11902:22;11873:61;:::i;:::-;11863:71;;11819:125;11606:345;;;;:::o;11957:85::-;12002:7;12031:5;12020:16;;11957:85;;;:::o;12048:158::-;12106:9;12139:61;12157:42;12166:32;12192:5;12166:32;:::i;:::-;12157:42;:::i;:::-;12139:61;:::i;:::-;12126:74;;12048:158;;;:::o;12212:147::-;12307:45;12346:5;12307:45;:::i;:::-;12302:3;12295:58;12212:147;;:::o;12365:569::-;12550:4;12588:3;12577:9;12573:19;12565:27;;12602:71;12670:1;12659:9;12655:17;12646:6;12602:71;:::i;:::-;12683:72;12751:2;12740:9;12736:18;12727:6;12683:72;:::i;:::-;12765:80;12841:2;12830:9;12826:18;12817:6;12765:80;:::i;:::-;12855:72;12923:2;12912:9;12908:18;12899:6;12855:72;:::i;:::-;12365:569;;;;;;;:::o;12940:332::-;13061:4;13099:2;13088:9;13084:18;13076:26;;13112:71;13180:1;13169:9;13165:17;13156:6;13112:71;:::i;:::-;13193:72;13261:2;13250:9;13246:18;13237:6;13193:72;:::i;:::-;12940:332;;;;;:::o;13278:143::-;13335:5;13366:6;13360:13;13351:22;;13382:33;13409:5;13382:33;:::i;:::-;13278:143;;;;:::o;13427:351::-;13497:6;13546:2;13534:9;13525:7;13521:23;13517:32;13514:119;;;13552:79;;:::i;:::-;13514:119;13672:1;13697:64;13753:7;13744:6;13733:9;13729:22;13697:64;:::i;:::-;13687:74;;13643:128;13427:351;;;;:::o;13784:442::-;13933:4;13971:2;13960:9;13956:18;13948:26;;13984:71;14052:1;14041:9;14037:17;14028:6;13984:71;:::i;:::-;14065:72;14133:2;14122:9;14118:18;14109:6;14065:72;:::i;:::-;14147;14215:2;14204:9;14200:18;14191:6;14147:72;:::i;:::-;13784:442;;;;;;:::o;14232:569::-;14417:4;14455:3;14444:9;14440:19;14432:27;;14469:71;14537:1;14526:9;14522:17;14513:6;14469:71;:::i;:::-;14550:80;14626:2;14615:9;14611:18;14602:6;14550:80;:::i;:::-;14640:72;14708:2;14697:9;14693:18;14684:6;14640:72;:::i;:::-;14722;14790:2;14779:9;14775:18;14766:6;14722:72;:::i;:::-;14232:569;;;;;;;:::o;14807:169::-;14947:21;14943:1;14935:6;14931:14;14924:45;14807:169;:::o;14982:366::-;15124:3;15145:67;15209:2;15204:3;15145:67;:::i;:::-;15138:74;;15221:93;15310:3;15221:93;:::i;:::-;15339:2;15334:3;15330:12;15323:19;;14982:366;;;:::o;15354:419::-;15520:4;15558:2;15547:9;15543:18;15535:26;;15607:9;15601:4;15597:20;15593:1;15582:9;15578:17;15571:47;15635:131;15761:4;15635:131;:::i;:::-;15627:139;;15354:419;;;:::o;15779:163::-;15919:15;15915:1;15907:6;15903:14;15896:39;15779:163;:::o;15948:366::-;16090:3;16111:67;16175:2;16170:3;16111:67;:::i;:::-;16104:74;;16187:93;16276:3;16187:93;:::i;:::-;16305:2;16300:3;16296:12;16289:19;;15948:366;;;:::o;16320:419::-;16486:4;16524:2;16513:9;16509:18;16501:26;;16573:9;16567:4;16563:20;16559:1;16548:9;16544:17;16537:47;16601:131;16727:4;16601:131;:::i;:::-;16593:139;;16320:419;;;:::o;16745:180::-;16793:77;16790:1;16783:88;16890:4;16887:1;16880:15;16914:4;16911:1;16904:15;16931:191;16971:4;16991:20;17009:1;16991:20;:::i;:::-;16986:25;;17025:20;17043:1;17025:20;:::i;:::-;17020:25;;17064:1;17061;17058:8;17055:34;;;17069:18;;:::i;:::-;17055:34;17114:1;17111;17107:9;17099:17;;16931:191;;;;:::o;17128:332::-;17249:4;17287:2;17276:9;17272:18;17264:26;;17300:71;17368:1;17357:9;17353:17;17344:6;17300:71;:::i;:::-;17381:72;17449:2;17438:9;17434:18;17425:6;17381:72;:::i;:::-;17128:332;;;;;:::o;17466:139::-;17521:5;17552:6;17546:13;17537:22;;17568:31;17593:5;17568:31;:::i;:::-;17466:139;;;;:::o;17611:347::-;17679:6;17728:2;17716:9;17707:7;17703:23;17699:32;17696:119;;;17734:79;;:::i;:::-;17696:119;17854:1;17879:62;17933:7;17924:6;17913:9;17909:22;17879:62;:::i;:::-;17869:72;;17825:126;17611:347;;;;:::o;17964:102::-;18006:8;18053:5;18050:1;18046:13;18025:34;;17964:102;;;:::o;18072:848::-;18133:5;18140:4;18164:6;18155:15;;18188:5;18179:14;;18202:712;18223:1;18213:8;18210:15;18202:712;;;18318:4;18313:3;18309:14;18303:4;18300:24;18297:50;;;18327:18;;:::i;:::-;18297:50;18377:1;18367:8;18363:16;18360:451;;;18792:4;18785:5;18781:16;18772:25;;18360:451;18842:4;18836;18832:15;18824:23;;18872:32;18895:8;18872:32;:::i;:::-;18860:44;;18202:712;;;18072:848;;;;;;;:::o;18926:1073::-;18980:5;19171:8;19161:40;;19192:1;19183:10;;19194:5;;19161:40;19220:4;19210:36;;19237:1;19228:10;;19239:5;;19210:36;19306:4;19354:1;19349:27;;;;19390:1;19385:191;;;;19299:277;;19349:27;19367:1;19358:10;;19369:5;;;19385:191;19430:3;19420:8;19417:17;19414:43;;;19437:18;;:::i;:::-;19414:43;19486:8;19483:1;19479:16;19470:25;;19521:3;19514:5;19511:14;19508:40;;;19528:18;;:::i;:::-;19508:40;19561:5;;;19299:277;;19685:2;19675:8;19672:16;19666:3;19660:4;19657:13;19653:36;19635:2;19625:8;19622:16;19617:2;19611:4;19608:12;19604:35;19588:111;19585:246;;;19741:8;19735:4;19731:19;19722:28;;19776:3;19769:5;19766:14;19763:40;;;19783:18;;:::i;:::-;19763:40;19816:5;;19585:246;19856:42;19894:3;19884:8;19878:4;19875:1;19856:42;:::i;:::-;19841:57;;;;19930:4;19925:3;19921:14;19914:5;19911:25;19908:51;;;19939:18;;:::i;:::-;19908:51;19988:4;19981:5;19977:16;19968:25;;18926:1073;;;;;;:::o;20005:281::-;20063:5;20087:23;20105:4;20087:23;:::i;:::-;20079:31;;20131:25;20147:8;20131:25;:::i;:::-;20119:37;;20175:104;20212:66;20202:8;20196:4;20175:104;:::i;:::-;20166:113;;20005:281;;;;:::o;20292:348::-;20332:7;20355:20;20373:1;20355:20;:::i;:::-;20350:25;;20389:20;20407:1;20389:20;:::i;:::-;20384:25;;20577:1;20509:66;20505:74;20502:1;20499:81;20494:1;20487:9;20480:17;20476:105;20473:131;;;20584:18;;:::i;:::-;20473:131;20632:1;20629;20625:9;20614:20;;20292:348;;;;:::o;20646:180::-;20694:77;20691:1;20684:88;20791:4;20788:1;20781:15;20815:4;20812:1;20805:15;20832:185;20872:1;20889:20;20907:1;20889:20;:::i;:::-;20884:25;;20923:20;20941:1;20923:20;:::i;:::-;20918:25;;20962:1;20952:35;;20967:18;;:::i;:::-;20952:35;21009:1;21006;21002:9;20997:14;;20832:185;;;;:::o;21023:220::-;21163:34;21159:1;21151:6;21147:14;21140:58;21232:3;21227:2;21219:6;21215:15;21208:28;21023:220;:::o;21249:366::-;21391:3;21412:67;21476:2;21471:3;21412:67;:::i;:::-;21405:74;;21488:93;21577:3;21488:93;:::i;:::-;21606:2;21601:3;21597:12;21590:19;;21249:366;;;:::o;21621:419::-;21787:4;21825:2;21814:9;21810:18;21802:26;;21874:9;21868:4;21864:20;21860:1;21849:9;21845:17;21838:47;21902:131;22028:4;21902:131;:::i;:::-;21894:139;;21621:419;;;:::o;22046:99::-;22098:6;22132:5;22126:12;22116:22;;22046:99;;;:::o;22151:307::-;22219:1;22229:113;22243:6;22240:1;22237:13;22229:113;;;22328:1;22323:3;22319:11;22313:18;22309:1;22304:3;22300:11;22293:39;22265:2;22262:1;22258:10;22253:15;;22229:113;;;22360:6;22357:1;22354:13;22351:101;;;22440:1;22431:6;22426:3;22422:16;22415:27;22351:101;22200:258;22151:307;;;:::o;22464:102::-;22505:6;22556:2;22552:7;22547:2;22540:5;22536:14;22532:28;22522:38;;22464:102;;;:::o;22572:364::-;22660:3;22688:39;22721:5;22688:39;:::i;:::-;22743:71;22807:6;22802:3;22743:71;:::i;:::-;22736:78;;22823:52;22868:6;22863:3;22856:4;22849:5;22845:16;22823:52;:::i;:::-;22900:29;22922:6;22900:29;:::i;:::-;22895:3;22891:39;22884:46;;22664:272;22572:364;;;;:::o;22942:313::-;23055:4;23093:2;23082:9;23078:18;23070:26;;23142:9;23136:4;23132:20;23128:1;23117:9;23113:17;23106:47;23170:78;23243:4;23234:6;23170:78;:::i;:::-;23162:86;;22942:313;;;;:::o

Swarm Source

ipfs://2492c8e18d694f17a21fd67c08fc7124a8de89f7bc8cd04254841fbab82a8781
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading