Contract 0x29374554b54b5a39bb6789c0deee474ab10d8c75

Contract Overview

Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xf8859fdd7edc5a68fa7ccf7e8ddf55ec35eaf11e72915c640cb0a6966a2f5f97Compound228447442022-11-26 0:22:5919 hrs 11 mins ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.018094532527.5
0x0b423c618d13003b507c749cc0f34bd90040487a535414602969c77a2e979e3bCompound228029552022-11-25 0:22:591 day 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.018094532527.5
0xfa2000f2a5719932b381bcc265aa0f7dd1371da3492524950d819668673c0dfeCompound227610932022-11-24 0:23:002 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.018094532527.5
0xb5ab79e3976ca47d5da5704a08cb7c8fa36ee5ef671b81699dff224aa73f3335Compound227190132022-11-23 0:23:003 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.019714392527.5
0x4da55595d5eef2756d67c3ca01c239ff2515f9ffec8eee48a4df3c36a1b38af6Leave226819822022-11-22 3:16:154 days 16 hrs ago0x5ea5a55be3c8c199244141f904857b0a389c218f IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.00623135 25
0x51a07ba9f7215917d956cdc3451de1b886e729d3a0bd74e1ad03862ac42df5faCompound226769712022-11-22 0:23:004 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.018094532527.5
0x3d701209ac14e21707f3f3c3337749519dac363db6229a6c3d8b77ad318dd90fCompound226346282022-11-21 0:22:595 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.017499212527.5
0xcdc614de73dcbec5757e5795b0ca32aa36bc122c22cb482d8066135ea4a3e4f6Approve226256322022-11-20 19:12:046 days 22 mins ago0x63afd164d95dfe743391df30dae1cd40f92cfb47 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.0007692685 26.5
0xb238cea72780fc9c749ac05b63222983fb399f4bb168cb069798bad897520252Leave226049922022-11-20 7:17:126 days 12 hrs ago0x5ea5a55be3c8c199244141f904857b0a389c218f IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.00537635 25
0xcd774624cb68fcb6a2b446f1c818474ae5932fbc03567115214e3a7b945d6570Leave225980772022-11-20 3:09:376 days 16 hrs ago0x5ea5a55be3c8c199244141f904857b0a389c218f IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.00623135 25
0x757ba5e5ff5593a82219069eea5e040f8acc0dd2fca5566852fe72f5845e0e5bCompound225933092022-11-20 0:23:006 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.018094532527.5
0xe7c4b12d2197ade1ba3e3ea12d11ce96e6221dc3360d98965ea28d55bd583b5fCompound225523202022-11-19 0:23:017 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.019714392527.5
0x33bd72f90853904b0372ad10a6dbfa066bfb6977bc898864997ce3d6880c97a9Leave225184112022-11-18 4:41:338 days 14 hrs ago0x5ea5a55be3c8c199244141f904857b0a389c218f IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.00623135 25
0x3a1d6c88dd21b38240262a243ad78b0fb20195c5c0cd9421758ebc57f98c27d9Compound225111362022-11-18 0:23:008 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.018094532527.5
0x56ba05cd8f0e41b4f767817668735c561e6cde1e4c72dd1dc782edde924c7cafCompound224698202022-11-17 0:23:009 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.018094532527.5
0xe31e5d2c289fb4936f424da7a0b9ee3b1e2925434adb5727c6886e4cb26ecd10Compound224286102022-11-16 0:22:5910 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.018094532527.5
0x37e687c42cf39a16028a1ca15579d64d8be3bcf9ce6ee98ab801b2d0a96ddf61Compound223871482022-11-15 0:23:0011 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.018094532527.5
0x6bf6139a93317a407a4e6466420184ba984884eb90ee283d834cd88be450c371Compound223451262022-11-14 0:22:5912 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.018094532527.5
0x6b13d418c5a3c826f595940a2e2f92bfca0d175193d43e6436cd0cf616eaa7d2Compound223034042022-11-13 0:30:5613 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.018094532527.5
0x3b3b0dbf32fb429eb5711869a5688006382d9f12ecb0f4af52fbfd0b55ece9a2Compound222615792022-11-12 0:30:5514 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.017499212527.5
0x0cd2c29544248142b25476579c4bfc6472c77b28b6cefb57f5e4bcbb36431cd3Leave222212712022-11-11 1:36:5315 days 17 hrs ago0x5ea5a55be3c8c199244141f904857b0a389c218f IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.00623135 25
0x04c5e9b45d4b9ece5cc46f34aa6542d03f4e35b737b112343429bfe06f9124d1Compound222193282022-11-11 0:30:5515 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.019714392527.5
0xacc666d39f78225196d4e7827ef6ae67aa5299f2fd07a61c19315e9eef4dd9cfLeave221987482022-11-10 12:59:4516 days 6 hrs ago0x5ea5a55be3c8c199244141f904857b0a389c218f IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.00537635 25
0xfa3bad7cf7b2dc19475d9c98aa10ce119f53f68a51b8aaa10e8adae9a4d71269Leave221892762022-11-10 7:43:0916 days 11 hrs ago0x5ea5a55be3c8c199244141f904857b0a389c218f IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.00623135 25
0x57581ac51e277320945e9883a832d9905cb795aee5fe4e383ee8fdacce119d1dCompound221763782022-11-10 0:30:5616 days 19 hrs ago0x2d837135f67385c7af021ccadc373a312f85bbd6 IN  0x29374554b54b5a39bb6789c0deee474ab10d8c750 AVAX0.017499212527.5
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xf8859fdd7edc5a68fa7ccf7e8ddf55ec35eaf11e72915c640cb0a6966a2f5f97228447442022-11-26 0:22:5919 hrs 11 mins ago 0x29374554b54b5a39bb6789c0deee474ab10d8c75 Trader Joe: Router1.498279036018099847 AVAX
0xf8859fdd7edc5a68fa7ccf7e8ddf55ec35eaf11e72915c640cb0a6966a2f5f97228447442022-11-26 0:22:5919 hrs 11 mins ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c751.498279036018099847 AVAX
0x0b423c618d13003b507c749cc0f34bd90040487a535414602969c77a2e979e3b228029552022-11-25 0:22:591 day 19 hrs ago 0x29374554b54b5a39bb6789c0deee474ab10d8c75 Trader Joe: Router1.653737193209390083 AVAX
0x0b423c618d13003b507c749cc0f34bd90040487a535414602969c77a2e979e3b228029552022-11-25 0:22:591 day 19 hrs ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c751.653737193209390083 AVAX
0xfa2000f2a5719932b381bcc265aa0f7dd1371da3492524950d819668673c0dfe227610932022-11-24 0:23:002 days 19 hrs ago 0x29374554b54b5a39bb6789c0deee474ab10d8c75 Trader Joe: Router1.700672580093667322 AVAX
0xfa2000f2a5719932b381bcc265aa0f7dd1371da3492524950d819668673c0dfe227610932022-11-24 0:23:002 days 19 hrs ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c751.700672580093667322 AVAX
0xb5ab79e3976ca47d5da5704a08cb7c8fa36ee5ef671b81699dff224aa73f3335227190132022-11-23 0:23:003 days 19 hrs ago 0x29374554b54b5a39bb6789c0deee474ab10d8c75 Trader Joe: Router1.709575058637606764 AVAX
0xb5ab79e3976ca47d5da5704a08cb7c8fa36ee5ef671b81699dff224aa73f3335227190132022-11-23 0:23:003 days 19 hrs ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c751.503194278881738652 AVAX
0xb5ab79e3976ca47d5da5704a08cb7c8fa36ee5ef671b81699dff224aa73f3335227190132022-11-23 0:23:003 days 19 hrs ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c750.206380779755868112 AVAX
0x51a07ba9f7215917d956cdc3451de1b886e729d3a0bd74e1ad03862ac42df5fa226769712022-11-22 0:23:004 days 19 hrs ago 0x29374554b54b5a39bb6789c0deee474ab10d8c75 Trader Joe: Router1.714875417727474399 AVAX
0x51a07ba9f7215917d956cdc3451de1b886e729d3a0bd74e1ad03862ac42df5fa226769712022-11-22 0:23:004 days 19 hrs ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c751.714875417727474399 AVAX
0x3d701209ac14e21707f3f3c3337749519dac363db6229a6c3d8b77ad318dd90f226346282022-11-21 0:22:595 days 19 hrs ago 0x29374554b54b5a39bb6789c0deee474ab10d8c75 Trader Joe: Router1.721916759060813225 AVAX
0x3d701209ac14e21707f3f3c3337749519dac363db6229a6c3d8b77ad318dd90f226346282022-11-21 0:22:595 days 19 hrs ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c751.22268102250043561 AVAX
0x3d701209ac14e21707f3f3c3337749519dac363db6229a6c3d8b77ad318dd90f226346282022-11-21 0:22:595 days 19 hrs ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c750.499235736560377615 AVAX
0x757ba5e5ff5593a82219069eea5e040f8acc0dd2fca5566852fe72f5845e0e5b225933092022-11-20 0:23:006 days 19 hrs ago 0x29374554b54b5a39bb6789c0deee474ab10d8c75 Trader Joe: Router1.731823731861450159 AVAX
0x757ba5e5ff5593a82219069eea5e040f8acc0dd2fca5566852fe72f5845e0e5b225933092022-11-20 0:23:006 days 19 hrs ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c751.731823731861450159 AVAX
0xe7c4b12d2197ade1ba3e3ea12d11ce96e6221dc3360d98965ea28d55bd583b5f225523202022-11-19 0:23:017 days 19 hrs ago 0x29374554b54b5a39bb6789c0deee474ab10d8c75 Trader Joe: Router1.723698609194156515 AVAX
0xe7c4b12d2197ade1ba3e3ea12d11ce96e6221dc3360d98965ea28d55bd583b5f225523202022-11-19 0:23:017 days 19 hrs ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c751.413060791163083622 AVAX
0xe7c4b12d2197ade1ba3e3ea12d11ce96e6221dc3360d98965ea28d55bd583b5f225523202022-11-19 0:23:017 days 19 hrs ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c750.310637818031072893 AVAX
0x3a1d6c88dd21b38240262a243ad78b0fb20195c5c0cd9421758ebc57f98c27d9225111362022-11-18 0:23:008 days 19 hrs ago 0x29374554b54b5a39bb6789c0deee474ab10d8c75 Trader Joe: Router1.729234761154677527 AVAX
0x3a1d6c88dd21b38240262a243ad78b0fb20195c5c0cd9421758ebc57f98c27d9225111362022-11-18 0:23:008 days 19 hrs ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c751.729234761154677527 AVAX
0x56ba05cd8f0e41b4f767817668735c561e6cde1e4c72dd1dc782edde924c7caf224698202022-11-17 0:23:009 days 19 hrs ago 0x29374554b54b5a39bb6789c0deee474ab10d8c75 Trader Joe: Router1.727399349523710066 AVAX
0x56ba05cd8f0e41b4f767817668735c561e6cde1e4c72dd1dc782edde924c7caf224698202022-11-17 0:23:009 days 19 hrs ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c751.727399349523710066 AVAX
0xe31e5d2c289fb4936f424da7a0b9ee3b1e2925434adb5727c6886e4cb26ecd10224286102022-11-16 0:22:5910 days 19 hrs ago 0x29374554b54b5a39bb6789c0deee474ab10d8c75 Trader Joe: Router1.731025056697000225 AVAX
0xe31e5d2c289fb4936f424da7a0b9ee3b1e2925434adb5727c6886e4cb26ecd10224286102022-11-16 0:22:5910 days 19 hrs ago Benqi Finance: Comptroller 0x29374554b54b5a39bb6789c0deee474ab10d8c751.731025056697000225 AVAX
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
superQiErc20V2

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at snowtrace.io on 2022-02-07
*/

// File: contracts/interface/ICToken.sol

// : GPL-3.0-or-later
pragma solidity >=0.7.0 <0.8.0;
interface ICErc20{
    function exchangeRateStored() external view returns (uint);
    function underlying() external view returns (address);
    function mint(uint mintAmount) external returns (uint);
}
interface ICEther{
    function exchangeRateStored() external view returns (uint);
    function mint() external payable;
}

// File: contracts/superVault/ERC20.sol

// : GPL-3.0-or-later
// OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol)

pragma solidity >=0.7.0 <0.8.0;


contract ERC20{
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor() {
    }
    function setErc20Info(string memory name_, string memory symbol_,uint8 decimals_) internal{
        _name = name_;
        _symbol = symbol_;
        _decimals = decimals_;
    }
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() external view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() external view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) external view returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) external returns (bool) {
        _transfer(msg.sender, recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) external view returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) external returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][msg.sender];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, msg.sender, currentAllowance - amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) external returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool) {
        uint256 currentAllowance = _allowances[msg.sender][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(msg.sender, spender, currentAllowance - subtractedValue);

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: burn from the zero address");

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

}

// File: contracts/modules/IERC20.sol

/**
 * : GPL-3.0-or-later
 * defrost
 * Copyright (C) 2020 defrost Protocol
 */
pragma solidity >=0.7.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {
    function decimals() external view returns (uint8);
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

      /**
     * EXTERNAL FUNCTION
     *
     * @dev change token name
     * @param _name token name
     * @param _symbol token symbol
     *
     */
    function changeTokenName(string calldata _name, string calldata _symbol)external;

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: contracts/modules/SafeMath.sol

// : GPL-3.0-or-later
pragma solidity >=0.7.0 <0.8.0;

/**
 * @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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
    uint256 constant internal calDecimal = 1e18; 
    function mulPrice(uint256 value,uint256[2] memory prices,uint8 id)internal pure returns(uint256){
        return id == 0 ? div(mul(mul(prices[1],value),calDecimal),prices[0]) :
            div(mul(mul(prices[0],value),calDecimal),prices[1]);
    }
    function divPrice(uint256 value,uint256[2] memory prices,uint8 id)internal pure returns(uint256){
        return id == 0 ? div(div(mul(prices[0],value),calDecimal),prices[1]) :
            div(div(mul(prices[1],value),calDecimal),prices[0]);
    }
}

// File: contracts/modules/Address.sol

// : GPL-3.0-or-later

pragma solidity >=0.7.0 <0.8.0;
/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: contracts/modules/safeErc20.sol

// : GPL-3.0-or-later
pragma solidity >=0.7.0 <0.8.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: contracts/uniswap/IJoeRouter01.sol

// : GPL-3.0-or-later

pragma solidity >=0.6.2;

interface IJoeRouter01 {
    function factory() external pure returns (address);

    function WAVAX() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityAVAX(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountAVAXMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountAVAX,
            uint256 liquidity
        );

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityAVAX(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountAVAXMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountAVAX);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityAVAXWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountAVAXMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountAVAX);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactAVAXForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactAVAX(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForAVAX(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapAVAXForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts);
}

// File: contracts/modules/ReentrancyGuard.sol

// : GPL-3.0-or-later
pragma solidity >=0.7.0 <0.8.0;
abstract contract ReentrancyGuard {

  /**
   * @dev We use a single lock for the whole contract.
   */
  bool private reentrancyLock = false;
  /**
   * @dev Prevents a contract from calling itself, directly or indirectly.
   * @notice If you mark a function `nonReentrant`, you should also
   * mark it `external`. Calling one nonReentrant function from
   * another is not supported. Instead, you can implement a
   * `private` function doing the actual work, and a `external`
   * wrapper marked as `nonReentrant`.
   */
  modifier nonReentrant() {
    require(!reentrancyLock);
    reentrancyLock = true;
    _;
    reentrancyLock = false;
  }

}

// File: contracts/modules/multiSignatureClient.sol

/**
 * : GPL-3.0-or-later
 * defrost
 * Copyright (C) 2020 defrost Protocol
 */
pragma solidity >=0.7.0 <0.8.0;

interface IMultiSignature{
    function getValidSignature(bytes32 msghash,uint256 lastIndex) external view returns(uint256);
}
contract multiSignatureClient{
    uint256 private constant multiSignaturePositon = uint256(keccak256("org.defrost.multiSignature.storage"));
    constructor(address multiSignature) {
        require(multiSignature != address(0),"multiSignatureClient : Multiple signature contract address is zero!");
        saveValue(multiSignaturePositon,uint256(multiSignature));
    }    
    function getMultiSignatureAddress()public view returns (address){
        return address(getValue(multiSignaturePositon));
    }
    modifier validCall(){
        checkMultiSignature();
        _;
    }
    function checkMultiSignature() internal {
        uint256 value;
        assembly {
            value := callvalue()
        }
        bytes32 msgHash = keccak256(abi.encodePacked(msg.sender, address(this),value,msg.data));
        address multiSign = getMultiSignatureAddress();
        uint256 index = getValue(uint256(msgHash));
        uint256 newIndex = IMultiSignature(multiSign).getValidSignature(msgHash,index);
        require(newIndex > index, "multiSignatureClient : This tx is not aprroved");
        saveValue(uint256(msgHash),newIndex);
    }
    function saveValue(uint256 position,uint256 value) internal 
    {
        assembly {
            sstore(position, value)
        }
    }
    function getValue(uint256 position) internal view returns (uint256 value) {
        assembly {
            value := sload(position)
        }
    }
}

// File: contracts/modules/proxyOwner.sol

// : GPL-3.0-or-later
pragma solidity >=0.7.0 <0.8.0;

/**
 * @title  proxyOwner Contract

 */

contract proxyOwner is multiSignatureClient{
    bytes32 private constant proxyOwnerPosition  = keccak256("org.defrost.Owner.storage");
    bytes32 private constant proxyOriginPosition0  = keccak256("org.defrost.Origin.storage.0");
    bytes32 private constant proxyOriginPosition1  = keccak256("org.defrost.Origin.storage.1");
    uint256 private constant oncePosition  = uint256(keccak256("org.defrost.Once.storage"));
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    event OriginTransferred(address indexed previousOrigin, address indexed newOrigin);
    constructor(address multiSignature,address origin0,address origin1) multiSignatureClient(multiSignature) {
        require(multiSignature != address(0) &&
        origin0 != address(0)&&
        origin1 != address(0),"proxyOwner : input zero address");
        _setProxyOwner(msg.sender);
        _setProxyOrigin(address(0),origin0);
        _setProxyOrigin(address(0),origin1);
    }
    /**
     * @dev Allows the current owner to transfer ownership
     * @param _newOwner The address to transfer ownership to
     */

    function transferOwnership(address _newOwner) public onlyOwner
    {
        _setProxyOwner(_newOwner);
    }
    function _setProxyOwner(address _newOwner) internal 
    {
        emit OwnershipTransferred(owner(),_newOwner);
        bytes32 position = proxyOwnerPosition;
        assembly {
            sstore(position, _newOwner)
        }
    }
    function owner() public view returns (address _owner) {
        bytes32 position = proxyOwnerPosition;
        assembly {
            _owner := sload(position)
        }
    }
    /**
    * @dev Throws if called by any account other than the owner.
    */
    modifier onlyOwner() {
        require (isOwner(),"proxyOwner: caller must be the proxy owner and a contract and not expired");
        _;
    }
    function transferOrigin(address _oldOrigin,address _newOrigin) public onlyOrigin
    {
        _setProxyOrigin(_oldOrigin,_newOrigin);
    }
    function _setProxyOrigin(address _oldOrigin,address _newOrigin) internal 
    {
        emit OriginTransferred(_oldOrigin,_newOrigin);
        (address _origin0,address _origin1) = txOrigin();
        if (_origin0 == _oldOrigin){
            bytes32 position = proxyOriginPosition0;
            assembly {
                sstore(position, _newOrigin)
            }
        }else if(_origin1 == _oldOrigin){
            bytes32 position = proxyOriginPosition1;
            assembly {
                sstore(position, _newOrigin)
            }            
        }else{
            require(false,"OriginTransferred : old origin is illegal address!");
        }
    }
    function txOrigin() public view returns (address _origin0,address _origin1) {
        bytes32 position0 = proxyOriginPosition0;
        bytes32 position1 = proxyOriginPosition1;
        assembly {
            _origin0 := sload(position0)
            _origin1 := sload(position1)
        }
    }
    modifier originOnce() {
        require (isOrigin(),"proxyOwner: caller is not the tx origin!");
        uint256 key = oncePosition+uint32(msg.sig);
        require (getValue(key)==0, "proxyOwner : This function must be invoked only once!");
        saveValue(key,1);
        _;
    }
    function isOrigin() public view returns (bool){
        (address _origin0,address _origin1) = txOrigin();
        return  msg.sender == _origin0 || msg.sender == _origin1;
    }
    function isOwner() public view returns (bool) {
        return msg.sender == owner() && isContract(msg.sender);
    }
    /**
    * @dev Throws if called by any account other than the owner.
    */
    modifier onlyOrigin() {
        require (isOrigin(),"proxyOwner: caller is not the tx origin!");
        checkMultiSignature();
        _;
    }
    modifier OwnerOrOrigin(){
        if (isOwner()){
        }else if(isOrigin()){
            checkMultiSignature();
        }else{
            require(false,"proxyOwner: caller is not owner or origin");
        }
        _;
    }
    
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }
}

// File: contracts/interface/IDSOracle.sol

// : GPL-3.0-or-later
pragma solidity >=0.7.0 <0.8.0;

interface IDSOracle {
    /**
  * @notice retrieves price of an asset
  * @dev function to get price for an asset
  * @param token Asset for which to get the price
  * @return uint mantissa of asset price (scaled by 1e8) or zero if unset or contract paused
  */
    function getPriceInfo(address token) external view returns (bool,uint256);
    function getPrices(address[]calldata assets) external view returns (uint256[]memory);
}
abstract contract ImportOracle is proxyOwner{
    IDSOracle internal _oracle;
    function oraclePrice(address asset) internal view returns (bool,uint256){
        (bool inTol,uint256 price) = _oracle.getPriceInfo(asset);
        require(price >= 100 && price <= 1e45,"oracle price error");
        return (inTol,price);
    }
    function getOracleAddress() public view returns(address){
        return address(_oracle);
    }
    function setOracleAddress(address oracle)public OwnerOrOrigin{
        _oracle = IDSOracle(oracle);
    }
}

// File: contracts/superVaultV2/superTokenV2.sol

// : GPL-3.0-or-later

pragma solidity >=0.7.0 <0.8.0;







// superToken is the coolest vault in town. You come in with some token, and leave with more! The longer you stay, the more token you get.
//
// This contract handles swapping to and from superToken.
contract superTokenV2 is ERC20,ImportOracle,ReentrancyGuard {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;
    IERC20 public stakeToken;
    address payable public FeePool;
    uint256 public slipRate = 9500;
    uint256 public feeRate = 2e3;    //1e4
    uint256 public enterFee = 5e15;
    uint256 public leaveFee = 0;
    uint256 public latestCompoundTime;
    uint256 constant calDecimals = 1e18;
    mapping(address=>mapping(address=>address[])) public swapRoutingPath;
    address public constant WAVAX = 0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7;
    address public constant traderJoe = 0x60aE616a2155Ee3d9A68541Ba4544862310933d4;
    IERC20 public melt = IERC20(0x47EB6F7525C1aA999FBC9ee92715F5231eB1241D);
    address public constant meltFeePool = address(1);

    struct rewardInfo {
        uint8 rewardType;
        bool bClosed;
        address rewardToken;
        uint256 sellLimit;
    }
    rewardInfo[] public rewardInfos;

    event SetMeltFee(address indexed from,uint256 _enterFee,uint256 leaveFee);
    event SetFeePoolAddress(address indexed from,address _feePool);
    event SetSlipRate(address indexed from,uint256 _slipRate);
    event SetFeeRate(address indexed from,uint256 _feeRate);
    event SetSwapRoutingPath(address indexed from,address indexed token0,address indexed token1,address[] swapPath);
    event SetReward(address indexed from, uint256 index,uint8 _reward,bool _bClosed,address _rewardToken,uint256 _sellLimit);
    // Define the stakeToken token contract
    constructor(address multiSignature,address origin0,address origin1,address _stakeToken,address _dsOracle,address payable _FeePool)
            proxyOwner(multiSignature,origin0,origin1) {
        FeePool = _FeePool;
        _oracle = IDSOracle(_dsOracle);
        stakeToken = IERC20(_stakeToken);
        setTokenErc20();
    }
    function setTokenErc20() internal virtual{
        address _stakeToken = address(stakeToken);
        string memory tokenName_ = string(abi.encodePacked("Super ",IERC20(_stakeToken).name()));
        string memory symble_ = string(abi.encodePacked("S",IERC20(_stakeToken).symbol()));
        setErc20Info(tokenName_,symble_,IERC20(_stakeToken).decimals());
    }
    function deposit(address account,uint256 _amount)internal virtual{
        stakeToken.safeTransferFrom(account, address(this), _amount);
    }
    function withdraw(address account,uint256 _amount)internal virtual{
        stakeToken.safeTransfer(account, _amount);
    }
    function stakeBalance()public virtual view returns (uint256){
        return stakeToken.balanceOf(address(this));
    }
    receive() external payable {
        // React to receiving ether
    }
    // Enter the bar. Pay some stakeTokens. Earn some shares.
    // Locks stakeToken and mints superToken
    function enter(uint256 _amount) external nonReentrant {
        // Gets the amount of stakeToken locked in the contract
        uint256 totalstakeToken = stakeBalance();
        // Gets the amount of superToken in existence
        uint256 totalShares = totalSupply();
        // If no superToken exists, mint it 1:1 to the amount put in
        if (totalShares == 0 || totalstakeToken == 0) {
            _mint(msg.sender, _amount);
        }
        // Calculate and mint the amount of superToken the stakeToken is worth. The ratio will change overtime, as superToken is burned/minted and stakeToken deposited + gained from fees / withdrawn.
        else {
            uint256 what = _amount.mul(totalShares).div(totalstakeToken);
            _mint(msg.sender, what);
        }
        deposit(msg.sender,_amount);
        transferMeltFee(msg.sender,_getMeltFee(enterFee,_amount));
    }

    // Leave the bar. Claim back your stakeTokens.
    // Unlocks the staked + gained stakeToken and burns superToken
    function leave(uint256 _share) external nonReentrant {
        // Gets the amount of superToken in existence
        uint256 totalShares = totalSupply();
        uint256 totalstakeToken = stakeBalance();
        // Calculates the amount of stakeToken the superToken is worth
        uint256 what = _share.mul(totalstakeToken).div(totalShares);
        _burn(msg.sender, _share);
        withdraw(msg.sender, what);
        transferMeltFee(msg.sender,_getMeltFee(leaveFee,what));
    }
    function _getMeltFee(uint256 rate,uint256 enterAmount) internal view returns (uint256){
        if(rate > 0){
            uint256 price = getStakeTokenPrice();
            uint256 usdAmount = enterAmount.mul(price)/calDecimals;
            return usdAmount.mul(rate)/calDecimals;
        }
        return 0;
    }
    function getStakeTokenPrice() public view virtual returns (uint256) {
        return calDecimals;
    }
    function getEnterMeltFee(uint256 enterAmount) external view returns (uint256){
        return _getMeltFee(enterFee,enterAmount);
    }
    function getLeaveMeltFee(uint256 leaveAmount) external view returns (uint256) {
        uint256 totalShares = totalSupply();
        uint256 totalstakeToken = stakeBalance();
        // Calculates the amount of stakeToken the superToken is worth
        if (totalShares > 0){
            uint256 what = leaveAmount.mul(totalstakeToken).div(totalShares);
            return _getMeltFee(leaveFee,what);
        }else{
            return _getMeltFee(leaveFee,leaveAmount);
        }
    }
    function transferMeltFee(address account,uint256 _amount) internal{
        if(_amount > 0){
            melt.safeTransferFrom(account,meltFeePool, _amount);
        }
    }
    function setMeltFee(uint256 _enterFee,uint256 _leaveFee)external onlyOrigin{
        enterFee = _enterFee;
        leaveFee = _leaveFee;
        emit SetMeltFee(msg.sender,_enterFee,_leaveFee);
    }
    function setFeePoolAddress(address payable feeAddress)external onlyOrigin notZeroAddress(feeAddress){
        FeePool = feeAddress;
        emit SetFeePoolAddress(msg.sender,feeAddress);
    }
    function setSlipRate(uint256 _slipRate) external onlyOrigin{
        require(_slipRate < 10000,"slipRate out of range!");
        slipRate = _slipRate;
        emit SetSlipRate(msg.sender,_slipRate);
    }
    function setFeeRate(uint256 _feeRate) external onlyOrigin{
        require(_feeRate < 5000,"feeRate out of range!");
        feeRate = _feeRate;
        emit SetFeeRate(msg.sender,_feeRate);
    }
    function getSwapRouterPathInfo(address token0,address token1)public view returns (address[] memory path){
        path = swapRoutingPath[token0][token1];
        if (path.length > 1){
            return path;
        }
        path = new address[](2);
        path[0] = token0 == address(0) ? WAVAX : token0;
        path[1] = token1 == address(0) ? WAVAX : token1;
    }
    function setSwapRoutingPathInfo(address token0,address token1,address[] calldata swapPath) external onlyOrigin {
        swapRoutingPath[token0][token1] = swapPath;
        emit SetSwapRoutingPath(msg.sender,token0,token1,swapPath);
    }
    function getSwapMinAmountOut(address tokenIn,address tokenOut,uint256 amountIn)internal view returns(uint256){
        address[] memory assets = new address[](2);
        assets[0] = tokenIn;
        assets[1] = tokenOut;
        uint256[]memory prices = _oracle.getPrices(assets);
        if (prices[0]>0 && prices[1]>0){
            return amountIn.mul(prices[0]).mul(slipRate)/prices[1]/1e4;
        }
        return 0;
    }
    modifier notZeroAddress(address inputAddress) {
        require(inputAddress != address(0), "superToken : input zero address");
        _;
    }
    function swapTraderJoe(address token0,address token1,uint256 balance)internal{
        if(token0 == token1){
            return;
        }
        uint256 minOut = getSwapMinAmountOut(token0,token1,balance);
        address[] memory path = getSwapRouterPathInfo(token0,token1);
        if (token0 == address(0)){
            IJoeRouter01(traderJoe).swapExactAVAXForTokens{value : balance}(minOut,path,address(this),block.timestamp+30);
        }else{
            if (token1 == address(0)){
                IJoeRouter01(traderJoe).swapExactTokensForAVAX(balance,minOut,path,address(this),block.timestamp+30);
            }else{
                IJoeRouter01(traderJoe).swapExactTokensForTokens(balance,minOut,path,address(this),block.timestamp+30);
            }
        }
    }
    function setReward(uint256 index,uint8 _reward,bool _bClosed,address _rewardToken,uint256 _sellLimit)  external onlyOrigin {
        _setReward(index,_reward,_bClosed,_rewardToken,_sellLimit);
    }
    function _setReward(uint256 index,uint8 _reward,bool _bClosed,address _rewardToken,uint256 _sellLimit) internal{
        if(index <rewardInfos.length){
            rewardInfo storage info = rewardInfos[index];
            info.rewardType = _reward;
            info.bClosed = _bClosed;
            info.rewardToken = _rewardToken;
            info.sellLimit = _sellLimit;
        }else{
            rewardInfos.push(rewardInfo(_reward,_bClosed,_rewardToken,_sellLimit));
            if(_rewardToken != address(0)){
                SafeERC20.safeApprove(IERC20(_rewardToken), traderJoe, uint(-1));
            }
        }
        emit SetReward(msg.sender,index,_reward,_bClosed,_rewardToken,_sellLimit);
    }
}

// File: contracts/superVault/IBenqiCompound.sol

// : GPL-3.0-or-later
pragma solidity >=0.7.0 <0.8.0;
interface IBenqiCompound {
    function claimReward(uint8 rewardType, address payable holder, address[] memory qiTokens) external;
}

// File: contracts/superVaultV2/superQiTokenV2.sol

// : GPL-3.0-or-later

pragma solidity >=0.7.0 <0.8.0;



// superToken is the coolest vault in town. You come in with some token, and leave with more! The longer you stay, the more token you get.
//
// This contract handles swapping to and from superToken.
contract superQiTokenV2 is superTokenV2 {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;
    
    address public underlying;

    IBenqiCompound public constant compounder = IBenqiCompound(0x486Af39519B4Dc9a7fCcd318217352830E8AD9b4);
    
    // Define the qiToken token contract
    constructor(address multiSignature,address origin0,address origin1,address _stakeToken,address _dsOracle,address payable _FeePool)
            superTokenV2(multiSignature,origin0,origin1,_stakeToken,_dsOracle,_FeePool) {
        _setReward(0,0,false,0x8729438EB15e2C8B576fCc6AeCdA6A148776C0F5,1e17);
        _setReward(1,1,false,address(0),1e15);
    }
    function getSwapRouterPath(address token)public view returns (address[] memory path){
         return getSwapRouterPathInfo(token,underlying);
    }
    function claimReward(uint index) internal {
        rewardInfo memory info = rewardInfos[index];
        if(info.bClosed){
            return;
        }
        address[] memory qiTokens = new address[](1); 
        qiTokens[0] = address(stakeToken);
        compounder.claimReward(info.rewardType,address(this),qiTokens);
        swapTraderJoe(info.rewardToken,info.sellLimit);
    }
    function swapTraderJoe(address token,uint256 sellLimit)internal{
        uint256 balance = (token != address(0)) ? IERC20(token).balanceOf(address(this)) : address(this).balance;
        if (balance < sellLimit){
            return;
        }
        swapTraderJoe(token,underlying,balance);
    }
    function getStakeTokenPrice() public override view returns (uint256) {
        ICErc20 token = ICErc20(address(stakeToken));
        uint256 exchangeRate = token.exchangeRateStored();
        (,uint256 price) = oraclePrice(address(underlying));
        return price.mul(exchangeRate)/1e18;
    }
}

// File: contracts/superVaultV2/superQiErc20V2.sol

// : GPL-3.0-or-later

pragma solidity >=0.7.0 <0.8.0;


//
// This contract handles swapping to and from superQiErc20
contract superQiErc20V2 is superQiTokenV2 {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;
    // Define the qiToken token contract
    constructor(address multiSignature,address origin0,address origin1,address _qiToken,address _dsOracle,address payable _FeePool)
            superQiTokenV2(multiSignature,origin0,origin1,_qiToken,_dsOracle,_FeePool) {
        underlying = ICErc20(_qiToken).underlying();
        SafeERC20.safeApprove(IERC20(underlying), _qiToken, uint(-1));

        address QI = 0x8729438EB15e2C8B576fCc6AeCdA6A148776C0F5;
        swapRoutingPath[QI][underlying] = new address[](3);
        swapRoutingPath[QI][underlying][0] = QI;
        swapRoutingPath[QI][underlying][1] = WAVAX;
        swapRoutingPath[QI][underlying][2] = underlying;
    }
    function compound() external{
        latestCompoundTime = block.timestamp;
        uint nLen = rewardInfos.length;
        for (uint i=0;i<nLen;i++){
            claimReward(i);
        }
        IERC20 oToken = IERC20(underlying);
        uint256 balance = oToken.balanceOf(address(this));
        if (balance>0){
            uint256 fee = balance.mul(feeRate)/10000;
            oToken.safeTransfer(FeePool,fee);
            ICErc20(address(stakeToken)).mint(balance.sub(fee));
        }
    }

}

Contract ABI

[{"inputs":[{"internalType":"address","name":"multiSignature","type":"address"},{"internalType":"address","name":"origin0","type":"address"},{"internalType":"address","name":"origin1","type":"address"},{"internalType":"address","name":"_qiToken","type":"address"},{"internalType":"address","name":"_dsOracle","type":"address"},{"internalType":"address payable","name":"_FeePool","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOrigin","type":"address"},{"indexed":true,"internalType":"address","name":"newOrigin","type":"address"}],"name":"OriginTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"_feePool","type":"address"}],"name":"SetFeePoolAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_feeRate","type":"uint256"}],"name":"SetFeeRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_enterFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"leaveFee","type":"uint256"}],"name":"SetMeltFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"_reward","type":"uint8"},{"indexed":false,"internalType":"bool","name":"_bClosed","type":"bool"},{"indexed":false,"internalType":"address","name":"_rewardToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"_sellLimit","type":"uint256"}],"name":"SetReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_slipRate","type":"uint256"}],"name":"SetSlipRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"token0","type":"address"},{"indexed":true,"internalType":"address","name":"token1","type":"address"},{"indexed":false,"internalType":"address[]","name":"swapPath","type":"address[]"}],"name":"SetSwapRoutingPath","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FeePool","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WAVAX","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"compound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"compounder","outputs":[{"internalType":"contract IBenqiCompound","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"enter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enterFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"enterAmount","type":"uint256"}],"name":"getEnterMeltFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"leaveAmount","type":"uint256"}],"name":"getLeaveMeltFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMultiSignatureAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOracleAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakeTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getSwapRouterPath","outputs":[{"internalType":"address[]","name":"path","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"}],"name":"getSwapRouterPathInfo","outputs":[{"internalType":"address[]","name":"path","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isOrigin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestCompoundTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_share","type":"uint256"}],"name":"leave","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"leaveFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"melt","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"meltFeePool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardInfos","outputs":[{"internalType":"uint8","name":"rewardType","type":"uint8"},{"internalType":"bool","name":"bClosed","type":"bool"},{"internalType":"address","name":"rewardToken","type":"address"},{"internalType":"uint256","name":"sellLimit","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"feeAddress","type":"address"}],"name":"setFeePoolAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeRate","type":"uint256"}],"name":"setFeeRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_enterFee","type":"uint256"},{"internalType":"uint256","name":"_leaveFee","type":"uint256"}],"name":"setMeltFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"oracle","type":"address"}],"name":"setOracleAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint8","name":"_reward","type":"uint8"},{"internalType":"bool","name":"_bClosed","type":"bool"},{"internalType":"address","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_sellLimit","type":"uint256"}],"name":"setReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_slipRate","type":"uint256"}],"name":"setSlipRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"address[]","name":"swapPath","type":"address[]"}],"name":"setSwapRoutingPathInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slipRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakeBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakeToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"swapRoutingPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"traderJoe","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oldOrigin","type":"address"},{"internalType":"address","name":"_newOrigin","type":"address"}],"name":"transferOrigin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"txOrigin","outputs":[{"internalType":"address","name":"_origin0","type":"address"},{"internalType":"address","name":"_origin1","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"underlying","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526005805460ff60a81b1916905561251c6008556107d06009556611c37937e08000600a556000600b55600e80546001600160a01b0319167347eb6f7525c1aa999fbc9ee92715f5231eb1241d1790553480156200006057600080fd5b5060405162004c7c38038062004c7c833981810160405260c08110156200008657600080fd5b508051602082015160408301516060840151608085015160a0909501519394929391929091858585858585858585858585858585826001600160a01b038116620001025760405162461bcd60e51b815260040180806020018281038252604381526020018062004b876043913960600191505060405180910390fd5b620001377f860a69b4e688133bace199665ed9e08fba224f0ea3198771160e97c111c09e4c6001600160a01b038316620004d3565b506001600160a01b038316158015906200015957506001600160a01b03821615155b80156200016e57506001600160a01b03811615155b620001c0576040805162461bcd60e51b815260206004820152601f60248201527f70726f78794f776e6572203a20696e707574207a65726f206164647265737300604482015290519081900360640190fd5b620001cb33620004d7565b620001d860008362000533565b620001e560008262000533565b5050600780546001600160a01b038085166001600160a01b0319928316179092556005805486841661010002610100600160a81b03199091161790556006805492871692909116919091179055506200023d6200062a565b505050505050620002766000806000738729438eb15e2c8b576fcc6aecda6a148776c0f567016345785d8a000062000a0560201b60201c565b6200028e60018060008066038d7ea4c6800062000a05565b505050505050826001600160a01b0316636f307dc36040518163ffffffff1660e01b815260040160206040518083038186803b158015620002ce57600080fd5b505afa158015620002e3573d6000803e3d6000fd5b505050506040513d6020811015620002fa57600080fd5b5051601080546001600160a01b0319166001600160a01b0392831617908190556200033691168460001962000bde602090811b62001c5417901c565b60408051600380825260808201909252738729438eb15e2c8b576fcc6aecda6a148776c0f591602082016060803683375050506001600160a01b038281166000908152600d6020908152604080832060105490941683529281529190208251620003a793919291909101906200106a565b506001600160a01b038082166000908152600d6020908152604080832060105490941683529290529081208054839290620003de57fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790558383168252600d81526040808320601054909416835292905220805473b31f66aa3c1e785363f0875a1b74e27b85fd66c7919060019081106200044557fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790556010548484168352600d82526040808420919094168084529152919020805460029081106200049857fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050505050506200116e565b9055565b6001600160a01b038116620004eb62000cfd565b6001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008051602062004bca83398151915255565b806001600160a01b0316826001600160a01b03167f6b0ba40b63fe0a4e591f25c6d723a40b532ff7cf536f3ce5abc7f6fb9969418060405160405180910390a36000806200058062000d11565b91509150836001600160a01b0316826001600160a01b03161415620005b85760008051602062004b6783398151915283905562000624565b836001600160a01b0316816001600160a01b03161415620005ec5760008051602062004b4783398151915283905562000624565b60405162461bcd60e51b815260040180806020018281038252603281526020018062004c4a6032913960400191505060405180910390fd5b50505050565b600654604080516306fdde0360e01b815290516001600160a01b039092169160609183916306fdde0391600480820192600092909190829003018186803b1580156200067557600080fd5b505afa1580156200068a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015620006b457600080fd5b8101908080516040519392919084640100000000821115620006d557600080fd5b908301906020820185811115620006eb57600080fd5b82516401000000008111828201881017156200070657600080fd5b82525081516020918201929091019080838360005b83811015620007355781810151838201526020016200071b565b50505050905090810190601f168015620007635780820380516001836020036101000a031916815260200191505b50604052505050604051602001808065029bab832b9160d51b81525060060182805190602001908083835b60208310620007af5780518252601f1990920191602091820191016200078e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405290506060826001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156200082157600080fd5b505afa15801562000836573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156200086057600080fd5b81019080805160405193929190846401000000008211156200088157600080fd5b9083019060208201858111156200089757600080fd5b8251640100000000811182820188101715620008b257600080fd5b82525081516020918201929091019080838360005b83811015620008e1578181015183820152602001620008c7565b50505050905090810190601f1680156200090f5780820380516001836020036101000a031916815260200191505b506040525050506040516020018080605360f81b81525060010182805190602001908083835b60208310620009565780518252601f19909201916020918201910162000935565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052905062000a008282856001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015620009cc57600080fd5b505afa158015620009e1573d6000803e3d6000fd5b505050506040513d6020811015620009f857600080fd5b505162000d37565b505050565b600f5485101562000a73576000600f868154811062000a2057fe5b60009182526020909120600290910201805460ff191660ff87161761ff001916610100861515021762010000600160b01b031916620100006001600160a01b038616021781556001018290555062000b7b565b6040805160808101825260ff8087168252851515602083019081526001600160a01b0380871694840185815260608501878152600f8054600181018255600091909152955160029096027f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8028101805495519351909416620100000262010000600160b01b03199315156101000261ff00199890971660ff1990961695909517969096169490941716919091179055517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac803909101551562000b7b5762000b7b827360ae616a2155ee3d9a68541ba4544862310933d460001962000bde60201b62001c541760201c565b6040805186815260ff86166020820152841515818301526001600160a01b038416606082015260808101839052905133917fc9ed0cc3bedda8d5f6d31c3b9351ce17b1478ca1d10281ce8e5e958cb38cc219919081900360a00190a25050505050565b80158062000c68575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801562000c3857600080fd5b505afa15801562000c4d573d6000803e3d6000fd5b505050506040513d602081101562000c6457600080fd5b5051155b62000ca55760405162461bcd60e51b815260040180806020018281038252603681526020018062004c146036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b1790915262000a0091859162000d7b16565b60008051602062004bca8339815191525490565b60008051602062004b678339815191525460008051602062004b47833981519152549091565b825162000d4c906003906020860190620010d4565b50815162000d62906004906020850190620010d4565b506005805460ff191660ff929092169190911790555050565b606062000dd7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031662000e3760201b62001d67179092919060201c565b80519091501562000a005780806020019051602081101562000df857600080fd5b505162000a005760405162461bcd60e51b815260040180806020018281038252602a81526020018062004bea602a913960400191505060405180910390fd5b606062000e48848460008562000e52565b90505b9392505050565b60608247101562000e955760405162461bcd60e51b815260040180806020018281038252602681526020018062004b216026913960400191505060405180910390fd5b62000ea08562000fba565b62000ef2576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831062000f335780518252601f19909201916020918201910162000f12565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462000f97576040519150601f19603f3d011682016040523d82523d6000602084013e62000f9c565b606091505b50909250905062000faf82828662000fc0565b979650505050505050565b3b151590565b6060831562000fd157508162000e4b565b82511562000fe25782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200102e57818101518382015260200162001014565b50505050905090810190601f1680156200105c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054828255906000526020600020908101928215620010c2579160200282015b82811115620010c257825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200108b565b50620010d092915062001157565b5090565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200110c5760008555620010c2565b82601f106200112757805160ff1916838001178555620010c2565b82800160010185558215620010c2579182015b82811115620010c25782518255916020019190600101906200113a565b5b80821115620010d0576000815560010162001158565b6139a3806200117e6000396000f3fe6080604052600436106102cd5760003560e01c8063888eb37711610175578063b18b78dd116100dc578063ea3460cc11610095578063f69e20461161006f578063f69e204614610b26578063f6c1da1a14610b3b578063f96757d114610b76578063fa2cc3c014610bba576102d4565b8063ea3460cc14610ac9578063f2fde38b14610ade578063f595416f14610b11576102d4565b8063b18b78dd146109f2578063b22a8ffb14610a07578063b2df3dd514610a31578063b40643a914610a46578063d94969ad14610a5b578063dd62ed3e14610a8e576102d4565b8063978bbdb91161012e578063978bbdb91461085d57806397c86edf14610872578063a457c2d7146108c2578063a59f3e0c146108fb578063a9059cbb14610925578063afe5e5b61461095e576102d4565b8063888eb3771461077d57806389d6517f146107ad5780638da5cb5b146108095780638f32d59b1461081e57806393bc9dfe1461083357806395d89b4114610848576102d4565b8063447d10f111610234578063638c7e17116101ed5780636f307dc3116101c75780636f307dc31461070b57806370a082311461072057806373b295c2146107535780637fc245f414610768576102d4565b8063638c7e17146106a257806367dfd4c9146106b7578063693ca371146106e1576102d4565b8063447d10f1146105c157806345596e2e146106045780634c69c00f1461063057806351ed6a30146106635780635220f5101461067857806362f7ef6b1461068d576102d4565b80631d4c3b05116102865780631d4c3b051461044757806323b872dd146104d25780632de5f58814610515578063313ce5671461052a57806339509351146105555780633bb857111461058e576102d4565b806306fdde03146102d9578063085684a214610363578063095ea7b3146103945780630bb52153146103e157806315ffeea91461040857806318160ddd14610432576102d4565b366102d457005b600080fd5b3480156102e557600080fd5b506102ee610bcf565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610328578181015183820152602001610310565b50505050905090810190601f1680156103555780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561036f57600080fd5b50610378610c65565b604080516001600160a01b039092168252519081900360200190f35b3480156103a057600080fd5b506103cd600480360360408110156103b757600080fd5b506001600160a01b038135169060200135610c7d565b604080519115158252519081900360200190f35b3480156103ed57600080fd5b506103f6610c94565b60408051918252519081900360200190f35b34801561041457600080fd5b506103f66004803603602081101561042b57600080fd5b5035610c9a565b34801561043e57600080fd5b506103f6610cb0565b34801561045357600080fd5b506104826004803603604081101561046a57600080fd5b506001600160a01b0381358116916020013516610cb6565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156104be5781810151838201526020016104a6565b505050509050019250505060405180910390f35b3480156104de57600080fd5b506103cd600480360360608110156104f557600080fd5b506001600160a01b03813581169160208101359091169060400135610e06565b34801561052157600080fd5b506103f6610e90565b34801561053657600080fd5b5061053f610f47565b6040805160ff9092168252519081900360200190f35b34801561056157600080fd5b506103cd6004803603604081101561057857600080fd5b506001600160a01b038135169060200135610f50565b34801561059a57600080fd5b50610482600480360360208110156105b157600080fd5b50356001600160a01b0316610f83565b3480156105cd57600080fd5b50610378600480360360608110156105e457600080fd5b506001600160a01b03813581169160208101359091169060400135610f9d565b34801561061057600080fd5b5061062e6004803603602081101561062757600080fd5b5035610fe2565b005b34801561063c57600080fd5b5061062e6004803603602081101561065357600080fd5b50356001600160a01b03166110b9565b34801561066f57600080fd5b50610378611144565b34801561068457600080fd5b50610378611153565b34801561069957600080fd5b506103f6611162565b3480156106ae57600080fd5b50610378611168565b3480156106c357600080fd5b5061062e600480360360208110156106da57600080fd5b5035611198565b3480156106ed57600080fd5b506103f66004803603602081101561070457600080fd5b503561122e565b34801561071757600080fd5b5061037861128a565b34801561072c57600080fd5b506103f66004803603602081101561074357600080fd5b50356001600160a01b0316611299565b34801561075f57600080fd5b506103786112b4565b34801561077457600080fd5b506103786112cc565b34801561078957600080fd5b5061062e600480360360408110156107a057600080fd5b50803590602001356112d1565b3480156107b957600080fd5b506107d7600480360360208110156107d057600080fd5b5035611364565b6040805160ff909516855292151560208501526001600160a01b03909116838301526060830152519081900360800190f35b34801561081557600080fd5b506103786113ad565b34801561082a57600080fd5b506103cd6113d2565b34801561083f57600080fd5b506103f6611400565b34801561085457600080fd5b506102ee61147c565b34801561086957600080fd5b506103f66114dd565b34801561087e57600080fd5b5061062e600480360360a081101561089557600080fd5b5080359060ff6020820135169060408101351515906001600160a01b0360608201351690608001356114e3565b3480156108ce57600080fd5b506103cd600480360360408110156108e557600080fd5b506001600160a01b038135169060200135611542565b34801561090757600080fd5b5061062e6004803603602081101561091e57600080fd5b50356115bc565b34801561093157600080fd5b506103cd6004803603604081101561094857600080fd5b506001600160a01b038135169060200135611667565b34801561096a57600080fd5b5061062e6004803603606081101561098157600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b8111156109b457600080fd5b8201836020820111156109c657600080fd5b803590602001918460208302840111600160201b831117156109e757600080fd5b509092509050611674565b3480156109fe57600080fd5b50610378611777565b348015610a1357600080fd5b5061062e60048036036020811015610a2a57600080fd5b503561178b565b348015610a3d57600080fd5b506103f6611863565b348015610a5257600080fd5b506103cd611869565b348015610a6757600080fd5b5061062e60048036036020811015610a7e57600080fd5b50356001600160a01b03166118a1565b348015610a9a57600080fd5b506103f660048036036040811015610ab157600080fd5b506001600160a01b03813581169160200135166119a0565b348015610ad557600080fd5b506103f66119cb565b348015610aea57600080fd5b5061062e60048036036020811015610b0157600080fd5b50356001600160a01b03166119d1565b348015610b1d57600080fd5b50610378611a20565b348015610b3257600080fd5b5061062e611a2f565b348015610b4757600080fd5b5061062e60048036036040811015610b5e57600080fd5b506001600160a01b0381358116916020013516611b9b565b348015610b8257600080fd5b50610b8b611bf4565b60405180836001600160a01b03168152602001826001600160a01b031681526020019250505060405180910390f35b348015610bc657600080fd5b50610378611c3c565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c5b5780601f10610c3057610100808354040283529160200191610c5b565b820191906000526020600020905b815481529060010190602001808311610c3e57829003601f168201915b5050505050905090565b7360ae616a2155ee3d9a68541ba4544862310933d481565b6000610c8a338484611d7e565b5060015b92915050565b600a5481565b6000610ca8600a5483611e6a565b90505b919050565b60025490565b6001600160a01b038083166000908152600d60209081526040808320938516835292815290829020805483518184028101840190945280845260609392830182828015610d2c57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610d0e575b50505050509050600181511115610d4257610c8e565b60408051600280825260608201835290916020830190803683370190505090506001600160a01b03831615610d775782610d8d565b73b31f66aa3c1e785363f0875a1b74e27b85fd66c75b81600081518110610d9a57fe5b6001600160a01b039283166020918202929092010152821615610dbd5781610dd3565b73b31f66aa3c1e785363f0875a1b74e27b85fd66c75b81600181518110610de057fe5b60200260200101906001600160a01b031690816001600160a01b03168152505092915050565b6000610e13848484611eca565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610e765760405162461bcd60e51b81526004018080602001828103825260288152602001806137fd6028913960400191505060405180910390fd5b610e838533858403611d7e565b60019150505b9392505050565b6006546040805163182df0f560e01b815290516000926001600160a01b0316918391839163182df0f5916004808301926020929190829003018186803b158015610ed957600080fd5b505afa158015610eed573d6000803e3d6000fd5b505050506040513d6020811015610f0357600080fd5b5051601054909150600090610f20906001600160a01b0316612015565b9150670de0b6b3a76400009050610f378284612128565b81610f3e57fe5b04935050505090565b60055460ff1690565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610c8a9185908501611d7e565b601054606090610ca89083906001600160a01b0316610cb6565b600d6020528260005260406000206020528160005260406000208181548110610fc557600080fd5b6000918252602090912001546001600160a01b0316925083915050565b610fea611869565b6110255760405162461bcd60e51b81526004018080602001828103825260288152602001806139466028913960400191505060405180910390fd5b61102d612181565b611388811061107b576040805162461bcd60e51b815260206004820152601560248201527466656552617465206f7574206f662072616e67652160581b604482015290519081900360640190fd5b600981905560408051828152905133917fcfb4ca721b9a64dcc3626a15f4a4e53a6b1edd2a79e24527ac117aa8d9f1e4dd919081900360200190a250565b6110c16113d2565b156110cb5761111c565b6110d3611869565b156110e5576110e0612181565b61111c565b60405162461bcd60e51b81526004018080602001828103825260298152602001806137b36029913960400191505060405180910390fd5b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6006546001600160a01b031681565b600e546001600160a01b031681565b60085481565b60006111937f860a69b4e688133bace199665ed9e08fba224f0ea3198771160e97c111c09e4c6122c8565b905090565b600554600160a81b900460ff16156111af57600080fd5b6005805460ff60a81b1916600160a81b17905560006111cc610cb0565b905060006111d8611400565b905060006111f0836111ea8685612128565b906122cc565b90506111fc338561230e565b611206338261240c565b61121b33611216600b5484611e6a565b612423565b50506005805460ff60a81b191690555050565b600080611239610cb0565b90506000611245611400565b9050811561127557600061125d836111ea8785612128565b905061126b600b5482611e6a565b9350505050610cab565b611281600b5485611e6a565b92505050610cab565b6010546001600160a01b031681565b6001600160a01b031660009081526020819052604090205490565b73b31f66aa3c1e785363f0875a1b74e27b85fd66c781565b600181565b6112d9611869565b6113145760405162461bcd60e51b81526004018080602001828103825260288152602001806139466028913960400191505060405180910390fd5b61131c612181565b600a829055600b8190556040805183815260208101839052815133927f3500782ce2a3d459d1e698f482fd5249b727c7509b402592ce2b851699c71d48928290030190a25050565b600f818154811061137457600080fd5b60009182526020909120600290910201805460019091015460ff8083169350610100830416916201000090046001600160a01b03169084565b7f1221c3ca8a23c3a74a18c944c7b23b29e262f9cd12de4c345744293e8adf4ba75490565b60006113dc6113ad565b6001600160a01b0316336001600160a01b0316148015611193575061119333612442565b600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561144b57600080fd5b505afa15801561145f573d6000803e3d6000fd5b505050506040513d602081101561147557600080fd5b5051905090565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c5b5780601f10610c3057610100808354040283529160200191610c5b565b60095481565b6114eb611869565b6115265760405162461bcd60e51b81526004018080602001828103825260288152602001806139466028913960400191505060405180910390fd5b61152e612181565b61153b8585858585612448565b5050505050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156115a55760405162461bcd60e51b81526004018080602001828103825260258152602001806138ef6025913960400191505060405180910390fd5b6115b23385858403611d7e565b5060019392505050565b600554600160a81b900460ff16156115d357600080fd5b6005805460ff60a81b1916600160a81b17905560006115f0611400565b905060006115fc610cb0565b9050801580611609575081155b1561161d576116183384612610565b61163b565b600061162d836111ea8685612128565b90506116393382612610565b505b61164533846126c8565b61165533611216600a5486611e6a565b50506005805460ff60a81b1916905550565b6000610c8a338484611eca565b61167c611869565b6116b75760405162461bcd60e51b81526004018080602001828103825260288152602001806139466028913960400191505060405180910390fd5b6116bf612181565b6001600160a01b038085166000908152600d602090815260408083209387168352929052206116ef9083836135e9565b50826001600160a01b0316846001600160a01b0316336001600160a01b03167fa851f77711bcf61336489e08bc8cd6e6881bbec2471fe5fc66d11c434eb4e7de858560405180806020018281038252848482818152602001925060200280828437600083820152604051601f909101601f19169092018290039550909350505050a450505050565b60055461010090046001600160a01b031690565b611793611869565b6117ce5760405162461bcd60e51b81526004018080602001828103825260288152602001806139466028913960400191505060405180910390fd5b6117d6612181565b6127108110611825576040805162461bcd60e51b8152602060048201526016602482015275736c697052617465206f7574206f662072616e67652160501b604482015290519081900360640190fd5b600881905560408051828152905133917f35ca6ad09ac0fa0744e2b856c92f3844ed78e24b972c93c417891d5bfa512a60919081900360200190a250565b600c5481565b6000806000611876611bf4565b9092509050336001600160a01b038316148061189a5750336001600160a01b038216145b9250505090565b6118a9611869565b6118e45760405162461bcd60e51b81526004018080602001828103825260288152602001806139466028913960400191505060405180910390fd5b6118ec612181565b806001600160a01b038116611948576040805162461bcd60e51b815260206004820152601f60248201527f7375706572546f6b656e203a20696e707574207a65726f206164647265737300604482015290519081900360640190fd5b600780546001600160a01b0384166001600160a01b03199091168117909155604080519182525133917f120ec17136aa7b279af12e8fea5a8e3ef6d422f449550263bfe434adc1790472919081900360200190a25050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600b5481565b6119d96113d2565b611a145760405162461bcd60e51b81526004018080602001828103825260498152602001806137166049913960600191505060405180910390fd5b611a1d816126e0565b50565b6007546001600160a01b031681565b42600c55600f5460005b81811015611a5257611a4a8161274b565b600101611a39565b50601054604080516370a0823160e01b815230600482015290516001600160a01b039092169160009183916370a0823191602480820192602092909190829003018186803b158015611aa357600080fd5b505afa158015611ab7573d6000803e3d6000fd5b505050506040513d6020811015611acd57600080fd5b505190508015611b96576000612710611af16009548461212890919063ffffffff16565b81611af857fe5b6007549190049150611b17906001600160a01b038581169116836128e7565b6006546001600160a01b031663a0712d68611b328484612939565b6040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b158015611b6857600080fd5b505af1158015611b7c573d6000803e3d6000fd5b505050506040513d6020811015611b9257600080fd5b5050505b505050565b611ba3611869565b611bde5760405162461bcd60e51b81526004018080602001828103825260288152602001806139466028913960400191505060405180910390fd5b611be6612181565b611bf0828261297b565b5050565b7fee9b9820fda27ccc82feea30836537c02da450e0ad29802ab27eb365a487b2ec547f818a65c6406db960713d1d26b13346eae9aaa5d405f0581dbb44b0b4e3c82cac549091565b73486af39519b4dc9a7fccd318217352830e8ad9b481565b801580611cda575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611cac57600080fd5b505afa158015611cc0573d6000803e3d6000fd5b505050506040513d6020811015611cd657600080fd5b5051155b611d155760405162461bcd60e51b81526004018080602001828103825260368152602001806138b96036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611b96908490612a8d565b6060611d768484600085612b3e565b949350505050565b6001600160a01b038316611dc35760405162461bcd60e51b815260040180806020018281038252602481526020018061386b6024913960400191505060405180910390fd5b6001600160a01b038216611e085760405162461bcd60e51b81526004018080602001828103825260228152602001806136ce6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60008215611ec1576000611e7c610e90565b90506000670de0b6b3a7640000611e938584612128565b81611e9a57fe5b049050670de0b6b3a7640000611eb08287612128565b81611eb757fe5b0492505050610c8e565b50600092915050565b6001600160a01b038316611f0f5760405162461bcd60e51b81526004018080602001828103825260258152602001806138466025913960400191505060405180910390fd5b6001600160a01b038216611f545760405162461bcd60e51b81526004018080602001828103825260238152602001806136896023913960400191505060405180910390fd5b6001600160a01b03831660009081526020819052604090205481811015611fac5760405162461bcd60e51b81526004018080602001828103825260268152602001806136f06026913960400191505060405180910390fd5b6001600160a01b038085166000818152602081815260408083208787039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350505050565b600080600080600560019054906101000a90046001600160a01b03166001600160a01b0316638edbf436866040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050604080518083038186803b15801561207c57600080fd5b505afa158015612090573d6000803e3d6000fd5b505050506040513d60408110156120a657600080fd5b5080516020909101519092509050606481108015906120d85750722cd76fe086b93ce2f768a00b22a000000000008111155b61211e576040805162461bcd60e51b815260206004820152601260248201527137b930b1b63290383934b1b29032b93937b960711b604482015290519081900360640190fd5b9092509050915091565b60008261213757506000610c8e565b8282028284828161214457fe5b0414610e895760405162461bcd60e51b81526004018080602001828103825260218152602001806137dc6021913960400191505060405180910390fd5b6000349050600033308360003660405160200180866001600160a01b031660601b8152601401856001600160a01b031660601b8152601401848152602001838380828437808301925050509550505050505060405160208183030381529060405280519060200120905060006121f5611168565b90506000612202836122c8565b90506000826001600160a01b0316631ebaa16685846040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b15801561225257600080fd5b505afa158015612266573d6000803e3d6000fd5b505050506040513d602081101561227c57600080fd5b505190508181116122be5760405162461bcd60e51b815260040180806020018281038252602e81526020018061375f602e913960400191505060405180910390fd5b61153b8482612c9a565b5490565b6000610e8983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612c9e565b6001600160a01b0382166123535760405162461bcd60e51b81526004018080602001828103825260218152602001806138256021913960400191505060405180910390fd5b6001600160a01b038216600090815260208190526040902054818110156123ab5760405162461bcd60e51b81526004018080602001828103825260228152602001806136ac6022913960400191505060405180910390fd5b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505050565b600654611bf0906001600160a01b031683836128e7565b8015611bf057600e54611bf0906001600160a01b031683600184612d40565b3b151590565b600f548510156124b3576000600f868154811061246157fe5b60009182526020909120600290910201805460ff191660ff87161761ff001916610100861515021762010000600160b01b031916620100006001600160a01b03861602178155600101829055506125ad565b6040805160808101825260ff8087168252851515602083019081526001600160a01b0380871694840185815260608501878152600f8054600181018255600091909152955160029096027f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8028101805495519351909416620100000262010000600160b01b03199315156101000261ff00199890971660ff1990961695909517969096169490941716919091179055517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80390910155156125ad576125ad827360ae616a2155ee3d9a68541ba4544862310933d4600019611c54565b6040805186815260ff86166020820152841515818301526001600160a01b038416606082015260808101839052905133917fc9ed0cc3bedda8d5f6d31c3b9351ce17b1478ca1d10281ce8e5e958cb38cc219919081900360a00190a25050505050565b6001600160a01b03821661266b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60028054820190556001600160a01b038216600081815260208181526040808320805486019055805185815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35050565b600654611bf0906001600160a01b0316833084612d40565b806001600160a01b03166126f26113ad565b6001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a37f1221c3ca8a23c3a74a18c944c7b23b29e262f9cd12de4c345744293e8adf4ba755565b61275361364c565b600f828154811061276057fe5b6000918252602091829020604080516080810182526002909302909101805460ff8082168552610100820416158015958501959095526001600160a01b0362010000909104169183019190915260010154606082015291506127c25750611a1d565b60408051600180825281830190925260609160208083019080368337505060065482519293506001600160a01b0316918391506000906127fe57fe5b6001600160a01b039092166020928302919091018201528251604051633a22995760e11b815260ff821660048201908152306024830181905260606044840190815286516064850152865173486af39519b4dc9a7fccd318217352830e8ad9b49663744532ae969593948994909392608490910191858101910280838360005b8381101561289657818101518382015260200161287e565b50505050905001945050505050600060405180830381600087803b1580156128bd57600080fd5b505af11580156128d1573d6000803e3d6000fd5b50505050611b9682604001518360600151612d9a565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611b96908490612a8d565b6000610e8983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612e4b565b806001600160a01b0316826001600160a01b03167f6b0ba40b63fe0a4e591f25c6d723a40b532ff7cf536f3ce5abc7f6fb9969418060405160405180910390a36000806129c6611bf4565b91509150836001600160a01b0316826001600160a01b03161415612a0d577fee9b9820fda27ccc82feea30836537c02da450e0ad29802ab27eb365a487b2ec839055612a87565b836001600160a01b0316816001600160a01b03161415612a50577f818a65c6406db960713d1d26b13346eae9aaa5d405f0581dbb44b0b4e3c82cac839055612a87565b60405162461bcd60e51b81526004018080602001828103825260328152602001806139146032913960400191505060405180910390fd5b50505050565b6060612ae2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611d679092919063ffffffff16565b805190915015611b9657808060200190516020811015612b0157600080fd5b5051611b965760405162461bcd60e51b815260040180806020018281038252602a81526020018061388f602a913960400191505060405180910390fd5b606082471015612b7f5760405162461bcd60e51b815260040180806020018281038252602681526020018061378d6026913960400191505060405180910390fd5b612b8885612442565b612bd9576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612c185780518252601f199092019160209182019101612bf9565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612c7a576040519150601f19603f3d011682016040523d82523d6000602084013e612c7f565b606091505b5091509150612c8f828286612ea5565b979650505050505050565b9055565b60008183612d2a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612cef578181015183820152602001612cd7565b50505050905090810190601f168015612d1c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612d3657fe5b0495945050505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612a87908590612a8d565b60006001600160a01b038316612db05747612e23565b604080516370a0823160e01b815230600482015290516001600160a01b038516916370a08231916024808301926020929190829003018186803b158015612df657600080fd5b505afa158015612e0a573d6000803e3d6000fd5b505050506040513d6020811015612e2057600080fd5b50515b905081811015612e335750611bf0565b601054611b969084906001600160a01b031683612f0b565b60008184841115612e9d5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612cef578181015183820152602001612cd7565b505050900390565b60608315612eb4575081610e89565b825115612ec45782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315612cef578181015183820152602001612cd7565b816001600160a01b0316836001600160a01b03161415612f2a57611b96565b6000612f37848484613374565b90506060612f458585610cb6565b90506001600160a01b0385166130d25760405163a2a1623d60e01b8152600481018381523060448301819052601e4201606484018190526080602485019081528551608486015285517360ae616a2155ee3d9a68541ba4544862310933d49563a2a1623d958a958a958a959194909360a401906020808801910280838360005b83811015612fdd578181015183820152602001612fc5565b50505050905001955050505050506000604051808303818588803b15801561300457600080fd5b505af1158015613018573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052602081101561304257600080fd5b8101908080516040519392919084600160201b82111561306157600080fd5b90830190602082018581111561307657600080fd5b82518660208202830111600160201b8211171561309257600080fd5b82525081516020918201928201910280838360005b838110156130bf5781810151838201526020016130a7565b505050509050016040525050505061153b565b6001600160a01b0384166131e1577360ae616a2155ee3d9a68541ba4544862310933d46001600160a01b031663676528d18484843042601e016040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b8381101561317b578181015183820152602001613163565b505050509050019650505050505050600060405180830381600087803b1580156131a457600080fd5b505af11580156131b8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561304257600080fd5b7360ae616a2155ee3d9a68541ba4544862310933d46001600160a01b03166338ed17398484843042601e016040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b8381101561327c578181015183820152602001613264565b505050509050019650505050505050600060405180830381600087803b1580156132a557600080fd5b505af11580156132b9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156132e257600080fd5b8101908080516040519392919084600160201b82111561330157600080fd5b90830190602082018581111561331657600080fd5b82518660208202830111600160201b8211171561333257600080fd5b82525081516020918201928201910280838360005b8381101561335f578181015183820152602001613347565b50505050905001604052505050505050505050565b604080516002808252606080830184526000939092919060208301908036833701905050905084816000815181106133a857fe5b60200260200101906001600160a01b031690816001600160a01b03168152505083816001815181106133d657fe5b6001600160a01b039283166020918202929092018101919091526005546040516347dad24160e11b81526004810183815285516024830152855160609561010090940490931693638fb5a4829387938392604490910191858201910280838360005b83811015613450578181015183820152602001613438565b505050509050019250505060006040518083038186803b15801561347357600080fd5b505afa158015613487573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156134b057600080fd5b8101908080516040519392919084600160201b8211156134cf57600080fd5b9083019060208201858111156134e457600080fd5b82518660208202830111600160201b8211171561350057600080fd5b82525081516020918201928201910280838360005b8381101561352d578181015183820152602001613515565b50505050905001604052505050905060008160008151811061354b57fe5b6020026020010151118015613574575060008160018151811061356a57fe5b6020026020010151115b156135dd576127108160018151811061358957fe5b60200260200101516135c46008546135be856000815181106135a757fe5b60200260200101518961212890919063ffffffff16565b90612128565b816135cb57fe5b04816135d357fe5b0492505050610e89565b50600095945050505050565b82805482825590600052602060002090810192821561363c579160200282015b8281111561363c5781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190613609565b50613648929150613673565b5090565b60408051608081018252600080825260208201819052918101829052606081019190915290565b5b80821115613648576000815560010161367456fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636570726f78794f776e65723a2063616c6c6572206d757374206265207468652070726f7879206f776e657220616e64206120636f6e747261637420616e64206e6f7420657870697265646d756c74695369676e6174757265436c69656e74203a2054686973207478206973206e6f7420617072726f766564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c70726f78794f776e65723a2063616c6c6572206973206e6f74206f776e6572206f72206f726967696e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4f726967696e5472616e73666572726564203a206f6c64206f726967696e20697320696c6c6567616c20616464726573732170726f78794f776e65723a2063616c6c6572206973206e6f7420746865207478206f726967696e21a26469706673582212205e3bbfae116e102db5a2eda39ba1c95f0c6d9aea73fc6d366474f6a365e0848864736f6c63430007050033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c818a65c6406db960713d1d26b13346eae9aaa5d405f0581dbb44b0b4e3c82cacee9b9820fda27ccc82feea30836537c02da450e0ad29802ab27eb365a487b2ec6d756c74695369676e6174757265436c69656e74203a204d756c7469706c65207369676e617475726520636f6e74726163742061646472657373206973207a65726f211221c3ca8a23c3a74a18c944c7b23b29e262f9cd12de4c345744293e8adf4ba75361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63654f726967696e5472616e73666572726564203a206f6c64206f726967696e20697320696c6c6567616c2061646472657373210000000000000000000000007f08ba62fadaf3b4b70a8ddc22b3c63669bddeb20000000000000000000000003cd5854fe3a13707b7882d8290d3cae793a7751a000000000000000000000000b18de9512ac891b926c6b5d6838433ac5e52818b000000000000000000000000835866d37afb8cb8f8334dccdaf66cf01832ff5d0000000000000000000000004954f1e66d65df727a87c9f29f17bf0672ad8dbf0000000000000000000000001238681af57194779793fb21d51e1ee9be6f162b

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

0000000000000000000000007f08ba62fadaf3b4b70a8ddc22b3c63669bddeb20000000000000000000000003cd5854fe3a13707b7882d8290d3cae793a7751a000000000000000000000000b18de9512ac891b926c6b5d6838433ac5e52818b000000000000000000000000835866d37afb8cb8f8334dccdaf66cf01832ff5d0000000000000000000000004954f1e66d65df727a87c9f29f17bf0672ad8dbf0000000000000000000000001238681af57194779793fb21d51e1ee9be6f162b

-----Decoded View---------------
Arg [0] : multiSignature (address): 0x7f08ba62fadaf3b4b70a8ddc22b3c63669bddeb2
Arg [1] : origin0 (address): 0x3cd5854fe3a13707b7882d8290d3cae793a7751a
Arg [2] : origin1 (address): 0xb18de9512ac891b926c6b5d6838433ac5e52818b
Arg [3] : _qiToken (address): 0x835866d37afb8cb8f8334dccdaf66cf01832ff5d
Arg [4] : _dsOracle (address): 0x4954f1e66d65df727a87c9f29f17bf0672ad8dbf
Arg [5] : _FeePool (address): 0x1238681af57194779793fb21d51e1ee9be6f162b

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000007f08ba62fadaf3b4b70a8ddc22b3c63669bddeb2
Arg [1] : 0000000000000000000000003cd5854fe3a13707b7882d8290d3cae793a7751a
Arg [2] : 000000000000000000000000b18de9512ac891b926c6b5d6838433ac5e52818b
Arg [3] : 000000000000000000000000835866d37afb8cb8f8334dccdaf66cf01832ff5d
Arg [4] : 0000000000000000000000004954f1e66d65df727a87c9f29f17bf0672ad8dbf
Arg [5] : 0000000000000000000000001238681af57194779793fb21d51e1ee9be6f162b


Deployed ByteCode Sourcemap

56200:1317:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1955:85;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44749:78;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;44749:78:0;;;;;;;;;;;;;;4020:152;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4020:152:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;44440:30;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;48992:136;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48992:136:0;;:::i;3037:91::-;;;;;;;;;;;;;:::i;50649:379::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;50649:379:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4654:435;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4654:435:0;;;;;;;;;;;;;;;;;:::i;55713:300::-;;;;;;;;;;;;;:::i;2887:85::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5498:205;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5498:205:0;;;;;;;;:::i;54849:150::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54849:150:0;-1:-1:-1;;;;;54849:150:0;;:::i;44593:68::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44593:68:0;;;;;;;;;;;;;;;;;:::i;50443:200::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50443:200:0;;:::i;:::-;;43717:107;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43717:107:0;-1:-1:-1;;;;;43717:107:0;;:::i;44291:24::-;;;;;;;;;;;;;:::i;44834:71::-;;;;;;;;;;;;;:::i;44359:30::-;;;;;;;;;;;;;:::i;36886:130::-;;;;;;;;;;;;;:::i;48056:493::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48056:493:0;;:::i;49134:495::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49134:495:0;;:::i;54296:25::-;;;;;;;;;;;;;:::i;3191:112::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3191:112:0;-1:-1:-1;;;;;3191:112:0;;:::i;44668:74::-;;;;;;;;;;;;;:::i;44912:48::-;;;;;;;;;;;;;:::i;49818:203::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49818:203:0;;;;;;;:::i;45109:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45109:31:0;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45109:31:0;;;;;;;;;;;;;;;;;;;;39641:180;;;;;;;;;;;;;:::i;41689:119::-;;;;;;;;;;;;;:::i;46709:121::-;;;;;;;;;;;;;:::i;2159:89::-;;;;;;;;;;;;;:::i;44396:28::-;;;;;;;;;;;;;:::i;52674:200::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52674:200:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52674:200:0;;;;;;;;;;:::i;6206:367::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6206:367:0;;;;;;;;:::i;47023:905::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47023:905:0;;:::i;3516:158::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3516:158:0;;;;;;;;:::i;51034:241::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51034:241:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51034:241:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51034:241:0;;;;;;;;;;-1:-1:-1;51034:241:0;;-1:-1:-1;51034:241:0;-1:-1:-1;51034:241:0;:::i;43613:98::-;;;;;;;;;;;;;:::i;50228:209::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50228:209:0;;:::i;44511:33::-;;;;;;;;;;;;;:::i;41503:180::-;;;;;;;;;;;;;:::i;50027:195::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50027:195:0;-1:-1:-1;;;;;50027:195:0;;:::i;3737:136::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3737:136:0;;;;;;;;;;:::i;44477:27::-;;;;;;;;;;;;;:::i;39276:112::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39276:112:0;-1:-1:-1;;;;;39276:112:0;;:::i;44322:30::-;;;;;;;;;;;;;:::i;57003:509::-;;;;;;;;;;;;;:::i;40063:143::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40063:143:0;;;;;;;;;;:::i;40900:301::-;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;40900:301:0;;;;;;-1:-1:-1;;;;;40900:301:0;;;;;;;;;;;;;;;;54330:102;;;;;;;;;;;;;:::i;1955:85::-;2027:5;2020:12;;;;;;;;-1:-1:-1;;2020:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1994:13;;2020:12;;2027:5;;2020:12;;2027:5;2020:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1955:85;:::o;44749:78::-;44785:42;44749:78;:::o;4020:152::-;4088:4;4105:37;4114:10;4126:7;4135:6;4105:8;:37::i;:::-;-1:-1:-1;4160:4:0;4020:152;;;;;:::o;44440:30::-;;;;:::o;48992:136::-;49061:7;49087:33;49099:8;;49108:11;49087;:33::i;:::-;49080:40;;48992:136;;;;:::o;3037:91::-;3108:12;;3037:91;:::o;50649:379::-;-1:-1:-1;;;;;50771:23:0;;;;;;;:15;:23;;;;;;;;:31;;;;;;;;;;;;50764:38;;;;;;;;;;;;;;;;;50731:21;;50764:38;;;50771:31;50764:38;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50764:38:0;;;;;;;;;;;;;;;;;;;;;;;50831:1;50817:4;:11;:15;50813:58;;;50848:11;;50813:58;50888:16;;;50902:1;50888:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50881:23:0;-1:-1:-1;;;;;;50925:20:0;;;:37;;50956:6;50925:37;;;44700:42;50925:37;50915:4;50920:1;50915:7;;;;;;;;-1:-1:-1;;;;;50915:47:0;;;:7;;;;;;;;;:47;50983:20;;;:37;;51014:6;50983:37;;;44700:42;50983:37;50973:4;50978:1;50973:7;;;;;;;;;;;;;:47;-1:-1:-1;;;;;50973:47:0;;;-1:-1:-1;;;;;50973:47:0;;;;;50649:379;;;;:::o;4654:435::-;4779:4;4796:36;4806:6;4814:9;4825:6;4796:9;:36::i;:::-;-1:-1:-1;;;;;4872:19:0;;4845:24;4872:19;;;:11;:19;;;;;;;;4892:10;4872:31;;;;;;;;4922:26;;;;4914:79;;;;-1:-1:-1;;;4914:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5004:55;5013:6;5021:10;5052:6;5033:16;:25;5004:8;:55::i;:::-;5077:4;5070:11;;;4654:435;;;;;;:::o;55713:300::-;55825:10;;55871:26;;;-1:-1:-1;;;55871:26:0;;;;55773:7;;-1:-1:-1;;;;;55825:10:0;;55773:7;;55825:10;;55871:24;;:26;;;;;;;;;;;;;;55825:10;55871:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55871:26:0;55947:10;;55871:26;;-1:-1:-1;55910:13:0;;55927:32;;-1:-1:-1;;;;;55947:10:0;55927:11;:32::i;:::-;55908:51;-1:-1:-1;56001:4:0;;-1:-1:-1;55977:23:0;55908:51;55987:12;55977:9;:23::i;:::-;:28;;;;;;55970:35;;;;;55713:300;:::o;2887:85::-;2955:9;;;;2887:85;:::o;5498:205::-;5606:10;5580:4;5627:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;5627:32:0;;;;;;;;;;5580:4;;5597:76;;5618:7;;5627:45;;5597:8;:76::i;54849:150::-;54980:10;;54911:21;;54952:39;;54974:5;;-1:-1:-1;;;;;54980:10:0;54952:21;:39::i;44593:68::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44593:68:0;;-1:-1:-1;44593:68:0;;-1:-1:-1;;44593:68:0:o;50443:200::-;41939:10;:8;:10::i;:::-;41930:63;;;;-1:-1:-1;;;41930:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42004:21;:19;:21::i;:::-;50530:4:::1;50519:8;:15;50511:48;;;::::0;;-1:-1:-1;;;50511:48:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50511:48:0;;;;;;;;;;;;;::::1;;50570:7;:18:::0;;;50604:31:::1;::::0;;;;;;;50615:10:::1;::::0;50604:31:::1;::::0;;;;;::::1;::::0;;::::1;50443:200:::0;:::o;43717:107::-;42090:9;:7;:9::i;:::-;42086:182;;;;;;42120:10;:8;:10::i;:::-;42117:151;;;42146:21;:19;:21::i;:::-;42117:151;;;42198:58;;-1:-1:-1;;;42198:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43789:7:::1;:27:::0;;-1:-1:-1;;;;;43789:27:0;;::::1;;;-1:-1:-1::0;;;;;;43789:27:0;;::::1;::::0;;;::::1;::::0;;43717:107::o;44291:24::-;;;-1:-1:-1;;;;;44291:24:0;;:::o;44834:71::-;;;-1:-1:-1;;;;;44834:71:0;;:::o;44359:30::-;;;;:::o;36886:130::-;36942:7;36976:31;36592:47;36976:8;:31::i;:::-;36961:47;;36886:130;:::o;48056:493::-;36099:14;;-1:-1:-1;;;36099:14:0;;;;36098:15;36090:24;;;;;;36121:14;:21;;-1:-1:-1;;;;36121:21:0;-1:-1:-1;;;36121:21:0;;;;48197:13:::1;:11;:13::i;:::-;48175:35;;48221:23;48247:14;:12;:14::i;:::-;48221:40:::0;-1:-1:-1;48344:12:0::1;48359:44;48391:11:::0;48359:27:::1;:6:::0;48221:40;48359:10:::1;:27::i;:::-;:31:::0;::::1;:44::i;:::-;48344:59;;48414:25;48420:10;48432:6;48414:5;:25::i;:::-;48450:26;48459:10;48471:4;48450:8;:26::i;:::-;48487:54;48503:10;48514:26;48526:8;;48535:4;48514:11;:26::i;:::-;48487:15;:54::i;:::-;-1:-1:-1::0;;36157:14:0;:22;;-1:-1:-1;;;;36157:22:0;;;-1:-1:-1;;48056:493:0:o;49134:495::-;49203:7;49223:19;49245:13;:11;:13::i;:::-;49223:35;;49269:23;49295:14;:12;:14::i;:::-;49269:40;-1:-1:-1;49396:15:0;;49392:230;;49427:12;49442:49;49479:11;49442:32;:11;49458:15;49442;:32::i;:49::-;49427:64;;49513:26;49525:8;;49534:4;49513:11;:26::i;:::-;49506:33;;;;;;;49392:230;49577:33;49589:8;;49598:11;49577;:33::i;:::-;49570:40;;;;;;54296:25;;;-1:-1:-1;;;;;54296:25:0;;:::o;3191:112::-;-1:-1:-1;;;;;3277:18:0;3250:7;3277:18;;;;;;;;;;;;3191:112::o;44668:74::-;44700:42;44668:74;:::o;44912:48::-;44958:1;44912:48;:::o;49818:203::-;41939:10;:8;:10::i;:::-;41930:63;;;;-1:-1:-1;;;41930:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42004:21;:19;:21::i;:::-;49904:8:::1;:20:::0;;;49935:8:::1;:20:::0;;;49971:42:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;49982:10:::1;::::0;49971:42:::1;::::0;;;;;;::::1;49818:203:::0;;:::o;45109:31::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45109:31:0;;;;;;;;-1:-1:-1;;;;;45109:31:0;;;:::o;39641:180::-;38225:38;39788:15;;39763:51::o;41689:119::-;41729:4;41767:7;:5;:7::i;:::-;-1:-1:-1;;;;;41753:21:0;:10;-1:-1:-1;;;;;41753:21:0;;:47;;;;;41778:22;41789:10;41778;:22::i;46709:121::-;46787:10;;:35;;;-1:-1:-1;;;46787:35:0;;46816:4;46787:35;;;;;;46761:7;;-1:-1:-1;;;;;46787:10:0;;:20;;:35;;;;;;;;;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46787:35:0;;-1:-1:-1;46709:121:0;:::o;2159:89::-;2233:7;2226:14;;;;;;;;-1:-1:-1;;2226:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2200:13;;2226:14;;2233:7;;2226:14;;2233:7;2226:14;;;;;;;;;;;;;;;;;;;;;;;;44396:28;;;;:::o;52674:200::-;41939:10;:8;:10::i;:::-;41930:63;;;;-1:-1:-1;;;41930:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42004:21;:19;:21::i;:::-;52808:58:::1;52819:5;52825:7;52833:8;52842:12;52855:10;52808;:58::i;:::-;52674:200:::0;;;;;:::o;6206:367::-;6349:10;6293:4;6337:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;6337:32:0;;;;;;;;;;6388:35;;;;6380:85;;;;-1:-1:-1;;;6380:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6476:65;6485:10;6497:7;6525:15;6506:16;:34;6476:8;:65::i;:::-;-1:-1:-1;6561:4:0;;6206:367;-1:-1:-1;;;6206:367:0:o;47023:905::-;36099:14;;-1:-1:-1;;;36099:14:0;;;;36098:15;36090:24;;;;;;36121:14;:21;;-1:-1:-1;;;;36121:21:0;-1:-1:-1;;;36121:21:0;;;;47179:14:::1;:12;:14::i;:::-;47153:40;;47259:19;47281:13;:11;:13::i;:::-;47259:35:::0;-1:-1:-1;47379:16:0;;;:40:::1;;-1:-1:-1::0;47399:20:0;;47379:40:::1;47375:440;;;47436:26;47442:10;47454:7;47436:5;:26::i;:::-;47375:440;;;47705:12;47720:45;47749:15:::0;47720:24:::1;:7:::0;47732:11;47720::::1;:24::i;:45::-;47705:60;;47780:23;47786:10;47798:4;47780:5;:23::i;:::-;47375:440;;47825:27;47833:10;47844:7;47825;:27::i;:::-;47863:57;47879:10;47890:29;47902:8;;47911:7;47890:11;:29::i;47863:57::-;-1:-1:-1::0;;36157:14:0;:22;;-1:-1:-1;;;;36157:22:0;;;-1:-1:-1;47023:905:0:o;3516:158::-;3587:4;3604:40;3614:10;3626:9;3637:6;3604:9;:40::i;51034:241::-;41939:10;:8;:10::i;:::-;41930:63;;;;-1:-1:-1;;;41930:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42004:21;:19;:21::i;:::-;-1:-1:-1;;;;;51156:23:0;;::::1;;::::0;;;:15:::1;:23;::::0;;;;;;;:31;;::::1;::::0;;;;;;:42:::1;::::0;51190:8;;51156:42:::1;:::i;:::-;;51251:6;-1:-1:-1::0;;;;;51214:53:0::1;51244:6;-1:-1:-1::0;;;;;51214:53:0::1;51233:10;-1:-1:-1::0;;;;;51214:53:0::1;;51258:8;;51214:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;-1:-1:-1::0;;51214:53:0::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;51214:53:0;;-1:-1:-1;;;;51214:53:0::1;51034:241:::0;;;;:::o;43613:98::-;43695:7;;;;;-1:-1:-1;;;;;43695:7:0;;43613:98::o;50228:209::-;41939:10;:8;:10::i;:::-;41930:63;;;;-1:-1:-1;;;41930:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42004:21;:19;:21::i;:::-;50318:5:::1;50306:9;:17;50298:51;;;::::0;;-1:-1:-1;;;50298:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50298:51:0;;;;;;;;;;;;;::::1;;50360:8;:20:::0;;;50396:33:::1;::::0;;;;;;;50408:10:::1;::::0;50396:33:::1;::::0;;;;;::::1;::::0;;::::1;50228:209:::0;:::o;44511:33::-;;;;:::o;41503:180::-;41544:4;41561:16;41578;41598:10;:8;:10::i;:::-;41560:48;;-1:-1:-1;41560:48:0;-1:-1:-1;41627:10:0;-1:-1:-1;;;;;41627:22:0;;;;:48;;-1:-1:-1;41653:10:0;-1:-1:-1;;;;;41653:22:0;;;41627:48;41619:56;;;;41503:180;:::o;50027:195::-;41939:10;:8;:10::i;:::-;41930:63;;;;-1:-1:-1;;;41930:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42004:21;:19;:21::i;:::-;50116:10;-1:-1:-1;;;;;51789:26:0;::::1;51781:70;;;::::0;;-1:-1:-1;;;51781:70:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;50138:7:::2;:20:::0;;-1:-1:-1;;;;;50138:20:0;::::2;-1:-1:-1::0;;;;;;50138:20:0;;::::2;::::0;::::2;::::0;;;50174:40:::2;::::0;;;;;;50192:10:::2;::::0;50174:40:::2;::::0;;;;;::::2;::::0;;::::2;42036:1:::1;50027:195:::0;:::o;3737:136::-;-1:-1:-1;;;;;3838:18:0;;;3811:7;3838:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3737:136::o;44477:27::-;;;;:::o;39276:112::-;39951:9;:7;:9::i;:::-;39942:95;;;;-1:-1:-1;;;39942:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39355:25:::1;39370:9;39355:14;:25::i;:::-;39276:112:::0;:::o;44322:30::-;;;-1:-1:-1;;;;;44322:30:0;;:::o;57003:509::-;57063:15;57042:18;:36;57101:11;:18;57089:9;57130:66;57146:4;57144:1;:6;57130:66;;;57170:14;57182:1;57170:11;:14::i;:::-;57151:3;;57130:66;;;-1:-1:-1;57229:10:0;;57269:31;;;-1:-1:-1;;;57269:31:0;;57294:4;57269:31;;;;;;-1:-1:-1;;;;;57229:10:0;;;;57206:13;;57229:10;;57269:16;;:31;;;;;;;;;;;;;;;57229:10;57269:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57269:31:0;;-1:-1:-1;57315:9:0;;57311:194;;57340:11;57375:5;57354:20;57366:7;;57354;:11;;:20;;;;:::i;:::-;:26;;;;;57415:7;;57354:26;;;;-1:-1:-1;57395:32:0;;-1:-1:-1;;;;;57395:19:0;;;;57415:7;57354:26;57395:19;:32::i;:::-;57458:10;;-1:-1:-1;;;;;57458:10:0;57442:33;57476:16;:7;57488:3;57476:11;:16::i;:::-;57442:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;57311:194:0;57003:509;;;:::o;40063:143::-;41939:10;:8;:10::i;:::-;41930:63;;;;-1:-1:-1;;;41930:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42004:21;:19;:21::i;:::-;40160:38:::1;40176:10;40187;40160:15;:38::i;:::-;40063:143:::0;;:::o;40900:301::-;38319:41;41125:16;38416:41;41167:16;41125;;41098:96::o;54330:102::-;54389:42;54330:102;:::o;28676:622::-;29046:10;;;29045:62;;-1:-1:-1;29062:39:0;;;-1:-1:-1;;;29062:39:0;;29086:4;29062:39;;;;-1:-1:-1;;;;;29062:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29062:39:0;:44;29045:62;29037:152;;;;-1:-1:-1;;;29037:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29227:62;;;-1:-1:-1;;;;;29227:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29227:62:0;-1:-1:-1;;;29227:62:0;;;29200:90;;29220:5;;29200:19;:90::i;22825:229::-;22962:12;22994:52;23016:6;23024:4;23030:1;23033:12;22994:21;:52::i;:::-;22987:59;22825:229;-1:-1:-1;;;;22825:229:0:o;9381:372::-;-1:-1:-1;;;;;9509:19:0;;9501:68;;;;-1:-1:-1;;;9501:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9588:21:0;;9580:68;;;;-1:-1:-1;;;9580:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9661:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;9713:32;;;;;;;;;;;;;;;;;9381:372;;;:::o;48555:320::-;48633:7;48655:8;;48652:197;;48679:13;48695:20;:18;:20::i;:::-;48679:36;-1:-1:-1;48730:17:0;44582:4;48750:22;:11;48679:36;48750:15;:22::i;:::-;:34;;;;;;;-1:-1:-1;44582:4:0;48806:19;48750:34;48820:4;48806:13;:19::i;:::-;:31;;;;;;48799:38;;;;;;48652:197;-1:-1:-1;48866:1:0;48555:320;;;;:::o;7063:568::-;-1:-1:-1;;;;;7195:20:0;;7187:70;;;;-1:-1:-1;;;7187:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7276:23:0;;7268:71;;;;-1:-1:-1;;;7268:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7376:17:0;;7352:21;7376:17;;;;;;;;;;;7412:23;;;;7404:74;;;;-1:-1:-1;;;7404:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7489:17:0;;;:9;:17;;;;;;;;;;;7509:22;;;7489:42;;7542:20;;;;;;;;;;:30;;;;;;7588:35;;;;;;;7542:20;;7588:35;;;;;;;;;;;7063:568;;;;:::o;43359:248::-;43418:4;43423:7;43443:10;43454:13;43471:7;;;;;;;;;-1:-1:-1;;;;;43471:7:0;-1:-1:-1;;;;;43471:20:0;;43492:5;43471:27;;;;;;;;;;;;;-1:-1:-1;;;;;43471:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43471:27:0;;;;;;;;;-1:-1:-1;43471:27:0;-1:-1:-1;43526:3:0;43517:12;;;;;:29;;;43542:4;43533:5;:13;;43517:29;43509:59;;;;;-1:-1:-1;;;43509:59:0;;;;;;;;;;;;-1:-1:-1;;;43509:59:0;;;;;;;;;;;;;;;43587:5;;-1:-1:-1;43593:5:0;-1:-1:-1;43359:248:0;;;:::o;15450:471::-;15508:7;15753:6;15749:47;;-1:-1:-1;15783:1:0;15776:8;;15749:47;15820:5;;;15824:1;15820;:5;:1;15844:5;;;;;:10;15836:56;;;;-1:-1:-1;;;15836:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37100:567;37151:13;37208:11;37199:20;;37240:15;37285:10;37305:4;37311:5;37317:8;;37268:58;;;;;;-1:-1:-1;;;;;37268:58:0;;;;;;;;-1:-1:-1;;;;;37268:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37258:69;;;;;;37240:87;;37338:17;37358:26;:24;:26::i;:::-;37338:46;-1:-1:-1;37395:13:0;37411:26;37428:7;37411:8;:26::i;:::-;37395:42;;37448:16;37483:9;-1:-1:-1;;;;;37467:44:0;;37512:7;37520:5;37467:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37467:59:0;;-1:-1:-1;37545:16:0;;;37537:75;;;;-1:-1:-1;;;37537:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37623:36;37641:7;37650:8;37623:9;:36::i;37821:151::-;37939:15;;37915:50::o;16389:132::-;16447:7;16474:39;16478:1;16481;16474:39;;;;;;;;;;;;;;;;;:3;:39::i;8519:424::-;-1:-1:-1;;;;;8595:21:0;;8587:67;;;;-1:-1:-1;;;8587:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8692:18:0;;8667:22;8692:18;;;;;;;;;;;8729:24;;;;8721:71;;;;-1:-1:-1;;;8721:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8803:18:0;;:9;:18;;;;;;;;;;;8824:23;;;8803:44;;8858:12;:22;;;;;;;8898:37;;;;;;;8803:9;;:18;8898:37;;;;;;;;;;;8519:424;;;:::o;46577:126::-;46654:10;;:41;;-1:-1:-1;;;;;46654:10:0;46678:7;46687;46654:23;:41::i;49635:177::-;49715:11;;49712:93;;49742:4;;:51;;-1:-1:-1;;;;;49742:4:0;49764:7;44958:1;49785:7;49742:21;:51::i;42299:422::-;42666:20;42705:8;;;42299:422::o;52880:723::-;53012:11;:18;53005:25;;53002:510;;;53046:23;53072:11;53084:5;53072:18;;;;;;;;;;;;;;;;;;;;;53105:25;;-1:-1:-1;;53105:25:0;;;;;-1:-1:-1;;53145:23:0;53105:25;53145:23;;;;;-1:-1:-1;;;;;;53183:31:0;;-1:-1:-1;;;;;53183:31:0;;;;;;-1:-1:-1;53229:14:0;:27;;;-1:-1:-1;53002:510:0;;;53304:52;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53304:52:0;;;;;;;;;;;;;;;53287:11;:70;;;;;;;-1:-1:-1;53287:70:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53287:70:0;;;;;-1:-1:-1;;53287:70:0;;;;-1:-1:-1;;53287:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;53375:26;53372:129;;53421:64;53450:12;44785:42;-1:-1:-1;;53421:21:0;:64::i;:::-;53527:68;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53527:68:0;;;;;;;;;;;;;;53537:10;;53527:68;;;;;;;;;;52880:723;;;;;:::o;7918:268::-;-1:-1:-1;;;;;7994:21:0;;7986:65;;;;;-1:-1:-1;;;7986:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8064:12;:22;;;;;;-1:-1:-1;;;;;8097:18:0;;8064:12;8097:18;;;;;;;;;;;:28;;;;;;8141:37;;;;;;;;;;;;;;;;;;7918:268;;:::o;46427:144::-;46503:10;;:60;;-1:-1:-1;;;;;46503:10:0;46531:7;46548:4;46555:7;46503:27;:60::i;39394:241::-;39497:9;-1:-1:-1;;;;;39468:39:0;39489:7;:5;:7::i;:::-;-1:-1:-1;;;;;39468:39:0;;;;;;;;;;;38225:38;39590:27;39575:53::o;55005:393::-;55058:22;;:::i;:::-;55083:11;55095:5;55083:18;;;;;;;;;;;;;;;;;55058:43;;;;;;;;55083:18;;;;;;;55058:43;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55058:43:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55112:49:0;;55143:7;;;55112:49;55199:16;;;55213:1;55199:16;;;;;;;;;55171:25;;55199:16;;;;;;;;;-1:-1:-1;;55249:10:0;;55227:11;;;;-1:-1:-1;;;;;;55249:10:0;;55227:11;;-1:-1:-1;55249:10:0;;55227:11;;;;-1:-1:-1;;;;;55227:33:0;;;:11;;;;;;;;;;:33;55294:15;;55271:62;;-1:-1:-1;;;55271:62:0;;;;;;;;;;;55318:4;55271:62;;;;;;;;;;;;;;;;;;;;;54389:42;;55271:22;;55294:15;55318:4;;55324:8;;55271:62;;;;;;;;;;;;;;;;55294:15;55271:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55344:46;55358:4;:16;;;55375:4;:14;;;55344:13;:46::i;28017:177::-;28127:58;;;-1:-1:-1;;;;;28127:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28127:58:0;-1:-1:-1;;;28127:58:0;;;28100:86;;28120:5;;28100:19;:86::i;14534:136::-;14592:7;14619:43;14623:1;14626;14619:43;;;;;;;;;;;;;;;;;:3;:43::i;40212:682::-;40336:10;-1:-1:-1;;;;;40307:40:0;40325:10;-1:-1:-1;;;;;40307:40:0;;;;;;;;;;;40359:16;40376;40396:10;:8;:10::i;:::-;40358:48;;;;40433:10;-1:-1:-1;;;;;40421:22:0;:8;-1:-1:-1;;;;;40421:22:0;;40417:470;;;38319:41;40541:28;;;40522:62;;;40615:10;-1:-1:-1;;;;;40603:22:0;:8;-1:-1:-1;;;;;40603:22:0;;40600:287;;;38416:41;40723:28;;;40704:62;;;40808:67;;-1:-1:-1;;;40808:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40212:682;;;;:::o;30277:761::-;30701:23;30727:69;30755:4;30727:69;;;;;;;;;;;;;;;;;30735:5;-1:-1:-1;;;;;30727:27:0;;;:69;;;;;:::i;:::-;30811:17;;30701:95;;-1:-1:-1;30811:21:0;30807:224;;30953:10;30942:30;;;;;;;;;;;;;;;-1:-1:-1;30942:30:0;30934:85;;;;-1:-1:-1;;;30934:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23945:510;24115:12;24173:5;24148:21;:30;;24140:81;;;;-1:-1:-1;;;24140:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24240:18;24251:6;24240:10;:18::i;:::-;24232:60;;;;;-1:-1:-1;;;24232:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;24306:12;24320:23;24347:6;-1:-1:-1;;;;;24347:11:0;24366:5;24373:4;24347:31;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;24347:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24305:73;;;;24396:51;24413:7;24422:10;24434:12;24396:16;:51::i;:::-;24389:58;23945:510;-1:-1:-1;;;;;;;23945:510:0:o;37673:142::-;37774:23;;37759:49::o;17051:345::-;17137:7;17239:12;17232:5;17224:28;;;;-1:-1:-1;;;17224:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17263:9;17279:1;17275;:5;;;;;;;17051:345;-1:-1:-1;;;;;17051:345:0:o;28202:205::-;28330:68;;;-1:-1:-1;;;;;28330:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28330:68:0;-1:-1:-1;;;28330:68:0;;;28303:96;;28323:5;;28303:19;:96::i;55404:303::-;55478:15;-1:-1:-1;;;;;55497:19:0;;55496:86;;55561:21;55496:86;;;55520:38;;;-1:-1:-1;;;55520:38:0;;55552:4;55520:38;;;;;;-1:-1:-1;;;;;55520:23:0;;;;;:38;;;;;;;;;;;;;;:23;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55520:38:0;55496:86;55478:104;;55607:9;55597:7;:19;55593:57;;;55632:7;;;55593:57;55680:10;;55660:39;;55674:5;;-1:-1:-1;;;;;55680:10:0;55691:7;55660:13;:39::i;15007:192::-;15093:7;15129:12;15121:6;;;;15113:29;;;;-1:-1:-1;;;15113:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;15165:5:0;;;15007:192::o;26631:712::-;26781:12;26810:7;26806:530;;;-1:-1:-1;26841:10:0;26834:17;;26806:530;26955:17;;:21;26951:374;;27153:10;27147:17;27214:15;27201:10;27197:2;27193:19;27186:44;27101:148;27289:20;;-1:-1:-1;;;27289:20:0;;;;;;;;;;;;;;;;;27296:12;;27289:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51877:791;51978:6;-1:-1:-1;;;;;51968:16:0;:6;-1:-1:-1;;;;;51968:16:0;;51965:53;;;52000:7;;51965:53;52028:14;52045:42;52065:6;52072;52079:7;52045:19;:42::i;:::-;52028:59;;52098:21;52122:36;52144:6;52151;52122:21;:36::i;:::-;52098:60;-1:-1:-1;;;;;;52173:20:0;;52169:492;;52209:109;;-1:-1:-1;;;52209:109:0;;;;;;;;52293:4;52209:109;;;;;;52315:2;52299:15;:18;52209:109;;;;;;;;;;;;;;;;;;;;;44785:42;;52209:46;;52264:7;;52273:6;;52280:4;;52293;;52299:18;;52209:109;;;;;;;;;;;;-1:-1:-1;52209:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52209:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52209:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52209:109:0;;;;;;;;;;;;-1:-1:-1;52209:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52169:492;;;-1:-1:-1;;;;;52353:20:0;;52349:301;;44785:42;-1:-1:-1;;;;;52393:46:0;;52440:7;52448:6;52455:4;52468;52474:15;52490:2;52474:18;52393:100;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52393:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52393:100:0;;;;;;;;;;;;;;52349:301;44785:42;-1:-1:-1;;;;;52532:48:0;;52581:7;52589:6;52596:4;52609;52615:15;52631:2;52615:18;52532:102;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52532:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52532:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52532:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;52532:102:0;;;;;;;;;;;;-1:-1:-1;52532:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51877:791;;;;;:::o;51281:437::-;51427:16;;;51441:1;51427:16;;;51401:23;51427:16;;;;;51382:7;;51401:23;;51427:16;51441:1;51427:16;;;;;;;;;;-1:-1:-1;51427:16:0;51401:42;;51466:7;51454:6;51461:1;51454:9;;;;;;;;;;;;;:19;-1:-1:-1;;;;;51454:19:0;;;-1:-1:-1;;;;;51454:19:0;;;;;51496:8;51484:6;51491:1;51484:9;;;;;;;;-1:-1:-1;;;;;51484:20:0;;;:9;;;;;;;;;;:20;;;;51540:7;;:25;;-1:-1:-1;;;51540:25:0;;;;;;;;;;;;;;;;51515:22;;51540:7;;;;;;;;:17;;51558:6;;51540:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51540:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51540:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;51540:25:0;;;;;;;;;;;;-1:-1:-1;51540:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51515:50;;51590:1;51580:6;51587:1;51580:9;;;;;;;;;;;;;;:11;:26;;;;;51605:1;51595:6;51602:1;51595:9;;;;;;;;;;;;;;:11;51580:26;51576:116;;;51677:3;51667:6;51674:1;51667:9;;;;;;;;;;;;;;51629:37;51657:8;;51629:23;51642:6;51649:1;51642:9;;;;;;;;;;;;;;51629:8;:12;;:23;;;;:::i;:::-;:27;;:37::i;:::-;:47;;;;;;:51;;;;;;51622:58;;;;;;51576:116;-1:-1:-1;51709:1:0;;51281:437;-1:-1:-1;;;;;51281:437:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://5e3bbfae116e102db5a2eda39ba1c95f0c6d9aea73fc6d366474f6a365e08488
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.