Contract 0xF5BCE5077908a1b7370B9ae04AdC565EBd643966 13

 

Contract Overview

SushiSwap: BentoBoxV1
Balance:
0.00286879 Ether

EtherValue:
$4.87 (@ $1,697.10/ETH)

Token:
 
Txn Hash
Method
Block
From
To
Value
0x530cb3dfc66fb508a1a8b89553697e24eaaa1fc71bd2f2e360904f3b1069bc40Withdraw152957072022-08-07 14:33:231 hr 33 mins agoENS Name patrickjusic.eth IN  SushiSwap: BentoBoxV10 Ether0.00045781 6.46883603
0x65c0b0fca2a0a2a7d8a99154855267cefa45663eddb7a851fb889c2cd5755459Withdraw152954752022-08-07 13:46:132 hrs 20 mins ago0x79f32c143a637050aa9855db9c855e3fb60922dd IN  SushiSwap: BentoBoxV10 Ether0.00127248 22.55820708
0xe64bb0e697b4e011f5ce39b1528f59843e30acefac187e2599093e73958f56d1Withdraw152949982022-08-07 11:51:094 hrs 15 mins ago0x3ce1f5b4d408d39285bf6f07ba9a6eb498720a7c IN  SushiSwap: BentoBoxV10 Ether0.00035318 5.30870327
0xfdcbb18eda28a11c988b0260be77102a959891427b0ccfd3d16c95591671e6a6Batch152949392022-08-07 11:38:064 hrs 28 mins ago0x4ec0538a66cf4413d241d775c058437793000e21 IN  SushiSwap: BentoBoxV10 Ether0.00114109 7.40089064
0x340ff47c41ddf4f397a80a3fea1784368bf326d939f545287bd42b8206733acdWithdraw152938782022-08-07 7:42:438 hrs 23 mins ago0xe780653655075feeaaeefb6a41bb05de95342c39 IN  SushiSwap: BentoBoxV10 Ether0.00026036 4.6157129
0xde8dd5a381ef2b04999bbcba827e5584caf0b0edb8ef46b158037c2f331e1c8cDeposit152922552022-08-07 1:32:2914 hrs 34 mins ago0x26f0eb136ba5719b4596eee4c323d78ad2c02519 IN  SushiSwap: BentoBoxV10 Ether0.00039962 5.44021752
0x6cc43e7884dc109ccf99899ec2284376be1e40c3b29832bb70f29a0dda56f81eWithdraw152922102022-08-07 1:21:5314 hrs 44 mins agoENS Name chadkeith.eth IN  SushiSwap: BentoBoxV10 Ether0.00013 3.25
0x71269ef939e10e92a51a5858aad1c88bcc0b41a852491599929b4a1586ff8633Withdraw152920662022-08-07 0:45:1715 hrs 21 mins agoENS Name soltran.eth IN  SushiSwap: BentoBoxV10 Ether0.00042915 6.78045869
0x4632c3a8863816413d12fb478171405a9ad6bd2e553ad7cd3d16c71f531760d5Withdraw152914722022-08-06 22:35:0617 hrs 31 mins ago0x03abfe1a208d1845003a61abd72b2326add98222 IN  SushiSwap: BentoBoxV10 Ether0.000495247
0x7f2fe3ce3575da1a1f8708dfaa7c812697f578aa3ebcb67b11e2515d0f821e0eWithdraw152912422022-08-06 21:41:2918 hrs 25 mins ago0xfe1eda2d42f96bcbc6ce1005ea818a2b0e10f19f IN  SushiSwap: BentoBoxV10 Ether0.00068562 12.15454907
0xebcc1cd58ad42b015922a2139cc35f5fcdb0351cbc3b021e62d956ad3c5f9838Deposit152894642022-08-06 15:14:341 day 51 mins agoENS Name soltran.eth IN  SushiSwap: BentoBoxV10 Ether0.00090982 12.21617842
0x6837168ce5e6ed4fd80a37115fd7215efd7f5736439bf85dce5813ae4d155230Batch152894522022-08-06 15:11:271 day 55 mins agoENS Name soltran.eth IN  SushiSwap: BentoBoxV10 Ether0.00189573 12.59489701
0x3de6f651469d3bcce6212b730e458f563f5e19f1a22b59b7bea728a9e9746713Withdraw152890872022-08-06 13:44:471 day 2 hrs ago0xd4bd2e244df201d51264769f3e6522ad0fab02e1 IN  SushiSwap: BentoBoxV10 Ether0.00041469 7.35151692
0x757a39d03730666e19a995f8aaacd1fb79ddd8e3e9155e6e7f5c2cfe47571d23Withdraw152880662022-08-06 10:02:571 day 6 hrs agoENS Name 0mega.eth IN  SushiSwap: BentoBoxV10 Ether0.00035504 6.2510406
0x21a378702266736e3a16a515d908890b9d34d00d9825f85465a959694f186360Withdraw152880642022-08-06 10:02:501 day 6 hrs agoENS Name 0mega.eth IN  SushiSwap: BentoBoxV10 Ether0.0002366 7.4012437
0x2d26393d03e6b6da09192b1d3bfca3cd6d63e898c7bb54cc6821766948d4ecd0Withdraw152880152022-08-06 9:51:241 day 6 hrs agoENS Name 0mega.eth IN  SushiSwap: BentoBoxV10 Ether0.00015203 5.98733314
0x2d755db5a14599ca835d1d8885e66bcbe3313e74952b68c8eb24de37f2e0d116Withdraw152878992022-08-06 9:26:371 day 6 hrs agoENS Name 0mega.eth IN  SushiSwap: BentoBoxV10 Ether0.00013237 5.20112657
0xb061b0970a3c40805b0fe6f98a8557f691423aff84972161dab2eaeff07d0710Withdraw152878832022-08-06 9:23:501 day 6 hrs ago0xd8af2c4a0a14e226d94ccee8702f865d596b28d1 IN  SushiSwap: BentoBoxV10 Ether0.0004726 7.11329437
0x11b3265900fc6bd6ac8b64aaead4b073fd324e438d1d66301857c298678740feWithdraw152878472022-08-06 9:14:581 day 6 hrs agoENS Name 0mega.eth IN  SushiSwap: BentoBoxV10 Ether0.00038939 14.69541595
0xc36bdfc5b72d0fc81f0b64a9188b899ba80c7fb90cea97d097484e5d38fa9770Withdraw152878192022-08-06 9:05:551 day 7 hrs agoENS Name 0mega.eth IN  SushiSwap: BentoBoxV10 Ether0.00049424 8.68370684
0xf5a6663e734999456b5ebec2befe2c3e1bc6d42330b396048f482a648216398bWithdraw152878042022-08-06 9:02:441 day 7 hrs agoENS Name 0mega.eth IN  SushiSwap: BentoBoxV10 Ether0.00047734 8.43126588
0x226295f108e484b4e393508688e2c9b5b8b2ca0dfeee6498a84cf0ea4a2e5245Withdraw152877972022-08-06 9:00:061 day 7 hrs agoENS Name 0mega.eth IN  SushiSwap: BentoBoxV10 Ether0.00037733 6.66053835
0x248ec619001d67c7f1cd36e05a6470c3de746cd7c72019f12cfaecfc490a300bWithdraw152877652022-08-06 8:53:321 day 7 hrs agoENS Name 0mega.eth IN  SushiSwap: BentoBoxV10 Ether0.00029842 5.26648398
0x6b47bbc0f794e0006cc719853121c4004fbba8d6ca7c98608bb68e8f2ee554c9Withdraw152877492022-08-06 8:50:201 day 7 hrs agoENS Name 0mega.eth IN  SushiSwap: BentoBoxV10 Ether0.00049571 8.75578239
0xc97f2958f5e4152950c3cef82b4214b7be04d9659f12e8166cbbe85991af1b14Withdraw152877232022-08-06 8:43:061 day 7 hrs agoENS Name 0mega.eth IN  SushiSwap: BentoBoxV10 Ether0.00030456 10.69852306
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x89830495babf6fe4743fdf97facea389bd1a73fc053a47abe60889ee25d6731d152960712022-08-07 15:44:4021 mins ago SushiSwap: BentoBoxV1 Wrapped Ether0.0597 Ether
0x89830495babf6fe4743fdf97facea389bd1a73fc053a47abe60889ee25d6731d152960712022-08-07 15:44:4021 mins ago 0x011e52e4e40cf9498c79273329e8827b21e2e581 SushiSwap: BentoBoxV10.0597 Ether
0x65c0b0fca2a0a2a7d8a99154855267cefa45663eddb7a851fb889c2cd5755459152954752022-08-07 13:46:132 hrs 20 mins ago SushiSwap: BentoBoxV10x79f32c143a637050aa9855db9c855e3fb60922dd0.19399999 Ether
0x65c0b0fca2a0a2a7d8a99154855267cefa45663eddb7a851fb889c2cd5755459152954752022-08-07 13:46:132 hrs 20 mins ago Wrapped Ether SushiSwap: BentoBoxV10.19399999 Ether
0xca65a2a4314f4bc12a5b78dccc9d016acaa4d61d86bd4fad5e85af9778da75a0152948472022-08-07 11:18:504 hrs 47 mins ago SushiSwap: BentoBoxV1 Wrapped Ether0.1 Ether
0xca65a2a4314f4bc12a5b78dccc9d016acaa4d61d86bd4fad5e85af9778da75a0152948472022-08-07 11:18:504 hrs 47 mins ago 0x011e52e4e40cf9498c79273329e8827b21e2e581 SushiSwap: BentoBoxV10.1 Ether
0x4ba2172132b628ec1278e24e30fbcfd5f9681052475bb477cf41ef3bfa2dc7b3152942182022-08-07 8:58:107 hrs 8 mins ago SushiSwap: BentoBoxV1 Wrapped Ether0.005 Ether
0x4ba2172132b628ec1278e24e30fbcfd5f9681052475bb477cf41ef3bfa2dc7b3152942182022-08-07 8:58:107 hrs 8 mins ago 0x75a5263bddd871e94188611f3563aabc833cc005 SushiSwap: BentoBoxV10.005 Ether
0x340ff47c41ddf4f397a80a3fea1784368bf326d939f545287bd42b8206733acd152938782022-08-07 7:42:438 hrs 23 mins ago SushiSwap: BentoBoxV10xe780653655075feeaaeefb6a41bb05de95342c390.08896614 Ether
0x340ff47c41ddf4f397a80a3fea1784368bf326d939f545287bd42b8206733acd152938782022-08-07 7:42:438 hrs 23 mins ago Wrapped Ether SushiSwap: BentoBoxV10.08896614 Ether
0xd3c7eb9bf864c682f95f9a67e13ceedee705654523010c55e6f11f47437427d6152938502022-08-07 7:36:308 hrs 30 mins ago SushiSwap: BentoBoxV1 Wrapped Ether0.194 Ether
0xd3c7eb9bf864c682f95f9a67e13ceedee705654523010c55e6f11f47437427d6152938502022-08-07 7:36:308 hrs 30 mins ago 0x75a5263bddd871e94188611f3563aabc833cc005 SushiSwap: BentoBoxV10.194 Ether
0xde2ec2c96794a5d48e586fa5eb0d91b6419560e1cf39d6c749c95eb23446d1a2152925802022-08-07 2:47:2013 hrs 19 mins ago SushiSwap: BentoBoxV1 Wrapped Ether2 Ether
0xde2ec2c96794a5d48e586fa5eb0d91b6419560e1cf39d6c749c95eb23446d1a2152925802022-08-07 2:47:2013 hrs 19 mins ago 0x011e52e4e40cf9498c79273329e8827b21e2e581 SushiSwap: BentoBoxV12 Ether
0xf645b1f77454a691445fe0a7d52dce17631ae73934c7f0c800a1ba57e1e1b3e8152922062022-08-07 1:21:0914 hrs 45 mins ago SushiSwap: BentoBoxV1 Wrapped Ether0.01 Ether
0xf645b1f77454a691445fe0a7d52dce17631ae73934c7f0c800a1ba57e1e1b3e8152922062022-08-07 1:21:0914 hrs 45 mins ago 0x011e52e4e40cf9498c79273329e8827b21e2e581 SushiSwap: BentoBoxV10.01 Ether
0x88c6d24d513f430fc326d68759c2e07067917ae37c0bdd5a5d9811538652b573152920262022-08-07 0:35:4515 hrs 30 mins ago SushiSwap: BentoBoxV1 Wrapped Ether0.0155 Ether
0x88c6d24d513f430fc326d68759c2e07067917ae37c0bdd5a5d9811538652b573152920262022-08-07 0:35:4515 hrs 30 mins ago 0x75a5263bddd871e94188611f3563aabc833cc005 SushiSwap: BentoBoxV10.0155 Ether
0xad7271d30edcb035f98d904de242fd6872ff5682d81b1ae5e1cc291debda1477152912532022-08-06 21:43:3318 hrs 22 mins ago SushiSwap: BentoBoxV1 Wrapped Ether0.07 Ether
0xad7271d30edcb035f98d904de242fd6872ff5682d81b1ae5e1cc291debda1477152912532022-08-06 21:43:3318 hrs 22 mins ago 0x011e52e4e40cf9498c79273329e8827b21e2e581 SushiSwap: BentoBoxV10.07 Ether
0x7f2fe3ce3575da1a1f8708dfaa7c812697f578aa3ebcb67b11e2515d0f821e0e152912422022-08-06 21:41:2918 hrs 25 mins ago SushiSwap: BentoBoxV10xfe1eda2d42f96bcbc6ce1005ea818a2b0e10f19f9.0008866 Ether
0x7f2fe3ce3575da1a1f8708dfaa7c812697f578aa3ebcb67b11e2515d0f821e0e152912422022-08-06 21:41:2918 hrs 25 mins ago Wrapped Ether SushiSwap: BentoBoxV19.0008866 Ether
0x495659b9125cbdff60fcf94b76afc31a843944c8eb0f9fa9baf3accd4e7d839a152907322022-08-06 19:54:4620 hrs 11 mins ago SushiSwap: BentoBoxV1 Wrapped Ether1.03 Ether
0x495659b9125cbdff60fcf94b76afc31a843944c8eb0f9fa9baf3accd4e7d839a152907322022-08-06 19:54:4620 hrs 11 mins ago 0x011e52e4e40cf9498c79273329e8827b21e2e581 SushiSwap: BentoBoxV11.03 Ether
0x3de6f651469d3bcce6212b730e458f563f5e19f1a22b59b7bea728a9e9746713152890872022-08-06 13:44:471 day 2 hrs ago SushiSwap: BentoBoxV10xd4bd2e244df201d51264769f3e6522ad0fab02e12.00019702 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BentoBoxV1

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, None license, Audited

Contract Source Code (Solidity)Audit Report

/**
 *Submitted for verification at Etherscan.io on 2021-03-23
*/

// SPDX-License-Identifier: UNLICENSED
// The BentoBox

//  ▄▄▄▄· ▄▄▄ . ▐ ▄ ▄▄▄▄▄      ▄▄▄▄·       ▐▄• ▄
//  ▐█ ▀█▪▀▄.▀·█▌▐█•██  ▪     ▐█ ▀█▪▪      █▌█▌▪
//  ▐█▀▀█▄▐▀▀▪▄▐█▐▐▌ ▐█.▪ ▄█▀▄ ▐█▀▀█▄ ▄█▀▄  ·██·
//  ██▄▪▐█▐█▄▄▌██▐█▌ ▐█▌·▐█▌.▐▌██▄▪▐█▐█▌.▐▌▪▐█·█▌
//  ·▀▀▀▀  ▀▀▀ ▀▀ █▪ ▀▀▀  ▀█▄▀▪·▀▀▀▀  ▀█▄▀▪•▀▀ ▀▀

// This contract stores funds, handles their transfers, supports flash loans and strategies.

// Copyright (c) 2021 BoringCrypto - All rights reserved
// Twitter: @Boring_Crypto

// Special thanks to Keno for all his hard work and support

// Version 22-Mar-2021

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;

// solhint-disable avoid-low-level-calls
// solhint-disable not-rely-on-time
// solhint-disable no-inline-assembly

// File @boringcrypto/boring-solidity/contracts/interfaces/[email protected]
// License-Identifier: MIT

interface IERC20 {
    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /// @notice EIP 2612
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;
}

// File contracts/interfaces/IFlashLoan.sol
// License-Identifier: MIT

interface IFlashBorrower {
    /// @notice The flashloan callback. `amount` + `fee` needs to repayed to msg.sender before this call returns.
    /// @param sender The address of the invoker of this flashloan.
    /// @param token The address of the token that is loaned.
    /// @param amount of the `token` that is loaned.
    /// @param fee The fee that needs to be paid on top for this loan. Needs to be the same as `token`.
    /// @param data Additional data that was passed to the flashloan function.
    function onFlashLoan(
        address sender,
        IERC20 token,
        uint256 amount,
        uint256 fee,
        bytes calldata data
    ) external;
}

interface IBatchFlashBorrower {
    /// @notice The callback for batched flashloans. Every amount + fee needs to repayed to msg.sender before this call returns.
    /// @param sender The address of the invoker of this flashloan.
    /// @param tokens Array of addresses for ERC-20 tokens that is loaned.
    /// @param amounts A one-to-one map to `tokens` that is loaned.
    /// @param fees A one-to-one map to `tokens` that needs to be paid on top for each loan. Needs to be the same token.
    /// @param data Additional data that was passed to the flashloan function.
    function onBatchFlashLoan(
        address sender,
        IERC20[] calldata tokens,
        uint256[] calldata amounts,
        uint256[] calldata fees,
        bytes calldata data
    ) external;
}

// File contracts/interfaces/IWETH.sol
// License-Identifier: MIT

interface IWETH {
    function deposit() external payable;

    function withdraw(uint256) external;
}

// File contracts/interfaces/IStrategy.sol
// License-Identifier: MIT

interface IStrategy {
    /// @notice Send the assets to the Strategy and call skim to invest them.
    /// @param amount The amount of tokens to invest.
    function skim(uint256 amount) external;

    /// @notice Harvest any profits made converted to the asset and pass them to the caller.
    /// @param balance The amount of tokens the caller thinks it has invested.
    /// @param sender The address of the initiator of this transaction. Can be used for reimbursements, etc.
    /// @return amountAdded The delta (+profit or -loss) that occured in contrast to `balance`.
    function harvest(uint256 balance, address sender) external returns (int256 amountAdded);

    /// @notice Withdraw assets. The returned amount can differ from the requested amount due to rounding.
    /// @dev The `actualAmount` should be very close to the amount.
    /// The difference should NOT be used to report a loss. That's what harvest is for.
    /// @param amount The requested amount the caller wants to withdraw.
    /// @return actualAmount The real amount that is withdrawn.
    function withdraw(uint256 amount) external returns (uint256 actualAmount);

    /// @notice Withdraw all assets in the safest way possible. This shouldn't fail.
    /// @param balance The amount of tokens the caller thinks it has invested.
    /// @return amountAdded The delta (+profit or -loss) that occured in contrast to `balance`.
    function exit(uint256 balance) external returns (int256 amountAdded);
}

// File @boringcrypto/boring-solidity/contracts/libraries/[email protected]
// License-Identifier: MIT

library BoringERC20 {
    bytes4 private constant SIG_SYMBOL = 0x95d89b41; // symbol()
    bytes4 private constant SIG_NAME = 0x06fdde03; // name()
    bytes4 private constant SIG_DECIMALS = 0x313ce567; // decimals()
    bytes4 private constant SIG_TRANSFER = 0xa9059cbb; // transfer(address,uint256)
    bytes4 private constant SIG_TRANSFER_FROM = 0x23b872dd; // transferFrom(address,address,uint256)

    /// @notice Provides a safe ERC20.transfer version for different ERC-20 implementations.
    /// Reverts on a failed transfer.
    /// @param token The address of the ERC-20 token.
    /// @param to Transfer tokens to.
    /// @param amount The token amount.
    function safeTransfer(
        IERC20 token,
        address to,
        uint256 amount
    ) internal {
        (bool success, bytes memory data) = address(token).call(abi.encodeWithSelector(SIG_TRANSFER, to, amount));
        require(success && (data.length == 0 || abi.decode(data, (bool))), "BoringERC20: Transfer failed");
    }

    /// @notice Provides a safe ERC20.transferFrom version for different ERC-20 implementations.
    /// Reverts on a failed transfer.
    /// @param token The address of the ERC-20 token.
    /// @param from Transfer tokens from.
    /// @param to Transfer tokens to.
    /// @param amount The token amount.
    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 amount
    ) internal {
        (bool success, bytes memory data) = address(token).call(abi.encodeWithSelector(SIG_TRANSFER_FROM, from, to, amount));
        require(success && (data.length == 0 || abi.decode(data, (bool))), "BoringERC20: TransferFrom failed");
    }
}

// File @boringcrypto/boring-solidity/contracts/libraries/[email protected]
// License-Identifier: MIT

/// @notice A library for performing overflow-/underflow-safe math,
/// updated with awesomeness from of DappHub (https://github.com/dapphub/ds-math).
library BoringMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
        require((c = a + b) >= b, "BoringMath: Add Overflow");
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256 c) {
        require((c = a - b) <= a, "BoringMath: Underflow");
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
        require(b == 0 || (c = a * b) / b == a, "BoringMath: Mul Overflow");
    }

    function to128(uint256 a) internal pure returns (uint128 c) {
        require(a <= uint128(-1), "BoringMath: uint128 Overflow");
        c = uint128(a);
    }

    function to64(uint256 a) internal pure returns (uint64 c) {
        require(a <= uint64(-1), "BoringMath: uint64 Overflow");
        c = uint64(a);
    }

    function to32(uint256 a) internal pure returns (uint32 c) {
        require(a <= uint32(-1), "BoringMath: uint32 Overflow");
        c = uint32(a);
    }
}

/// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint128.
library BoringMath128 {
    function add(uint128 a, uint128 b) internal pure returns (uint128 c) {
        require((c = a + b) >= b, "BoringMath: Add Overflow");
    }

    function sub(uint128 a, uint128 b) internal pure returns (uint128 c) {
        require((c = a - b) <= a, "BoringMath: Underflow");
    }
}

/// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint64.
library BoringMath64 {
    function add(uint64 a, uint64 b) internal pure returns (uint64 c) {
        require((c = a + b) >= b, "BoringMath: Add Overflow");
    }

    function sub(uint64 a, uint64 b) internal pure returns (uint64 c) {
        require((c = a - b) <= a, "BoringMath: Underflow");
    }
}

/// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint32.
library BoringMath32 {
    function add(uint32 a, uint32 b) internal pure returns (uint32 c) {
        require((c = a + b) >= b, "BoringMath: Add Overflow");
    }

    function sub(uint32 a, uint32 b) internal pure returns (uint32 c) {
        require((c = a - b) <= a, "BoringMath: Underflow");
    }
}

// File @boringcrypto/boring-solidity/contracts/libraries/[email protected]
// License-Identifier: MIT

struct Rebase {
    uint128 elastic;
    uint128 base;
}

/// @notice A rebasing library using overflow-/underflow-safe math.
library RebaseLibrary {
    using BoringMath for uint256;
    using BoringMath128 for uint128;

    /// @notice Calculates the base value in relationship to `elastic` and `total`.
    function toBase(
        Rebase memory total,
        uint256 elastic,
        bool roundUp
    ) internal pure returns (uint256 base) {
        if (total.elastic == 0) {
            base = elastic;
        } else {
            base = elastic.mul(total.base) / total.elastic;
            if (roundUp && base.mul(total.elastic) / total.base < elastic) {
                base = base.add(1);
            }
        }
    }

    /// @notice Calculates the elastic value in relationship to `base` and `total`.
    function toElastic(
        Rebase memory total,
        uint256 base,
        bool roundUp
    ) internal pure returns (uint256 elastic) {
        if (total.base == 0) {
            elastic = base;
        } else {
            elastic = base.mul(total.elastic) / total.base;
            if (roundUp && elastic.mul(total.base) / total.elastic < base) {
                elastic = elastic.add(1);
            }
        }
    }

    /// @notice Add `elastic` to `total` and doubles `total.base`.
    /// @return (Rebase) The new total.
    /// @return base in relationship to `elastic`.
    function add(
        Rebase memory total,
        uint256 elastic,
        bool roundUp
    ) internal pure returns (Rebase memory, uint256 base) {
        base = toBase(total, elastic, roundUp);
        total.elastic = total.elastic.add(elastic.to128());
        total.base = total.base.add(base.to128());
        return (total, base);
    }

    /// @notice Sub `base` from `total` and update `total.elastic`.
    /// @return (Rebase) The new total.
    /// @return elastic in relationship to `base`.
    function sub(
        Rebase memory total,
        uint256 base,
        bool roundUp
    ) internal pure returns (Rebase memory, uint256 elastic) {
        elastic = toElastic(total, base, roundUp);
        total.elastic = total.elastic.sub(elastic.to128());
        total.base = total.base.sub(base.to128());
        return (total, elastic);
    }

    /// @notice Add `elastic` and `base` to `total`.
    function add(
        Rebase memory total,
        uint256 elastic,
        uint256 base
    ) internal pure returns (Rebase memory) {
        total.elastic = total.elastic.add(elastic.to128());
        total.base = total.base.add(base.to128());
        return total;
    }

    /// @notice Subtract `elastic` and `base` to `total`.
    function sub(
        Rebase memory total,
        uint256 elastic,
        uint256 base
    ) internal pure returns (Rebase memory) {
        total.elastic = total.elastic.sub(elastic.to128());
        total.base = total.base.sub(base.to128());
        return total;
    }

    /// @notice Add `elastic` to `total` and update storage.
    /// @return newElastic Returns updated `elastic`.
    function addElastic(Rebase storage total, uint256 elastic) internal returns (uint256 newElastic) {
        newElastic = total.elastic = total.elastic.add(elastic.to128());
    }

    /// @notice Subtract `elastic` from `total` and update storage.
    /// @return newElastic Returns updated `elastic`.
    function subElastic(Rebase storage total, uint256 elastic) internal returns (uint256 newElastic) {
        newElastic = total.elastic = total.elastic.sub(elastic.to128());
    }
}

// File @boringcrypto/boring-solidity/contracts/[email protected]
// License-Identifier: MIT

// Source: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol + Claimable.sol
// Edited by BoringCrypto

contract BoringOwnableData {
    address public owner;
    address public pendingOwner;
}

contract BoringOwnable is BoringOwnableData {
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /// @notice `owner` defaults to msg.sender on construction.
    constructor() public {
        owner = msg.sender;
        emit OwnershipTransferred(address(0), msg.sender);
    }

    /// @notice Transfers ownership to `newOwner`. Either directly or claimable by the new pending owner.
    /// Can only be invoked by the current `owner`.
    /// @param newOwner Address of the new owner.
    /// @param direct True if `newOwner` should be set immediately. False if `newOwner` needs to use `claimOwnership`.
    /// @param renounce Allows the `newOwner` to be `address(0)` if `direct` and `renounce` is True. Has no effect otherwise.
    function transferOwnership(
        address newOwner,
        bool direct,
        bool renounce
    ) public onlyOwner {
        if (direct) {
            // Checks
            require(newOwner != address(0) || renounce, "Ownable: zero address");

            // Effects
            emit OwnershipTransferred(owner, newOwner);
            owner = newOwner;
            pendingOwner = address(0);
        } else {
            // Effects
            pendingOwner = newOwner;
        }
    }

    /// @notice Needs to be called by `pendingOwner` to claim ownership.
    function claimOwnership() public {
        address _pendingOwner = pendingOwner;

        // Checks
        require(msg.sender == _pendingOwner, "Ownable: caller != pending owner");

        // Effects
        emit OwnershipTransferred(owner, _pendingOwner);
        owner = _pendingOwner;
        pendingOwner = address(0);
    }

    /// @notice Only allows the `owner` to execute the function.
    modifier onlyOwner() {
        require(msg.sender == owner, "Ownable: caller is not the owner");
        _;
    }
}

// File @boringcrypto/boring-solidity/contracts/interfaces/[email protected]
// License-Identifier: MIT

interface IMasterContract {
    /// @notice Init function that gets called from `BoringFactory.deploy`.
    /// Also kown as the constructor for cloned contracts.
    /// Any ETH send to `BoringFactory.deploy` ends up here.
    /// @param data Can be abi encoded arguments or anything else.
    function init(bytes calldata data) external payable;
}

// File @boringcrypto/boring-solidity/contracts/[email protected]
// License-Identifier: MIT

contract BoringFactory {
    event LogDeploy(address indexed masterContract, bytes data, address indexed cloneAddress);

    /// @notice Mapping from clone contracts to their masterContract.
    mapping(address => address) public masterContractOf;

    /// @notice Deploys a given master Contract as a clone.
    /// Any ETH transferred with this call is forwarded to the new clone.
    /// Emits `LogDeploy`.
    /// @param masterContract The address of the contract to clone.
    /// @param data Additional abi encoded calldata that is passed to the new clone via `IMasterContract.init`.
    /// @param useCreate2 Creates the clone by using the CREATE2 opcode, in this case `data` will be used as salt.
    /// @return cloneAddress Address of the created clone contract.
    function deploy(
        address masterContract,
        bytes calldata data,
        bool useCreate2
    ) public payable returns (address cloneAddress) {
        require(masterContract != address(0), "BoringFactory: No masterContract");
        bytes20 targetBytes = bytes20(masterContract); // Takes the first 20 bytes of the masterContract's address

        if (useCreate2) {
            // each masterContract has different code already. So clones are distinguished by their data only.
            bytes32 salt = keccak256(data);

            // Creates clone, more info here: https://blog.openzeppelin.com/deep-dive-into-the-minimal-proxy-contract/
            assembly {
                let clone := mload(0x40)
                mstore(clone, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
                mstore(add(clone, 0x14), targetBytes)
                mstore(add(clone, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)
                cloneAddress := create2(0, clone, 0x37, salt)
            }
        } else {
            assembly {
                let clone := mload(0x40)
                mstore(clone, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
                mstore(add(clone, 0x14), targetBytes)
                mstore(add(clone, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)
                cloneAddress := create(0, clone, 0x37)
            }
        }
        masterContractOf[cloneAddress] = masterContract;

        IMasterContract(cloneAddress).init{value: msg.value}(data);

        emit LogDeploy(masterContract, data, cloneAddress);
    }
}

// File contracts/MasterContractManager.sol
// License-Identifier: UNLICENSED

contract MasterContractManager is BoringOwnable, BoringFactory {
    event LogWhiteListMasterContract(address indexed masterContract, bool approved);
    event LogSetMasterContractApproval(address indexed masterContract, address indexed user, bool approved);
    event LogRegisterProtocol(address indexed protocol);

    /// @notice masterContract to user to approval state
    mapping(address => mapping(address => bool)) public masterContractApproved;
    /// @notice masterContract to whitelisted state for approval without signed message
    mapping(address => bool) public whitelistedMasterContracts;
    /// @notice user nonces for masterContract approvals
    mapping(address => uint256) public nonces;

    bytes32 private constant DOMAIN_SEPARATOR_SIGNATURE_HASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");
    // See https://eips.ethereum.org/EIPS/eip-191
    string private constant EIP191_PREFIX_FOR_EIP712_STRUCTURED_DATA = "\x19\x01";
    bytes32 private constant APPROVAL_SIGNATURE_HASH =
        keccak256("SetMasterContractApproval(string warning,address user,address masterContract,bool approved,uint256 nonce)");

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private immutable _DOMAIN_SEPARATOR;
    // solhint-disable-next-line var-name-mixedcase
    uint256 private immutable DOMAIN_SEPARATOR_CHAIN_ID;

    constructor() public {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        _DOMAIN_SEPARATOR = _calculateDomainSeparator(DOMAIN_SEPARATOR_CHAIN_ID = chainId);
    }

    function _calculateDomainSeparator(uint256 chainId) private view returns (bytes32) {
        return keccak256(abi.encode(DOMAIN_SEPARATOR_SIGNATURE_HASH, keccak256("BentoBox V1"), chainId, address(this)));
    }

    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() public view returns (bytes32) {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        return chainId == DOMAIN_SEPARATOR_CHAIN_ID ? _DOMAIN_SEPARATOR : _calculateDomainSeparator(chainId);
    }

    /// @notice Other contracts need to register with this master contract so that users can approve them for the BentoBox.
    function registerProtocol() public {
        masterContractOf[msg.sender] = msg.sender;
        emit LogRegisterProtocol(msg.sender);
    }

    /// @notice Enables or disables a contract for approval without signed message.
    function whitelistMasterContract(address masterContract, bool approved) public onlyOwner {
        // Checks
        require(masterContract != address(0), "MasterCMgr: Cannot approve 0");

        // Effects
        whitelistedMasterContracts[masterContract] = approved;
        emit LogWhiteListMasterContract(masterContract, approved);
    }

    /// @notice Approves or revokes a `masterContract` access to `user` funds.
    /// @param user The address of the user that approves or revokes access.
    /// @param masterContract The address who gains or loses access.
    /// @param approved If True approves access. If False revokes access.
    /// @param v Part of the signature. (See EIP-191)
    /// @param r Part of the signature. (See EIP-191)
    /// @param s Part of the signature. (See EIP-191)
    // F4 - Check behaviour for all function arguments when wrong or extreme
    // F4: Don't allow masterContract 0 to be approved. Unknown contracts will have a masterContract of 0.
    // F4: User can't be 0 for signed approvals because the recoveredAddress will be 0 if ecrecover fails
    function setMasterContractApproval(
        address user,
        address masterContract,
        bool approved,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public {
        // Checks
        require(masterContract != address(0), "MasterCMgr: masterC not set"); // Important for security

        // If no signature is provided, the fallback is executed
        if (r == 0 && s == 0 && v == 0) {
            require(user == msg.sender, "MasterCMgr: user not sender");
            require(masterContractOf[user] == address(0), "MasterCMgr: user is clone");
            require(whitelistedMasterContracts[masterContract], "MasterCMgr: not whitelisted");
        } else {
            // Important for security - any address without masterContract has address(0) as masterContract
            // So approving address(0) would approve every address, leading to full loss of funds
            // Also, ecrecover returns address(0) on failure. So we check this:
            require(user != address(0), "MasterCMgr: User cannot be 0");

            // C10 - Protect signatures against replay, use nonce and chainId (SWC-121)
            // C10: nonce + chainId are used to prevent replays
            // C11 - All signatures strictly EIP-712 (SWC-117 SWC-122)
            // C11: signature is EIP-712 compliant
            // C12 - abi.encodePacked can't contain variable length user input (SWC-133)
            // C12: abi.encodePacked has fixed length parameters
            bytes32 digest =
                keccak256(
                    abi.encodePacked(
                        EIP191_PREFIX_FOR_EIP712_STRUCTURED_DATA,
                        DOMAIN_SEPARATOR(),
                        keccak256(
                            abi.encode(
                                APPROVAL_SIGNATURE_HASH,
                                approved
                                    ? keccak256("Give FULL access to funds in (and approved to) BentoBox?")
                                    : keccak256("Revoke access to BentoBox?"),
                                user,
                                masterContract,
                                approved,
                                nonces[user]++
                            )
                        )
                    )
                );
            address recoveredAddress = ecrecover(digest, v, r, s);
            require(recoveredAddress == user, "MasterCMgr: Invalid Signature");
        }

        // Effects
        masterContractApproved[masterContract][user] = approved;
        emit LogSetMasterContractApproval(masterContract, user, approved);
    }
}

// File @boringcrypto/boring-solidity/contracts/[email protected]
// License-Identifier: MIT

contract BaseBoringBatchable {
    /// @dev Helper function to extract a useful revert message from a failed call.
    /// If the returned data is malformed or not correctly abi encoded then this call can fail itself.
    function _getRevertMsg(bytes memory _returnData) internal pure returns (string memory) {
        // If the _res length is less than 68, then the transaction failed silently (without a revert message)
        if (_returnData.length < 68) return "Transaction reverted silently";

        assembly {
            // Slice the sighash.
            _returnData := add(_returnData, 0x04)
        }
        return abi.decode(_returnData, (string)); // All that remains is the revert string
    }

    /// @notice Allows batched call to self (this contract).
    /// @param calls An array of inputs for each call.
    /// @param revertOnFail If True then reverts after a failed call and stops doing further calls.
    /// @return successes An array indicating the success of a call, mapped one-to-one to `calls`.
    /// @return results An array with the returned data of each function call, mapped one-to-one to `calls`.
    // F1: External is ok here because this is the batch function, adding it to a batch makes no sense
    // F2: Calls in the batch may be payable, delegatecall operates in the same context, so each call in the batch has access to msg.value
    // C3: The length of the loop is fully under user control, so can't be exploited
    // C7: Delegatecall is only used on the same contract, so it's safe
    function batch(bytes[] calldata calls, bool revertOnFail) external payable returns (bool[] memory successes, bytes[] memory results) {
        successes = new bool[](calls.length);
        results = new bytes[](calls.length);
        for (uint256 i = 0; i < calls.length; i++) {
            (bool success, bytes memory result) = address(this).delegatecall(calls[i]);
            require(success || !revertOnFail, _getRevertMsg(result));
            successes[i] = success;
            results[i] = result;
        }
    }
}

contract BoringBatchable is BaseBoringBatchable {
    /// @notice Call wrapper that performs `ERC20.permit` on `token`.
    /// Lookup `IERC20.permit`.
    // F6: Parameters can be used front-run the permit and the user's permit will fail (due to nonce or other revert)
    //     if part of a batch this could be used to grief once as the second call would not need the permit
    function permitToken(
        IERC20 token,
        address from,
        address to,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public {
        token.permit(from, to, amount, deadline, v, r, s);
    }
}

// File contracts/BentoBox.sol
// License-Identifier: UNLICENSED

/// @title BentoBox
/// @author BoringCrypto, Keno
/// @notice The BentoBox is a vault for tokens. The stored tokens can be flash loaned and used in strategies.
/// Yield from this will go to the token depositors.
/// Rebasing tokens ARE NOT supported and WILL cause loss of funds.
/// Any funds transfered directly onto the BentoBox will be lost, use the deposit function instead.
contract BentoBoxV1 is MasterContractManager, BoringBatchable {
    using BoringMath for uint256;
    using BoringMath128 for uint128;
    using BoringERC20 for IERC20;
    using RebaseLibrary for Rebase;

    // ************** //
    // *** EVENTS *** //
    // ************** //

    event LogDeposit(IERC20 indexed token, address indexed from, address indexed to, uint256 amount, uint256 share);
    event LogWithdraw(IERC20 indexed token, address indexed from, address indexed to, uint256 amount, uint256 share);
    event LogTransfer(IERC20 indexed token, address indexed from, address indexed to, uint256 share);

    event LogFlashLoan(address indexed borrower, IERC20 indexed token, uint256 amount, uint256 feeAmount, address indexed receiver);

    event LogStrategyTargetPercentage(IERC20 indexed token, uint256 targetPercentage);
    event LogStrategyQueued(IERC20 indexed token, IStrategy indexed strategy);
    event LogStrategySet(IERC20 indexed token, IStrategy indexed strategy);
    event LogStrategyInvest(IERC20 indexed token, uint256 amount);
    event LogStrategyDivest(IERC20 indexed token, uint256 amount);
    event LogStrategyProfit(IERC20 indexed token, uint256 amount);
    event LogStrategyLoss(IERC20 indexed token, uint256 amount);

    // *************** //
    // *** STRUCTS *** //
    // *************** //

    struct StrategyData {
        uint64 strategyStartDate;
        uint64 targetPercentage;
        uint128 balance; // the balance of the strategy that BentoBox thinks is in there
    }

    // ******************************** //
    // *** CONSTANTS AND IMMUTABLES *** //
    // ******************************** //

    // V2 - Can they be private?
    // V2: Private to save gas, to verify it's correct, check the constructor arguments
    IERC20 private immutable wethToken;

    IERC20 private constant USE_ETHEREUM = IERC20(0);
    uint256 private constant FLASH_LOAN_FEE = 50; // 0.05%
    uint256 private constant FLASH_LOAN_FEE_PRECISION = 1e5;
    uint256 private constant STRATEGY_DELAY = 2 weeks;
    uint256 private constant MAX_TARGET_PERCENTAGE = 95; // 95%
    uint256 private constant MINIMUM_SHARE_BALANCE = 1000; // To prevent the ratio going off

    // ***************** //
    // *** VARIABLES *** //
    // ***************** //

    // Balance per token per address/contract in shares
    mapping(IERC20 => mapping(address => uint256)) public balanceOf;

    // Rebase from amount to share
    mapping(IERC20 => Rebase) public totals;

    mapping(IERC20 => IStrategy) public strategy;
    mapping(IERC20 => IStrategy) public pendingStrategy;
    mapping(IERC20 => StrategyData) public strategyData;

    // ******************* //
    // *** CONSTRUCTOR *** //
    // ******************* //

    constructor(IERC20 wethToken_) public {
        wethToken = wethToken_;
    }

    // ***************** //
    // *** MODIFIERS *** //
    // ***************** //

    /// Modifier to check if the msg.sender is allowed to use funds belonging to the 'from' address.
    /// If 'from' is msg.sender, it's allowed.
    /// If 'from' is the BentoBox itself, it's allowed. Any ETH, token balances (above the known balances) or BentoBox balances
    /// can be taken by anyone.
    /// This is to enable skimming, not just for deposits, but also for withdrawals or transfers, enabling better composability.
    /// If 'from' is a clone of a masterContract AND the 'from' address has approved that masterContract, it's allowed.
    modifier allowed(address from) {
        if (from != msg.sender && from != address(this)) {
            // From is sender or you are skimming
            address masterContract = masterContractOf[msg.sender];
            require(masterContract != address(0), "BentoBox: no masterContract");
            require(masterContractApproved[masterContract][from], "BentoBox: Transfer not approved");
        }
        _;
    }

    // ************************** //
    // *** INTERNAL FUNCTIONS *** //
    // ************************** //

    /// @dev Returns the total balance of `token` this contracts holds,
    /// plus the total amount this contract thinks the strategy holds.
    function _tokenBalanceOf(IERC20 token) internal view returns (uint256 amount) {
        amount = token.balanceOf(address(this)).add(strategyData[token].balance);
    }

    // ************************ //
    // *** PUBLIC FUNCTIONS *** //
    // ************************ //

    /// @dev Helper function to represent an `amount` of `token` in shares.
    /// @param token The ERC-20 token.
    /// @param amount The `token` amount.
    /// @param roundUp If the result `share` should be rounded up.
    /// @return share The token amount represented in shares.
    function toShare(
        IERC20 token,
        uint256 amount,
        bool roundUp
    ) external view returns (uint256 share) {
        share = totals[token].toBase(amount, roundUp);
    }

    /// @dev Helper function represent shares back into the `token` amount.
    /// @param token The ERC-20 token.
    /// @param share The amount of shares.
    /// @param roundUp If the result should be rounded up.
    /// @return amount The share amount back into native representation.
    function toAmount(
        IERC20 token,
        uint256 share,
        bool roundUp
    ) external view returns (uint256 amount) {
        amount = totals[token].toElastic(share, roundUp);
    }

    /// @notice Deposit an amount of `token` represented in either `amount` or `share`.
    /// @param token_ The ERC-20 token to deposit.
    /// @param from which account to pull the tokens.
    /// @param to which account to push the tokens.
    /// @param amount Token amount in native representation to deposit.
    /// @param share Token amount represented in shares to deposit. Takes precedence over `amount`.
    /// @return amountOut The amount deposited.
    /// @return shareOut The deposited amount repesented in shares.
    function deposit(
        IERC20 token_,
        address from,
        address to,
        uint256 amount,
        uint256 share
    ) public payable allowed(from) returns (uint256 amountOut, uint256 shareOut) {
        // Checks
        require(to != address(0), "BentoBox: to not set"); // To avoid a bad UI from burning funds

        // Effects
        IERC20 token = token_ == USE_ETHEREUM ? wethToken : token_;
        Rebase memory total = totals[token];

        // If a new token gets added, the tokenSupply call checks that this is a deployed contract. Needed for security.
        require(total.elastic != 0 || token.totalSupply() > 0, "BentoBox: No tokens");
        if (share == 0) {
            // value of the share may be lower than the amount due to rounding, that's ok
            share = total.toBase(amount, false);
            // Any deposit should lead to at least the minimum share balance, otherwise it's ignored (no amount taken)
            if (total.base.add(share.to128()) < MINIMUM_SHARE_BALANCE) {
                return (0, 0);
            }
        } else {
            // amount may be lower than the value of share due to rounding, in that case, add 1 to amount (Always round up)
            amount = total.toElastic(share, true);
        }

        // In case of skimming, check that only the skimmable amount is taken.
        // For ETH, the full balance is available, so no need to check.
        // During flashloans the _tokenBalanceOf is lower than 'reality', so skimming deposits will mostly fail during a flashloan.
        require(
            from != address(this) || token_ == USE_ETHEREUM || amount <= _tokenBalanceOf(token).sub(total.elastic),
            "BentoBox: Skim too much"
        );

        balanceOf[token][to] = balanceOf[token][to].add(share);
        total.base = total.base.add(share.to128());
        total.elastic = total.elastic.add(amount.to128());
        totals[token] = total;

        // Interactions
        // During the first deposit, we check that this token is 'real'
        if (token_ == USE_ETHEREUM) {
            // X2 - If there is an error, could it cause a DoS. Like balanceOf causing revert. (SWC-113)
            // X2: If the WETH implementation is faulty or malicious, it will block adding ETH (but we know the WETH implementation)
            IWETH(address(wethToken)).deposit{value: amount}();
        } else if (from != address(this)) {
            // X2 - If there is an error, could it cause a DoS. Like balanceOf causing revert. (SWC-113)
            // X2: If the token implementation is faulty or malicious, it may block adding tokens. Good.
            token.safeTransferFrom(from, address(this), amount);
        }
        emit LogDeposit(token, from, to, amount, share);
        amountOut = amount;
        shareOut = share;
    }

    /// @notice Withdraws an amount of `token` from a user account.
    /// @param token_ The ERC-20 token to withdraw.
    /// @param from which user to pull the tokens.
    /// @param to which user to push the tokens.
    /// @param amount of tokens. Either one of `amount` or `share` needs to be supplied.
    /// @param share Like above, but `share` takes precedence over `amount`.
    function withdraw(
        IERC20 token_,
        address from,
        address to,
        uint256 amount,
        uint256 share
    ) public allowed(from) returns (uint256 amountOut, uint256 shareOut) {
        // Checks
        require(to != address(0), "BentoBox: to not set"); // To avoid a bad UI from burning funds

        // Effects
        IERC20 token = token_ == USE_ETHEREUM ? wethToken : token_;
        Rebase memory total = totals[token];
        if (share == 0) {
            // value of the share paid could be lower than the amount paid due to rounding, in that case, add a share (Always round up)
            share = total.toBase(amount, true);
        } else {
            // amount may be lower than the value of share due to rounding, that's ok
            amount = total.toElastic(share, false);
        }

        balanceOf[token][from] = balanceOf[token][from].sub(share);
        total.elastic = total.elastic.sub(amount.to128());
        total.base = total.base.sub(share.to128());
        // There have to be at least 1000 shares left to prevent reseting the share/amount ratio (unless it's fully emptied)
        require(total.base >= MINIMUM_SHARE_BALANCE || total.base == 0, "BentoBox: cannot empty");
        totals[token] = total;

        // Interactions
        if (token_ == USE_ETHEREUM) {
            // X2, X3: A revert or big gas usage in the WETH contract could block withdrawals, but WETH9 is fine.
            IWETH(address(wethToken)).withdraw(amount);
            // X2, X3: A revert or big gas usage could block, however, the to address is under control of the caller.
            (bool success, ) = to.call{value: amount}("");
            require(success, "BentoBox: ETH transfer failed");
        } else {
            // X2, X3: A malicious token could block withdrawal of just THAT token.
            //         masterContracts may want to take care not to rely on withdraw always succeeding.
            token.safeTransfer(to, amount);
        }
        emit LogWithdraw(token, from, to, amount, share);
        amountOut = amount;
        shareOut = share;
    }

    /// @notice Transfer shares from a user account to another one.
    /// @param token The ERC-20 token to transfer.
    /// @param from which user to pull the tokens.
    /// @param to which user to push the tokens.
    /// @param share The amount of `token` in shares.
    // Clones of master contracts can transfer from any account that has approved them
    // F3 - Can it be combined with another similar function?
    // F3: This isn't combined with transferMultiple for gas optimization
    function transfer(
        IERC20 token,
        address from,
        address to,
        uint256 share
    ) public allowed(from) {
        // Checks
        require(to != address(0), "BentoBox: to not set"); // To avoid a bad UI from burning funds

        // Effects
        balanceOf[token][from] = balanceOf[token][from].sub(share);
        balanceOf[token][to] = balanceOf[token][to].add(share);

        emit LogTransfer(token, from, to, share);
    }

    /// @notice Transfer shares from a user account to multiple other ones.
    /// @param token The ERC-20 token to transfer.
    /// @param from which user to pull the tokens.
    /// @param tos The receivers of the tokens.
    /// @param shares The amount of `token` in shares for each receiver in `tos`.
    // F3 - Can it be combined with another similar function?
    // F3: This isn't combined with transfer for gas optimization
    function transferMultiple(
        IERC20 token,
        address from,
        address[] calldata tos,
        uint256[] calldata shares
    ) public allowed(from) {
        // Checks
        require(tos[0] != address(0), "BentoBox: to[0] not set"); // To avoid a bad UI from burning funds

        // Effects
        uint256 totalAmount;
        uint256 len = tos.length;
        for (uint256 i = 0; i < len; i++) {
            address to = tos[i];
            balanceOf[token][to] = balanceOf[token][to].add(shares[i]);
            totalAmount = totalAmount.add(shares[i]);
            emit LogTransfer(token, from, to, shares[i]);
        }
        balanceOf[token][from] = balanceOf[token][from].sub(totalAmount);
    }

    /// @notice Flashloan ability.
    /// @param borrower The address of the contract that implements and conforms to `IFlashBorrower` and handles the flashloan.
    /// @param receiver Address of the token receiver.
    /// @param token The address of the token to receive.
    /// @param amount of the tokens to receive.
    /// @param data The calldata to pass to the `borrower` contract.
    // F5 - Checks-Effects-Interactions pattern followed? (SWC-107)
    // F5: Not possible to follow this here, reentrancy has been reviewed
    // F6 - Check for front-running possibilities, such as the approve function (SWC-114)
    // F6: Slight grieving possible by withdrawing an amount before someone tries to flashloan close to the full amount.
    function flashLoan(
        IFlashBorrower borrower,
        address receiver,
        IERC20 token,
        uint256 amount,
        bytes calldata data
    ) public {
        uint256 fee = amount.mul(FLASH_LOAN_FEE) / FLASH_LOAN_FEE_PRECISION;
        token.safeTransfer(receiver, amount);

        borrower.onFlashLoan(msg.sender, token, amount, fee, data);

        require(_tokenBalanceOf(token) >= totals[token].addElastic(fee.to128()), "BentoBox: Wrong amount");
        emit LogFlashLoan(address(borrower), token, amount, fee, receiver);
    }

    /// @notice Support for batched flashloans. Useful to request multiple different `tokens` in a single transaction.
    /// @param borrower The address of the contract that implements and conforms to `IBatchFlashBorrower` and handles the flashloan.
    /// @param receivers An array of the token receivers. A one-to-one mapping with `tokens` and `amounts`.
    /// @param tokens The addresses of the tokens.
    /// @param amounts of the tokens for each receiver.
    /// @param data The calldata to pass to the `borrower` contract.
    // F5 - Checks-Effects-Interactions pattern followed? (SWC-107)
    // F5: Not possible to follow this here, reentrancy has been reviewed
    // F6 - Check for front-running possibilities, such as the approve function (SWC-114)
    // F6: Slight grieving possible by withdrawing an amount before someone tries to flashloan close to the full amount.
    function batchFlashLoan(
        IBatchFlashBorrower borrower,
        address[] calldata receivers,
        IERC20[] calldata tokens,
        uint256[] calldata amounts,
        bytes calldata data
    ) public {
        uint256[] memory fees = new uint256[](tokens.length);

        uint256 len = tokens.length;
        for (uint256 i = 0; i < len; i++) {
            uint256 amount = amounts[i];
            fees[i] = amount.mul(FLASH_LOAN_FEE) / FLASH_LOAN_FEE_PRECISION;

            tokens[i].safeTransfer(receivers[i], amounts[i]);
        }

        borrower.onBatchFlashLoan(msg.sender, tokens, amounts, fees, data);

        for (uint256 i = 0; i < len; i++) {
            IERC20 token = tokens[i];
            require(_tokenBalanceOf(token) >= totals[token].addElastic(fees[i].to128()), "BentoBox: Wrong amount");
            emit LogFlashLoan(address(borrower), token, amounts[i], fees[i], receivers[i]);
        }
    }

    /// @notice Sets the target percentage of the strategy for `token`.
    /// @dev Only the owner of this contract is allowed to change this.
    /// @param token The address of the token that maps to a strategy to change.
    /// @param targetPercentage_ The new target in percent. Must be lesser or equal to `MAX_TARGET_PERCENTAGE`.
    function setStrategyTargetPercentage(IERC20 token, uint64 targetPercentage_) public onlyOwner {
        // Checks
        require(targetPercentage_ <= MAX_TARGET_PERCENTAGE, "StrategyManager: Target too high");

        // Effects
        strategyData[token].targetPercentage = targetPercentage_;
        emit LogStrategyTargetPercentage(token, targetPercentage_);
    }

    /// @notice Sets the contract address of a new strategy that conforms to `IStrategy` for `token`.
    /// Must be called twice with the same arguments.
    /// A new strategy becomes pending first and can be activated once `STRATEGY_DELAY` is over.
    /// @dev Only the owner of this contract is allowed to change this.
    /// @param token The address of the token that maps to a strategy to change.
    /// @param newStrategy The address of the contract that conforms to `IStrategy`.
    // F5 - Checks-Effects-Interactions pattern followed? (SWC-107)
    // F5: Total amount is updated AFTER interaction. But strategy is under our control.
    // C4 - Use block.timestamp only for long intervals (SWC-116)
    // C4: block.timestamp is used for a period of 2 weeks, which is long enough
    function setStrategy(IERC20 token, IStrategy newStrategy) public onlyOwner {
        StrategyData memory data = strategyData[token];
        IStrategy pending = pendingStrategy[token];
        if (data.strategyStartDate == 0 || pending != newStrategy) {
            pendingStrategy[token] = newStrategy;
            // C1 - All math done through BoringMath (SWC-101)
            // C1: Our sun will swallow the earth well before this overflows
            data.strategyStartDate = (block.timestamp + STRATEGY_DELAY).to64();
            emit LogStrategyQueued(token, newStrategy);
        } else {
            require(data.strategyStartDate != 0 && block.timestamp >= data.strategyStartDate, "StrategyManager: Too early");
            if (address(strategy[token]) != address(0)) {
                int256 balanceChange = strategy[token].exit(data.balance);
                // Effects
                if (balanceChange > 0) {
                    uint256 add = uint256(balanceChange);
                    totals[token].addElastic(add);
                    emit LogStrategyProfit(token, add);
                } else if (balanceChange < 0) {
                    uint256 sub = uint256(-balanceChange);
                    totals[token].subElastic(sub);
                    emit LogStrategyLoss(token, sub);
                }

                emit LogStrategyDivest(token, data.balance);
            }
            strategy[token] = pending;
            data.strategyStartDate = 0;
            data.balance = 0;
            pendingStrategy[token] = IStrategy(0);
            emit LogStrategySet(token, newStrategy);
        }
        strategyData[token] = data;
    }

    /// @notice The actual process of yield farming. Executes the strategy of `token`.
    /// Optionally does housekeeping if `balance` is true.
    /// `maxChangeAmount` is relevant for skimming or withdrawing if `balance` is true.
    /// @param token The address of the token for which a strategy is deployed.
    /// @param balance True if housekeeping should be done.
    /// @param maxChangeAmount The maximum amount for either pulling or pushing from/to the `IStrategy` contract.
    // F5 - Checks-Effects-Interactions pattern followed? (SWC-107)
    // F5: Total amount is updated AFTER interaction. But strategy is under our control.
    // F5: Not followed to prevent reentrancy issues with flashloans and BentoBox skims?
    function harvest(
        IERC20 token,
        bool balance,
        uint256 maxChangeAmount
    ) public {
        StrategyData memory data = strategyData[token];
        IStrategy _strategy = strategy[token];
        int256 balanceChange = _strategy.harvest(data.balance, msg.sender);
        if (balanceChange == 0 && !balance) {
            return;
        }

        uint256 totalElastic = totals[token].elastic;

        if (balanceChange > 0) {
            uint256 add = uint256(balanceChange);
            totalElastic = totalElastic.add(add);
            totals[token].elastic = totalElastic.to128();
            emit LogStrategyProfit(token, add);
        } else if (balanceChange < 0) {
            // C1 - All math done through BoringMath (SWC-101)
            // C1: balanceChange could overflow if it's max negative int128.
            // But tokens with balances that large are not supported by the BentoBox.
            uint256 sub = uint256(-balanceChange);
            totalElastic = totalElastic.sub(sub);
            totals[token].elastic = totalElastic.to128();
            data.balance = data.balance.sub(sub.to128());
            emit LogStrategyLoss(token, sub);
        }

        if (balance) {
            uint256 targetBalance = totalElastic.mul(data.targetPercentage) / 100;
            // if data.balance == targetBalance there is nothing to update
            if (data.balance < targetBalance) {
                uint256 amountOut = targetBalance.sub(data.balance);
                if (maxChangeAmount != 0 && amountOut > maxChangeAmount) {
                    amountOut = maxChangeAmount;
                }
                token.safeTransfer(address(_strategy), amountOut);
                data.balance = data.balance.add(amountOut.to128());
                _strategy.skim(amountOut);
                emit LogStrategyInvest(token, amountOut);
            } else if (data.balance > targetBalance) {
                uint256 amountIn = data.balance.sub(targetBalance.to128());
                if (maxChangeAmount != 0 && amountIn > maxChangeAmount) {
                    amountIn = maxChangeAmount;
                }

                uint256 actualAmountIn = _strategy.withdraw(amountIn);

                data.balance = data.balance.sub(actualAmountIn.to128());
                emit LogStrategyDivest(token, actualAmountIn);
            }
        }

        strategyData[token] = data;
    }

    // Contract should be able to receive ETH deposits to support deposit & skim
    // solhint-disable-next-line no-empty-blocks
    receive() external payable {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"wethToken_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"masterContract","type":"address"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":true,"internalType":"address","name":"cloneAddress","type":"address"}],"name":"LogDeploy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"share","type":"uint256"}],"name":"LogDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"borrower","type":"address"},{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"}],"name":"LogFlashLoan","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"protocol","type":"address"}],"name":"LogRegisterProtocol","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"masterContract","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"LogSetMasterContractApproval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogStrategyDivest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogStrategyInvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogStrategyLoss","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogStrategyProfit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":true,"internalType":"contract IStrategy","name":"strategy","type":"address"}],"name":"LogStrategyQueued","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":true,"internalType":"contract IStrategy","name":"strategy","type":"address"}],"name":"LogStrategySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"targetPercentage","type":"uint256"}],"name":"LogStrategyTargetPercentage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"share","type":"uint256"}],"name":"LogTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"masterContract","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"LogWhiteListMasterContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"share","type":"uint256"}],"name":"LogWithdraw","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"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"calls","type":"bytes[]"},{"internalType":"bool","name":"revertOnFail","type":"bool"}],"name":"batch","outputs":[{"internalType":"bool[]","name":"successes","type":"bool[]"},{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IBatchFlashBorrower","name":"borrower","type":"address"},{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"contract IERC20[]","name":"tokens","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"batchFlashLoan","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"masterContract","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bool","name":"useCreate2","type":"bool"}],"name":"deploy","outputs":[{"internalType":"address","name":"cloneAddress","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token_","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"share","type":"uint256"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"shareOut","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IFlashBorrower","name":"borrower","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"flashLoan","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"bool","name":"balance","type":"bool"},{"internalType":"uint256","name":"maxChangeAmount","type":"uint256"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"masterContractApproved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"masterContractOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"pendingStrategy","outputs":[{"internalType":"contract IStrategy","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permitToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"registerProtocol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"masterContract","type":"address"},{"internalType":"bool","name":"approved","type":"bool"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"setMasterContractApproval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"contract IStrategy","name":"newStrategy","type":"address"}],"name":"setStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint64","name":"targetPercentage_","type":"uint64"}],"name":"setStrategyTargetPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"strategy","outputs":[{"internalType":"contract IStrategy","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"strategyData","outputs":[{"internalType":"uint64","name":"strategyStartDate","type":"uint64"},{"internalType":"uint64","name":"targetPercentage","type":"uint64"},{"internalType":"uint128","name":"balance","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"share","type":"uint256"},{"internalType":"bool","name":"roundUp","type":"bool"}],"name":"toAmount","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"roundUp","type":"bool"}],"name":"toShare","outputs":[{"internalType":"uint256","name":"share","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"totals","outputs":[{"internalType":"uint128","name":"elastic","type":"uint128"},{"internalType":"uint128","name":"base","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"share","type":"uint256"}],"name":"transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address[]","name":"tos","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"name":"transferMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"},{"internalType":"bool","name":"direct","type":"bool"},{"internalType":"bool","name":"renounce","type":"bool"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"masterContract","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"whitelistMasterContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedMasterContracts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token_","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"share","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"shareOut","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e06040523480156200001157600080fd5b5060405162005ae638038062005ae6833981016040819052620000349162000116565b600080546001600160a01b0319163390811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a34660a081905262000084816200009e565b6080525060601b6001600160601b03191660c0526200016a565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fd7df266aff736d415a9dc14b4158201d612e70d75b9c7f4e375ccfd20aa5166f8330604051602001620000f9949392919062000146565b604051602081830303815290604052805190602001209050919050565b60006020828403121562000128578081fd5b81516001600160a01b03811681146200013f578182fd5b9392505050565b938452602084019290925260408301526001600160a01b0316606082015260800190565b60805160a05160c05160601c61593d620001a9600039806107615280610b3752806129155280612bdb5250806114845250806114b9525061593d6000f3fe6080604052600436106101dc5760003560e01c80637c516e9411610102578063d2423b5111610095578063f1676d3711610064578063f1676d3714610555578063f18d03cc14610575578063f483b3da14610595578063f7888aec146105b5576101e3565b8063d2423b51146104d0578063da5139ca146104f1578063df23b45b14610511578063e30c397814610540576101e3565b806397da6d30116100d157806397da6d301461045b578063aee4d1b21461047b578063bafe4f1414610490578063c0a47c93146104b0576101e3565b80637c516e94146103e65780637ecebe00146104065780638da5cb5b1461042657806391e0eab51461043b576101e3565b80633e2a9d4e1161017a5780635662311811610149578063566231181461036657806366c6bb0b1461038657806372cb5d97146103a6578063733a9d7c146103c6576101e3565b80633e2a9d4e146102e35780634e71e0c8146103035780634ffe34db146103185780635108a55814610346576101e3565b806312a90c8a116101b657806312a90c8a146102545780631f54245b14610281578063228bfd9f146102a15780633644e515146102c1576101e3565b806302b9446c146101e8578063078dfbe7146102125780630fca884314610234576101e3565b366101e357005b600080fd5b6101fb6101f636600461492e565b6105d5565b6040516102099291906157dc565b60405180910390f35b34801561021e57600080fd5b5061023261022d3660046146e2565b610c8c565b005b34801561024057600080fd5b5061023261024f366004614a09565b610e17565b34801561026057600080fd5b5061027461026f3660046145f5565b6111d9565b6040516102099190615068565b61029461028f36600461472c565b6111ee565b6040516102099190614dcc565b3480156102ad57600080fd5b506102946102bc3660046145f5565b611457565b3480156102cd57600080fd5b506102d661147f565b6040516102099190615073565b3480156102ef57600080fd5b506102326102fe366004614b11565b6114df565b34801561030f57600080fd5b50610232611613565b34801561032457600080fd5b506103386103333660046145f5565b6116f9565b6040516102099291906157b9565b34801561035257600080fd5b506102946103613660046145f5565b611735565b34801561037257600080fd5b506102d6610381366004614adb565b61175d565b34801561039257600080fd5b506102326103a1366004614a9b565b6117d4565b3480156103b257600080fd5b506102326103c13660046148cc565b611f89565b3480156103d257600080fd5b506102326103e13660046146b5565b61258d565b3480156103f257600080fd5b50610232610401366004614988565b6126aa565b34801561041257600080fd5b506102d66104213660046145f5565b612744565b34801561043257600080fd5b50610294612756565b34801561044757600080fd5b50610274610456366004614611565b612772565b34801561046757600080fd5b506101fb61047636600461492e565b612792565b34801561048757600080fd5b50610232612d82565b34801561049c57600080fd5b506102946104ab3660046145f5565b612de1565b3480156104bc57600080fd5b506102326104cb366004614649565b612e09565b6104e36104de366004614792565b613262565b604051610209929190614fce565b3480156104fd57600080fd5b506102d661050c366004614adb565b61340e565b34801561051d57600080fd5b5061053161052c3660046145f5565b61347d565b604051610209939291906157ff565b34801561054c57600080fd5b506102946134d2565b34801561056157600080fd5b50610232610570366004614b4a565b6134ee565b34801561058157600080fd5b506102326105903660046148de565b6136c9565b3480156105a157600080fd5b506102326105b03660046147f8565b613923565b3480156105c157600080fd5b506102d66105d03660046148cc565b613c6e565b6000808573ffffffffffffffffffffffffffffffffffffffff81163314801590610615575073ffffffffffffffffffffffffffffffffffffffff81163014155b156106ee573360009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1680610680576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906155b0565b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff80821660009081526003602090815260408083209386168352929052205460ff166106ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615433565b505b73ffffffffffffffffffffffffffffffffffffffff861661073b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615390565b600073ffffffffffffffffffffffffffffffffffffffff89161561075f5788610781565b7f00000000000000000000000000000000000000000000000000000000000000005b905061078b614519565b5073ffffffffffffffffffffffffffffffffffffffff81166000908152600760209081526040918290208251808401909352546fffffffffffffffffffffffffffffffff808216808552700100000000000000000000000000000000909204169183019190915215158061087c575060008273ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561084257600080fd5b505afa158015610856573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087a9190614bbb565b115b6108b2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906152b4565b8561091c576108c381886000613c8b565b95506103e86108f16108d488613d49565b60208401516fffffffffffffffffffffffffffffffff1690613d99565b6fffffffffffffffffffffffffffffffff16101561091757600080945094505050610c81565b61092b565b61092881876001613df1565b96505b73ffffffffffffffffffffffffffffffffffffffff891630141580610964575073ffffffffffffffffffffffffffffffffffffffff8a16155b8061099557508051610991906fffffffffffffffffffffffffffffffff1661098b84613e94565b90613f78565b8711155b6109cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061516a565b73ffffffffffffffffffffffffffffffffffffffff8083166000908152600660209081526040808320938c1683529290522054610a089087613fb5565b73ffffffffffffffffffffffffffffffffffffffff8084166000908152600660209081526040808320938d1683529290522055610a64610a4787613d49565b60208301516fffffffffffffffffffffffffffffffff1690613d99565b6fffffffffffffffffffffffffffffffff166020820152610aa1610a8788613d49565b82516fffffffffffffffffffffffffffffffff1690613d99565b6fffffffffffffffffffffffffffffffff908116825273ffffffffffffffffffffffffffffffffffffffff808416600090815260076020908152604090912084518154928601518516700100000000000000000000000000000000029085167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090931692909217909316179091558a16610bbb577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0886040518263ffffffff1660e01b81526004016000604051808303818588803b158015610b9d57600080fd5b505af1158015610bb1573d6000803e3d6000fd5b5050505050610bfa565b73ffffffffffffffffffffffffffffffffffffffff89163014610bfa57610bfa73ffffffffffffffffffffffffffffffffffffffff83168a308a613ff2565b8773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb2346165e782564f17f5b7e555c21f4fd96fbc93458572bf0113ea35a958fc558a8a604051610c709291906157dc565b60405180910390a486945085935050505b509550959350505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906153fe565b8115610dd15773ffffffffffffffffffffffffffffffffffffffff8316151580610d045750805b610d3a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061527d565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808716939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff85167fffffffffffffffffffffffff000000000000000000000000000000000000000091821617909155600180549091169055610e12565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85161790555b505050565b8473ffffffffffffffffffffffffffffffffffffffff81163314801590610e54575073ffffffffffffffffffffffffffffffffffffffff81163014155b15610f24573360009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1680610eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906155b0565b73ffffffffffffffffffffffffffffffffffffffff80821660009081526003602090815260408083209386168352929052205460ff16610f22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615433565b505b600085858281610f3057fe5b9050602002016020810190610f4591906145f5565b73ffffffffffffffffffffffffffffffffffffffff161415610f93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615359565b600084815b81811015611157576000888883818110610fae57fe5b9050602002016020810190610fc391906145f5565b9050611066878784818110610fd457fe5b90506020020135600660008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613fb590919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff808d166000908152600660209081526040808320938616835292905220556110be8787848181106110a857fe5b9050602002013585613fb590919063ffffffff16565b93508073ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff167f6eabe333476233fd382224f233210cb808a7bc4c4de64f9d76628bf63c677b1a8a8a8781811061113257fe5b905060200201356040516111469190615073565b60405180910390a450600101610f98565b5073ffffffffffffffffffffffffffffffffffffffff808a166000908152600660209081526040808320938c16835292905220546111959083613f78565b73ffffffffffffffffffffffffffffffffffffffff998a1660009081526006602090815260408083209b909c16825299909952989097209790975550505050505050565b60046020526000908152604090205460ff1681565b600073ffffffffffffffffffffffffffffffffffffffff851661123d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615544565b606085901b82156112c6576000858560405161125a929190614d76565b604051809103902090506040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260148201527f5af43d82803e903d91602b57fd5bf300000000000000000000000000000000006028820152816037826000f593505050611322565b6040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528160148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f09250505b73ffffffffffffffffffffffffffffffffffffffff8281166000818152600260205260409081902080547fffffffffffffffffffffffff000000000000000000000000000000000000000016938a169390931790925590517f4ddf47d4000000000000000000000000000000000000000000000000000000008152634ddf47d49034906113b5908990899060040161510c565b6000604051808303818588803b1580156113ce57600080fd5b505af11580156113e2573d6000803e3d6000fd5b50505050508173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fd62166f3c2149208e51788b1401cc356bf5da1fc6c7886a32e18570f57d88b3b878760405161144692919061510c565b60405180910390a350949350505050565b60086020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6000467f000000000000000000000000000000000000000000000000000000000000000081146114b7576114b28161415d565b6114d9565b7f00000000000000000000000000000000000000000000000000000000000000005b91505090565b60005473ffffffffffffffffffffffffffffffffffffffff163314611530576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906153fe565b605f8167ffffffffffffffff161115611575576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061572f565b73ffffffffffffffffffffffffffffffffffffffff82166000818152600a60205260409081902080547fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff166801000000000000000067ffffffffffffffff861602179055517f7543af99b5602c06e62da0631b5308489a5ff859150105a623b6eb15e8deae0b906116079084906157ea565b60405180910390a25050565b60015473ffffffffffffffffffffffffffffffffffffffff16338114611665576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061546a565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179055600180549091169055565b6007602052600090815260409020546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041682565b60096020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007602090815260408083208151808301909252546fffffffffffffffffffffffffffffffff808216835270010000000000000000000000000000000090910416918101919091526117cc908484613df1565b949350505050565b6117dc614530565b5073ffffffffffffffffffffffffffffffffffffffff8381166000818152600a602090815260408083208151606081018352905467ffffffffffffffff8082168352680100000000000000008204168285015270010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16818301908152948452600890925280832054935190517f18fccc760000000000000000000000000000000000000000000000000000000081529194939093169283916318fccc76916118ab913390600401615781565b602060405180830381600087803b1580156118c557600080fd5b505af11580156118d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fd9190614bbb565b90508015801561190b575084155b1561191857505050610e12565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600760205260408120546fffffffffffffffffffffffffffffffff1690821315611a1257816119638282613fb5565b915061196e82613d49565b73ffffffffffffffffffffffffffffffffffffffff89166000818152600760205260409081902080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff949094169390931790925590517f911c9f20a03edabcbcbd18dca1174cce47a91b234ced7a5a3c60ba0d5b56c5d290611a04908490615073565b60405180910390a250611b2d565b6000821215611b2d576000829003611a2a8282613f78565b9150611a3582613d49565b73ffffffffffffffffffffffffffffffffffffffff8916600090815260076020526040902080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055611ac2611aa582613d49565b60408701516fffffffffffffffffffffffffffffffff16906141d4565b6fffffffffffffffffffffffffffffffff166040808701919091525173ffffffffffffffffffffffffffffffffffffffff8916907f8f1f26eb9b6aa8689dbdd519ead1999d9c8819d4738e403b2003b18197d9cf9790611b23908490615073565b60405180910390a2505b8515611eb15760006064611b58866020015167ffffffffffffffff168461422690919063ffffffff16565b81611b5f57fe5b0490508085604001516fffffffffffffffffffffffffffffffff161015611cfe576000611bab86604001516fffffffffffffffffffffffffffffffff1683613f7890919063ffffffff16565b90508615801590611bbb57508681115b15611bc35750855b611be473ffffffffffffffffffffffffffffffffffffffff8a168683614277565b611c0d611bf082613d49565b60408801516fffffffffffffffffffffffffffffffff1690613d99565b6fffffffffffffffffffffffffffffffff16604080880191909152517f6939aaf500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff861690636939aaf590611c78908490600401615073565b600060405180830381600087803b158015611c9257600080fd5b505af1158015611ca6573d6000803e3d6000fd5b505050508873ffffffffffffffffffffffffffffffffffffffff167fb18e7e4f6eac147a63a3bb6beb2d9039c88698623aff3efc4febbc20b0164ee582604051611cf09190615073565b60405180910390a250611eaf565b8085604001516fffffffffffffffffffffffffffffffff161115611eaf576000611d47611d2a83613d49565b60408801516fffffffffffffffffffffffffffffffff16906141d4565b6fffffffffffffffffffffffffffffffff1690508615801590611d6957508681115b15611d715750855b6040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff871690632e1a7d4d90611dc6908590600401615073565b602060405180830381600087803b158015611de057600080fd5b505af1158015611df4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e189190614bbb565b9050611e43611e2682613d49565b60408901516fffffffffffffffffffffffffffffffff16906141d4565b6fffffffffffffffffffffffffffffffff166040808901919091525173ffffffffffffffffffffffffffffffffffffffff8b16907f39aa22060f8dd4d291720311feedf3b72fef47c06c66ccf5c22b502c62e7550a90611ea4908490615073565b60405180910390a250505b505b50505073ffffffffffffffffffffffffffffffffffffffff84166000908152600a6020908152604091829020835181549285015193909401516fffffffffffffffffffffffffffffffff9081167001000000000000000000000000000000000267ffffffffffffffff94851668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff959096167fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090941693909317939093169390931791909116179055505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906153fe565b611fe2614530565b5073ffffffffffffffffffffffffffffffffffffffff8281166000818152600a602090815260408083208151606081018352905467ffffffffffffffff80821683526801000000000000000082048116838601527001000000000000000000000000000000009091046fffffffffffffffffffffffffffffffff16828401529484526009909252909120548151919316911615806120ac57508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b156121695773ffffffffffffffffffffffffffffffffffffffff848116600090815260096020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169185169190911790556121126212750042016143df565b67ffffffffffffffff16825260405173ffffffffffffffffffffffffffffffffffffffff80851691908616907f6f7ccdf3f86039e5a1dcf6028bf7b4773cbf7a234716ba2e5392b12bb0f8558f90600090a36124b9565b815167ffffffffffffffff161580159061218e5750815167ffffffffffffffff164210155b6121c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906153c7565b73ffffffffffffffffffffffffffffffffffffffff848116600090815260086020526040902054161561241d5773ffffffffffffffffffffffffffffffffffffffff808516600090815260086020526040808220548582015191517f7f8661a100000000000000000000000000000000000000000000000000000000815292931691637f8661a19161225891600401615764565b602060405180830381600087803b15801561227257600080fd5b505af1158015612286573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122aa9190614bbb565b9050600081131561233b5773ffffffffffffffffffffffffffffffffffffffff8516600090815260076020526040902081906122e69082614423565b508573ffffffffffffffffffffffffffffffffffffffff167f911c9f20a03edabcbcbd18dca1174cce47a91b234ced7a5a3c60ba0d5b56c5d28260405161232d9190615073565b60405180910390a2506123c9565b60008112156123c95773ffffffffffffffffffffffffffffffffffffffff8516600090815260076020526040812090829003906123789082614491565b508573ffffffffffffffffffffffffffffffffffffffff167f8f1f26eb9b6aa8689dbdd519ead1999d9c8819d4738e403b2003b18197d9cf97826040516123bf9190615073565b60405180910390a2505b8473ffffffffffffffffffffffffffffffffffffffff167f39aa22060f8dd4d291720311feedf3b72fef47c06c66ccf5c22b502c62e7550a84604001516040516124139190615764565b60405180910390a2505b73ffffffffffffffffffffffffffffffffffffffff808516600081815260086020908152604080832080548688167fffffffffffffffffffffffff0000000000000000000000000000000000000000918216179091558388528782018490528484526009909252808320805490921690915551928616927f03e6352a885adc4cc54767592939c3b1bbd65685658c3beaaba66a888120e2179190a35b5073ffffffffffffffffffffffffffffffffffffffff929092166000908152600a6020908152604091829020845181549286015193909501517fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090921667ffffffffffffffff958616177fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff16680100000000000000009590931694909402919091176fffffffffffffffffffffffffffffffff90811670010000000000000000000000000000000091909216021790915550565b60005473ffffffffffffffffffffffffffffffffffffffff1633146125de576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906153fe565b73ffffffffffffffffffffffffffffffffffffffff821661262b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906151a1565b73ffffffffffffffffffffffffffffffffffffffff82166000818152600460205260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016841515179055517f31a1e0eac44b54ac6c2a2efa87e92c83405ffcf33fceef02a7bca695130e260090611607908490615068565b6040517fd505accf00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff89169063d505accf90612708908a908a908a908a908a908a908a90600401614f5a565b600060405180830381600087803b15801561272257600080fd5b505af1158015612736573d6000803e3d6000fd5b505050505050505050505050565b60056020526000908152604090205481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b600360209081526000928352604080842090915290825290205460ff1681565b6000808573ffffffffffffffffffffffffffffffffffffffff811633148015906127d2575073ffffffffffffffffffffffffffffffffffffffff81163014155b156128a2573360009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1680612834576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906155b0565b73ffffffffffffffffffffffffffffffffffffffff80821660009081526003602090815260408083209386168352929052205460ff166128a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615433565b505b73ffffffffffffffffffffffffffffffffffffffff86166128ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615390565b600073ffffffffffffffffffffffffffffffffffffffff8916156129135788612935565b7f00000000000000000000000000000000000000000000000000000000000000005b905061293f614519565b5073ffffffffffffffffffffffffffffffffffffffff81166000908152600760209081526040918290208251808401909352546fffffffffffffffffffffffffffffffff80821684527001000000000000000000000000000000009091041690820152856129ba576129b381886001613c8b565b95506129c9565b6129c681876000613df1565b96505b73ffffffffffffffffffffffffffffffffffffffff8083166000908152600660209081526040808320938d1683529290522054612a069087613f78565b73ffffffffffffffffffffffffffffffffffffffff8084166000908152600660209081526040808320938e1683529290522055612a5f612a4588613d49565b82516fffffffffffffffffffffffffffffffff16906141d4565b6fffffffffffffffffffffffffffffffff168152612a9c612a7f87613d49565b60208301516fffffffffffffffffffffffffffffffff16906141d4565b6fffffffffffffffffffffffffffffffff16602082018190526103e8111580612ad9575060208101516fffffffffffffffffffffffffffffffff16155b612b0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615246565b73ffffffffffffffffffffffffffffffffffffffff828116600090815260076020908152604090912083518154928501517fffffffffffffffffffffffffffffffff000000000000000000000000000000009093166fffffffffffffffffffffffffffffffff91821617811670010000000000000000000000000000000091909316029190911790558a16612ceb576040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690632e1a7d4d90612c10908a90600401615073565b600060405180830381600087803b158015612c2a57600080fd5b505af1158015612c3e573d6000803e3d6000fd5b5050505060008873ffffffffffffffffffffffffffffffffffffffff1688604051612c6890614dc9565b60006040518083038185875af1925050503d8060008114612ca5576040519150601f19603f3d011682016040523d82523d6000602084013e612caa565b606091505b5050905080612ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906156c1565b50612d0c565b612d0c73ffffffffffffffffffffffffffffffffffffffff83168989614277565b8773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fad9ab9ee6953d4d177f4a03b3a3ac3178ffcb9816319f348060194aa76b144868a8a604051610c709291906157dc565b3360008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001684179055517fdfb44ffabf0d3a8f650d3ce43eff98f6d050e7ea1a396d5794f014e7dadabacb9190a2565b60026020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff8516612e56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615579565b81158015612e62575080155b8015612e6f575060ff8316155b15612f865773ffffffffffffffffffffffffffffffffffffffff86163314612ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906151d8565b73ffffffffffffffffffffffffffffffffffffffff8681166000908152600260205260409020541615612f22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906154d6565b73ffffffffffffffffffffffffffffffffffffffff851660009081526004602052604090205460ff16612f81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061568a565b6131c3565b73ffffffffffffffffffffffffffffffffffffffff8616612fd3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061561c565b60006040518060400160405280600281526020017f190100000000000000000000000000000000000000000000000000000000000081525061301361147f565b7f1962bc9f5484cb7a998701b81090e966ee1fce5771af884cceee7c081b14ade28761305f577fb426802f1f7dc850a7b6b38805edea2442f3992878a9ab985abfe8091d95d0b1613081565b7f422ac5323fe049241dee67716229a1cc1bc7b313b23dfe3ef6d42ab177a3b2845b73ffffffffffffffffffffffffffffffffffffffff8b1660009081526005602090815260409182902080546001810190915591516130c89493928e928e928e92910161507c565b604051602081830303815290604052805190602001206040516020016130f093929190614da2565b60405160208183030381529060405280519060200120905060006001828686866040516000815260200160405260405161312d94939291906150ee565b6020604051602081039080840390855afa15801561314f573d6000803e3d6000fd5b5050506020604051035190508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146131c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061550d565b50505b73ffffffffffffffffffffffffffffffffffffffff8581166000818152600360209081526040808320948b16808452949091529081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016881515179055517f5f6ebb64ba012a851c6f014e6cad458ddf213d1512049b31cd06365c2b05925790613252908890615068565b60405180910390a3505050505050565b6060808367ffffffffffffffff8111801561327c57600080fd5b506040519080825280602002602001820160405280156132a6578160200160208202803683370190505b5091508367ffffffffffffffff811180156132c057600080fd5b506040519080825280602002602001820160405280156132f457816020015b60608152602001906001900390816132df5790505b50905060005b8481101561340557600060603088888581811061331357fe5b90506020028101906133259190615835565b604051613333929190614d76565b600060405180830381855af49150503d806000811461336e576040519150601f19603f3d011682016040523d82523d6000602084013e613373565b606091505b50915091508180613382575085155b61338b826144b9565b906133c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779190615120565b50818584815181106133d157fe5b602002602001019015159081151581525050808484815181106133f057fe5b602090810291909101015250506001016132fa565b50935093915050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007602090815260408083208151808301909252546fffffffffffffffffffffffffffffffff808216835270010000000000000000000000000000000090910416918101919091526117cc908484613c8b565b600a6020526000908152604090205467ffffffffffffffff808216916801000000000000000081049091169070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1683565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b6000620186a06134ff856032614226565b8161350657fe5b04905061352a73ffffffffffffffffffffffffffffffffffffffff86168786614277565b6040517f23e30c8b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8816906323e30c8b906135869033908990899087908a908a90600401614ed7565b600060405180830381600087803b1580156135a057600080fd5b505af11580156135b4573d6000803e3d6000fd5b505050506136016135c482613d49565b73ffffffffffffffffffffffffffffffffffffffff87166000908152600760205260409020906fffffffffffffffffffffffffffffffff16614423565b61360a86613e94565b1015613642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615653565b8573ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f3be9b85936d5d30a1655ea116a17ee3d827b2cd428cc026ce5bf2ac46a22320487856040516136b89291906157dc565b60405180910390a450505050505050565b8273ffffffffffffffffffffffffffffffffffffffff81163314801590613706575073ffffffffffffffffffffffffffffffffffffffff81163014155b156137d6573360009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1680613768576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906155b0565b73ffffffffffffffffffffffffffffffffffffffff80821660009081526003602090815260408083209386168352929052205460ff166137d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615433565b505b73ffffffffffffffffffffffffffffffffffffffff8316613823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615390565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600660209081526040808320938816835292905220546138609083613f78565b73ffffffffffffffffffffffffffffffffffffffff8681166000908152600660209081526040808320898516845290915280822093909355908516815220546138a99083613fb5565b73ffffffffffffffffffffffffffffffffffffffff80871660008181526006602090815260408083208986168085529252918290209490945551918716917f6eabe333476233fd382224f233210cb808a7bc4c4de64f9d76628bf63c677b1a90613914908790615073565b60405180910390a45050505050565b60608567ffffffffffffffff8111801561393c57600080fd5b50604051908082528060200260200182016040528015613966578160200160208202803683370190505b5090508560005b81811015613a4257600087878381811061398357fe5b905060200201359050620186a06139a460328361422690919063ffffffff16565b816139ab57fe5b048483815181106139b857fe5b602002602001018181525050613a398c8c848181106139d357fe5b90506020020160208101906139e891906145f5565b8989858181106139f457fe5b905060200201358c8c86818110613a0757fe5b9050602002016020810190613a1c91906145f5565b73ffffffffffffffffffffffffffffffffffffffff169190614277565b5060010161396d565b506040517fd9d1762300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8c169063d9d1762390613aa39033908c908c908c908c908a908d908d90600401614ded565b600060405180830381600087803b158015613abd57600080fd5b505af1158015613ad1573d6000803e3d6000fd5b5050505060005b81811015612736576000898983818110613aee57fe5b9050602002016020810190613b0391906145f5565b9050613b61613b24858481518110613b1757fe5b6020026020010151613d49565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600760205260409020906fffffffffffffffffffffffffffffffff16614423565b613b6a82613e94565b1015613ba2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615653565b8b8b83818110613bae57fe5b9050602002016020810190613bc391906145f5565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff168e73ffffffffffffffffffffffffffffffffffffffff167f3be9b85936d5d30a1655ea116a17ee3d827b2cd428cc026ce5bf2ac46a2232048b8b87818110613c3457fe5b90506020020135888781518110613c4757fe5b6020026020010151604051613c5d9291906157dc565b60405180910390a450600101613ad8565b600660209081526000928352604080842090915290825290205481565b82516000906fffffffffffffffffffffffffffffffff16613cad575081613d42565b835160208501516fffffffffffffffffffffffffffffffff91821691613cd591869116614226565b81613cdc57fe5b049050818015613d3257508284602001516fffffffffffffffffffffffffffffffff16613d2886600001516fffffffffffffffffffffffffffffffff168461422690919063ffffffff16565b81613d2f57fe5b04105b15613d42576117cc816001613fb5565b9392505050565b60006fffffffffffffffffffffffffffffffff821115613d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906152eb565b5090565b8181016fffffffffffffffffffffffffffffffff8083169082161015613deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615322565b92915050565b600083602001516fffffffffffffffffffffffffffffffff1660001415613e19575081613d42565b602084015184516fffffffffffffffffffffffffffffffff91821691613e4191869116614226565b81613e4857fe5b049050818015613d3257508284600001516fffffffffffffffffffffffffffffffff16613d2886602001516fffffffffffffffffffffffffffffffff168461422690919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff81166000818152600a60205260408082205490517f70a082310000000000000000000000000000000000000000000000000000000081529192613deb927001000000000000000000000000000000009092046fffffffffffffffffffffffffffffffff16916370a0823190613f22903090600401614dcc565b60206040518083038186803b158015613f3a57600080fd5b505afa158015613f4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f729190614bbb565b90613fb5565b80820382811115613deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615133565b81810181811015613deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615322565b600060608573ffffffffffffffffffffffffffffffffffffffff166323b872dd60e01b86868660405160240161402a93929190614f29565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925290516140b39190614d86565b6000604051808303816000865af19150503d80600081146140f0576040519150601f19603f3d011682016040523d82523d6000602084013e6140f5565b606091505b509150915081801561411f57508051158061411f57508080602001905181019061411f91906147dc565b614155576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906155e7565b505050505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fd7df266aff736d415a9dc14b4158201d612e70d75b9c7f4e375ccfd20aa5166f83306040516020016141b694939291906150bd565b6040516020818303038152906040528051906020012090505b919050565b8082036fffffffffffffffffffffffffffffffff8084169082161115613deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615133565b60008115806142415750508082028282828161423e57fe5b04145b613deb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906156f8565b600060608473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b85856040516024016142ad929190614fa8565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925290516143369190614d86565b6000604051808303816000865af19150503d8060008114614373576040519150601f19603f3d011682016040523d82523d6000602084013e614378565b606091505b50915091508180156143a25750805115806143a25750808060200190518101906143a291906147dc565b6143d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061520f565b5050505050565b600067ffffffffffffffff821115613d95576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061549f565b600061444b61443183613d49565b84546fffffffffffffffffffffffffffffffff1690613d99565b83547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff919091169081179093555090919050565b600061444b61449f83613d49565b84546fffffffffffffffffffffffffffffffff16906141d4565b60606044825110156144ff575060408051808201909152601d81527f5472616e73616374696f6e2072657665727465642073696c656e746c7900000060208201526141cf565b60048201915081806020019051810190613deb9190614bd3565b604080518082019091526000808252602082015290565b604080516060810182526000808252602082018190529181019190915290565b60008083601f840112614561578182fd5b50813567ffffffffffffffff811115614578578182fd5b602083019150836020808302850101111561459257600080fd5b9250929050565b60008083601f8401126145aa578182fd5b50813567ffffffffffffffff8111156145c1578182fd5b60208301915083602082850101111561459257600080fd5b8035613deb816158d4565b803560ff81168114613deb57600080fd5b600060208284031215614606578081fd5b8135613d42816158d4565b60008060408385031215614623578081fd5b823561462e816158d4565b9150602083013561463e816158d4565b809150509250929050565b60008060008060008060c08789031215614661578182fd5b863561466c816158d4565b9550602087013561467c816158d4565b9450604087013561468c816158f9565b935061469b88606089016145e4565b92506080870135915060a087013590509295509295509295565b600080604083850312156146c7578182fd5b82356146d2816158d4565b9150602083013561463e816158f9565b6000806000606084860312156146f6578283fd5b8335614701816158d4565b92506020840135614711816158f9565b91506040840135614721816158f9565b809150509250925092565b60008060008060608587031215614741578384fd5b843561474c816158d4565b9350602085013567ffffffffffffffff811115614767578384fd5b61477387828801614599565b9094509250506040850135614787816158f9565b939692955090935050565b6000806000604084860312156147a6578081fd5b833567ffffffffffffffff8111156147bc578182fd5b6147c886828701614550565b9094509250506020840135614721816158f9565b6000602082840312156147ed578081fd5b8151613d42816158f9565b600080600080600080600080600060a08a8c031215614815578687fd5b8935614820816158d4565b985060208a013567ffffffffffffffff8082111561483c578889fd5b6148488d838e01614550565b909a50985060408c0135915080821115614860578485fd5b61486c8d838e01614550565b909850965060608c0135915080821115614884578485fd5b6148908d838e01614550565b909650945060808c01359150808211156148a8578384fd5b506148b58c828d01614599565b915080935050809150509295985092959850929598565b60008060408385031215614623578182fd5b600080600080608085870312156148f3578182fd5b84356148fe816158d4565b9350602085013561490e816158d4565b9250604085013561491e816158d4565b9396929550929360600135925050565b600080600080600060a08688031215614945578283fd5b8535614950816158d4565b94506020860135614960816158d4565b93506040860135614970816158d4565b94979396509394606081013594506080013592915050565b600080600080600080600080610100898b0312156149a4578182fd5b88356149af816158d4565b975060208901356149bf816158d4565b965060408901356149cf816158d4565b955060608901359450608089013593506149ec8a60a08b016145e4565b925060c0890135915060e089013590509295985092959890939650565b60008060008060008060808789031215614a21578384fd5b8635614a2c816158d4565b95506020870135614a3c816158d4565b9450604087013567ffffffffffffffff80821115614a58578586fd5b614a648a838b01614550565b90965094506060890135915080821115614a7c578384fd5b50614a8989828a01614550565b979a9699509497509295939492505050565b600080600060608486031215614aaf578081fd5b8335614aba816158d4565b92506020840135614aca816158f9565b929592945050506040919091013590565b600080600060608486031215614aef578081fd5b8335614afa816158d4565b9250602084013591506040840135614721816158f9565b60008060408385031215614b23578182fd5b8235614b2e816158d4565b9150602083013567ffffffffffffffff8116811461463e578182fd5b60008060008060008060a08789031215614b62578384fd5b8635614b6d816158d4565b95506020870135614b7d816158d4565b94506040870135614b8d816158d4565b935060608701359250608087013567ffffffffffffffff811115614baf578283fd5b614a8989828a01614599565b600060208284031215614bcc578081fd5b5051919050565b600060208284031215614be4578081fd5b815167ffffffffffffffff80821115614bfb578283fd5b818401915084601f830112614c0e578283fd5b815181811115614c1c578384fd5b60405160207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401168201018181108482111715614c5a578586fd5b604052818152838201602001871015614c71578485fd5b614c828260208301602087016158a4565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff16815260200190565b6000815180845260208085019450808401835b83811015614cd957815187529582019590820190600101614cbd565b509495945050505050565b600082845282826020860137806020848601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011685010190509392505050565b60008151808452614d448160208601602086016158a4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000828483379101908152919050565b60008251614d988184602087016158a4565b9190910192915050565b60008451614db48184602089016158a4565b91909101928352506020820152604001919050565b90565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b600060a0820173ffffffffffffffffffffffffffffffffffffffff8b168352602060a08185015281614e1f8b84615073565b90508b9250835b8b811015614e5157828401614e4483614e3f83886145d9565b614c8c565b9094509150600101614e26565b508481036040860152614e648982615073565b9250507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff881115614e93578283fd5b8702614ea081838b615898565b018281036060840152614eb38187614caa565b90508281036080840152614ec8818587614ce4565b9b9a5050505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808916835280881660208401525085604083015284606083015260a06080830152614f1d60a083018486614ce4565b98975050505050505050565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b73ffffffffffffffffffffffffffffffffffffffff97881681529590961660208601526040850193909352606084019190915260ff16608083015260a082015260c081019190915260e00190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b604080825283519082018190526000906020906060840190828701845b82811015615009578151151584529284019290840190600101614feb565b505050838103828501528085516150208184615073565b91508192508381028201848801865b83811015615059578583038552615047838351614d2c565b9487019492509086019060010161502f565b50909998505050505050505050565b901515815260200190565b90815260200190565b958652602086019490945273ffffffffffffffffffffffffffffffffffffffff9283166040860152911660608401521515608083015260a082015260c00190565b9384526020840192909252604083015273ffffffffffffffffffffffffffffffffffffffff16606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526117cc602083018486614ce4565b600060208252613d426020830184614d2c565b60208082526015908201527f426f72696e674d6174683a20556e646572666c6f770000000000000000000000604082015260600190565b60208082526017908201527f42656e746f426f783a20536b696d20746f6f206d756368000000000000000000604082015260600190565b6020808252601c908201527f4d6173746572434d67723a2043616e6e6f7420617070726f7665203000000000604082015260600190565b6020808252601b908201527f4d6173746572434d67723a2075736572206e6f742073656e6465720000000000604082015260600190565b6020808252601c908201527f426f72696e6745524332303a205472616e73666572206661696c656400000000604082015260600190565b60208082526016908201527f42656e746f426f783a2063616e6e6f7420656d70747900000000000000000000604082015260600190565b60208082526015908201527f4f776e61626c653a207a65726f20616464726573730000000000000000000000604082015260600190565b60208082526013908201527f42656e746f426f783a204e6f20746f6b656e7300000000000000000000000000604082015260600190565b6020808252601c908201527f426f72696e674d6174683a2075696e74313238204f766572666c6f7700000000604082015260600190565b60208082526018908201527f426f72696e674d6174683a20416464204f766572666c6f770000000000000000604082015260600190565b60208082526017908201527f42656e746f426f783a20746f5b305d206e6f7420736574000000000000000000604082015260600190565b60208082526014908201527f42656e746f426f783a20746f206e6f7420736574000000000000000000000000604082015260600190565b6020808252601a908201527f53747261746567794d616e616765723a20546f6f206561726c79000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f42656e746f426f783a205472616e73666572206e6f7420617070726f76656400604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604082015260600190565b6020808252601b908201527f426f72696e674d6174683a2075696e743634204f766572666c6f770000000000604082015260600190565b60208082526019908201527f4d6173746572434d67723a207573657220697320636c6f6e6500000000000000604082015260600190565b6020808252601d908201527f4d6173746572434d67723a20496e76616c6964205369676e6174757265000000604082015260600190565b6020808252818101527f426f72696e67466163746f72793a204e6f206d6173746572436f6e7472616374604082015260600190565b6020808252601b908201527f4d6173746572434d67723a206d617374657243206e6f74207365740000000000604082015260600190565b6020808252601b908201527f42656e746f426f783a206e6f206d6173746572436f6e74726163740000000000604082015260600190565b6020808252818101527f426f72696e6745524332303a205472616e7366657246726f6d206661696c6564604082015260600190565b6020808252601c908201527f4d6173746572434d67723a20557365722063616e6e6f74206265203000000000604082015260600190565b60208082526016908201527f42656e746f426f783a2057726f6e6720616d6f756e7400000000000000000000604082015260600190565b6020808252601b908201527f4d6173746572434d67723a206e6f742077686974656c69737465640000000000604082015260600190565b6020808252601d908201527f42656e746f426f783a20455448207472616e73666572206661696c6564000000604082015260600190565b60208082526018908201527f426f72696e674d6174683a204d756c204f766572666c6f770000000000000000604082015260600190565b6020808252818101527f53747261746567794d616e616765723a2054617267657420746f6f2068696768604082015260600190565b6fffffffffffffffffffffffffffffffff91909116815260200190565b6fffffffffffffffffffffffffffffffff92909216825273ffffffffffffffffffffffffffffffffffffffff16602082015260400190565b6fffffffffffffffffffffffffffffffff92831681529116602082015260400190565b918252602082015260400190565b67ffffffffffffffff91909116815260200190565b67ffffffffffffffff93841681529190921660208201526fffffffffffffffffffffffffffffffff909116604082015260600190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112615869578283fd5b83018035915067ffffffffffffffff821115615883578283fd5b60200191503681900382131561459257600080fd5b82818337506000910152565b60005b838110156158bf5781810151838201526020016158a7565b838111156158ce576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff811681146158f657600080fd5b50565b80151581146158f657600080fdfea264697066735822122079eb387224e15cae6a9a744ed9b348260a7e9d2e37cd991b32f36c6b93b4808b64736f6c634300060c0033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

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

000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

-----Decoded View---------------
Arg [0] : wethToken_ (address): 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2


Deployed ByteCode Sourcemap

28465:23533:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34557:2885;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;14488:506;;;;;;;;;;-1:-1:-1;14488:506:0;;;;;:::i;:::-;;:::i;:::-;;41435:742;;;;;;;;;;-1:-1:-1;41435:742:0;;;;;:::i;:::-;;:::i;19330:58::-;;;;;;;;;;-1:-1:-1;19330:58:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;16983:1704::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;31030:44::-;;;;;;;;;;-1:-1:-1;31030:44:0;;;;;:::i;:::-;;:::i;20683:268::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;45717:377::-;;;;;;;;;;-1:-1:-1;45717:377:0;;;;;:::i;:::-;;:::i;15076:340::-;;;;;;;;;;;;;:::i;30982:39::-;;;;;;;;;;-1:-1:-1;30982:39:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;31081:51::-;;;;;;;;;;-1:-1:-1;31081:51:0;;;;;:::i;:::-;;:::i;33807:201::-;;;;;;;;;;-1:-1:-1;33807:201:0;;;;;:::i;:::-;;:::i;49349:2477::-;;;;;;;;;;-1:-1:-1;49349:2477:0;;;;;:::i;:::-;;:::i;46907:1691::-;;;;;;;;;;-1:-1:-1;46907:1691:0;;;;;:::i;:::-;;:::i;21319:350::-;;;;;;;;;;-1:-1:-1;21319:350:0;;;;;:::i;:::-;;:::i;27721:280::-;;;;;;;;;;-1:-1:-1;27721:280:0;;;;;:::i;:::-;;:::i;19453:41::-;;;;;;;;;;-1:-1:-1;19453:41:0;;;;;:::i;:::-;;:::i;13634:20::-;;;;;;;;;;;;;:::i;19160:74::-;;;;;;;;;;-1:-1:-1;19160:74:0;;;;;:::i;:::-;;:::i;37842:2157::-;;;;;;;;;;-1:-1:-1;37842:2157:0;;;;;:::i;:::-;;:::i;21084:142::-;;;;;;;;;;;;;:::i;16392:51::-;;;;;;;;;;-1:-1:-1;16392:51:0;;;;;:::i;:::-;;:::i;22438:2685::-;;;;;;;;;;-1:-1:-1;22438:2685:0;;;;;:::i;:::-;;:::i;26797:530::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;33307:197::-;;;;;;;;;;-1:-1:-1;33307:197:0;;;;;:::i;:::-;;:::i;31139:51::-;;;;;;;;;;-1:-1:-1;31139:51:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;13661:27::-;;;;;;;;;;;;;:::i;42941:564::-;;;;;;;;;;-1:-1:-1;42941:564:0;;;;;:::i;:::-;;:::i;40511:473::-;;;;;;;;;;-1:-1:-1;40511:473:0;;;;;:::i;:::-;;:::i;44412:956::-;;;;;;;;;;-1:-1:-1;44412:956:0;;;;;:::i;:::-;;:::i;30874:63::-;;;;;;;;;;-1:-1:-1;30874:63:0;;;;;:::i;:::-;;:::i;34557:2885::-;34736:17;;34721:4;32079:18;;;32087:10;32079:18;;;;:43;;-1:-1:-1;32101:21:0;;;32117:4;32101:21;;32079:43;32075:366;;;32232:10;32190:22;32215:28;;;:16;:28;;;;;;;;32266;32258:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;32349:38;;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;32341:88;;;;;;;;;;;;:::i;:::-;32075:366;;34811:16:::1;::::0;::::1;34803:49;;;;;;;;;;;;:::i;:::-;34925:12;34940:22;::::0;::::1;::::0;:43:::1;;34977:6;34940:43;;;34965:9;34940:43;34925:58;;34994:19;;:::i;:::-;-1:-1:-1::0;35016:13:0::1;::::0;::::1;;::::0;;;:6:::1;:13;::::0;;;;;;;;34994:35;;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;;;;;::::1;;::::0;;::::1;::::0;;;;35172:18;::::1;::::0;:45:::1;;;35216:1;35194:5;:17;;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:23;35172:45;35164:77;;;;;;;;;;;;:::i;:::-;35256:10:::0;35252:605:::1;;35382:27;:5:::0;35395:6;35403:5:::1;35382:12;:27::i;:::-;35374:35;;30681:4;35548:29;35563:13;:5;:11;:13::i;:::-;35548:10;::::0;::::1;::::0;:14:::1;;::::0;::::1;:29::i;:::-;:53;;;35544:107;;;35630:1;35633::::0;35622:13:::1;;;;;;;;35544:107;35252:605;;;35817:28;:5:::0;35833;35840:4:::1;35817:15;:28::i;:::-;35808:37;;35252:605;36177:21;::::0;::::1;36193:4;36177:21;;::::0;:47:::1;;-1:-1:-1::0;36202:22:0::1;::::0;::::1;::::0;36177:47:::1;:102;;;-1:-1:-1::0;36265:13:0;;36238:41:::1;::::0;::::1;;:22;36254:5:::0;36238:15:::1;:22::i;:::-;:26:::0;::::1;:41::i;:::-;36228:6;:51;;36177:102;36155:175;;;;;;;;;;;;:::i;:::-;36366:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:20;;::::1;::::0;;;;;;;:31:::1;::::0;36391:5;36366:24:::1;:31::i;:::-;36343:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:20;;::::1;::::0;;;;;;:54;36421:29:::1;36436:13;:5:::0;:11:::1;:13::i;:::-;36421:10;::::0;::::1;::::0;:14:::1;;::::0;::::1;:29::i;:::-;36408:42;;:10;::::0;::::1;:42:::0;36477:33:::1;36495:14;:6:::0;:12:::1;:14::i;:::-;36477:13:::0;;:17:::1;;::::0;::::1;:33::i;:::-;36461:49;::::0;;::::1;::::0;;36521:13:::1;::::0;;::::1;36461;36521::::0;;;:6:::1;:13;::::0;;;;;;;:21;;;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;::::0;;;36657:22;::::1;36653:668;;36950:9;36936:33;;;36977:6;36936:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;36653:668;;;37008:21;::::0;::::1;37024:4;37008:21;37004:317;;37258:51;:22;::::0;::::1;37281:4:::0;37295::::1;37302:6:::0;37258:22:::1;:51::i;:::-;37360:2;37336:42;;37354:4;37336:42;;37347:5;37336:42;;;37364:6;37372:5;37336:42;;;;;;;:::i;:::-;;;;;;;;37401:6;37389:18;;37429:5;37418:16;;32451:1;;;34557:2885:::0;;;;;;;;;:::o;14488:506::-;15544:5;;;;15530:10;:19;15522:64;;;;;;;;;;;;:::i;:::-;14627:6:::1;14623:364;;;14681:22;::::0;::::1;::::0;::::1;::::0;:34:::1;;;14707:8;14681:34;14673:68;;;;;;;;;;;;:::i;:::-;14808:5;::::0;;14787:37:::1;::::0;::::1;::::0;;::::1;::::0;14808:5;::::1;::::0;14787:37:::1;::::0;::::1;14839:5;:16:::0;;::::1;::::0;::::1;::::0;;;::::1;;::::0;;;;14870:25;;;;::::1;::::0;;14623:364:::1;;;14952:12;:23:::0;;;::::1;;::::0;::::1;;::::0;;14623:364:::1;14488:506:::0;;;:::o;41435:742::-;41598:4;32079:18;;;32087:10;32079:18;;;;:43;;-1:-1:-1;32101:21:0;;;32117:4;32101:21;;32079:43;32075:366;;;32232:10;32190:22;32215:28;;;:16;:28;;;;;;;;32266;32258:68;;;;;;;;;;;;:::i;:::-;32349:38;;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;32341:88;;;;;;;;;;;;:::i;:::-;32075:366;;41660:1:::1;41642:3:::0;;41660:1;41642:6;::::1;;;;;;;;;;;;;;;;;:::i;:::-;:20;;;;41634:56;;;;;;;;;;;;:::i;:::-;41763:19;41807:3:::0;41763:19;41828:267:::1;41852:3;41848:1;:7;41828:267;;;41877:10;41890:3;;41894:1;41890:6;;;;;;;;;;;;;;;;;;;;:::i;:::-;41877:19;;41934:35;41959:6;;41966:1;41959:9;;;;;;;;;;;;;41934;:16;41944:5;41934:16;;;;;;;;;;;;;;;:20;41951:2;41934:20;;;;;;;;;;;;;;;;:24;;:35;;;;:::i;:::-;41911:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:20;;::::1;::::0;;;;;;:58;41998:26:::1;42014:6:::0;;42021:1;42014:9;;::::1;;;;;;;;;;;41998:11;:15;;:26;;;;:::i;:::-;41984:40;;42069:2;42044:39;;42063:4;42044:39;;42056:5;42044:39;;;42073:6;;42080:1;42073:9;;;;;;;;;;;;;42044:39;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;41857:3:0::1;;41828:267;;;-1:-1:-1::0;42130:16:0::1;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;;:39:::1;::::0;42157:11;42130:26:::1;:39::i;:::-;42105:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;;::::1;::::0;;;;;;;;;;:64;;;;-1:-1:-1;;;;;;;41435:742:0:o;19330:58::-;;;;;;;;;;;;;;;:::o;16983:1704::-;17119:20;17160:28;;;17152:73;;;;;;;;;;;;:::i;:::-;17258:23;;;;17354:1134;;;;17497:12;17522:4;;17512:15;;;;;;;:::i;:::-;;;;;;;;17497:30;;17711:4;17705:11;17748:66;17741:5;17734:81;17858:11;17851:4;17844:5;17840:16;17833:37;17913:66;17906:4;17899:5;17895:16;17888:92;18038:4;18032;18025:5;18022:1;18014:29;17998:45;;;17673:385;;;;18137:4;18131:11;18174:66;18167:5;18160:81;18284:11;18277:4;18270:5;18266:16;18259:37;18339:66;18332:4;18325:5;18321:16;18314:92;18457:4;18450:5;18447:1;18440:22;18424:38;;;18099:378;18498:30;;;;;;;;:16;:30;;;;;;;:47;;;;;;;;;;;;;;18558:58;;;;;:34;;18600:9;;18558:58;;18611:4;;;;18558:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18666:12;18634:45;;18644:14;18634:45;;;18660:4;;18634:45;;;;;;;:::i;:::-;;;;;;;;16983:1704;;;;;;;:::o;31030:44::-;;;;;;;;;;;;;;;:::o;20683:268::-;20732:7;20813:9;20861:25;20850:36;;:93;;20909:34;20935:7;20909:25;:34::i;:::-;20850:93;;;20889:17;20850:93;20843:100;;;20683:268;:::o;45717:377::-;15544:5;;;;15530:10;:19;15522:64;;;;;;;;;;;;:::i;:::-;30616:2:::1;45849:17;:42;;;;45841:87;;;;;;;;;;;;:::i;:::-;45961:19;::::0;::::1;;::::0;;;:12:::1;:19;::::0;;;;;;:56;;;::::1;::::0;::::1;::::0;::::1;;;::::0;;46033:53;::::1;::::0;::::1;::::0;45961:56;;46033:53:::1;:::i;:::-;;;;;;;;45717:377:::0;;:::o;15076:340::-;15144:12;;;;15196:10;:27;;15188:72;;;;;;;;;;;;:::i;:::-;15319:5;;;15298:42;;;;;;;15319:5;;;15298:42;;;15351:5;:21;;;;;;;;;;;;;;15383:25;;;;;;;15076:340::o;30982:39::-;;;;;;;;;;;;;;;;;;;;;;:::o;31081:51::-;;;;;;;;;;;;;;;:::o;33807:201::-;33961:13;;;33925:14;33961:13;;;:6;:13;;;;;;;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;:39;;33985:5;33992:7;33961:23;:39::i;:::-;33952:48;33807:201;-1:-1:-1;;;;33807:201:0:o;49349:2477::-;49471:24;;:::i;:::-;-1:-1:-1;49498:19:0;;;;;;;;:12;:19;;;;;;;;49471:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49550:15;;;49471:46;49550:15;;;;;;;49617:12;;49599:43;;;;;49471:46;;49550:15;;;;;;;49599:17;;:43;;49631:10;;49599:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49576:66;-1:-1:-1;49657:18:0;;:30;;;;;49680:7;49679:8;49657:30;49653:69;;;49704:7;;;;;49653:69;49757:13;;;49734:20;49757:13;;;:6;:13;;;;;:21;;;;49795:17;;49791:783;;;49851:13;49895:21;:12;49851:13;49895:16;:21::i;:::-;49880:36;;49955:20;:12;:18;:20::i;:::-;49931:13;;;;;;;:6;:13;;;;;;;:44;;;;;;;;;;;;;;;;49995:29;;;;;;50020:3;;49995:29;:::i;:::-;;;;;;;;49791:783;;;;50062:1;50046:13;:17;50042:532;;;50309:11;50331:14;;;50376:21;:12;50331:14;50376:16;:21::i;:::-;50361:36;;50436:20;:12;:18;:20::i;:::-;50412:13;;;;;;;:6;:13;;;;;:44;;;;;;;;;;;;;;;50486:29;50503:11;:3;:9;:11::i;:::-;50486:12;;;;:16;;;;:29::i;:::-;50471:44;;:12;;;;:44;;;;50535:27;;;;;;;;;50558:3;;50535:27;:::i;:::-;;;;;;;;50042:532;;50590:7;50586:1194;;;50614:21;50680:3;50638:39;50655:4;:21;;;50638:39;;:12;:16;;:39;;;;:::i;:::-;:45;;;;;;50614:69;;50793:13;50778:4;:12;;;:28;;;50774:995;;;50827:17;50847:31;50865:4;:12;;;50847:31;;:13;:17;;:31;;;;:::i;:::-;50827:51;-1:-1:-1;50901:20:0;;;;;:51;;;50937:15;50925:9;:27;50901:51;50897:127;;;-1:-1:-1;50989:15:0;50897:127;51042:49;:18;;;51069:9;51081;51042:18;:49::i;:::-;51125:35;51142:17;:9;:15;:17::i;:::-;51125:12;;;;:16;;;;:35::i;:::-;51110:50;;:12;;;;:50;;;;51179:25;;;;:14;;;;;;:25;;51194:9;;51179:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51246:5;51228:35;;;51253:9;51228:35;;;;;;:::i;:::-;;;;;;;;50774:995;;;;51304:13;51289:4;:12;;;:28;;;51285:484;;;51338:16;51357:39;51374:21;:13;:19;:21::i;:::-;51357:12;;;;:16;;;;:39::i;:::-;51338:58;;;-1:-1:-1;51419:20:0;;;;;:50;;;51454:15;51443:8;:26;51419:50;51415:125;;;-1:-1:-1;51505:15:0;51415:125;51585:28;;;;;51560:22;;51585:18;;;;;;:28;;51604:8;;51585:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51560:53;;51649:40;51666:22;:14;:20;:22::i;:::-;51649:12;;;;:16;;;;:40::i;:::-;51634:55;;:12;;;;:55;;;;51713:40;;;;;;;;;51738:14;;51713:40;:::i;:::-;;;;;;;;51285:484;;;50586:1194;;-1:-1:-1;;;51792:19:0;;;;;;;:12;:19;;;;;;;;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49349:2477;;;:::o;46907:1691::-;15544:5;;;;15530:10;:19;15522:64;;;;;;;;;;;;:::i;:::-;46993:24:::1;;:::i;:::-;-1:-1:-1::0;47020:19:0::1;::::0;;::::1;;::::0;;;:12:::1;:19;::::0;;;;;;;46993:46;;::::1;::::0;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;;;::::0;;;;47070:22;;;:15:::1;:22:::0;;;;;;;47107;;46993:46;;47070:22:::1;::::0;47107:27:::1;::::0;;:53:::1;;;47149:11;47138:22;;:7;:22;;;;47107:53;47103:1451;;;47177:22;::::0;;::::1;;::::0;;;:15:::1;:22;::::0;;;;:36;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;47395:41:::1;30553:7;47396:15;:32;47395:39;:41::i;:::-;47370:66;;::::0;;47456:37:::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;47370:22:::1;::::0;47456:37:::1;47103:1451;;;47534:22:::0;;:27:::1;;::::0;;::::1;::::0;:72:::1;;-1:-1:-1::0;47584:22:0;;47565:41:::1;;:15;:41;;47534:72;47526:111;;;;;;;;;;;;:::i;:::-;47656:38;47664:15:::0;;::::1;47692:1;47664:15:::0;;;:8:::1;:15;::::0;;;;;::::1;47656:38:::0;47652:673:::1;;47738:15;::::0;;::::1;47715:20;47738:15:::0;;;:8:::1;:15;::::0;;;;;;47759:12;;::::1;::::0;47738:34;;;;;47715:20;;47738:15:::1;::::0;:20:::1;::::0;:34:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47715:57;;47839:1;47823:13;:17;47819:427;;;47924:13;::::0;::::1;47865:11;47924:13:::0;;;:6:::1;:13;::::0;;;;47887;;47924:29:::1;::::0;47887:13;47924:24:::1;:29::i;:::-;;47999:5;47981:29;;;48006:3;47981:29;;;;;;:::i;:::-;;;;;;;;47819:427;;;;48056:1;48040:13;:17;48036:210;;;48142:13;::::0;::::1;48082:11;48142:13:::0;;;:6:::1;:13;::::0;;;;48104:14;;;::::1;::::0;48142:29:::1;::::0;48104:14;48142:24:::1;:29::i;:::-;;48215:5;48199:27;;;48222:3;48199:27;;;;;;:::i;:::-;;;;;;;;48036:210;;48289:5;48271:38;;;48296:4;:12;;;48271:38;;;;;;:::i;:::-;;;;;;;;47652:673;;48339:15;::::0;;::::1;;::::0;;;:8:::1;:15;::::0;;;;;;;:25;;;;::::1;::::0;;;::::1;;::::0;;;48379:26;;;48420:12;;::::1;:16:::0;;;48451:22;;;:15:::1;:22:::0;;;;;;:37;;;;::::1;::::0;;;48508:34;;;::::1;::::0;::::1;::::0;48339:15;48508:34:::1;47103:1451;-1:-1:-1::0;48564:19:0::1;::::0;;;::::1;;::::0;;;:12:::1;:19;::::0;;;;;;;;:26;;;;;;::::1;::::0;;;;::::1;::::0;;;;::::1;;::::0;;::::1;;::::0;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;;::::0;;::::1;::::0;;;;::::1;;;::::0;;;-1:-1:-1;46907:1691:0:o;21319:350::-;15544:5;;;;15530:10;:19;15522:64;;;;;;;;;;;;:::i;:::-;21446:28:::1;::::0;::::1;21438:69;;;;;;;;;;;;:::i;:::-;21540:42;::::0;::::1;;::::0;;;:26:::1;:42;::::0;;;;;;:53;;;::::1;::::0;::::1;;;::::0;;21609:52;::::1;::::0;::::1;::::0;21540:53;;21609:52:::1;:::i;27721:280::-:0;27944:49;;;;;:12;;;;;;:49;;27957:4;;27963:2;;27967:6;;27975:8;;27985:1;;27988;;27991;;27944:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27721:280;;;;;;;;:::o;19453:41::-;;;;;;;;;;;;;:::o;13634:20::-;;;;;;:::o;19160:74::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;37842:2157::-;38014:17;;37999:4;32079:18;;;32087:10;32079:18;;;;:43;;-1:-1:-1;32101:21:0;;;32117:4;32101:21;;32079:43;32075:366;;;32232:10;32190:22;32215:28;;;:16;:28;;;;;;;;32266;32258:68;;;;;;;;;;;;:::i;:::-;32349:38;;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;32341:88;;;;;;;;;;;;:::i;:::-;32075:366;;38089:16:::1;::::0;::::1;38081:49;;;;;;;;;;;;:::i;:::-;38203:12;38218:22;::::0;::::1;::::0;:43:::1;;38255:6;38218:43;;;38243:9;38218:43;38203:58;;38272:19;;:::i;:::-;-1:-1:-1::0;38294:13:0::1;::::0;::::1;;::::0;;;:6:::1;:13;::::0;;;;;;;;38272:35;;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;;;;::::1;;::::0;;::::1;::::0;38322:10;38318:372:::1;;38494:26;:5:::0;38507:6;38515:4:::1;38494:12;:26::i;:::-;38486:34;;38318:372;;;38649:29;:5:::0;38665;38672::::1;38649:15;:29::i;:::-;38640:38;;38318:372;38727:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;;:33:::1;::::0;38754:5;38727:26:::1;:33::i;:::-;38702:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;:58;38787:33:::1;38805:14;:6:::0;:12:::1;:14::i;:::-;38787:13:::0;;:17:::1;;::::0;::::1;:33::i;:::-;38771:49;;::::0;;38844:29:::1;38859:13;:5:::0;:11:::1;:13::i;:::-;38844:10;::::0;::::1;::::0;:14:::1;;::::0;::::1;:29::i;:::-;38831:42;;:10;::::0;::::1;:42:::0;;;30681:4:::1;-1:-1:-1::0;39018:35:0::1;::::0;:54:::1;;-1:-1:-1::0;39057:10:0::1;::::0;::::1;::::0;:15:::1;;::::0;39018:54:::1;39010:89;;;;;;;;;;;;:::i;:::-;39110:13;::::0;;::::1;;::::0;;;:6:::1;:13;::::0;;;;;;;:21;;;;;;::::1;::::0;;;;::::1;;::::0;;::::1;;::::0;::::1;::::0;;;;::::1;;::::0;;;::::1;::::0;;39173:22;::::1;39169:708;;39327:42;::::0;;;;:34:::1;39341:9;39327:34;::::0;::::1;::::0;:42:::1;::::0;39362:6;;39327:42:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;39504:12;39522:2;:7;;39537:6;39522:26;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39503:45;;;39571:7;39563:49;;;;;;;;;;;;:::i;:::-;39169:708;;;;39835:30;:18;::::0;::::1;39854:2:::0;39858:6;39835:18:::1;:30::i;:::-;39917:2;39892:43;;39911:4;39892:43;;39904:5;39892:43;;;39921:6;39929:5;39892:43;;;;;;;:::i;21084:142::-:0;21161:10;21130:28;;;;:16;:28;;;;;;:41;;;;;;;;21187:31;;;21130:28;21187:31;21084:142::o;16392:51::-;;;;;;;;;;;;;;;:::o;22438:2685::-;22663:28;;;22655:68;;;;;;;;;;;;:::i;:::-;22832:6;;:16;;;;-1:-1:-1;22842:6:0;;22832:16;:26;;;;-1:-1:-1;22852:6:0;;;;22832:26;22828:2124;;;22883:18;;;22891:10;22883:18;22875:58;;;;;;;;;;;;:::i;:::-;22956:36;:22;;;22990:1;22956:22;;;:16;:22;;;;;;;:36;22948:74;;;;;;;;;;;;:::i;:::-;23045:42;;;;;;;:26;:42;;;;;;;;23037:82;;;;;;;;;;;;:::i;:::-;22828:2124;;;23449:18;;;23441:59;;;;;;;;;;;;:::i;:::-;23951:14;24060:40;;;;;;;;;;;;;;;;;24127:18;:16;:18::i;:::-;19844:118;24315:8;:196;;24472:39;24315:196;;;24363:69;24315:196;24677:12;;;;;;;:6;:12;;;;;;;;;:14;;;;;;;;24212:510;;;;;;24546:4;;24585:14;;24634:8;;24677:14;24212:510;;:::i;:::-;;;;;;;;;;;;;24172:577;;;;;;24017:755;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;23985:806;;;;;;23951:840;;24806:24;24833:26;24843:6;24851:1;24854;24857;24833:26;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24806:53;;24902:4;24882:24;;:16;:24;;;24874:66;;;;;;;;;;;;:::i;:::-;22828:2124;;;24984:38;;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;;;:55;;;;;;;;;;25055:60;;;;;24984:55;;25055:60;:::i;:::-;;;;;;;;22438:2685;;;;;;:::o;26797:530::-;26881:23;;26964:5;26953:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26953:24:0;-1:-1:-1;26941:36:0;-1:-1:-1;27010:5:0;26998:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26988:35;;27039:9;27034:286;27054:16;;;27034:286;;;27093:12;27107:19;27138:4;27157:5;;27163:1;27157:8;;;;;;;;;;;;;;;;;;:::i;:::-;27130:36;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27092:74;;;;27189:7;:24;;;;27201:12;27200:13;27189:24;27215:21;27229:6;27215:13;:21::i;:::-;27181:56;;;;;;;;;;;;;;:::i;:::-;;27267:7;27252:9;27262:1;27252:12;;;;;;;;;;;;;:22;;;;;;;;;;;27302:6;27289:7;27297:1;27289:10;;;;;;;;;;;;;;;;;:19;-1:-1:-1;;27072:3:0;;27034:286;;;;26797:530;;;;;;:::o;33307:197::-;33459:13;;;33425;33459;;;:6;:13;;;;;;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;:37;;33480:6;33488:7;33459:20;:37::i;31139:51::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;13661:27::-;;;;;;:::o;42941:564::-;43124:11;30501:3;43138:26;:6;30431:2;43138:10;:26::i;:::-;:53;;;;;;;-1:-1:-1;43202:36:0;:18;;;43221:8;43231:6;43202:18;:36::i;:::-;43251:58;;;;;:20;;;;;;:58;;43272:10;;43284:5;;43291:6;;43299:3;;43304:4;;;;43251:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43356:37;43381:11;:3;:9;:11::i;:::-;43356:13;;;;;;;:6;:13;;;;;;:37;;:24;:37::i;:::-;43330:22;43346:5;43330:15;:22::i;:::-;:63;;43322:98;;;;;;;;;;;;:::i;:::-;43488:8;43436:61;;43468:5;43436:61;;43457:8;43436:61;;;43475:6;43483:3;43436:61;;;;;;;:::i;:::-;;;;;;;;42941:564;;;;;;;:::o;40511:473::-;40642:4;32079:18;;;32087:10;32079:18;;;;:43;;-1:-1:-1;32101:21:0;;;32117:4;32101:21;;32079:43;32075:366;;;32232:10;32190:22;32215:28;;;:16;:28;;;;;;;;32266;32258:68;;;;;;;;;;;;:::i;:::-;32349:38;;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;32341:88;;;;;;;;;;;;:::i;:::-;32075:366;;40686:16:::1;::::0;::::1;40678:49;;;;;;;;;;;;:::i;:::-;40825:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;;:33:::1;::::0;40852:5;40825:26:::1;:33::i;:::-;40800:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;;;:58;;;;40892:20;;::::1;::::0;;;;:31:::1;::::0;40917:5;40892:24:::1;:31::i;:::-;40869:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:20;;::::1;::::0;;;;;;;;;:54;;;;40941:35;;;::::1;::::0;::::1;::::0;::::1;::::0;40970:5;;40941:35:::1;:::i;:::-;;;;;;;;40511:473:::0;;;;;:::o;44412:956::-;44641:21;44679:6;44665:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44665:28:0;-1:-1:-1;44641:52:0;-1:-1:-1;44720:6:0;44706:11;44744:231;44768:3;44764:1;:7;44744:231;;;44793:14;44810:7;;44818:1;44810:10;;;;;;;;;;;;;44793:27;;30501:3;44845:26;30431:2;44845:6;:10;;:26;;;;:::i;:::-;:53;;;;;;44835:4;44840:1;44835:7;;;;;;;;;;;;;:63;;;;;44915:48;44938:9;;44948:1;44938:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;44952:7;;44960:1;44952:10;;;;;;;;;;;;;44915:6;;44922:1;44915:9;;;;;;;;;;;;;;;;;;;;:::i;:::-;:22;;;:48;:22;:48::i;:::-;-1:-1:-1;44773:3:0;;44744:231;;;-1:-1:-1;44987:66:0;;;;;:25;;;;;;:66;;45013:10;;45025:6;;;;45033:7;;;;45042:4;;45048;;;;44987:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45071:9;45066:295;45090:3;45086:1;:7;45066:295;;;45115:12;45130:6;;45137:1;45130:9;;;;;;;;;;;;;;;;;;;;:::i;:::-;45115:24;;45188:41;45213:15;:4;45218:1;45213:7;;;;;;;;;;;;;;:13;:15::i;:::-;45188:13;;;;;;;:6;:13;;;;;;:41;;:24;:41::i;:::-;45162:22;45178:5;45162:15;:22::i;:::-;:67;;45154:102;;;;;;;;;;;;:::i;:::-;45336:9;;45346:1;45336:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;45276:73;;45308:5;45276:73;;45297:8;45276:73;;;45315:7;;45323:1;45315:10;;;;;;;;;;;;;45327:4;45332:1;45327:7;;;;;;;;;;;;;;45276:73;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;45095:3:0;;45066:295;;30874:63;;;;;;;;;;;;;;;;;;;;;;;;:::o;10020:431::-;10174:13;;10145:12;;10174:18;;10170:274;;-1:-1:-1;10216:7:0;10170:274;;;10289:13;;10275:10;;;;10263:39;;;;;:23;;:7;;:23;:11;:23::i;:::-;:39;;;;;;10256:46;;10321:7;:57;;;;;10371:7;10358:5;:10;;;10332:36;;:23;10341:5;:13;;;10332:23;;:4;:8;;:23;;;;:::i;:::-;:36;;;;;;:46;10321:57;10317:116;;;10406:11;:4;10415:1;10406:8;:11::i;10317:116::-;10020:431;;;;;:::o;7837:161::-;7886:9;7916:16;;;;7908:57;;;;;;;;;;;;:::i;:::-;-1:-1:-1;7988:1:0;7837:161::o;8462:141::-;8555:5;;;8550:16;;;;;;;;;8542:53;;;;;;;;;;;;:::i;:::-;8462:141;;;;:::o;10544:437::-;10669:15;10701:5;:10;;;:15;;10715:1;10701:15;10697:277;;;-1:-1:-1;10743:4:0;10697:277;;;10816:10;;;;10799:13;;10790:36;;;;;:23;;:4;;:23;:8;:23::i;:::-;:36;;;;;;10780:46;;10845:7;:57;;;;;10898:4;10882:5;:13;;;10856:39;;:23;10868:5;:10;;;10856:23;;:7;:11;;:23;;;;:::i;32729:169::-;32862:19;;;32791:14;32862:19;;;:12;:19;;;;;;:27;32827:30;;;;;32791:14;;32827:63;;32862:27;;;;;;;32827:15;;:30;;32851:4;;32827:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:34;;:63::i;7528:138::-;7621:5;;;7616:16;;;;7608:50;;;;;;;;;;;;:::i;7379:141::-;7472:5;;;7467:16;;;;7459:53;;;;;;;;;;;;:::i;6700:382::-;6846:12;6860:17;6889:5;6881:19;;5709:10;6924:17;;6943:4;6949:2;6953:6;6901:59;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6881:80;;;;6901:59;6881:80;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6845:116;;;;6980:7;:57;;;;-1:-1:-1;6992:11:0;;:16;;:44;;;7023:4;7012:24;;;;;;;;;;;;:::i;:::-;6972:102;;;;;;;;;;;;:::i;:::-;6700:382;;;;;;:::o;20408:213::-;20482:7;19562:80;20563:24;20589:7;20606:4;20519:93;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20509:104;;;;;;20502:111;;20408:213;;;;:::o;8611:138::-;8704:5;;;8699:16;;;;;;;;;8691:50;;;;;;;;;;;;:::i;7674:155::-;7732:9;7762:6;;;:30;;-1:-1:-1;;7777:5:0;;;7791:1;7786;7777:5;7786:1;7772:15;;;;;:20;7762:30;7754:67;;;;;;;;;;;;:::i;6037:340::-;6156:12;6170:17;6199:5;6191:19;;5619:10;6234:12;;6248:2;6252:6;6211:48;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6191:69;;;;6211:48;6191:69;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6155:105;;;;6279:7;:57;;;;-1:-1:-1;6291:11:0;;:16;;:44;;;6322:4;6311:24;;;;;;;;;;;;:::i;:::-;6271:98;;;;;;;;;;;;:::i;:::-;6037:340;;;;;:::o;8006:156::-;8054:8;8083:15;;;;8075:55;;;;;;;;;;;;:::i;12846:179::-;12923:18;12983:34;13001:15;:7;:13;:15::i;:::-;12983:13;;;;;:17;:34::i;:::-;12967:50;;;;;;;;;;;;;;;-1:-1:-1;12967:50:0;;;-1:-1:-1;12846:179:0:o;13157:::-;13234:18;13294:34;13312:15;:7;:13;:15::i;:::-;13294:13;;;;;:17;:34::i;25461:496::-;25533:13;25696:2;25675:11;:18;:23;25671:67;;;-1:-1:-1;25700:38:0;;;;;;;;;;;;;;;;;;;25671:67;25842:4;25829:11;25825:22;25810:37;;25886:11;25875:33;;;;;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;160:352::-;;;290:3;283:4;275:6;271:17;267:27;257:2;;-1:-1;;298:12;257:2;-1:-1;328:20;;368:18;357:30;;354:2;;;-1:-1;;390:12;354:2;434:4;426:6;422:17;410:29;;485:3;434:4;;469:6;465:17;426:6;451:32;;448:41;445:2;;;502:1;;492:12;445:2;250:262;;;;;:::o;2101:336::-;;;2215:3;2208:4;2200:6;2196:17;2192:27;2182:2;;-1:-1;;2223:12;2182:2;-1:-1;2253:20;;2293:18;2282:30;;2279:2;;;-1:-1;;2315:12;2279:2;2359:4;2351:6;2347:17;2335:29;;2410:3;2359:4;2390:17;2351:6;2376:32;;2373:41;2370:2;;;2427:1;;2417:12;2636:156;2716:20;;2741:46;2716:20;2741:46;:::i;4154:126::-;4219:20;;66102:4;66091:16;;69362:33;;69352:2;;69409:1;;69399:12;4287:241;;4391:2;4379:9;4370:7;4366:23;4362:32;4359:2;;;-1:-1;;4397:12;4359:2;85:6;72:20;97:33;124:5;97:33;:::i;4535:366::-;;;4656:2;4644:9;4635:7;4631:23;4627:32;4624:2;;;-1:-1;;4662:12;4624:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;4714:63;-1:-1;4814:2;4853:22;;72:20;97:33;72:20;97:33;:::i;:::-;4822:63;;;;4618:283;;;;;:::o;4908:859::-;;;;;;;5092:3;5080:9;5071:7;5067:23;5063:33;5060:2;;;-1:-1;;5099:12;5060:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;5151:63;-1:-1;5251:2;5290:22;;72:20;97:33;72:20;97:33;:::i;:::-;5259:63;-1:-1;5359:2;5395:22;;1748:20;1773:30;1748:20;1773:30;:::i;:::-;5367:60;-1:-1;5482:51;5525:7;5464:2;5501:22;;5482:51;:::i;:::-;5472:61;;5570:3;5614:9;5610:22;2017:20;5579:63;;5679:3;5723:9;5719:22;2017:20;5688:63;;5054:713;;;;;;;;:::o;5774:360::-;;;5892:2;5880:9;5871:7;5867:23;5863:32;5860:2;;;-1:-1;;5898:12;5860:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;5950:63;-1:-1;6050:2;6086:22;;1748:20;1773:30;1748:20;1773:30;:::i;6141:479::-;;;;6273:2;6261:9;6252:7;6248:23;6244:32;6241:2;;;-1:-1;;6279:12;6241:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;6331:63;-1:-1;6431:2;6467:22;;1748:20;1773:30;1748:20;1773:30;:::i;:::-;6439:60;-1:-1;6536:2;6572:22;;1748:20;1773:30;1748:20;1773:30;:::i;:::-;6544:60;;;;6235:385;;;;;:::o;6627:609::-;;;;;6781:2;6769:9;6760:7;6756:23;6752:32;6749:2;;;-1:-1;;6787:12;6749:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;6839:63;-1:-1;6967:2;6952:18;;6939:32;6991:18;6980:30;;6977:2;;;-1:-1;;7013:12;6977:2;7051:64;7107:7;7098:6;7087:9;7083:22;7051:64;:::i;:::-;7033:82;;-1:-1;7033:82;-1:-1;;7152:2;7188:22;;1748:20;1773:30;1748:20;1773:30;:::i;:::-;6743:493;;;;-1:-1;6743:493;;-1:-1;;6743:493::o;7243:538::-;;;;7407:2;7395:9;7386:7;7382:23;7378:32;7375:2;;;-1:-1;;7413:12;7375:2;7471:17;7458:31;7509:18;7501:6;7498:30;7495:2;;;-1:-1;;7531:12;7495:2;7569:91;7652:7;7643:6;7632:9;7628:22;7569:91;:::i;:::-;7551:109;;-1:-1;7551:109;-1:-1;;7697:2;7733:22;;1748:20;1773:30;1748:20;1773:30;:::i;7788:257::-;;7900:2;7888:9;7879:7;7875:23;7871:32;7868:2;;;-1:-1;;7906:12;7868:2;1896:6;1890:13;1908:30;1932:5;1908:30;:::i;8052:1415::-;;;;;;;;;;8388:3;8376:9;8367:7;8363:23;8359:33;8356:2;;;-1:-1;;8395:12;8356:2;2552:6;2539:20;2564:60;2618:5;2564:60;:::i;:::-;8447:90;-1:-1;8602:2;8587:18;;8574:32;8626:18;8615:30;;;8612:2;;;-1:-1;;8648:12;8612:2;8686:80;8758:7;8749:6;8738:9;8734:22;8686:80;:::i;:::-;8668:98;;-1:-1;8668:98;-1:-1;8831:2;8816:18;;8803:32;;-1:-1;8844:30;;;8841:2;;;-1:-1;;8877:12;8841:2;8915:93;9000:7;8991:6;8980:9;8976:22;8915:93;:::i;:::-;8897:111;;-1:-1;8897:111;-1:-1;9073:2;9058:18;;9045:32;;-1:-1;9086:30;;;9083:2;;;-1:-1;;9119:12;9083:2;9157:80;9229:7;9220:6;9209:9;9205:22;9157:80;:::i;:::-;9139:98;;-1:-1;9139:98;-1:-1;9302:3;9287:19;;9274:33;;-1:-1;9316:30;;;9313:2;;;-1:-1;;9349:12;9313:2;;9387:64;9443:7;9434:6;9423:9;9419:22;9387:64;:::i;:::-;9369:82;;;;;;;;;;8350:1117;;;;;;;;;;;:::o;9748:392::-;;;9882:2;9870:9;9861:7;9857:23;9853:32;9850:2;;;-1:-1;;9888:12;10147:643;;;;;10315:3;10303:9;10294:7;10290:23;10286:33;10283:2;;;-1:-1;;10322:12;10283:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;10374:76;-1:-1;10487:2;10526:22;;72:20;97:33;72:20;97:33;:::i;:::-;10495:63;-1:-1;10595:2;10634:22;;72:20;97:33;72:20;97:33;:::i;:::-;10277:513;;;;-1:-1;10603:63;;10703:2;10742:22;3808:20;;-1:-1;;10277:513::o;10797:769::-;;;;;;10982:3;10970:9;10961:7;10957:23;10953:33;10950:2;;;-1:-1;;10989:12;10950:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;11041:76;-1:-1;11154:2;11193:22;;72:20;97:33;72:20;97:33;:::i;:::-;11162:63;-1:-1;11262:2;11301:22;;72:20;97:33;72:20;97:33;:::i;:::-;10944:622;;;;-1:-1;11270:63;;11370:2;11409:22;;3808:20;;-1:-1;11478:3;11518:22;3808:20;;10944:622;-1:-1;;10944:622::o;11573:1143::-;;;;;;;;;11807:3;11795:9;11786:7;11782:23;11778:33;11775:2;;;-1:-1;;11814:12;11775:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;11866:76;-1:-1;11979:2;12018:22;;72:20;97:33;72:20;97:33;:::i;:::-;11987:63;-1:-1;12087:2;12126:22;;72:20;97:33;72:20;97:33;:::i;:::-;12095:63;-1:-1;12195:2;12234:22;;3808:20;;-1:-1;12303:3;12343:22;;3808:20;;-1:-1;12431:51;12474:7;12412:3;12450:22;;12431:51;:::i;:::-;12421:61;;12519:3;12563:9;12559:22;2017:20;12528:63;;12628:3;12672:9;12668:22;2017:20;12637:63;;11769:947;;;;;;;;;;;:::o;12723:955::-;;;;;;;12961:3;12949:9;12940:7;12936:23;12932:33;12929:2;;;-1:-1;;12968:12;12929:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;13020:76;-1:-1;13133:2;13172:22;;72:20;97:33;72:20;97:33;:::i;:::-;13141:63;-1:-1;13269:2;13254:18;;13241:32;13293:18;13282:30;;;13279:2;;;-1:-1;;13315:12;13279:2;13353:80;13425:7;13416:6;13405:9;13401:22;13353:80;:::i;:::-;13335:98;;-1:-1;13335:98;-1:-1;13498:2;13483:18;;13470:32;;-1:-1;13511:30;;;13508:2;;;-1:-1;;13544:12;13508:2;;13582:80;13654:7;13645:6;13634:9;13630:22;13582:80;:::i;:::-;12923:755;;;;-1:-1;12923:755;;-1:-1;12923:755;;13564:98;;12923:755;-1:-1;;;12923:755::o;13685:511::-;;;;13833:2;13821:9;13812:7;13808:23;13804:32;13801:2;;;-1:-1;;13839:12;13801:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;13891:76;-1:-1;14004:2;14040:22;;1748:20;1773:30;1748:20;1773:30;:::i;:::-;13795:401;;14012:60;;-1:-1;;;14109:2;14148:22;;;;3808:20;;13795:401::o;14636:511::-;;;;14784:2;14772:9;14763:7;14759:23;14755:32;14752:2;;;-1:-1;;14790:12;14752:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;14842:76;-1:-1;14955:2;14994:22;;3808:20;;-1:-1;15063:2;15099:22;;1748:20;1773:30;1748:20;1773:30;:::i;15154:390::-;;;15287:2;15275:9;15266:7;15262:23;15258:32;15255:2;;;-1:-1;;15293:12;15255:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;15345:76;-1:-1;15458:2;15496:22;;4085:20;66000:18;65989:30;;69241:34;;69231:2;;-1:-1;;69279:12;15551:935;;;;;;;15776:3;15764:9;15755:7;15751:23;15747:33;15744:2;;;-1:-1;;15783:12;15744:2;2900:6;2887:20;2912:54;2960:5;2912:54;:::i;:::-;15835:84;-1:-1;15956:2;15995:22;;72:20;97:33;72:20;97:33;:::i;:::-;15964:63;-1:-1;16064:2;16116:22;;2716:20;2741:46;2716:20;2741:46;:::i;:::-;16072:76;-1:-1;16185:2;16224:22;;3808:20;;-1:-1;16321:3;16306:19;;16293:33;16346:18;16335:30;;16332:2;;;-1:-1;;16368:12;16332:2;16406:64;16462:7;16453:6;16442:9;16438:22;16406:64;:::i;16493:261::-;;16607:2;16595:9;16586:7;16582:23;16578:32;16575:2;;;-1:-1;;16613:12;16575:2;-1:-1;3226:13;;16569:185;-1:-1;16569:185::o;16761:362::-;;16886:2;16874:9;16865:7;16861:23;16857:32;16854:2;;;-1:-1;;16892:12;16854:2;16943:17;16937:24;16981:18;;16973:6;16970:30;16967:2;;;-1:-1;;17003:12;16967:2;17090:6;17079:9;17075:22;;;3402:3;3395:4;3387:6;3383:17;3379:27;3369:2;;-1:-1;;3410:12;3369:2;3450:6;3444:13;16981:18;61078:6;61075:30;61072:2;;;-1:-1;;61108:12;61072:2;60741;60735:9;16886:2;61181:9;3395:4;61166:6;61162:17;61158:33;60771:6;60767:17;;60878:6;60866:10;60863:22;16981:18;60830:10;60827:34;60824:62;60821:2;;;-1:-1;;60889:12;60821:2;60741;60908:22;3543:21;;;3643:16;;;16886:2;3643:16;3640:25;-1:-1;3637:2;;;-1:-1;;3668:12;3637:2;3688:39;3720:6;16886:2;3619:5;3615:16;16886:2;3585:6;3581:17;3688:39;:::i;:::-;17023:84;16848:275;-1:-1;;;;;;16848:275::o;17769:199::-;65794:42;65783:54;24020:63;;17957:4;17948:14;;17862:106::o;21395:690::-;;21588:5;61989:12;63196:6;63191:3;63184:19;63233:4;;63228:3;63224:14;21600:93;;63233:4;21764:5;61383:14;-1:-1;21803:260;21828:6;21825:1;21822:13;21803:260;;;21889:13;;22376:37;;18130:14;;;;62670;;;;21850:1;21843:9;21803:260;;;-1:-1;22069:10;;21519:566;-1:-1;;;;;21519:566::o;22607:297::-;;63196:6;63191:3;63184:19;67384:6;67379:3;63233:4;63228:3;63224:14;67361:30;-1:-1;63233:4;67431:6;63228:3;67422:16;;67415:27;63233:4;67898:7;67902:2;22890:6;67882:14;67878:28;63228:3;22859:39;;22852:46;;22707:197;;;;;:::o;23253:323::-;;23385:5;61989:12;63196:6;63191:3;63184:19;23468:52;23513:6;63233:4;63228:3;63224:14;63233:4;23494:5;23490:16;23468:52;:::i;:::-;67902:2;67882:14;67898:7;67878:28;23532:39;;;;63233:4;23532:39;;23333:243;-1:-1;;23333:243::o;36019:291::-;;67384:6;67379:3;67374;67361:30;67422:16;;67415:27;;;67422:16;36163:147;-1:-1;36163:147::o;36317:271::-;;23743:5;61989:12;23854:52;23899:6;23894:3;23887:4;23880:5;23876:16;23854:52;:::i;:::-;23918:16;;;;;36451:137;-1:-1;;36451:137::o;36595:553::-;;23743:5;61989:12;23854:52;23899:6;23894:3;23887:4;23880:5;23876:16;23854:52;:::i;:::-;23918:16;;;;22376:37;;;-1:-1;23887:4;37000:12;;22376:37;37111:12;;;36787:361;-1:-1;36787:361::o;37155:379::-;37519:10;37343:191::o;37541:222::-;65794:42;65783:54;;;;18378:37;;37668:2;37653:18;;37639:124::o;38015:1298::-;;38473:3;38462:9;38458:19;65794:42;64864:5;65783:54;18244:3;18237:58;38600:2;38473:3;38600:2;38589:9;38585:18;38578:48;38640:131;20287:86;20366:6;20361:3;20287:86;:::i;:::-;20280:93;;20471:21;;;-1:-1;20498:330;20523:6;20520:1;20517:13;20498:330;;;38600:2;20632:6;64757:12;20653:76;20725:3;64718:52;64757:12;20632:6;64718:52;:::i;:::-;20653:76;:::i;:::-;20736:85;;-1:-1;20646:83;-1:-1;20545:1;20538:9;20498:330;;;20502:14;38819:9;38813:4;38809:20;38804:2;38793:9;38789:18;38782:48;21035:86;21114:6;21109:3;21035:86;:::i;:::-;21028:93;;;21148:66;21140:6;21137:78;21134:2;;;-1:-1;;21218:12;21134:2;21249:17;;21278:43;21249:17;21309:3;21302:5;21278:43;:::i;:::-;21334:16;39000:20;;;38995:2;38980:18;;38973:48;39035:108;21334:16;39129:6;39035:108;:::i;:::-;39027:116;;39192:9;39186:4;39182:20;39176:3;39165:9;39161:19;39154:49;39217:86;39298:4;39289:6;39281;39217:86;:::i;:::-;39209:94;38444:869;-1:-1;;;;;;;;;;;38444:869::o;39320:814::-;;65794:42;;64864:5;65783:54;18244:3;18237:58;65794:42;24076:5;65783:54;39794:2;39783:9;39779:18;24020:63;;22406:5;39877:2;39866:9;39862:18;22376:37;22406:5;39960:2;39949:9;39945:18;22376:37;39608:3;39997;39986:9;39982:19;39975:49;40038:86;39608:3;39597:9;39593:19;40110:6;40102;40038:86;:::i;:::-;40030:94;39579:555;-1:-1;;;;;;;;39579:555::o;40141:444::-;65794:42;65783:54;;;18378:37;;65783:54;;;;40488:2;40473:18;;18378:37;40571:2;40556:18;;22376:37;;;;40324:2;40309:18;;40295:290::o;40592:884::-;65794:42;65783:54;;;18378:37;;65783:54;;;;41048:2;41033:18;;18378:37;41131:2;41116:18;;22376:37;;;;41214:2;41199:18;;22376:37;;;;66102:4;66091:16;41293:3;41278:19;;35972:35;41377:3;41362:19;;22376:37;41461:3;41446:19;;22376:37;;;;40883:3;40868:19;;40854:622::o;41483:333::-;65794:42;65783:54;;;;18378:37;;41802:2;41787:18;;22376:37;41638:2;41623:18;;41609:207::o;41823:653::-;42090:2;42104:47;;;61989:12;;42075:18;;;63184:19;;;41823:653;;63233:4;;63224:14;;;;61383;;;41823:653;18845:251;18870:6;18867:1;18864:13;18845:251;;;18931:13;;64948;64941:21;22148:34;;17542:14;;;;62670;;;;18892:1;18885:9;18845:251;;;18849:14;;;42315:9;42309:4;42305:20;63233:4;42289:9;42285:18;42278:48;42340:126;19373:5;61989:12;19392:95;19480:6;19475:3;19392:95;:::i;:::-;19385:102;;;;;63233:4;19544:6;19540:17;19535:3;19531:27;63233:4;19638:5;61383:14;-1:-1;19677:357;19702:6;19699:1;19696:13;19677:357;;;19764:9;19758:4;19754:20;19749:3;19742:33;17690:64;17750:3;19809:6;19803:13;17690:64;:::i;:::-;20013:14;;;;19823:90;-1:-1;62670:14;;;;18892:1;19717:9;19677:357;;;-1:-1;42332:134;;42061:415;-1:-1;;;;;;;;;42061:415::o;42483:210::-;64948:13;;64941:21;22148:34;;42604:2;42589:18;;42575:118::o;42700:222::-;22376:37;;;42827:2;42812:18;;42798:124::o;42929:768::-;22376:37;;;43355:2;43340:18;;22376:37;;;;65794:42;65783:54;;;43438:2;43423:18;;18378:37;65783:54;;43521:2;43506:18;;18378:37;64948:13;64941:21;43598:3;43583:19;;22148:34;43682:3;43667:19;;22376:37;43190:3;43175:19;;43161:536::o;43704:556::-;22376:37;;;44080:2;44065:18;;22376:37;;;;44163:2;44148:18;;22376:37;65794:42;65783:54;44246:2;44231:18;;18378:37;43915:3;43900:19;;43886:374::o;44267:548::-;22376:37;;;66102:4;66091:16;;;;44635:2;44620:18;;35972:35;44718:2;44703:18;;22376:37;44801:2;44786:18;;22376:37;44474:3;44459:19;;44445:370::o;44822:326::-;;44977:2;44998:17;44991:47;45052:86;44977:2;44966:9;44962:18;45124:6;45116;45052:86;:::i;45418:310::-;;45565:2;45586:17;45579:47;45640:78;45565:2;45554:9;45550:18;45704:6;45640:78;:::i;45735:416::-;45935:2;45949:47;;;25367:2;45920:18;;;63184:19;25403:23;63224:14;;;25383:44;25446:12;;;45906:245::o;46158:416::-;46358:2;46372:47;;;25697:2;46343:18;;;63184:19;25733:25;63224:14;;;25713:46;25778:12;;;46329:245::o;46581:416::-;46781:2;46795:47;;;26029:2;46766:18;;;63184:19;26065:30;63224:14;;;26045:51;26115:12;;;46752:245::o;47004:416::-;47204:2;47218:47;;;26366:2;47189:18;;;63184:19;26402:29;63224:14;;;26382:50;26451:12;;;47175:245::o;47427:416::-;47627:2;47641:47;;;26702:2;47612:18;;;63184:19;26738:30;63224:14;;;26718:51;26788:12;;;47598:245::o;47850:416::-;48050:2;48064:47;;;27039:2;48035:18;;;63184:19;27075:24;63224:14;;;27055:45;27119:12;;;48021:245::o;48273:416::-;48473:2;48487:47;;;27370:2;48458:18;;;63184:19;27406:23;63224:14;;;27386:44;27449:12;;;48444:245::o;48696:416::-;48896:2;48910:47;;;27700:2;48881:18;;;63184:19;27736:21;63224:14;;;27716:42;27777:12;;;48867:245::o;49119:416::-;49319:2;49333:47;;;28028:2;49304:18;;;63184:19;28064:30;63224:14;;;28044:51;28114:12;;;49290:245::o;49542:416::-;49742:2;49756:47;;;28365:2;49727:18;;;63184:19;28401:26;63224:14;;;28381:47;28447:12;;;49713:245::o;49965:416::-;50165:2;50179:47;;;28698:2;50150:18;;;63184:19;28734:25;63224:14;;;28714:46;28779:12;;;50136:245::o;50388:416::-;50588:2;50602:47;;;29030:2;50573:18;;;63184:19;29066:22;63224:14;;;29046:43;29108:12;;;50559:245::o;50811:416::-;51011:2;51025:47;;;29359:2;50996:18;;;63184:19;29395:28;63224:14;;;29375:49;29443:12;;;50982:245::o;51234:416::-;51434:2;51448:47;;;51419:18;;;63184:19;29730:34;63224:14;;;29710:55;29784:12;;;51405:245::o;51657:416::-;51857:2;51871:47;;;30035:2;51842:18;;;63184:19;30071:33;63224:14;;;30051:54;30124:12;;;51828:245::o;52080:416::-;52280:2;52294:47;;;52265:18;;;63184:19;30411:34;63224:14;;;30391:55;30465:12;;;52251:245::o;52503:416::-;52703:2;52717:47;;;30716:2;52688:18;;;63184:19;30752:29;63224:14;;;30732:50;30801:12;;;52674:245::o;52926:416::-;53126:2;53140:47;;;31052:2;53111:18;;;63184:19;31088:27;63224:14;;;31068:48;31135:12;;;53097:245::o;53349:416::-;53549:2;53563:47;;;31386:2;53534:18;;;63184:19;31422:31;63224:14;;;31402:52;31473:12;;;53520:245::o;53772:416::-;53972:2;53986:47;;;53957:18;;;63184:19;32065:34;63224:14;;;32045:55;32119:12;;;53943:245::o;54195:416::-;54395:2;54409:47;;;32370:2;54380:18;;;63184:19;32406:29;63224:14;;;32386:50;32455:12;;;54366:245::o;54618:416::-;54818:2;54832:47;;;32706:2;54803:18;;;63184:19;32742:29;63224:14;;;32722:50;32791:12;;;54789:245::o;55041:416::-;55241:2;55255:47;;;55226:18;;;63184:19;33078:34;63224:14;;;33058:55;33132:12;;;55212:245::o;55464:416::-;55664:2;55678:47;;;33383:2;55649:18;;;63184:19;33419:30;63224:14;;;33399:51;33469:12;;;55635:245::o;55887:416::-;56087:2;56101:47;;;33720:2;56072:18;;;63184:19;33756:24;63224:14;;;33736:45;33800:12;;;56058:245::o;56310:416::-;56510:2;56524:47;;;34051:2;56495:18;;;63184:19;34087:29;63224:14;;;34067:50;34136:12;;;56481:245::o;56733:416::-;56933:2;56947:47;;;34387:2;56918:18;;;63184:19;34423:31;63224:14;;;34403:52;34474:12;;;56904:245::o;57156:416::-;57356:2;57370:47;;;34725:2;57341:18;;;63184:19;34761:26;63224:14;;;34741:47;34807:12;;;57327:245::o;57579:416::-;57779:2;57793:47;;;57764:18;;;63184:19;35094:34;63224:14;;;35074:55;35148:12;;;57750:245::o;58002:222::-;65674:34;65663:46;;;;35365:50;;58129:2;58114:18;;58100:124::o;58231:349::-;65674:34;65663:46;;;;35365:50;;65794:42;65783:54;58566:2;58551:18;;18237:58;58394:2;58379:18;;58365:215::o;58587:333::-;65674:34;65663:46;;;35245:37;;65663:46;;58906:2;58891:18;;35245:37;58742:2;58727:18;;58713:207::o;59156:333::-;22376:37;;;59475:2;59460:18;;22376:37;59311:2;59296:18;;59282:207::o;59496:220::-;66000:18;65989:30;;;;35727:49;;59622:2;59607:18;;59593:123::o;59723:436::-;66000:18;65989:30;;;35857:36;;65989:30;;;;60062:2;60047:18;;35857:36;65674:34;65663:46;;;60145:2;60130:18;;35245:37;59902:2;59887:18;;59873:286::o;60166:506::-;;;60301:11;60288:25;60352:48;60376:8;60360:14;60356:29;60352:48;60332:18;60328:73;60318:2;;-1:-1;;60405:12;60318:2;60432:33;;60486:18;;;-1:-1;60524:18;60513:30;;60510:2;;;-1:-1;;60546:12;60510:2;60391:4;60574:13;;-1:-1;60360:14;60606:38;;;60596:49;;60593:2;;;60658:1;;60648:12;67303:145;67384:6;67379:3;67374;67361:30;-1:-1;67440:1;67422:16;;67415:27;67354:94::o;67457:268::-;67522:1;67529:101;67543:6;67540:1;67537:13;67529:101;;;67610:11;;;67604:18;67591:11;;;67584:39;67565:2;67558:10;67529:101;;;67645:6;67642:1;67639:13;67636:2;;;67522:1;67701:6;67696:3;67692:16;67685:27;67636:2;;67506:219;;;:::o;67919:117::-;65794:42;68006:5;65783:54;67981:5;67978:35;67968:2;;68027:1;;68017:12;67968:2;67962:74;:::o;68043:111::-;68124:5;64948:13;64941:21;68102:5;68099:32;68089:2;;68145:1;;68135:12

Swarm Source

ipfs://79eb387224e15cae6a9a744ed9b348260a7e9d2e37cd991b32f36c6b93b4808b
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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