Contract 0xc35dadb65012ec5796536bd9864ed8773abc74c4 23

 
Txn Hash Method
Index
From
To
Value
0xcec481081534258539f3de725a57f127098ad07e36e9c55e615665be984e12e1Withdraw254639022022-09-26 5:02:374 days 16 hrs ago0x224e69025a2f705c8f31efb6694398f8fd09ac5c IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0000218154030.00100155
0x0e71061f6253c42d05669dcb66c2c0d8f329eb8087e63f236cc6ea2b1c443029Batch233650472022-09-16 1:52:1714 days 19 hrs ago0x224e69025a2f705c8f31efb6694398f8fd09ac5c IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0000444664140.001
0x87211fe3cf3aac589f741d36e2265d3642419be56eb238726a6dac5ea1d16259Withdraw195797762022-08-18 2:57:5543 days 18 hrs ago0x70b46c55b8330477ff530ca5d8c75c317dbf698e IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0000525417310.001
0x9a7e18dc0a92d4f3048eaa894baa8aed16c4f74556499c93329e19baacf76e65Batch193696852022-08-16 13:19:5845 days 8 hrs ago0xaa848e2e0074c468b1062d8551123243405b5f74 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0000405462940.001
0x6a604aa0254942c4b567f3c7309049d9beb985cea452516da66d51a840fda085Batch189976842022-08-13 19:47:3848 days 1 hr ago0xd575194c20fe5ef4290c54753f31f8f2b2560a1b IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0000580167510.001
0xc83c2c0b0c65677c9f8fca8f534a6089fbdf09e96824d3176621cbffafac5349Transfer Ownersh...187235722022-08-11 10:49:4550 days 10 hrs ago0xf87bc5535602077d340806d71f805ea9907a843d IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0000870870980.001
0xf8c9afd320ad3b9374dfd88fb2820a5945e2d6ab23fd427cf335b1f220e99ccfWithdraw179510992022-08-05 20:50:0356 days 53 mins ago0x7da08fba7a69c67c0d06fd433af0c53f9c75cee8 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0001055377640.001
0xd0c72dafb7f3656e01876fd4b6ba83c77a7d6bfea487e731b865429353ce8e4fWithdraw173226542022-08-02 20:12:1059 days 1 hr ago0xd0db7f650ebf84cae67e827dcffd839082a70f02 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0000637424360.001
0x20f3a4f3867e7bbaa9550104b00e3dba9f0e70cf6c0c0959f65e59f523c43253Withdraw170096622022-07-31 23:57:4960 days 21 hrs ago0xe7fb01b2a2e0f4406d822eb0b7bbd176880f03bc IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0000433148920.001
0x29d8b6226d048a3debe88b0f0774c9d672b23097289cc49988ff47ce7c06f906Withdraw141996972022-07-10 9:45:4782 days 11 hrs ago0xaf2a0acd19f914dec99cd786d2c1676e93ef1b00 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0000366329190.001
0x72cd287509f7ba6b8fc0edabdeefcab68b692be87f1bd5189090b2e077316eb1Deposit141772532022-07-09 23:05:2782 days 22 hrs ago0xaf2a0acd19f914dec99cd786d2c1676e93ef1b00 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0000951602610.001
0x4b519e88e2d398c1b2f35f492ea4fef9adfddf62415bb45d317effbeadcafc68Withdraw140093852022-07-07 8:21:1885 days 13 hrs ago0xb629cd0891948420f22a5e8448e1f8e7addff9d5 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0000713468390.001
0x5856b66fc910788dc040c97f1787ddb77603d08cf31524dc50e542e436f4650aWithdraw137692392022-07-03 19:13:4389 days 2 hrs ago0x80cffdca4d7e05eb25e703a183e98c7a4094eec0 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0001375047850.001
0x0243cf94e8cfa2d911fd1b9a94c37b32eb847646f85f3060db931413eba666f1Withdraw137690682022-07-03 19:07:4489 days 2 hrs ago0x80cffdca4d7e05eb25e703a183e98c7a4094eec0 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0001109523650.001
0x26eaf063f79fea4620017b2fa68b6083a20fc4872475ee63241f5ae388c5f25aWithdraw132957712022-06-27 13:41:5995 days 8 hrs ago0x17b2c6dc3d2f5faead8135addae008755092a9ee IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0002731886580.001
0x10e55a2594dc84f4227441bddb05e5a751ef261db76a5e82a39fa15494ff4b3aDeposit131690792022-06-26 16:19:0296 days 5 hrs ago0xbc3fe35368c1d1ac1ce85b2d8dda65ee851f880d IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0001584591180.001
0x4ba59d90b00266f6755085da9251f15868630c79f8c564673c72664770e4a999Withdraw128952982022-06-24 7:56:2998 days 13 hrs ago0x8f54c8c2df62c94772ac14ccfc85603742976312 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.000097482520.001
0x33ae8bfa4f5c39187c42e9e4f262edacd4e01813ef3640676b5a355e603a4341Withdraw128952782022-06-24 7:56:2998 days 13 hrs ago0x8f54c8c2df62c94772ac14ccfc85603742976312 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0001029191070.001
0x82c13ff987b7e8e375e73438a99c940c0ecec4e8a9fbd66246d5488b7f70a32cWithdraw128952032022-06-24 7:55:1298 days 13 hrs ago0x8f54c8c2df62c94772ac14ccfc85603742976312 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0001281355270.001
0xddeff34269f9c7b3e4a359aa93a89f9f4f84b8ab8d49f701885ad41d2c2df4a1Withdraw128656852022-06-24 1:46:5998 days 19 hrs ago0x8f54c8c2df62c94772ac14ccfc85603742976312 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0000968729450.001
0x7089a6675d765bbd8b1e47c0ef9ff456609d2b86bd71e2c61e1659b9ea5ad365Deposit121785622022-06-18 0:21:48104 days 21 hrs ago0xb629cd0891948420f22a5e8448e1f8e7addff9d5 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0002054227550.001
0x74e035504c24d44b6f1d516c667ec704e757c6d8215af6c83b25f9010fd28e3dWithdraw103607032022-06-03 1:05:59119 days 20 hrs ago0xd8c84eac995150662cc052e6ac76ec184fcf1122 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0003066337210.001
0x4a8871f858197348eae8957ca1b7342e6b71b6c053d9e39efa3012d147133e06Withdraw103606772022-06-03 1:05:44119 days 20 hrs ago0xd8c84eac995150662cc052e6ac76ec184fcf1122 IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0003105249950.001
0x9f00bf8b61743f64b7b3f58989e7c4ec2381adb9297db3ad49e66b9a4428b5cfWithdraw100994502022-06-01 22:44:48120 days 22 hrs ago0x252f24b89f342abbdaf130ce8f4e924242e3d59c IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether0.0002881991770.001
0xc0aa8989286157ff9adcb583631c71388f612921cd1f7e3852774cea60920a33Deposit100993352022-06-01 22:43:45120 days 22 hrs ago0x252f24b89f342abbdaf130ce8f4e924242e3d59c IN  0xc35dadb65012ec5796536bd9864ed8773abc74c40.189935065903976 Ether0.0003379375790.001
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x2a8f001029c2bb2cc85f9138c6862faf9e8219e3a0064b0f8cc4780a9b950a4f265770782022-09-30 21:29:1513 mins ago 0xaa1513ab4622ed52deee4bd2cd984fe52f336a63 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0x2a8f001029c2bb2cc85f9138c6862faf9e8219e3a0064b0f8cc4780a9b950a4f265770782022-09-30 21:29:1513 mins ago 0xaa1513ab4622ed52deee4bd2cd984fe52f336a63 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0x2a8f001029c2bb2cc85f9138c6862faf9e8219e3a0064b0f8cc4780a9b950a4f265770782022-09-30 21:29:1513 mins ago 0xc35dadb65012ec5796536bd9864ed8773abc74c4 Optimism: OP Token0 Ether
0x2a8f001029c2bb2cc85f9138c6862faf9e8219e3a0064b0f8cc4780a9b950a4f265770782022-09-30 21:29:1513 mins ago 0xbe811a0d44e2553d25d11cb8dc0d3f0d0e6430e6 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0x2a8f001029c2bb2cc85f9138c6862faf9e8219e3a0064b0f8cc4780a9b950a4f265770782022-09-30 21:29:1513 mins ago 0xc35dadb65012ec5796536bd9864ed8773abc74c4Wrapped Ether0.000280958783482151 Ether
0x2a8f001029c2bb2cc85f9138c6862faf9e8219e3a0064b0f8cc4780a9b950a4f265770782022-09-30 21:29:1513 mins ago 0xbe811a0d44e2553d25d11cb8dc0d3f0d0e6430e6 0xc35dadb65012ec5796536bd9864ed8773abc74c40.000280958783482151 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0xc35dadb65012ec5796536bd9864ed8773abc74c4Wrapped Ether0 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x1e31a2c6e6614273d740358affb46bef180efb7b 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x1e31a2c6e6614273d740358affb46bef180efb7b 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x1e31a2c6e6614273d740358affb46bef180efb7b 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0xc35dadb65012ec5796536bd9864ed8773abc74c4 0x7f5c764cbc14f9669b88837ca1490cca17c316070 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x40e223295f6f216feede416d6b9e198368ed663a 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x40e223295f6f216feede416d6b9e198368ed663a 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x40e223295f6f216feede416d6b9e198368ed663a 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x40e223295f6f216feede416d6b9e198368ed663a 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x40e223295f6f216feede416d6b9e198368ed663a 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x40e223295f6f216feede416d6b9e198368ed663a 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x40e223295f6f216feede416d6b9e198368ed663a 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x40e223295f6f216feede416d6b9e198368ed663a 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x40e223295f6f216feede416d6b9e198368ed663a 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x40e223295f6f216feede416d6b9e198368ed663a 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0xea3a1826f59188e1e555df1a067ff3ac242d0f7ba9301a901e1d91c50df98806265736522022-09-30 20:54:0849 mins ago 0x40e223295f6f216feede416d6b9e198368ed663a 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0x7a16ed0bb2edff7217886476580a697653e49703731616b68d1b5f8a30314800265736502022-09-30 20:54:0849 mins ago 0xc35dadb65012ec5796536bd9864ed8773abc74c4 0x7f5c764cbc14f9669b88837ca1490cca17c316070 Ether
0x7a16ed0bb2edff7217886476580a697653e49703731616b68d1b5f8a30314800265736502022-09-30 20:54:0849 mins ago 0xbe811a0d44e2553d25d11cb8dc0d3f0d0e6430e6 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
0x7a16ed0bb2edff7217886476580a697653e49703731616b68d1b5f8a30314800265736502022-09-30 20:54:0849 mins ago 0xbe811a0d44e2553d25d11cb8dc0d3f0d0e6430e6 0xc35dadb65012ec5796536bd9864ed8773abc74c40 Ether
[ Download CSV Export 
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
BentoBox

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 256 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Optimistic.Etherscan.io on 2022-05-04
*/

// Sources flattened with hardhat v2.8.3 https://hardhat.org

// File @boringcrypto/boring-solidity/contracts/interfaces/[email protected]

pragma solidity 0.6.12;

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

pragma solidity 0.6.12;

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

pragma solidity 0.6.12;

interface IWETH {
    function deposit() external payable;

    function withdraw(uint256) external;
}


// File contracts/interfaces/IStrategy.sol

pragma solidity 0.6.12;

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]

pragma solidity 0.6.12;

// solhint-disable avoid-low-level-calls

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)

    function returnDataToString(bytes memory data) internal pure returns (string memory) {
        if (data.length >= 64) {
            return abi.decode(data, (string));
        } else if (data.length == 32) {
            uint8 i = 0;
            while(i < 32 && data[i] != 0) {
                i++;
            }
            bytes memory bytesArray = new bytes(i);
            for (i = 0; i < 32 && data[i] != 0; i++) {
                bytesArray[i] = data[i];
            }
            return string(bytesArray);
        } else {
            return "???";
        }
    }

    /// @notice Provides a safe ERC20.symbol version which returns '???' as fallback string.
    /// @param token The address of the ERC-20 token contract.
    /// @return (string) Token symbol.
    function safeSymbol(IERC20 token) internal view returns (string memory) {
        (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(SIG_SYMBOL));
        return success ? returnDataToString(data) : "???";
    }

    /// @notice Provides a safe ERC20.name version which returns '???' as fallback string.
    /// @param token The address of the ERC-20 token contract.
    /// @return (string) Token name.
    function safeName(IERC20 token) internal view returns (string memory) {
        (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(SIG_NAME));
        return success ? returnDataToString(data) : "???";
    }

    /// @notice Provides a safe ERC20.decimals version which returns '18' as fallback value.
    /// @param token The address of the ERC-20 token contract.
    /// @return (uint8) Token decimals.
    function safeDecimals(IERC20 token) internal view returns (uint8) {
        (bool success, bytes memory data) = address(token).staticcall(abi.encodeWithSelector(SIG_DECIMALS));
        return success && data.length == 32 ? abi.decode(data, (uint8)) : 18;
    }

    /// @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]

pragma solidity 0.6.12;

/// @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]

pragma solidity 0.6.12;

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]

pragma solidity 0.6.12;

// Audit on 5-Jan-2021 by Keno and BoringCrypto
// 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]

pragma solidity 0.6.12;

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]

pragma solidity 0.6.12;

// solhint-disable no-inline-assembly

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

// Audit on 5-Jan-2021 by Keno and BoringCrypto
pragma solidity 0.6.12;


// solhint-disable no-inline-assembly

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]

pragma solidity 0.6.12;

// solhint-disable avoid-low-level-calls
// solhint-disable no-inline-assembly

// Audit on 5-Jan-2021 by Keno and BoringCrypto

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

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

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;







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

/// @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 BentoBox 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"}]

60e06040523480156200001157600080fd5b50604051620047df380380620047df833981016040819052620000349162000116565b600080546001600160a01b0319163390811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a34660a081905262000084816200009e565b6080525060601b6001600160601b03191660c0526200016a565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fd7df266aff736d415a9dc14b4158201d612e70d75b9c7f4e375ccfd20aa5166f8330604051602001620000f9949392919062000146565b604051602081830303815290604052805190602001209050919050565b60006020828403121562000128578081fd5b81516001600160a01b03811681146200013f578182fd5b9392505050565b938452602084019290925260408301526001600160a01b0316606082015260800190565b60805160a05160c05160601c614636620001a9600039806106c552806109925280611ed052806120b152508061102152508061105652506146366000f3fe6080604052600436106101dc5760003560e01c80637c516e9411610102578063d2423b5111610095578063f1676d3711610064578063f1676d3714610555578063f18d03cc14610575578063f483b3da14610595578063f7888aec146105b5576101e3565b8063d2423b51146104d0578063da5139ca146104f1578063df23b45b14610511578063e30c397814610540576101e3565b806397da6d30116100d157806397da6d301461045b578063aee4d1b21461047b578063bafe4f1414610490578063c0a47c93146104b0576101e3565b80637c516e94146103e65780637ecebe00146104065780638da5cb5b1461042657806391e0eab51461043b576101e3565b80633e2a9d4e1161017a5780635662311811610149578063566231181461036657806366c6bb0b1461038657806372cb5d97146103a6578063733a9d7c146103c6576101e3565b80633e2a9d4e146102e35780634e71e0c8146103035780634ffe34db146103185780635108a55814610346576101e3565b806312a90c8a116101b657806312a90c8a146102545780631f54245b14610281578063228bfd9f146102a15780633644e515146102c1576101e3565b806302b9446c146101e8578063078dfbe7146102125780630fca884314610234576101e3565b366101e357005b600080fd5b6101fb6101f6366004613795565b6105d5565b60405161020992919061450c565b60405180910390f35b34801561021e57600080fd5b5061023261022d36600461354c565b610a99565b005b34801561024057600080fd5b5061023261024f366004613870565b610b7f565b34801561026057600080fd5b5061027461026f36600461345f565b610e30565b6040516102099190613dfd565b61029461028f366004613596565b610e45565b6040516102099190613bc8565b3480156102ad57600080fd5b506102946102bc36600461345f565b611001565b3480156102cd57600080fd5b506102d661101c565b6040516102099190613e08565b3480156102ef57600080fd5b506102326102fe366004613977565b61107c565b34801561030f57600080fd5b50610232611147565b34801561032457600080fd5b5061033861033336600461345f565b6111d4565b6040516102099291906144f2565b34801561035257600080fd5b5061029461036136600461345f565b6111fa565b34801561037257600080fd5b506102d6610381366004613941565b611215565b34801561039257600080fd5b506102326103a1366004613901565b611269565b3480156103b257600080fd5b506102326103c1366004613733565b611832565b3480156103d257600080fd5b506102326103e136600461351f565b611c90565b3480156103f257600080fd5b506102326104013660046137ef565b611d34565b34801561041257600080fd5b506102d661042136600461345f565b611da8565b34801561043257600080fd5b50610294611dba565b34801561044757600080fd5b5061027461045636600461347b565b611dc9565b34801561046757600080fd5b506101fb610476366004613795565b611de9565b34801561048757600080fd5b506102326121fd565b34801561049c57600080fd5b506102946104ab36600461345f565b612244565b3480156104bc57600080fd5b506102326104cb3660046134b3565b61225f565b6104e36104de3660046135fb565b61256e565b604051610209929190613d63565b3480156104fd57600080fd5b506102d661050c366004613941565b6126fe565b34801561051d57600080fd5b5061053161052c36600461345f565b61274a565b6040516102099392919061452e565b34801561054c57600080fd5b50610294612783565b34801561056157600080fd5b506102326105703660046139af565b612792565b34801561058157600080fd5b50610232610590366004613745565b6128e3565b3480156105a157600080fd5b506102326105b0366004613660565b612a87565b3480156105c157600080fd5b506102d66105d0366004613733565b612d47565b600080856001600160a01b03811633148015906105fb57506001600160a01b0381163014155b1561068657336000908152600260205260409020546001600160a01b03168061063f5760405162461bcd60e51b815260040161063690614308565b60405180910390fd5b6001600160a01b0380821660009081526003602090815260408083209386168352929052205460ff166106845760405162461bcd60e51b81526004016106369061418b565b505b6001600160a01b0386166106ac5760405162461bcd60e51b8152600401610636906140f1565b60006001600160a01b038916156106c357886106e5565b7f00000000000000000000000000000000000000000000000000000000000000005b90506106ef613385565b506001600160a01b0381166000908152600760209081526040918290208251808401909352546001600160801b03808216808552600160801b90920416918301919091521515806107b057506000826001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561077657600080fd5b505afa15801561078a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ae9190613a1f565b115b6107cc5760405162461bcd60e51b81526004016106369061401f565b85610824576107dd81886000612d64565b95506103e86108026107ee88612dfe565b60208401516001600160801b031690612e2b565b6001600160801b0316101561081f57600080945094505050610a8e565b610833565b61083081876001612e60565b96505b6001600160a01b0389163014158061085257506001600160a01b038a16155b8061087a57508051610876906001600160801b031661087084612edf565b90612f87565b8711155b6108965760405162461bcd60e51b815260040161063690613edd565b6001600160a01b038083166000908152600660209081526040808320938c16835292905220546108c69087612faa565b6001600160a01b038084166000908152600660209081526040808320938d168352929052205561090c6108f887612dfe565b60208301516001600160801b031690612e2b565b6001600160801b0316602082015261093761092688612dfe565b82516001600160801b031690612e2b565b6001600160801b0390811682526001600160a01b03808416600090815260076020908152604090912084518154928601518516600160801b029085166001600160801b031990931692909217909316179091558a16610a09577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0886040518263ffffffff1660e01b81526004016000604051808303818588803b1580156109eb57600080fd5b505af11580156109ff573d6000803e3d6000fd5b5050505050610a2e565b6001600160a01b0389163014610a2e57610a2e6001600160a01b0383168a308a612fcd565b876001600160a01b0316896001600160a01b0316836001600160a01b03167fb2346165e782564f17f5b7e555c21f4fd96fbc93458572bf0113ea35a958fc558a8a604051610a7d92919061450c565b60405180910390a486945085935050505b509550959350505050565b6000546001600160a01b03163314610ac35760405162461bcd60e51b815260040161063690614156565b8115610b5e576001600160a01b038316151580610add5750805b610af95760405162461bcd60e51b815260040161063690613ff0565b600080546040516001600160a01b03808716939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055610b7a565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b846001600160a01b0381163314801590610ba257506001600160a01b0381163014155b15610c2457336000908152600260205260409020546001600160a01b031680610bdd5760405162461bcd60e51b815260040161063690614308565b6001600160a01b0380821660009081526003602090815260408083209386168352929052205460ff16610c225760405162461bcd60e51b81526004016106369061418b565b505b600085858281610c3057fe5b9050602002016020810190610c45919061345f565b6001600160a01b03161415610c6c5760405162461bcd60e51b8152600401610636906140ba565b600084815b81811015610dc8576000888883818110610c8757fe5b9050602002016020810190610c9c919061345f565b9050610d0b878784818110610cad57fe5b90506020020135600660008e6001600160a01b03166001600160a01b031681526020019081526020016000206000846001600160a01b03166001600160a01b0316815260200190815260200160002054612faa90919063ffffffff16565b6001600160a01b03808d16600090815260066020908152604080832093861683529290522055610d56878784818110610d4057fe5b9050602002013585612faa90919063ffffffff16565b9350806001600160a01b03168a6001600160a01b03168c6001600160a01b03167f6eabe333476233fd382224f233210cb808a7bc4c4de64f9d76628bf63c677b1a8a8a87818110610da357fe5b90506020020135604051610db79190613e08565b60405180910390a450600101610c71565b506001600160a01b03808a166000908152600660209081526040808320938c1683529290522054610df99083612f87565b6001600160a01b03998a1660009081526006602090815260408083209b909c16825299909952989097209790975550505050505050565b60046020526000908152604090205460ff1681565b60006001600160a01b038516610e6d5760405162461bcd60e51b81526004016106369061429c565b606085901b8215610edf5760008585604051610e8a929190613b72565b60405180910390209050604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528260148201526e5af43d82803e903d91602b57fd5bf360881b6028820152816037826000f593505050610f24565b604051733d602d80600a3d3981f3363d3d373d3d3d363d7360601b81528160148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f09250505b6001600160a01b038281166000818152600260205260409081902080546001600160a01b031916938a16939093179092559051631377d1f560e21b8152634ddf47d4903490610f799089908990600401613e87565b6000604051808303818588803b158015610f9257600080fd5b505af1158015610fa6573d6000803e3d6000fd5b5050505050816001600160a01b0316866001600160a01b03167fd62166f3c2149208e51788b1401cc356bf5da1fc6c7886a32e18570f57d88b3b8787604051610ff0929190613e87565b60405180910390a350949350505050565b6008602052600090815260409020546001600160a01b031681565b6000467f000000000000000000000000000000000000000000000000000000000000000081146110545761104f816130c6565b611076565b7f00000000000000000000000000000000000000000000000000000000000000005b91505090565b6000546001600160a01b031633146110a65760405162461bcd60e51b815260040161063690614156565b605f816001600160401b031611156110d05760405162461bcd60e51b815260040161063690614487565b6001600160a01b0382166000818152600a602052604090819020805467ffffffffffffffff60401b1916600160401b6001600160401b03861602179055517f7543af99b5602c06e62da0631b5308489a5ff859150105a623b6eb15e8deae0b9061113b90849061451a565b60405180910390a25050565b6001546001600160a01b03163381146111725760405162461bcd60e51b8152600401610636906141c2565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6007602052600090815260409020546001600160801b0380821691600160801b90041682565b6009602052600090815260409020546001600160a01b031681565b6001600160a01b03831660009081526007602090815260408083208151808301909252546001600160801b038082168352600160801b9091041691810191909152611261908484612e60565b949350505050565b61127161339c565b506001600160a01b038381166000818152600a60209081526040808320815160608101835290546001600160401b038082168352600160401b82041682850152600160801b90046001600160801b031681830190815294845260089092528083205493519051630c7e663b60e11b81529194939093169283916318fccc76916112fe9133906004016144d0565b602060405180830381600087803b15801561131857600080fd5b505af115801561132c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113509190613a1f565b90508015801561135e575084155b1561136b57505050610b7a565b6001600160a01b0386166000908152600760205260408120546001600160801b03169082131561142157816113a08282612faa565b91506113ab82612dfe565b6001600160a01b0389166000818152600760205260409081902080546001600160801b0319166001600160801b03949094169390931790925590517f911c9f20a03edabcbcbd18dca1174cce47a91b234ced7a5a3c60ba0d5b56c5d290611413908490613e08565b60405180910390a2506114ef565b60008212156114ef5760008290036114398282612f87565b915061144482612dfe565b6001600160a01b038916600090815260076020526040902080546001600160801b0319166001600160801b039290921691909117905561149a61148682612dfe565b60408701516001600160801b03169061313d565b6001600160801b0316604080870191909152516001600160a01b038916907f8f1f26eb9b6aa8689dbdd519ead1999d9c8819d4738e403b2003b18197d9cf97906114e5908490613e08565b60405180910390a2505b85156117ae576000606461151986602001516001600160401b03168461316c90919063ffffffff16565b8161152057fe5b0490508085604001516001600160801b0316101561165b57600061155a86604001516001600160801b031683612f8790919063ffffffff16565b9050861580159061156a57508681115b156115725750855b6115866001600160a01b038a1686836131a3565b6115a661159282612dfe565b60408801516001600160801b031690612e2b565b6001600160801b031660408088019190915251636939aaf560e01b81526001600160a01b03861690636939aaf5906115e2908490600401613e08565b600060405180830381600087803b1580156115fc57600080fd5b505af1158015611610573d6000803e3d6000fd5b50505050886001600160a01b03167fb18e7e4f6eac147a63a3bb6beb2d9039c88698623aff3efc4febbc20b0164ee58260405161164d9190613e08565b60405180910390a2506117ac565b8085604001516001600160801b031611156117ac57600061169261167e83612dfe565b60408801516001600160801b03169061313d565b6001600160801b0316905086158015906116ab57508681115b156116b35750855b604051632e1a7d4d60e01b81526000906001600160a01b03871690632e1a7d4d906116e2908590600401613e08565b602060405180830381600087803b1580156116fc57600080fd5b505af1158015611710573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117349190613a1f565b905061175661174282612dfe565b60408901516001600160801b03169061313d565b6001600160801b0316604080890191909152516001600160a01b038b16907f39aa22060f8dd4d291720311feedf3b72fef47c06c66ccf5c22b502c62e7550a906117a1908490613e08565b60405180910390a250505b505b5050506001600160a01b0384166000908152600a6020908152604091829020835181549285015193909401516001600160801b03908116600160801b026001600160401b03948516600160401b0267ffffffffffffffff60401b199590961667ffffffffffffffff1990941693909317939093169390931791909116179055505050565b6000546001600160a01b0316331461185c5760405162461bcd60e51b815260040161063690614156565b61186461339c565b506001600160a01b038281166000818152600a60209081526040808320815160608101835290546001600160401b038082168352600160401b8204811683860152600160801b9091046001600160801b0316828401529484526009909252909120548151919316911615806118eb5750826001600160a01b0316816001600160a01b031614155b15611975576001600160a01b03848116600090815260096020526040902080546001600160a01b03191691851691909117905561192c621275004201613299565b6001600160401b031682526040516001600160a01b0380851691908616907f6f7ccdf3f86039e5a1dcf6028bf7b4773cbf7a234716ba2e5392b12bb0f8558f90600090a3611c10565b81516001600160401b031615801590611998575081516001600160401b03164210155b6119b45760405162461bcd60e51b81526004016106369061411f565b6001600160a01b038481166000908152600860205260409020541615611b99576001600160a01b0380851660009081526008602052604080822054858201519151637f8661a160e01b815292931691637f8661a191611a15916004016144bc565b602060405180830381600087803b158015611a2f57600080fd5b505af1158015611a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a679190613a1f565b90506000811315611ade576001600160a01b03851660009081526007602052604090208190611a9690826132c2565b50856001600160a01b03167f911c9f20a03edabcbcbd18dca1174cce47a91b234ced7a5a3c60ba0d5b56c5d282604051611ad09190613e08565b60405180910390a250611b52565b6000811215611b52576001600160a01b03851660009081526007602052604081209082900390611b0e9082613306565b50856001600160a01b03167f8f1f26eb9b6aa8689dbdd519ead1999d9c8819d4738e403b2003b18197d9cf9782604051611b489190613e08565b60405180910390a2505b846001600160a01b03167f39aa22060f8dd4d291720311feedf3b72fef47c06c66ccf5c22b502c62e7550a8460400151604051611b8f91906144bc565b60405180910390a2505b6001600160a01b03808516600081815260086020908152604080832080548688166001600160a01b0319918216179091558388528782018490528484526009909252808320805490921690915551928616927f03e6352a885adc4cc54767592939c3b1bbd65685658c3beaaba66a888120e2179190a35b506001600160a01b03929092166000908152600a60209081526040918290208451815492860151939095015167ffffffffffffffff199092166001600160401b039586161767ffffffffffffffff60401b1916600160401b9590931694909402919091176001600160801b03908116600160801b91909216021790915550565b6000546001600160a01b03163314611cba5760405162461bcd60e51b815260040161063690614156565b6001600160a01b038216611ce05760405162461bcd60e51b815260040161063690613f14565b6001600160a01b03821660008181526004602052604090819020805460ff1916841515179055517f31a1e0eac44b54ac6c2a2efa87e92c83405ffcf33fceef02a7bca695130e26009061113b908490613dfd565b60405163d505accf60e01b81526001600160a01b0389169063d505accf90611d6c908a908a908a908a908a908a908a90600401613d09565b600060405180830381600087803b158015611d8657600080fd5b505af1158015611d9a573d6000803e3d6000fd5b505050505050505050505050565b60056020526000908152604090205481565b6000546001600160a01b031681565b600360209081526000928352604080842090915290825290205460ff1681565b600080856001600160a01b0381163314801590611e0f57506001600160a01b0381163014155b15611e9157336000908152600260205260409020546001600160a01b031680611e4a5760405162461bcd60e51b815260040161063690614308565b6001600160a01b0380821660009081526003602090815260408083209386168352929052205460ff16611e8f5760405162461bcd60e51b81526004016106369061418b565b505b6001600160a01b038616611eb75760405162461bcd60e51b8152600401610636906140f1565b60006001600160a01b03891615611ece5788611ef0565b7f00000000000000000000000000000000000000000000000000000000000000005b9050611efa613385565b506001600160a01b0381166000908152600760209081526040918290208251808401909352546001600160801b038082168452600160801b909104169082015285611f5257611f4b81886001612d64565b9550611f61565b611f5e81876000612e60565b96505b6001600160a01b038083166000908152600660209081526040808320938d1683529290522054611f919087612f87565b6001600160a01b038084166000908152600660209081526040808320938e1683529290522055611fd4611fc388612dfe565b82516001600160801b03169061313d565b6001600160801b03168152611fff611feb87612dfe565b60208301516001600160801b03169061313d565b6001600160801b0316602082018190526103e811158061202a575060208101516001600160801b0316155b6120465760405162461bcd60e51b815260040161063690613fb9565b6001600160a01b03828116600090815260076020908152604090912083518154928501516001600160801b03199093166001600160801b03918216178116600160801b91909316029190911790558a1661219a57604051632e1a7d4d60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690632e1a7d4d906120e6908a90600401613e08565b600060405180830381600087803b15801561210057600080fd5b505af1158015612114573d6000803e3d6000fd5b505050506000886001600160a01b03168860405161213190613bc5565b60006040518083038185875af1925050503d806000811461216e576040519150601f19603f3d011682016040523d82523d6000602084013e612173565b606091505b50509050806121945760405162461bcd60e51b815260040161063690614419565b506121ae565b6121ae6001600160a01b03831689896131a3565b876001600160a01b0316896001600160a01b0316836001600160a01b03167fad9ab9ee6953d4d177f4a03b3a3ac3178ffcb9816319f348060194aa76b144868a8a604051610a7d92919061450c565b3360008181526002602052604080822080546001600160a01b03191684179055517fdfb44ffabf0d3a8f650d3ce43eff98f6d050e7ea1a396d5794f014e7dadabacb9190a2565b6002602052600090815260409020546001600160a01b031681565b6001600160a01b0385166122855760405162461bcd60e51b8152600401610636906142d1565b81158015612291575080155b801561229e575060ff8316155b15612340576001600160a01b03861633146122cb5760405162461bcd60e51b815260040161063690613f4b565b6001600160a01b0386811660009081526002602052604090205416156123035760405162461bcd60e51b81526004016106369061422e565b6001600160a01b03851660009081526004602052604090205460ff1661233b5760405162461bcd60e51b8152600401610636906143e2565b6124fa565b6001600160a01b0386166123665760405162461bcd60e51b815260040161063690614374565b600060405180604001604052806002815260200161190160f01b81525061238b61101c565b7f1962bc9f5484cb7a998701b81090e966ee1fce5771af884cceee7c081b14ade2876123d7577fb426802f1f7dc850a7b6b38805edea2442f3992878a9ab985abfe8091d95d0b16123f9565b7f422ac5323fe049241dee67716229a1cc1bc7b313b23dfe3ef6d42ab177a3b2845b6001600160a01b038b1660009081526005602090815260409182902080546001810190915591516124339493928e928e928e929101613e11565b6040516020818303038152906040528051906020012060405160200161245b93929190613b9e565b6040516020818303038152906040528051906020012090506000600182868686604051600081526020016040526040516124989493929190613e69565b6020604051602081039080840390855afa1580156124ba573d6000803e3d6000fd5b505050602060405103519050876001600160a01b0316816001600160a01b0316146124f75760405162461bcd60e51b815260040161063690614265565b50505b6001600160a01b038581166000818152600360209081526040808320948b168084529490915290819020805460ff1916881515179055517f5f6ebb64ba012a851c6f014e6cad458ddf213d1512049b31cd06365c2b0592579061255e908890613dfd565b60405180910390a3505050505050565b606080836001600160401b038111801561258757600080fd5b506040519080825280602002602001820160405280156125b1578160200160208202803683370190505b509150836001600160401b03811180156125ca57600080fd5b506040519080825280602002602001820160405280156125fe57816020015b60608152602001906001900390816125e95790505b50905060005b848110156126f557600060603088888581811061261d57fe5b905060200281019061262f919061455a565b60405161263d929190613b72565b600060405180830381855af49150503d8060008114612678576040519150601f19603f3d011682016040523d82523d6000602084013e61267d565b606091505b5091509150818061268c575085155b61269582613325565b906126b35760405162461bcd60e51b81526004016106369190613e9b565b50818584815181106126c157fe5b602002602001019015159081151581525050808484815181106126e057fe5b60209081029190910101525050600101612604565b50935093915050565b6001600160a01b03831660009081526007602090815260408083208151808301909252546001600160801b038082168352600160801b9091041691810191909152611261908484612d64565b600a602052600090815260409020546001600160401b0380821691600160401b810490911690600160801b90046001600160801b031683565b6001546001600160a01b031681565b6000620186a06127a385603261316c565b816127aa57fe5b0490506127c16001600160a01b03861687866131a3565b6040516323e30c8b60e01b81526001600160a01b038816906323e30c8b906127f79033908990899087908a908a90600401613ca0565b600060405180830381600087803b15801561281157600080fd5b505af1158015612825573d6000803e3d6000fd5b5050505061285c61283582612dfe565b6001600160a01b0387166000908152600760205260409020906001600160801b03166132c2565b61286586612edf565b10156128835760405162461bcd60e51b8152600401610636906143ab565b856001600160a01b0316856001600160a01b0316886001600160a01b03167f3be9b85936d5d30a1655ea116a17ee3d827b2cd428cc026ce5bf2ac46a22320487856040516128d292919061450c565b60405180910390a450505050505050565b826001600160a01b038116331480159061290657506001600160a01b0381163014155b1561298857336000908152600260205260409020546001600160a01b0316806129415760405162461bcd60e51b815260040161063690614308565b6001600160a01b0380821660009081526003602090815260408083209386168352929052205460ff166129865760405162461bcd60e51b81526004016106369061418b565b505b6001600160a01b0383166129ae5760405162461bcd60e51b8152600401610636906140f1565b6001600160a01b038086166000908152600660209081526040808320938816835292905220546129de9083612f87565b6001600160a01b03868116600090815260066020908152604080832089851684529091528082209390935590851681522054612a1a9083612faa565b6001600160a01b0380871660008181526006602090815260408083208986168085529252918290209490945551918716917f6eabe333476233fd382224f233210cb808a7bc4c4de64f9d76628bf63c677b1a90612a78908790613e08565b60405180910390a45050505050565b6060856001600160401b0381118015612a9f57600080fd5b50604051908082528060200260200182016040528015612ac9578160200160208202803683370190505b5090508560005b81811015612b98576000878783818110612ae657fe5b905060200201359050620186a0612b0760328361316c90919063ffffffff16565b81612b0e57fe5b04848381518110612b1b57fe5b602002602001018181525050612b8f8c8c84818110612b3657fe5b9050602002016020810190612b4b919061345f565b898985818110612b5757fe5b905060200201358c8c86818110612b6a57fe5b9050602002016020810190612b7f919061345f565b6001600160a01b031691906131a3565b50600101612ad0565b5060405163d9d1762360e01b81526001600160a01b038c169063d9d1762390612bd39033908c908c908c908c908a908d908d90600401613bdc565b600060405180830381600087803b158015612bed57600080fd5b505af1158015612c01573d6000803e3d6000fd5b5050505060005b81811015611d9a576000898983818110612c1e57fe5b9050602002016020810190612c33919061345f565b9050612c7b612c54858481518110612c4757fe5b6020026020010151612dfe565b6001600160a01b0383166000908152600760205260409020906001600160801b03166132c2565b612c8482612edf565b1015612ca25760405162461bcd60e51b8152600401610636906143ab565b8b8b83818110612cae57fe5b9050602002016020810190612cc3919061345f565b6001600160a01b0316816001600160a01b03168e6001600160a01b03167f3be9b85936d5d30a1655ea116a17ee3d827b2cd428cc026ce5bf2ac46a2232048b8b87818110612d0d57fe5b90506020020135888781518110612d2057fe5b6020026020010151604051612d3692919061450c565b60405180910390a450600101612c08565b600660209081526000928352604080842090915290825290205481565b82516000906001600160801b0316612d7d575081612df7565b835160208501516001600160801b0391821691612d9c9186911661316c565b81612da357fe5b049050818015612de757508284602001516001600160801b0316612ddd86600001516001600160801b03168461316c90919063ffffffff16565b81612de457fe5b04105b15612df757611261816001612faa565b9392505050565b60006001600160801b03821115612e275760405162461bcd60e51b81526004016106369061404c565b5090565b8181016001600160801b038083169082161015612e5a5760405162461bcd60e51b815260040161063690614083565b92915050565b600083602001516001600160801b031660001415612e7f575081612df7565b602084015184516001600160801b0391821691612e9e9186911661316c565b81612ea557fe5b049050818015612de757508284600001516001600160801b0316612ddd86602001516001600160801b03168461316c90919063ffffffff16565b6001600160a01b0381166000818152600a60205260408082205490516370a0823160e01b81529192612e5a92600160801b9092046001600160801b0316916370a0823190612f31903090600401613bc8565b60206040518083038186803b158015612f4957600080fd5b505afa158015612f5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f819190613a1f565b90612faa565b80820382811115612e5a5760405162461bcd60e51b815260040161063690613eae565b81810181811015612e5a5760405162461bcd60e51b815260040161063690614083565b60006060856001600160a01b03166323b872dd60e01b868686604051602401612ff893929190613ce5565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516130369190613b82565b6000604051808303816000865af19150503d8060008114613073576040519150601f19603f3d011682016040523d82523d6000602084013e613078565b606091505b50915091508180156130a25750805115806130a25750808060200190518101906130a29190613644565b6130be5760405162461bcd60e51b81526004016106369061433f565b505050505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fd7df266aff736d415a9dc14b4158201d612e70d75b9c7f4e375ccfd20aa5166f833060405160200161311f9493929190613e45565b6040516020818303038152906040528051906020012090505b919050565b8082036001600160801b038084169082161115612e5a5760405162461bcd60e51b815260040161063690613eae565b60008115806131875750508082028282828161318457fe5b04145b612e5a5760405162461bcd60e51b815260040161063690614450565b60006060846001600160a01b031663a9059cbb60e01b85856040516024016131cc929190613d4a565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252905161320a9190613b82565b6000604051808303816000865af19150503d8060008114613247576040519150601f19603f3d011682016040523d82523d6000602084013e61324c565b606091505b50915091508180156132765750805115806132765750808060200190518101906132769190613644565b6132925760405162461bcd60e51b815260040161063690613f82565b5050505050565b60006001600160401b03821115612e275760405162461bcd60e51b8152600401610636906141f7565b60006132e16132d083612dfe565b84546001600160801b031690612e2b565b83546001600160801b0319166001600160801b03919091169081179093555090919050565b60006132e161331483612dfe565b84546001600160801b03169061313d565b606060448251101561336b575060408051808201909152601d81527f5472616e73616374696f6e2072657665727465642073696c656e746c790000006020820152613138565b60048201915081806020019051810190612e5a9190613a37565b604080518082019091526000808252602082015290565b604080516060810182526000808252602082018190529181019190915290565b60008083601f8401126133cd578182fd5b5081356001600160401b038111156133e3578182fd5b60208301915083602080830285010111156133fd57600080fd5b9250929050565b60008083601f840112613415578182fd5b5081356001600160401b0381111561342b578182fd5b6020830191508360208285010111156133fd57600080fd5b8035612e5a816145da565b803560ff81168114612e5a57600080fd5b600060208284031215613470578081fd5b8135612df7816145da565b6000806040838503121561348d578081fd5b8235613498816145da565b915060208301356134a8816145da565b809150509250929050565b60008060008060008060c087890312156134cb578182fd5b86356134d6816145da565b955060208701356134e6816145da565b945060408701356134f6816145f2565b9350613505886060890161344e565b92506080870135915060a087013590509295509295509295565b60008060408385031215613531578182fd5b823561353c816145da565b915060208301356134a8816145f2565b600080600060608486031215613560578283fd5b833561356b816145da565b9250602084013561357b816145f2565b9150604084013561358b816145f2565b809150509250925092565b600080600080606085870312156135ab578384fd5b84356135b6816145da565b935060208501356001600160401b038111156135d0578384fd5b6135dc87828801613404565b90945092505060408501356135f0816145f2565b939692955090935050565b60008060006040848603121561360f578081fd5b83356001600160401b03811115613624578182fd5b613630868287016133bc565b909450925050602084013561358b816145f2565b600060208284031215613655578081fd5b8151612df7816145f2565b600080600080600080600080600060a08a8c03121561367d578687fd5b8935613688816145da565b985060208a01356001600160401b03808211156136a3578889fd5b6136af8d838e016133bc565b909a50985060408c01359150808211156136c7578485fd5b6136d38d838e016133bc565b909850965060608c01359150808211156136eb578485fd5b6136f78d838e016133bc565b909650945060808c013591508082111561370f578384fd5b5061371c8c828d01613404565b915080935050809150509295985092959850929598565b6000806040838503121561348d578182fd5b6000806000806080858703121561375a578182fd5b8435613765816145da565b93506020850135613775816145da565b92506040850135613785816145da565b9396929550929360600135925050565b600080600080600060a086880312156137ac578283fd5b85356137b7816145da565b945060208601356137c7816145da565b935060408601356137d7816145da565b94979396509394606081013594506080013592915050565b600080600080600080600080610100898b03121561380b578182fd5b8835613816816145da565b97506020890135613826816145da565b96506040890135613836816145da565b955060608901359450608089013593506138538a60a08b0161344e565b925060c0890135915060e089013590509295985092959890939650565b60008060008060008060808789031215613888578384fd5b8635613893816145da565b955060208701356138a3816145da565b945060408701356001600160401b03808211156138be578586fd5b6138ca8a838b016133bc565b909650945060608901359150808211156138e2578384fd5b506138ef89828a016133bc565b979a9699509497509295939492505050565b600080600060608486031215613915578081fd5b8335613920816145da565b92506020840135613930816145f2565b929592945050506040919091013590565b600080600060608486031215613955578081fd5b8335613960816145da565b925060208401359150604084013561358b816145f2565b60008060408385031215613989578182fd5b8235613994816145da565b915060208301356001600160401b03811681146134a8578182fd5b60008060008060008060a087890312156139c7578384fd5b86356139d2816145da565b955060208701356139e2816145da565b945060408701356139f2816145da565b93506060870135925060808701356001600160401b03811115613a13578283fd5b6138ef89828a01613404565b600060208284031215613a30578081fd5b5051919050565b600060208284031215613a48578081fd5b81516001600160401b0380821115613a5e578283fd5b818401915084601f830112613a71578283fd5b815181811115613a7f578384fd5b604051601f8201601f191681016020018381118282101715613a9f578586fd5b604052818152838201602001871015613ab6578485fd5b613ac78260208301602087016145aa565b9695505050505050565b6001600160a01b0316815260200190565b6000815180845260208085019450808401835b83811015613b1157815187529582019590820190600101613af5565b509495945050505050565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b60008151808452613b5e8160208601602086016145aa565b601f01601f19169290920160200192915050565b6000828483379101908152919050565b60008251613b948184602087016145aa565b9190910192915050565b60008451613bb08184602089016145aa565b91909101928352506020820152604001919050565b90565b6001600160a01b0391909116815260200190565b600060a082016001600160a01b038b168352602060a08185015281613c018b84613e08565b90508b9250835b8b811015613c3357828401613c2683613c218388613443565b613ad1565b9094509150600101613c08565b508481036040860152613c468982613e08565b9250506001600160fb1b03881115613c5c578283fd5b8702613c6981838b61459e565b018281036060840152613c7c8187613ae2565b90508281036080840152613c91818587613b1c565b9b9a5050505050505050505050565b60006001600160a01b03808916835280881660208401525085604083015284606083015260a06080830152613cd960a083018486613b1c565b98975050505050505050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0397881681529590961660208601526040850193909352606084019190915260ff16608083015260a082015260c081019190915260e00190565b6001600160a01b03929092168252602082015260400190565b604080825283519082018190526000906020906060840190828701845b82811015613d9e578151151584529284019290840190600101613d80565b50505083810382850152808551613db58184613e08565b91508192508381028201848801865b83811015613dee578583038552613ddc838351613b46565b94870194925090860190600101613dc4565b50909998505050505050505050565b901515815260200190565b90815260200190565b95865260208601949094526001600160a01b039283166040860152911660608401521515608083015260a082015260c00190565b938452602084019290925260408301526001600160a01b0316606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b600060208252611261602083018486613b1c565b600060208252612df76020830184613b46565b602080825260159082015274426f72696e674d6174683a20556e646572666c6f7760581b604082015260600190565b60208082526017908201527f42656e746f426f783a20536b696d20746f6f206d756368000000000000000000604082015260600190565b6020808252601c908201527f4d6173746572434d67723a2043616e6e6f7420617070726f7665203000000000604082015260600190565b6020808252601b908201527f4d6173746572434d67723a2075736572206e6f742073656e6465720000000000604082015260600190565b6020808252601c908201527f426f72696e6745524332303a205472616e73666572206661696c656400000000604082015260600190565b60208082526016908201527f42656e746f426f783a2063616e6e6f7420656d70747900000000000000000000604082015260600190565b6020808252601590820152744f776e61626c653a207a65726f206164647265737360581b604082015260600190565b60208082526013908201527242656e746f426f783a204e6f20746f6b656e7360681b604082015260600190565b6020808252601c908201527f426f72696e674d6174683a2075696e74313238204f766572666c6f7700000000604082015260600190565b60208082526018908201527f426f72696e674d6174683a20416464204f766572666c6f770000000000000000604082015260600190565b60208082526017908201527f42656e746f426f783a20746f5b305d206e6f7420736574000000000000000000604082015260600190565b60208082526014908201527310995b9d1bd09bde0e881d1bc81b9bdd081cd95d60621b604082015260600190565b6020808252601a908201527f53747261746567794d616e616765723a20546f6f206561726c79000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f42656e746f426f783a205472616e73666572206e6f7420617070726f76656400604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604082015260600190565b6020808252601b908201527f426f72696e674d6174683a2075696e743634204f766572666c6f770000000000604082015260600190565b60208082526019908201527f4d6173746572434d67723a207573657220697320636c6f6e6500000000000000604082015260600190565b6020808252601d908201527f4d6173746572434d67723a20496e76616c6964205369676e6174757265000000604082015260600190565b6020808252818101527f426f72696e67466163746f72793a204e6f206d6173746572436f6e7472616374604082015260600190565b6020808252601b908201527f4d6173746572434d67723a206d617374657243206e6f74207365740000000000604082015260600190565b6020808252601b908201527f42656e746f426f783a206e6f206d6173746572436f6e74726163740000000000604082015260600190565b6020808252818101527f426f72696e6745524332303a205472616e7366657246726f6d206661696c6564604082015260600190565b6020808252601c908201527f4d6173746572434d67723a20557365722063616e6e6f74206265203000000000604082015260600190565b60208082526016908201527f42656e746f426f783a2057726f6e6720616d6f756e7400000000000000000000604082015260600190565b6020808252601b908201527f4d6173746572434d67723a206e6f742077686974656c69737465640000000000604082015260600190565b6020808252601d908201527f42656e746f426f783a20455448207472616e73666572206661696c6564000000604082015260600190565b60208082526018908201527f426f72696e674d6174683a204d756c204f766572666c6f770000000000000000604082015260600190565b6020808252818101527f53747261746567794d616e616765723a2054617267657420746f6f2068696768604082015260600190565b6001600160801b0391909116815260200190565b6001600160801b039290921682526001600160a01b0316602082015260400190565b6001600160801b0392831681529116602082015260400190565b918252602082015260400190565b6001600160401b0391909116815260200190565b6001600160401b0393841681529190921660208201526001600160801b03909116604082015260600190565b6000808335601e19843603018112614570578283fd5b8301803591506001600160401b03821115614589578283fd5b6020019150368190038213156133fd57600080fd5b82818337506000910152565b60005b838110156145c55781810151838201526020016145ad565b838111156145d4576000848401525b50505050565b6001600160a01b03811681146145ef57600080fd5b50565b80151581146145ef57600080fdfea2646970667358221220c247bae85ef8f491a099f015dce2575e98f80290d6e22826bd2ea3c2709a772664736f6c634300060c00330000000000000000000000004200000000000000000000000000000000000006

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

0000000000000000000000004200000000000000000000000000000000000006

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

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


Deployed ByteCode Sourcemap

30709:23531:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36799:2885;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;15524:506;;;;;;;;;;-1:-1:-1;15524:506:0;;;;;:::i;:::-;;:::i;:::-;;43677:742;;;;;;;;;;-1:-1:-1;43677:742:0;;;;;:::i;:::-;;:::i;20495:58::-;;;;;;;;;;-1:-1:-1;20495:58:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;18062:1704::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;33272:44::-;;;;;;;;;;-1:-1:-1;33272:44:0;;;;;:::i;:::-;;:::i;21848:268::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47959:377::-;;;;;;;;;;-1:-1:-1;47959:377:0;;;;;:::i;:::-;;:::i;16112:340::-;;;;;;;;;;;;;:::i;33224:39::-;;;;;;;;;;-1:-1:-1;33224:39:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;33323:51::-;;;;;;;;;;-1:-1:-1;33323:51:0;;;;;:::i;:::-;;:::i;36049:201::-;;;;;;;;;;-1:-1:-1;36049:201:0;;;;;:::i;:::-;;:::i;51591:2477::-;;;;;;;;;;-1:-1:-1;51591:2477:0;;;;;:::i;:::-;;:::i;49149:1691::-;;;;;;;;;;-1:-1:-1;49149:1691:0;;;;;:::i;:::-;;:::i;22484:350::-;;;;;;;;;;-1:-1:-1;22484:350:0;;;;;:::i;:::-;;:::i;29021:280::-;;;;;;;;;;-1:-1:-1;29021:280:0;;;;;:::i;:::-;;:::i;20618:41::-;;;;;;;;;;-1:-1:-1;20618:41:0;;;;;:::i;:::-;;:::i;14670:20::-;;;;;;;;;;;;;:::i;20325:74::-;;;;;;;;;;-1:-1:-1;20325:74:0;;;;;:::i;:::-;;:::i;40084:2157::-;;;;;;;;;;-1:-1:-1;40084:2157:0;;;;;:::i;:::-;;:::i;22249:142::-;;;;;;;;;;;;;:::i;17471:51::-;;;;;;;;;;-1:-1:-1;17471:51:0;;;;;:::i;:::-;;:::i;23603:2685::-;;;;;;;;;;-1:-1:-1;23603:2685:0;;;;;:::i;:::-;;:::i;28097:530::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;35549:197::-;;;;;;;;;;-1:-1:-1;35549:197:0;;;;;:::i;:::-;;:::i;33381:51::-;;;;;;;;;;-1:-1:-1;33381:51:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;14697:27::-;;;;;;;;;;;;;:::i;45183:564::-;;;;;;;;;;-1:-1:-1;45183:564:0;;;;;:::i;:::-;;:::i;42753:473::-;;;;;;;;;;-1:-1:-1;42753:473:0;;;;;:::i;:::-;;:::i;46654:956::-;;;;;;;;;;-1:-1:-1;46654:956:0;;;;;:::i;:::-;;:::i;33116:63::-;;;;;;;;;;-1:-1:-1;33116:63:0;;;;;:::i;:::-;;:::i;36799:2885::-;36978:17;;36963:4;-1:-1:-1;;;;;34321:18:0;;34329:10;34321:18;;;;:43;;-1:-1:-1;;;;;;34343:21:0;;34359:4;34343:21;;34321:43;34317:366;;;34474:10;34432:22;34457:28;;;:16;:28;;;;;;-1:-1:-1;;;;;34457:28:0;34508;34500:68;;;;-1:-1:-1;;;34500:68:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;34591:38:0;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;34583:88;;;;-1:-1:-1;;;34583:88:0;;;;;;;:::i;:::-;34317:366;;-1:-1:-1;;;;;37053:16:0;::::1;37045:49;;;;-1:-1:-1::0;;;37045:49:0::1;;;;;;;:::i;:::-;37167:12;-1:-1:-1::0;;;;;37182:22:0;::::1;::::0;:43:::1;;37219:6;37182:43;;;37207:9;37182:43;37167:58;;37236:19;;:::i;:::-;-1:-1:-1::0;;;;;;37258:13:0;::::1;;::::0;;;:6:::1;:13;::::0;;;;;;;;37236:35;;;;::::1;::::0;;;;-1:-1:-1;;;;;37236:35:0;;::::1;::::0;;;-1:-1:-1;;;37236:35:0;;::::1;;::::0;;::::1;::::0;;;;37414:18;::::1;::::0;:45:::1;;;37458:1;37436:5;-1:-1:-1::0;;;;;37436:17:0::1;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:23;37414:45;37406:77;;;;-1:-1:-1::0;;;37406:77:0::1;;;;;;;:::i;:::-;37498:10:::0;37494:605:::1;;37624:27;:5:::0;37637:6;37645:5:::1;37624:12;:27::i;:::-;37616:35;;32923:4;37790:29;37805:13;:5;:11;:13::i;:::-;37790:10;::::0;::::1;::::0;-1:-1:-1;;;;;37790:14:0::1;::::0;::::1;:29::i;:::-;-1:-1:-1::0;;;;;37790:53:0::1;;37786:107;;;37872:1;37875::::0;37864:13:::1;;;;;;;;37786:107;37494:605;;;38059:28;:5:::0;38075;38082:4:::1;38059:15;:28::i;:::-;38050:37;;37494:605;-1:-1:-1::0;;;;;38419:21:0;::::1;38435:4;38419:21;;::::0;:47:::1;;-1:-1:-1::0;;;;;;38444:22:0;::::1;::::0;38419:47:::1;:102;;;-1:-1:-1::0;38507:13:0;;38480:41:::1;::::0;-1:-1:-1;;;;;38480:41:0::1;:22;38496:5:::0;38480:15:::1;:22::i;:::-;:26:::0;::::1;:41::i;:::-;38470:6;:51;;38419:102;38397:175;;;;-1:-1:-1::0;;;38397:175:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;38608:16:0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:20;;::::1;::::0;;;;;;;:31:::1;::::0;38633:5;38608:24:::1;:31::i;:::-;-1:-1:-1::0;;;;;38585:16:0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:20;;::::1;::::0;;;;;;:54;38663:29:::1;38678:13;:5:::0;:11:::1;:13::i;:::-;38663:10;::::0;::::1;::::0;-1:-1:-1;;;;;38663:14:0::1;::::0;::::1;:29::i;:::-;-1:-1:-1::0;;;;;38650:42:0::1;:10;::::0;::::1;:42:::0;38719:33:::1;38737:14;:6:::0;:12:::1;:14::i;:::-;38719:13:::0;;-1:-1:-1;;;;;38719:17:0::1;::::0;::::1;:33::i;:::-;-1:-1:-1::0;;;;;38703:49:0;;::::1;::::0;;-1:-1:-1;;;;;38763:13:0;;::::1;38703;38763::::0;;;:6:::1;:13;::::0;;;;;;;:21;;;;;;::::1;::::0;;::::1;-1:-1:-1::0;;;38763:21:0::1;::::0;;::::1;-1:-1:-1::0;;;;;;38763:21:0;;::::1;::::0;;;::::1;::::0;;::::1;;::::0;;;38899:22;::::1;38895:668;;39192:9;-1:-1:-1::0;;;;;39178:33:0::1;;39219:6;39178:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;38895:668;;;-1:-1:-1::0;;;;;39250:21:0;::::1;39266:4;39250:21;39246:317;;39500:51;-1:-1:-1::0;;;;;39500:22:0;::::1;39523:4:::0;39537::::1;39544:6:::0;39500:22:::1;:51::i;:::-;39602:2;-1:-1:-1::0;;;;;39578:42:0::1;39596:4;-1:-1:-1::0;;;;;39578:42:0::1;39589:5;-1:-1:-1::0;;;;;39578:42:0::1;;39606:6;39614:5;39578:42;;;;;;;:::i;:::-;;;;;;;;39643:6;39631:18;;39671:5;39660:16;;34693:1;;;36799:2885:::0;;;;;;;;;:::o;15524:506::-;16580:5;;-1:-1:-1;;;;;16580:5:0;16566:10;:19;16558:64;;;;-1:-1:-1;;;16558:64:0;;;;;;;:::i;:::-;15663:6:::1;15659:364;;;-1:-1:-1::0;;;;;15717:22:0;::::1;::::0;::::1;::::0;:34:::1;;;15743:8;15717:34;15709:68;;;;-1:-1:-1::0;;;15709:68:0::1;;;;;;;:::i;:::-;15844:5;::::0;;15823:37:::1;::::0;-1:-1:-1;;;;;15823:37:0;;::::1;::::0;15844:5;::::1;::::0;15823:37:::1;::::0;::::1;15875:5;:16:::0;;-1:-1:-1;;;;;15875:16:0;::::1;-1:-1:-1::0;;;;;;15875:16:0;;::::1;;::::0;;;;15906:25;;;;::::1;::::0;;15659:364:::1;;;15988:12;:23:::0;;-1:-1:-1;;;;;;15988:23:0::1;-1:-1:-1::0;;;;;15988:23:0;::::1;;::::0;;15659:364:::1;15524:506:::0;;;:::o;43677:742::-;43840:4;-1:-1:-1;;;;;34321:18:0;;34329:10;34321:18;;;;:43;;-1:-1:-1;;;;;;34343:21:0;;34359:4;34343:21;;34321:43;34317:366;;;34474:10;34432:22;34457:28;;;:16;:28;;;;;;-1:-1:-1;;;;;34457:28:0;34508;34500:68;;;;-1:-1:-1;;;34500:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;34591:38:0;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;34583:88;;;;-1:-1:-1;;;34583:88:0;;;;;;;:::i;:::-;34317:366;;43902:1:::1;43884:3:::0;;43902:1;43884:6;::::1;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;43884:20:0::1;;;43876:56;;;;-1:-1:-1::0;;;43876:56:0::1;;;;;;;:::i;:::-;44005:19;44049:3:::0;44005:19;44070:267:::1;44094:3;44090:1;:7;44070:267;;;44119:10;44132:3;;44136:1;44132:6;;;;;;;;;;;;;;;;;;;;:::i;:::-;44119:19;;44176:35;44201:6;;44208:1;44201:9;;;;;;;;;;;;;44176;:16;44186:5;-1:-1:-1::0;;;;;44176:16:0::1;-1:-1:-1::0;;;;;44176:16:0::1;;;;;;;;;;;;:20;44193:2;-1:-1:-1::0;;;;;44176:20:0::1;-1:-1:-1::0;;;;;44176:20:0::1;;;;;;;;;;;;;:24;;:35;;;;:::i;:::-;-1:-1:-1::0;;;;;44153:16:0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:20;;::::1;::::0;;;;;;:58;44240:26:::1;44256:6:::0;;44263:1;44256:9;;::::1;;;;;;;;;;;44240:11;:15;;:26;;;;:::i;:::-;44226:40;;44311:2;-1:-1:-1::0;;;;;44286:39:0::1;44305:4;-1:-1:-1::0;;;;;44286:39:0::1;44298:5;-1:-1:-1::0;;;;;44286:39:0::1;;44315:6;;44322:1;44315:9;;;;;;;;;;;;;44286:39;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;44099:3:0::1;;44070:267;;;-1:-1:-1::0;;;;;;44372:16:0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;;:39:::1;::::0;44399:11;44372:26:::1;:39::i;:::-;-1:-1:-1::0;;;;;44347:16:0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;;::::1;::::0;;;;;;;;;;:64;;;;-1:-1:-1;;;;;;;43677:742:0:o;20495:58::-;;;;;;;;;;;;;;;:::o;18062:1704::-;18198:20;-1:-1:-1;;;;;18239:28:0;;18231:73;;;;-1:-1:-1;;;18231:73:0;;;;;;;:::i;:::-;18337:23;;;;18433:1134;;;;18576:12;18601:4;;18591:15;;;;;;;:::i;:::-;;;;;;;;18576:30;;18790:4;18784:11;-1:-1:-1;;;18820:5:0;18813:81;18937:11;18930:4;18923:5;18919:16;18912:37;-1:-1:-1;;;18985:4:0;18978:5;18974:16;18967:92;19117:4;19111;19104:5;19101:1;19093:29;19077:45;;;18752:385;;;;19216:4;19210:11;-1:-1:-1;;;19246:5:0;19239:81;19363:11;19356:4;19349:5;19345:16;19338:37;-1:-1:-1;;;19411:4:0;19404:5;19400:16;19393:92;19536:4;19529:5;19526:1;19519:22;19503:38;;;19178:378;-1:-1:-1;;;;;19577:30:0;;;;;;;:16;:30;;;;;;;:47;;-1:-1:-1;;;;;;19577:47:0;;;;;;;;;;;19637:58;;-1:-1:-1;;;19637:58:0;;:34;;19679:9;;19637:58;;19690:4;;;;19637:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19745:12;-1:-1:-1;;;;;19713:45:0;19723:14;-1:-1:-1;;;;;19713:45:0;;19739:4;;19713:45;;;;;;;:::i;:::-;;;;;;;;18062:1704;;;;;;;:::o;33272:44::-;;;;;;;;;;;;-1:-1:-1;;;;;33272:44:0;;:::o;21848:268::-;21897:7;21978:9;22026:25;22015:36;;:93;;22074:34;22100:7;22074:25;:34::i;:::-;22015:93;;;22054:17;22015:93;22008:100;;;21848:268;:::o;47959:377::-;16580:5;;-1:-1:-1;;;;;16580:5:0;16566:10;:19;16558:64;;;;-1:-1:-1;;;16558:64:0;;;;;;;:::i;:::-;32858:2:::1;48091:17;-1:-1:-1::0;;;;;48091:42:0::1;;;48083:87;;;;-1:-1:-1::0;;;48083:87:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;48203:19:0;::::1;;::::0;;;:12:::1;:19;::::0;;;;;;:56;;-1:-1:-1;;;;48203:56:0::1;-1:-1:-1::0;;;;;;;;48203:56:0;::::1;;;::::0;;48275:53;::::1;::::0;::::1;::::0;48203:56;;48275:53:::1;:::i;:::-;;;;;;;;47959:377:::0;;:::o;16112:340::-;16180:12;;-1:-1:-1;;;;;16180:12:0;16232:10;:27;;16224:72;;;;-1:-1:-1;;;16224:72:0;;;;;;;:::i;:::-;16355:5;;;16334:42;;-1:-1:-1;;;;;16334:42:0;;;;16355:5;;;16334:42;;;16387:5;:21;;-1:-1:-1;;;;;16387:21:0;;;-1:-1:-1;;;;;;16387:21:0;;;;;;;16419:25;;;;;;;16112:340::o;33224:39::-;;;;;;;;;;;;-1:-1:-1;;;;;33224:39:0;;;;-1:-1:-1;;;33224:39:0;;;;:::o;33323:51::-;;;;;;;;;;;;-1:-1:-1;;;;;33323:51:0;;:::o;36049:201::-;-1:-1:-1;;;;;36203:13:0;;36167:14;36203:13;;;:6;:13;;;;;;;;:23;;;;;;;;;-1:-1:-1;;;;;36203:23:0;;;;;-1:-1:-1;;;36203:23:0;;;;;;;;;;;:39;;36227:5;36234:7;36203:23;:39::i;:::-;36194:48;36049:201;-1:-1:-1;;;;36049:201:0:o;51591:2477::-;51713:24;;:::i;:::-;-1:-1:-1;;;;;;51740:19:0;;;;;;;:12;:19;;;;;;;;51713:46;;;;;;;;;-1:-1:-1;;;;;51713:46:0;;;;;-1:-1:-1;;;51713:46:0;;;;;;;-1:-1:-1;;;51713:46:0;;-1:-1:-1;;;;;51713:46:0;;;;;;;51792:15;;;51713:46;51792:15;;;;;;;51859:12;;51841:43;;-1:-1:-1;;;51841:43:0;;51713:46;;51792:15;;;;;;;51841:17;;:43;;51873:10;;51841:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51818:66;-1:-1:-1;51899:18:0;;:30;;;;;51922:7;51921:8;51899:30;51895:69;;;51946:7;;;;;51895:69;-1:-1:-1;;;;;51999:13:0;;51976:20;51999:13;;;:6;:13;;;;;:21;-1:-1:-1;;;;;51999:21:0;;52037:17;;52033:783;;;52093:13;52137:21;:12;52093:13;52137:16;:21::i;:::-;52122:36;;52197:20;:12;:18;:20::i;:::-;-1:-1:-1;;;;;52173:13:0;;;;;;:6;:13;;;;;;;:44;;-1:-1:-1;;;;;;52173:44:0;-1:-1:-1;;;;;52173:44:0;;;;;;;;;;;52237:29;;;;;;52262:3;;52237:29;:::i;:::-;;;;;;;;52033:783;;;;52304:1;52288:13;:17;52284:532;;;52551:11;52573:14;;;52618:21;:12;52573:14;52618:16;:21::i;:::-;52603:36;;52678:20;:12;:18;:20::i;:::-;-1:-1:-1;;;;;52654:13:0;;;;;;:6;:13;;;;;:44;;-1:-1:-1;;;;;;52654:44:0;-1:-1:-1;;;;;52654:44:0;;;;;;;;;;52728:29;52745:11;:3;:9;:11::i;:::-;52728:12;;;;-1:-1:-1;;;;;52728:16:0;;;:29::i;:::-;-1:-1:-1;;;;;52713:44:0;:12;;;;:44;;;;52777:27;-1:-1:-1;;;;;52777:27:0;;;;;;;52800:3;;52777:27;:::i;:::-;;;;;;;;52284:532;;52832:7;52828:1194;;;52856:21;52922:3;52880:39;52897:4;:21;;;-1:-1:-1;;;;;52880:39:0;:12;:16;;:39;;;;:::i;:::-;:45;;;;;;52856:69;;53035:13;53020:4;:12;;;-1:-1:-1;;;;;53020:28:0;;53016:995;;;53069:17;53089:31;53107:4;:12;;;-1:-1:-1;;;;;53089:31:0;:13;:17;;:31;;;;:::i;:::-;53069:51;-1:-1:-1;53143:20:0;;;;;:51;;;53179:15;53167:9;:27;53143:51;53139:127;;;-1:-1:-1;53231:15:0;53139:127;53284:49;-1:-1:-1;;;;;53284:18:0;;53311:9;53323;53284:18;:49::i;:::-;53367:35;53384:17;:9;:15;:17::i;:::-;53367:12;;;;-1:-1:-1;;;;;53367:16:0;;;:35::i;:::-;-1:-1:-1;;;;;53352:50:0;:12;;;;:50;;;;53421:25;-1:-1:-1;;;53421:25:0;;-1:-1:-1;;;;;53421:14:0;;;;;:25;;53436:9;;53421:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53488:5;-1:-1:-1;;;;;53470:35:0;;53495:9;53470:35;;;;;;:::i;:::-;;;;;;;;53016:995;;;;53546:13;53531:4;:12;;;-1:-1:-1;;;;;53531:28:0;;53527:484;;;53580:16;53599:39;53616:21;:13;:19;:21::i;:::-;53599:12;;;;-1:-1:-1;;;;;53599:16:0;;;:39::i;:::-;-1:-1:-1;;;;;53580:58:0;;-1:-1:-1;53661:20:0;;;;;:50;;;53696:15;53685:8;:26;53661:50;53657:125;;;-1:-1:-1;53747:15:0;53657:125;53827:28;;-1:-1:-1;;;53827:28:0;;53802:22;;-1:-1:-1;;;;;53827:18:0;;;;;:28;;53846:8;;53827:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53802:53;;53891:40;53908:22;:14;:20;:22::i;:::-;53891:12;;;;-1:-1:-1;;;;;53891:16:0;;;:40::i;:::-;-1:-1:-1;;;;;53876:55:0;:12;;;;:55;;;;53955:40;-1:-1:-1;;;;;53955:40:0;;;;;;;53980:14;;53955:40;:::i;:::-;;;;;;;;53527:484;;;52828:1194;;-1:-1:-1;;;;;;;;54034:19:0;;;;;;:12;:19;;;;;;;;;:26;;;;;;;;;;;;;-1:-1:-1;;;;;54034:26:0;;;-1:-1:-1;;;54034:26:0;-1:-1:-1;;;;;54034:26:0;;;-1:-1:-1;;;54034:26:0;-1:-1:-1;;;;54034:26:0;;;;-1:-1:-1;;54034:26:0;;;;;;;;;;;;;;;;;;;;;;51591:2477;;;:::o;49149:1691::-;16580:5;;-1:-1:-1;;;;;16580:5:0;16566:10;:19;16558:64;;;;-1:-1:-1;;;16558:64:0;;;;;;;:::i;:::-;49235:24:::1;;:::i;:::-;-1:-1:-1::0;;;;;;49262:19:0;;::::1;;::::0;;;:12:::1;:19;::::0;;;;;;;49235:46;;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;49235:46:0;;::::1;::::0;;-1:-1:-1;;;49235:46:0;::::1;::::0;::::1;::::0;;::::1;::::0;-1:-1:-1;;;49235:46:0;;::::1;-1:-1:-1::0;;;;;49235:46:0::1;::::0;;;;49312:22;;;:15:::1;:22:::0;;;;;;;49349;;49235:46;;49312:22:::1;::::0;49349:27:::1;::::0;;:53:::1;;;49391:11;-1:-1:-1::0;;;;;49380:22:0::1;:7;-1:-1:-1::0;;;;;49380:22:0::1;;;49349:53;49345:1451;;;-1:-1:-1::0;;;;;49419:22:0;;::::1;;::::0;;;:15:::1;:22;::::0;;;;:36;;-1:-1:-1;;;;;;49419:36:0::1;::::0;;::::1;::::0;;;::::1;::::0;;49637:41:::1;32795:7;49638:15;:32;49637:39;:41::i;:::-;-1:-1:-1::0;;;;;49612:66:0::1;::::0;;49698:37:::1;::::0;-1:-1:-1;;;;;49698:37:0;;::::1;::::0;;;::::1;::::0;::::1;::::0;49612:22:::1;::::0;49698:37:::1;49345:1451;;;49776:22:::0;;-1:-1:-1;;;;;49776:27:0::1;::::0;;::::1;::::0;:72:::1;;-1:-1:-1::0;49826:22:0;;-1:-1:-1;;;;;49807:41:0::1;:15;:41;;49776:72;49768:111;;;;-1:-1:-1::0;;;49768:111:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;49906:15:0;;::::1;49934:1;49906:15:::0;;;:8:::1;:15;::::0;;;;;::::1;49898:38:::0;49894:673:::1;;-1:-1:-1::0;;;;;49980:15:0;;::::1;49957:20;49980:15:::0;;;:8:::1;:15;::::0;;;;;;50001:12;;::::1;::::0;49980:34;;-1:-1:-1;;;49980:34:0;;49957:20;;49980:15:::1;::::0;:20:::1;::::0;:34:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49957:57;;50081:1;50065:13;:17;50061:427;;;-1:-1:-1::0;;;;;50166:13:0;::::1;50107:11;50166:13:::0;;;:6:::1;:13;::::0;;;;50129;;50166:29:::1;::::0;50129:13;50166:24:::1;:29::i;:::-;;50241:5;-1:-1:-1::0;;;;;50223:29:0::1;;50248:3;50223:29;;;;;;:::i;:::-;;;;;;;;50061:427;;;;50298:1;50282:13;:17;50278:210;;;-1:-1:-1::0;;;;;50384:13:0;::::1;50324:11;50384:13:::0;;;:6:::1;:13;::::0;;;;50346:14;;;::::1;::::0;50384:29:::1;::::0;50346:14;50384:24:::1;:29::i;:::-;;50457:5;-1:-1:-1::0;;;;;50441:27:0::1;;50464:3;50441:27;;;;;;:::i;:::-;;;;;;;;50278:210;;50531:5;-1:-1:-1::0;;;;;50513:38:0::1;;50538:4;:12;;;50513:38;;;;;;:::i;:::-;;;;;;;;49894:673;;-1:-1:-1::0;;;;;50581:15:0;;::::1;;::::0;;;:8:::1;:15;::::0;;;;;;;:25;;;;::::1;-1:-1:-1::0;;;;;;50581:25:0;;::::1;;::::0;;;50621:26;;;50662:12;;::::1;:16:::0;;;50693:22;;;:15:::1;:22:::0;;;;;;:37;;;;::::1;::::0;;;50750:34;;;::::1;::::0;::::1;::::0;50581:15;50750:34:::1;49345:1451;-1:-1:-1::0;;;;;;50806:19:0;;;::::1;;::::0;;;:12:::1;:19;::::0;;;;;;;;:26;;;;;;::::1;::::0;;;;::::1;::::0;-1:-1:-1;;50806:26:0;;::::1;-1:-1:-1::0;;;;;50806:26:0;;::::1;;-1:-1:-1::0;;;;50806:26:0::1;-1:-1:-1::0;;;50806:26:0;;;::::1;::::0;;;::::1;::::0;;;::::1;-1:-1:-1::0;;;;;50806:26:0;;::::1;-1:-1:-1::0;;;50806:26:0;;;::::1;;;::::0;;;-1:-1:-1;49149:1691:0:o;22484:350::-;16580:5;;-1:-1:-1;;;;;16580:5:0;16566:10;:19;16558:64;;;;-1:-1:-1;;;16558:64:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;22611:28:0;::::1;22603:69;;;;-1:-1:-1::0;;;22603:69:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;22705:42:0;::::1;;::::0;;;:26:::1;:42;::::0;;;;;;:53;;-1:-1:-1;;22705:53:0::1;::::0;::::1;;;::::0;;22774:52;::::1;::::0;::::1;::::0;22705:53;;22774:52:::1;:::i;29021:280::-:0;29244:49;;-1:-1:-1;;;29244:49:0;;-1:-1:-1;;;;;29244:12:0;;;;;:49;;29257:4;;29263:2;;29267:6;;29275:8;;29285:1;;29288;;29291;;29244:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29021:280;;;;;;;;:::o;20618:41::-;;;;;;;;;;;;;:::o;14670:20::-;;;-1:-1:-1;;;;;14670:20:0;;:::o;20325:74::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;40084:2157::-;40256:17;;40241:4;-1:-1:-1;;;;;34321:18:0;;34329:10;34321:18;;;;:43;;-1:-1:-1;;;;;;34343:21:0;;34359:4;34343:21;;34321:43;34317:366;;;34474:10;34432:22;34457:28;;;:16;:28;;;;;;-1:-1:-1;;;;;34457:28:0;34508;34500:68;;;;-1:-1:-1;;;34500:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;34591:38:0;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;34583:88;;;;-1:-1:-1;;;34583:88:0;;;;;;;:::i;:::-;34317:366;;-1:-1:-1;;;;;40331:16:0;::::1;40323:49;;;;-1:-1:-1::0;;;40323:49:0::1;;;;;;;:::i;:::-;40445:12;-1:-1:-1::0;;;;;40460:22:0;::::1;::::0;:43:::1;;40497:6;40460:43;;;40485:9;40460:43;40445:58;;40514:19;;:::i;:::-;-1:-1:-1::0;;;;;;40536:13:0;::::1;;::::0;;;:6:::1;:13;::::0;;;;;;;;40514:35;;;;::::1;::::0;;;;-1:-1:-1;;;;;40514:35:0;;::::1;::::0;;-1:-1:-1;;;40514:35:0;;::::1;;::::0;;::::1;::::0;40564:10;40560:372:::1;;40736:26;:5:::0;40749:6;40757:4:::1;40736:12;:26::i;:::-;40728:34;;40560:372;;;40891:29;:5:::0;40907;40914::::1;40891:15;:29::i;:::-;40882:38;;40560:372;-1:-1:-1::0;;;;;40969:16:0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;;:33:::1;::::0;40996:5;40969:26:::1;:33::i;:::-;-1:-1:-1::0;;;;;40944:16:0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;:58;41029:33:::1;41047:14;:6:::0;:12:::1;:14::i;:::-;41029:13:::0;;-1:-1:-1;;;;;41029:17:0::1;::::0;::::1;:33::i;:::-;-1:-1:-1::0;;;;;41013:49:0::1;::::0;;41086:29:::1;41101:13;:5:::0;:11:::1;:13::i;:::-;41086:10;::::0;::::1;::::0;-1:-1:-1;;;;;41086:14:0::1;::::0;::::1;:29::i;:::-;-1:-1:-1::0;;;;;41073:42:0::1;:10;::::0;::::1;:42:::0;;;32923:4:::1;-1:-1:-1::0;41260:35:0::1;::::0;:54:::1;;-1:-1:-1::0;41299:10:0::1;::::0;::::1;::::0;-1:-1:-1;;;;;41299:15:0::1;::::0;41260:54:::1;41252:89;;;;-1:-1:-1::0;;;41252:89:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;41352:13:0;;::::1;;::::0;;;:6:::1;:13;::::0;;;;;;;:21;;;;;;::::1;::::0;-1:-1:-1;;;;;;41352:21:0;;::::1;-1:-1:-1::0;;;;;41352:21:0;;::::1;;::::0;::::1;-1:-1:-1::0;;;41352:21:0;;;::::1;;::::0;;;::::1;::::0;;41415:22;::::1;41411:708;;41569:42;::::0;-1:-1:-1;;;41569:42:0;;-1:-1:-1;;;;;41583:9:0::1;41569:34;::::0;::::1;::::0;:42:::1;::::0;41604:6;;41569:42:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;41746:12;41764:2;-1:-1:-1::0;;;;;41764:7:0::1;41779:6;41764:26;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41745:45;;;41813:7;41805:49;;;;-1:-1:-1::0;;;41805:49:0::1;;;;;;;:::i;:::-;41411:708;;;;42077:30;-1:-1:-1::0;;;;;42077:18:0;::::1;42096:2:::0;42100:6;42077:18:::1;:30::i;:::-;42159:2;-1:-1:-1::0;;;;;42134:43:0::1;42153:4;-1:-1:-1::0;;;;;42134:43:0::1;42146:5;-1:-1:-1::0;;;;;42134:43:0::1;;42163:6;42171:5;42134:43;;;;;;;:::i;22249:142::-:0;22326:10;22295:28;;;;:16;:28;;;;;;:41;;-1:-1:-1;;;;;;22295:41:0;;;;;22352:31;;;22295:28;22352:31;22249:142::o;17471:51::-;;;;;;;;;;;;-1:-1:-1;;;;;17471:51:0;;:::o;23603:2685::-;-1:-1:-1;;;;;23828:28:0;;23820:68;;;;-1:-1:-1;;;23820:68:0;;;;;;;:::i;:::-;23997:6;;:16;;;;-1:-1:-1;24007:6:0;;23997:16;:26;;;;-1:-1:-1;24017:6:0;;;;23997:26;23993:2124;;;-1:-1:-1;;;;;24048:18:0;;24056:10;24048:18;24040:58;;;;-1:-1:-1;;;24040:58:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;24121:22:0;;;24155:1;24121:22;;;:16;:22;;;;;;;:36;24113:74;;;;-1:-1:-1;;;24113:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;24210:42:0;;;;;;:26;:42;;;;;;;;24202:82;;;;-1:-1:-1;;;24202:82:0;;;;;;;:::i;:::-;23993:2124;;;-1:-1:-1;;;;;24614:18:0;;24606:59;;;;-1:-1:-1;;;24606:59:0;;;;;;;:::i;:::-;25116:14;25225:40;;;;;;;;;;;;;-1:-1:-1;;;25225:40:0;;;25292:18;:16;:18::i;:::-;21009:118;25480:8;:196;;25637:39;25480:196;;;25528:69;25480:196;-1:-1:-1;;;;;25842:12:0;;;;;;:6;:12;;;;;;;;;:14;;;;;;;;25377:510;;;;;;25711:4;;25750:14;;25799:8;;25842:14;25377:510;;:::i;:::-;;;;;;;;;;;;;25337:577;;;;;;25182:755;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;25150:806;;;;;;25116:840;;25971:24;25998:26;26008:6;26016:1;26019;26022;25998:26;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25971:53;;26067:4;-1:-1:-1;;;;;26047:24:0;:16;-1:-1:-1;;;;;26047:24:0;;26039:66;;;;-1:-1:-1;;;26039:66:0;;;;;;;:::i;:::-;23993:2124;;;-1:-1:-1;;;;;26149:38:0;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;;;:55;;-1:-1:-1;;26149:55:0;;;;;;;26220:60;;;;;26149:55;;26220:60;:::i;:::-;;;;;;;;23603:2685;;;;;;:::o;28097:530::-;28181:23;;28264:5;-1:-1:-1;;;;;28253:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28253:24:0;-1:-1:-1;28241:36:0;-1:-1:-1;28310:5:0;-1:-1:-1;;;;;28298:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28288:35;;28339:9;28334:286;28354:16;;;28334:286;;;28393:12;28407:19;28438:4;28457:5;;28463:1;28457:8;;;;;;;;;;;;;;;;;;:::i;:::-;28430:36;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28392:74;;;;28489:7;:24;;;;28501:12;28500:13;28489:24;28515:21;28529:6;28515:13;:21::i;:::-;28481:56;;;;;-1:-1:-1;;;28481:56:0;;;;;;;;:::i;:::-;;28567:7;28552:9;28562:1;28552:12;;;;;;;;;;;;;:22;;;;;;;;;;;28602:6;28589:7;28597:1;28589:10;;;;;;;;;;;;;;;;;:19;-1:-1:-1;;28372:3:0;;28334:286;;;;28097:530;;;;;;:::o;35549:197::-;-1:-1:-1;;;;;35701:13:0;;35667;35701;;;:6;:13;;;;;;;;:20;;;;;;;;;-1:-1:-1;;;;;35701:20:0;;;;;-1:-1:-1;;;35701:20:0;;;;;;;;;;;:37;;35722:6;35730:7;35701:20;:37::i;33381:51::-;;;;;;;;;;;;-1:-1:-1;;;;;33381:51:0;;;;-1:-1:-1;;;33381:51:0;;;;;;-1:-1:-1;;;33381:51:0;;-1:-1:-1;;;;;33381:51:0;;:::o;14697:27::-;;;-1:-1:-1;;;;;14697:27:0;;:::o;45183:564::-;45366:11;32743:3;45380:26;:6;32673:2;45380:10;:26::i;:::-;:53;;;;;;;-1:-1:-1;45444:36:0;-1:-1:-1;;;;;45444:18:0;;45463:8;45473:6;45444:18;:36::i;:::-;45493:58;;-1:-1:-1;;;45493:58:0;;-1:-1:-1;;;;;45493:20:0;;;;;:58;;45514:10;;45526:5;;45533:6;;45541:3;;45546:4;;;;45493:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45598:37;45623:11;:3;:9;:11::i;:::-;-1:-1:-1;;;;;45598:13:0;;;;;;:6;:13;;;;;;-1:-1:-1;;;;;45598:37:0;:24;:37::i;:::-;45572:22;45588:5;45572:15;:22::i;:::-;:63;;45564:98;;;;-1:-1:-1;;;45564:98:0;;;;;;;:::i;:::-;45730:8;-1:-1:-1;;;;;45678:61:0;45710:5;-1:-1:-1;;;;;45678:61:0;45699:8;-1:-1:-1;;;;;45678:61:0;;45717:6;45725:3;45678:61;;;;;;;:::i;:::-;;;;;;;;45183:564;;;;;;;:::o;42753:473::-;42884:4;-1:-1:-1;;;;;34321:18:0;;34329:10;34321:18;;;;:43;;-1:-1:-1;;;;;;34343:21:0;;34359:4;34343:21;;34321:43;34317:366;;;34474:10;34432:22;34457:28;;;:16;:28;;;;;;-1:-1:-1;;;;;34457:28:0;34508;34500:68;;;;-1:-1:-1;;;34500:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;34591:38:0;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;34583:88;;;;-1:-1:-1;;;34583:88:0;;;;;;;:::i;:::-;34317:366;;-1:-1:-1;;;;;42928:16:0;::::1;42920:49;;;;-1:-1:-1::0;;;42920:49:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;43067:16:0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;;:33:::1;::::0;43094:5;43067:26:::1;:33::i;:::-;-1:-1:-1::0;;;;;43042:16:0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;;;:58;;;;43134:20;;::::1;::::0;;;;:31:::1;::::0;43159:5;43134:24:::1;:31::i;:::-;-1:-1:-1::0;;;;;43111:16:0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:20;;::::1;::::0;;;;;;;;;:54;;;;43183:35;;;::::1;::::0;::::1;::::0;::::1;::::0;43212:5;;43183:35:::1;:::i;:::-;;;;;;;;42753:473:::0;;;;;:::o;46654:956::-;46883:21;46921:6;-1:-1:-1;;;;;46907:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46907:28:0;-1:-1:-1;46883:52:0;-1:-1:-1;46962:6:0;46948:11;46986:231;47010:3;47006:1;:7;46986:231;;;47035:14;47052:7;;47060:1;47052:10;;;;;;;;;;;;;47035:27;;32743:3;47087:26;32673:2;47087:6;:10;;:26;;;;:::i;:::-;:53;;;;;;47077:4;47082:1;47077:7;;;;;;;;;;;;;:63;;;;;47157:48;47180:9;;47190:1;47180:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;47194:7;;47202:1;47194:10;;;;;;;;;;;;;47157:6;;47164:1;47157:9;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;47157:22:0;;:48;:22;:48::i;:::-;-1:-1:-1;47015:3:0;;46986:231;;;-1:-1:-1;47229:66:0;;-1:-1:-1;;;47229:66:0;;-1:-1:-1;;;;;47229:25:0;;;;;:66;;47255:10;;47267:6;;;;47275:7;;;;47284:4;;47290;;;;47229:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47313:9;47308:295;47332:3;47328:1;:7;47308:295;;;47357:12;47372:6;;47379:1;47372:9;;;;;;;;;;;;;;;;;;;;:::i;:::-;47357:24;;47430:41;47455:15;:4;47460:1;47455:7;;;;;;;;;;;;;;:13;:15::i;:::-;-1:-1:-1;;;;;47430:13:0;;;;;;:6;:13;;;;;;-1:-1:-1;;;;;47430:41:0;:24;:41::i;:::-;47404:22;47420:5;47404:15;:22::i;:::-;:67;;47396:102;;;;-1:-1:-1;;;47396:102:0;;;;;;;:::i;:::-;47578:9;;47588:1;47578:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;47518:73:0;47550:5;-1:-1:-1;;;;;47518:73:0;47539:8;-1:-1:-1;;;;;47518:73:0;;47557:7;;47565:1;47557:10;;;;;;;;;;;;;47569:4;47574:1;47569:7;;;;;;;;;;;;;;47518:73;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;47337:3:0;;47308:295;;33116:63;;;;;;;;;;;;;;;;;;;;;;;;:::o;11006:431::-;11160:13;;11131:12;;-1:-1:-1;;;;;11160:18:0;11156:274;;-1:-1:-1;11202:7:0;11156:274;;;11275:13;;11261:10;;;;-1:-1:-1;;;;;11249:39:0;;;;:23;;:7;;:23;:11;:23::i;:::-;:39;;;;;;11242:46;;11307:7;:57;;;;;11357:7;11344:5;:10;;;-1:-1:-1;;;;;11318:36:0;:23;11327:5;:13;;;-1:-1:-1;;;;;11318:23:0;:4;:8;;:23;;;;:::i;:::-;:36;;;;;;:46;11307:57;11303:116;;;11392:11;:4;11401:1;11392:8;:11::i;11303:116::-;11006:431;;;;;:::o;8822:161::-;8871:9;-1:-1:-1;;;;;8901:16:0;;;8893:57;;;;-1:-1:-1;;;8893:57:0;;;;;;;:::i;:::-;-1:-1:-1;8973:1:0;8822:161::o;9447:141::-;9540:5;;;-1:-1:-1;;;;;9535:16:0;;;;;;;;9527:53;;;;-1:-1:-1;;;9527:53:0;;;;;;;:::i;:::-;9447:141;;;;:::o;11530:437::-;11655:15;11687:5;:10;;;-1:-1:-1;;;;;11687:15:0;11701:1;11687:15;11683:277;;;-1:-1:-1;11729:4:0;11683:277;;;11802:10;;;;11785:13;;-1:-1:-1;;;;;11776:36:0;;;;:23;;:4;;:23;:8;:23::i;:::-;:36;;;;;;11766:46;;11831:7;:57;;;;;11884:4;11868:5;:13;;;-1:-1:-1;;;;;11842:39:0;:23;11854:5;:10;;;-1:-1:-1;;;;;11842:23:0;:7;:11;;:23;;;;:::i;34971:169::-;-1:-1:-1;;;;;35104:19:0;;35033:14;35104:19;;;:12;:19;;;;;;:27;35069:30;;-1:-1:-1;;;35069:30:0;;35033:14;;35069:63;;-1:-1:-1;;;35104:27:0;;;-1:-1:-1;;;;;35104:27:0;;35069:15;;:30;;35093:4;;35069:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:34;;:63::i;8513:138::-;8606:5;;;8601:16;;;;8593:50;;;;-1:-1:-1;;;8593:50:0;;;;;;;:::i;8364:141::-;8457:5;;;8452:16;;;;8444:53;;;;-1:-1:-1;;;8444:53:0;;;;;;;:::i;7684:382::-;7830:12;7844:17;7873:5;-1:-1:-1;;;;;7865:19:0;4729:10;7908:17;;7927:4;7933:2;7937:6;7885:59;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;7885:59:0;;;;;;;;;;;;;;-1:-1:-1;;;;;7885:59:0;-1:-1:-1;;;;;;7885:59:0;;;;;;;;;;7865:80;;;;7885:59;7865:80;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7829:116;;;;7964:7;:57;;;;-1:-1:-1;7976:11:0;;:16;;:44;;;8007:4;7996:24;;;;;;;;;;;;:::i;:::-;7956:102;;;;-1:-1:-1;;;7956:102:0;;;;;;;:::i;:::-;7684:382;;;;;;:::o;21573:213::-;21647:7;20727:80;21728:24;21754:7;21771:4;21684:93;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;21674:104;;;;;;21667:111;;21573:213;;;;:::o;9596:138::-;9689:5;;;-1:-1:-1;;;;;9684:16:0;;;;;;;;9676:50;;;;-1:-1:-1;;;9676:50:0;;;;;;;:::i;8659:155::-;8717:9;8747:6;;;:30;;-1:-1:-1;;8762:5:0;;;8776:1;8771;8762:5;8771:1;8757:15;;;;;:20;8747:30;8739:67;;;;-1:-1:-1;;;8739:67:0;;;;;;;:::i;7021:340::-;7140:12;7154:17;7183:5;-1:-1:-1;;;;;7175:19:0;4639:10;7218:12;;7232:2;7236:6;7195:48;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;7195:48:0;;;;;;;;;;;;;;-1:-1:-1;;;;;7195:48:0;-1:-1:-1;;;;;;7195:48:0;;;;;;;;;;7175:69;;;;7195:48;7175:69;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7139:105;;;;7263:7;:57;;;;-1:-1:-1;7275:11:0;;:16;;:44;;;7306:4;7295:24;;;;;;;;;;;;:::i;:::-;7255:98;;;;-1:-1:-1;;;7255:98:0;;;;;;;:::i;:::-;7021:340;;;;;:::o;8991:156::-;9039:8;-1:-1:-1;;;;;9068:15:0;;;9060:55;;;;-1:-1:-1;;;9060:55:0;;;;;;;:::i;13832:179::-;13909:18;13969:34;13987:15;:7;:13;:15::i;:::-;13969:13;;-1:-1:-1;;;;;13969:13:0;;:17;:34::i;:::-;13953:50;;-1:-1:-1;;;;;;13953:50:0;-1:-1:-1;;;;;13953:50:0;;;;;;;;;;-1:-1:-1;13953:50:0;;;-1:-1:-1;13832:179:0:o;14143:::-;14220:18;14280:34;14298:15;:7;:13;:15::i;:::-;14280:13;;-1:-1:-1;;;;;14280:13:0;;:17;:34::i;26761:496::-;26833:13;26996:2;26975:11;:18;:23;26971:67;;;-1:-1:-1;27000:38:0;;;;;;;;;;;;;;;;;;;26971:67;27142:4;27129:11;27125:22;27110:37;;27186:11;27175: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;;-1:-1;;;;;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;;-1:-1;;;;;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;-1:-1;;;;;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;-1:-1;;;;;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;-1:-1;;;;;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;-1:-1;;;;;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;-1:-1;;;;;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;-1:-1;;;;;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;-1:-1;;;;;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;61181;61162:17;;-1:-1;;61158:33;60767:17;;16886:2;60767:17;60827:34;;;60863:22;;;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::-;-1:-1;;;;;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;61181:9;;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;:::-;61181:9;67882:14;-1:-1;;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::-;-1:-1;;;;;65783:54;;;;18378:37;;37668:2;37653:18;;37639:124::o;38015:1298::-;;38473:3;38462:9;38458:19;-1:-1;;;;;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;-1:-1;;;;;;;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::-;;-1:-1;;;;;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::-;-1:-1;;;;;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::-;-1:-1;;;;;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::-;-1:-1;;;;;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;;;;-1:-1;;;;;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;-1:-1;;;;;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;-1:-1;;;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;-1:-1;;;63224:14;;;27386:44;27449:12;;;48444:245::o;48696:416::-;48896:2;48910:47;;;27700:2;48881:18;;;63184:19;-1:-1;;;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;-1:-1;;;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::-;-1:-1;;;;;65663:46;;;;35365:50;;58129:2;58114:18;;58100:124::o;58231:349::-;-1:-1;;;;;65663:46;;;;35365:50;;-1:-1;;;;;65783:54;58566:2;58551:18;;18237:58;58394:2;58379:18;;58365:215::o;58587:333::-;-1:-1;;;;;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::-;-1:-1;;;;;65989:30;;;;35727:49;;59622:2;59607:18;;59593:123::o;59723:436::-;-1:-1;;;;;65989:30;;;35857:36;;65989:30;;;;60062:2;60047:18;;35857:36;-1:-1;;;;;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;;;;;;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::-;-1:-1;;;;;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://c247bae85ef8f491a099f015dce2575e98f80290d6e22826bd2ea3c2709a7726
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.