Contract 0xf5bce5077908a1b7370b9ae04adc565ebd643966 12

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xe1731a259f5d12d46d7e72f56a8952bc421163733b0eea4a1eb387d6cd2bb3edWithdraw240186392021-12-05 2:01:5340 mins ago0xd73329e8bbe79ff75f408e71966e0e79e74dd250 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.012867870501
0xf5fb009bedd62b0954154150c4bd49e764eac72b0b1082891095582aaa8c11f4Deposit240185632021-12-05 2:00:4841 mins ago0xd73329e8bbe79ff75f408e71966e0e79e74dd250 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.009725630499
0x15b0ab5af5e421cf172a40413ab50cc9fd08d2e958eb7f11621209074357bf36Set Master Contr...240145042021-12-05 1:01:041 hr 40 mins ago0xafa64e3b0e0815a63070e8987361aa64f1e7662a IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.011859177902
0xb13f1f12ee0160108b890951b3cadf5c43164086809c7e107dd28b92a011ffaeSet Master Contr...240134112021-12-05 0:45:261 hr 56 mins ago0x760f6136a5ad6d7a8e989b3adbdae6b2dd2510c3 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.012627614909
0x3618219893d7f8c013564f89b29f7583ea3dfbd1e0f834d9ee573cd5809156aeSet Master Contr...240128692021-12-05 0:36:022 hrs 5 mins ago0xb683548810fe7f794f12240ebb7322fc471c8bea IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.010134762419
0xc804330c4ae1714b64564ef8f477c9471339469ba092106cfd475df5f2814ef4Set Master Contr...240076202021-12-04 23:13:173 hrs 28 mins ago0xc9b4bf19d0d878ad443b2f9f830f6db4b2b834b4 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.008048058106
0x4db14c056a3b4285bfdd12d12f1894f9a03450a4bdfdee403447be51b79f4a02Set Master Contr...240065102021-12-04 22:57:303 hrs 44 mins ago0x427caf62d66fcec08fa55f0991dbca66a8bfa7e7 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.008888645246
0xe645b9ae6ae1d73798cb6bb801bbf6aa7abcce223d7bc32d1eb2776befc0a1c9Set Master Contr...240029772021-12-04 22:06:424 hrs 35 mins ago0x69bec9c8fb9617f9325bfa7b464ea09c41d244b7 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.016098742119
0x238e432080197d62311f411738785770321d5ea7d5a328d60ca7ad6852695466Withdraw240003572021-12-04 21:25:405 hrs 16 mins ago0xe51da82557edf26d367d4f47604e9c2a8f5fc943 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.013473243176
0x82dd209cb6496d1eaf77829cb6f2079b5ade1805dab5738187b5b3414733f1b9Set Master Contr...239983432021-12-04 20:55:495 hrs 46 mins ago0x66514f5523c6fa73f1161053cbff1d0a92fda0b7 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.017734260128
0x22ea09c9e4e222beccbe84fbd3001fdf8860ef4bbbd0e0f1acbec6b8e4deeb53Withdraw239948272021-12-04 20:02:106 hrs 39 mins ago0x0000ecb341a3c0bb394f377d3a524703fb8b76fb IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.018926242334
0xb1e9fb9c4b0ab79ad7a9b39074708b2df459f521514e0d1ee09f6e34af0346c6Withdraw239946122021-12-04 19:59:036 hrs 42 mins ago0x0000ecb341a3c0bb394f377d3a524703fb8b76fb IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.019038279892
0xc848d7be1c688977eff9df89c01fc4d6cec638ad7a7cd93a5b1d0cfd35d878e8Set Master Contr...239937432021-12-04 19:46:296 hrs 55 mins ago0x26f6c7097ea222da0fb4baa18dbe9fb6450d303e IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.017137005384
0x6d23c61fb7b1cd7a41d4465472b60e42e0a3b4c51bf825ca728421a41068182bSet Master Contr...239921912021-12-04 19:24:147 hrs 17 mins ago0xdef1fff6d3a78e30b772b8bc9f8a7bdea06c520d IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.01869140301
0x878b0377be9a498bec324bfb3d49277d0fae9c17895d3df5adf49910c0576411Withdraw239905732021-12-04 18:59:137 hrs 42 mins ago0x27f4eb34e66cf7f0792942152d3fc0b62fadf412 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.021911259828
0xd985647be354e7aadae7069e0a30c0fce5383bc7de5d1e217d474beabe2a01adSet Master Contr...239899292021-12-04 18:49:387 hrs 52 mins ago0x222a227a5dc77c643e836556e573cb266998a870 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.017781181433
0x75c9fe1f36246d57e6decf3705a91cb8bbccf3a2bb1f4ac3cbcc049807413c04Set Master Contr...239875142021-12-04 18:10:558 hrs 31 mins ago0xdec4460d39b52cc46ae3573d4e29767b8b120f5d IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.016238744139
0xbecb698010c75058f09cf6cbbb9a317d3e5fb9b902ffea5bb831b3870059cf95Withdraw239870552021-12-04 18:03:458 hrs 38 mins ago0x522c6775e7b0214abfc3bf68b60f596714c328a3 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.016868200895
0x50579a2cad66eecda1bea46da08ea5c1fdf1a323229d0894051142c757e19877Withdraw239848832021-12-04 17:29:569 hrs 11 mins ago0xa892b6ba0d0e5f16e6279a179ac057be77e8ea85 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.020623932717
0x954f4c974b17c5f4fbe49eef0666aecc8530286cd47a922e857e0dcb18cfe663Withdraw239841592021-12-04 17:18:169 hrs 23 mins ago0x230474a723dc56e1af1ae098cf49e36438a135ac IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.01929997833
0x43b787a552d52e3743274778012554a21aa87b98fede8db863506a6abf14e6b7Set Master Contr...239833162021-12-04 17:05:469 hrs 36 mins ago0x225f1fd720f4a4d3ffef79b264271c81cf0ab9ff IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.017525227436
0xd7da27ba7b9a5ad1d56ef2b91e2da1f99e6afecb5066e41f13460ba9daeba363Set Master Contr...239753472021-12-04 15:02:2511 hrs 39 mins ago0xbaf452491ddce76ac58dbf43429217ffced2dc73 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.011524134426
0x3e986dd54e922766da8d84c65dae5267b45b058fc0d4619deb7696f6ffc312b5Set Master Contr...239753422021-12-04 15:02:1811 hrs 39 mins ago0xbaf452491ddce76ac58dbf43429217ffced2dc73 IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.018023809434
0xf638778d201d62e814e353db71e7de9db24b30ebb7fe7ca8c3407a4e178ae0a1Deposit239746672021-12-04 14:48:0111 hrs 53 mins ago0xdd1cccc9f2fe0ed62459bcdf4594da27ecfc93cd IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.01436632012
0xc7e960853ae4f5e6305066a3e085f39a0ac885569584f07ca634b72ffcdb07f7Withdraw239745232021-12-04 14:45:4811 hrs 56 mins ago0x26f3aa57692bb523e5dc5caca0ff331da30a77ef IN  0xf5bce5077908a1b7370b9ae04adc565ebd6439660 FTM0.010369626195
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x757170212d519b2405a0a04de532bf073bdccce19d7275ce6c7d2879c492c373240205722021-12-05 2:32:139 mins ago 0xf5bce5077908a1b7370b9ae04adc565ebd643966 Fantom Finance: Wrapped Fantom Token205 FTM
0x757170212d519b2405a0a04de532bf073bdccce19d7275ce6c7d2879c492c373240205722021-12-05 2:32:139 mins ago 0xe802823719f9d2520415854e6f95bae498ff1d52 0xf5bce5077908a1b7370b9ae04adc565ebd643966205 FTM
0x1ccc15430278e3f0997318c690f9448413bb4e8562af12fd7bc6847c7ef0f213240176802021-12-05 1:48:0653 mins ago 0xf5bce5077908a1b7370b9ae04adc565ebd643966 Fantom Finance: Wrapped Fantom Token500,000 FTM
0x1ccc15430278e3f0997318c690f9448413bb4e8562af12fd7bc6847c7ef0f213240176802021-12-05 1:48:0653 mins ago 0xe802823719f9d2520415854e6f95bae498ff1d52 0xf5bce5077908a1b7370b9ae04adc565ebd643966500,000 FTM
0x9611217f0d11e089ff07adeae984ec359e80a598f73a5b02fd58249f6dae6722240129312021-12-05 0:36:502 hrs 5 mins ago 0xf5bce5077908a1b7370b9ae04adc565ebd643966 Fantom Finance: Wrapped Fantom Token1 FTM
0x9611217f0d11e089ff07adeae984ec359e80a598f73a5b02fd58249f6dae6722240129312021-12-05 0:36:502 hrs 5 mins ago 0xe802823719f9d2520415854e6f95bae498ff1d52 0xf5bce5077908a1b7370b9ae04adc565ebd6439661 FTM
0x7e06c7ad9ce134094c31cb8969c47772502d606de94707e0897541144838e609240081792021-12-04 23:21:463 hrs 20 mins ago 0xf5bce5077908a1b7370b9ae04adc565ebd643966 Fantom Finance: Wrapped Fantom Token2,000 FTM
0x7e06c7ad9ce134094c31cb8969c47772502d606de94707e0897541144838e609240081792021-12-04 23:21:463 hrs 20 mins ago 0xe802823719f9d2520415854e6f95bae498ff1d52 0xf5bce5077908a1b7370b9ae04adc565ebd6439662,000 FTM
0x9fcdfa60c2c5390001efa2a26e88df62d90c548509e46dc000d5f9c0abd21162240076342021-12-04 23:13:283 hrs 28 mins ago 0xf5bce5077908a1b7370b9ae04adc565ebd643966 Fantom Finance: Wrapped Fantom Token4,500 FTM
0x9fcdfa60c2c5390001efa2a26e88df62d90c548509e46dc000d5f9c0abd21162240076342021-12-04 23:13:283 hrs 28 mins ago 0xe802823719f9d2520415854e6f95bae498ff1d52 0xf5bce5077908a1b7370b9ae04adc565ebd6439664,500 FTM
0x0aa1beda39061bc4edbb101beb7d8e2327e1ee608ef6715d1d7460f555bebfbb240065262021-12-04 22:57:443 hrs 44 mins ago 0xf5bce5077908a1b7370b9ae04adc565ebd643966 Fantom Finance: Wrapped Fantom Token2 FTM
0x0aa1beda39061bc4edbb101beb7d8e2327e1ee608ef6715d1d7460f555bebfbb240065262021-12-04 22:57:443 hrs 44 mins ago 0xe802823719f9d2520415854e6f95bae498ff1d52 0xf5bce5077908a1b7370b9ae04adc565ebd6439662 FTM
0xf7c2c4b514603f6a3b153850d04151b172ec44539fd67f5e786b7196bd74e99d240040152021-12-04 22:21:424 hrs 20 mins ago 0xf5bce5077908a1b7370b9ae04adc565ebd643966 Fantom Finance: Wrapped Fantom Token75 FTM
0xf7c2c4b514603f6a3b153850d04151b172ec44539fd67f5e786b7196bd74e99d240040152021-12-04 22:21:424 hrs 20 mins ago 0xe802823719f9d2520415854e6f95bae498ff1d52 0xf5bce5077908a1b7370b9ae04adc565ebd64396675 FTM
0x72a8e4ea1ffec88e99b8ae40fb9096eee81b7fb2f294072e8b1f2f2d6d524662240037992021-12-04 22:18:344 hrs 23 mins ago 0xf5bce5077908a1b7370b9ae04adc565ebd643966 Fantom Finance: Wrapped Fantom Token243 FTM
0x72a8e4ea1ffec88e99b8ae40fb9096eee81b7fb2f294072e8b1f2f2d6d524662240037992021-12-04 22:18:344 hrs 23 mins ago 0xe802823719f9d2520415854e6f95bae498ff1d52 0xf5bce5077908a1b7370b9ae04adc565ebd643966243 FTM
0xad25a6e2bcf275d3796a94c86308eb974028c9a4ee71e8b2b482f652d5a82b6d240029922021-12-04 22:07:094 hrs 34 mins ago 0xf5bce5077908a1b7370b9ae04adc565ebd643966 Fantom Finance: Wrapped Fantom Token10 FTM
0xad25a6e2bcf275d3796a94c86308eb974028c9a4ee71e8b2b482f652d5a82b6d240029922021-12-04 22:07:094 hrs 34 mins ago 0xe802823719f9d2520415854e6f95bae498ff1d52 0xf5bce5077908a1b7370b9ae04adc565ebd64396610 FTM
0x5b5a8c3d1adc673aac693fd0e59e249c92ceabf2d3382d7b53372e90c1dd96d7239984352021-12-04 20:57:125 hrs 44 mins ago 0xf5bce5077908a1b7370b9ae04adc565ebd643966 Fantom Finance: Wrapped Fantom Token585 FTM
0x5b5a8c3d1adc673aac693fd0e59e249c92ceabf2d3382d7b53372e90c1dd96d7239984352021-12-04 20:57:125 hrs 44 mins ago 0xe802823719f9d2520415854e6f95bae498ff1d52 0xf5bce5077908a1b7370b9ae04adc565ebd643966585 FTM
0x0771124c476e66589b557b450aa3dc3b264fd9e47fd9a8ca0e26cc2b213cec26239979692021-12-04 20:50:015 hrs 51 mins ago 0xf5bce5077908a1b7370b9ae04adc565ebd643966 Fantom Finance: Wrapped Fantom Token4,320 FTM
0x0771124c476e66589b557b450aa3dc3b264fd9e47fd9a8ca0e26cc2b213cec26239979692021-12-04 20:50:015 hrs 51 mins ago 0xe802823719f9d2520415854e6f95bae498ff1d52 0xf5bce5077908a1b7370b9ae04adc565ebd6439664,320 FTM
0x61bba5668e9bd12a0423aa9521c28e3cda26174eebb596d0e6d46dd5241fd986239979322021-12-04 20:49:165 hrs 52 mins ago 0xf5bce5077908a1b7370b9ae04adc565ebd643966 Fantom Finance: Wrapped Fantom Token50 FTM
0x61bba5668e9bd12a0423aa9521c28e3cda26174eebb596d0e6d46dd5241fd986239979322021-12-04 20:49:165 hrs 52 mins ago 0xe802823719f9d2520415854e6f95bae498ff1d52 0xf5bce5077908a1b7370b9ae04adc565ebd64396650 FTM
0x4ad531a232f2a7a9e909980c0bae2a0945f63b8f97a53d28f788932582a7c740239977522021-12-04 20:45:355 hrs 56 mins ago 0xf5bce5077908a1b7370b9ae04adc565ebd643966 Fantom Finance: Wrapped Fantom Token453.580689154379970605 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BentoBoxV1

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2021-03-23
*/

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

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

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

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

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

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

// Version 22-Mar-2021

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;

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

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

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

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

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

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

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

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

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

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

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

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

interface IWETH {
    function deposit() external payable;

    function withdraw(uint256) external;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

struct Rebase {
    uint128 elastic;
    uint128 base;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        uint256 totalElastic = totals[token].elastic;

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

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

                uint256 actualAmountIn = _strategy.withdraw(amountIn);

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

        strategyData[token] = data;
    }

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

Contract Security Audit

Contract ABI

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

60e06040523480156200001157600080fd5b5060405162005ae638038062005ae6833981016040819052620000349162000116565b600080546001600160a01b0319163390811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a34660a081905262000084816200009e565b6080525060601b6001600160601b03191660c0526200016a565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fd7df266aff736d415a9dc14b4158201d612e70d75b9c7f4e375ccfd20aa5166f8330604051602001620000f9949392919062000146565b604051602081830303815290604052805190602001209050919050565b60006020828403121562000128578081fd5b81516001600160a01b03811681146200013f578182fd5b9392505050565b938452602084019290925260408301526001600160a01b0316606082015260800190565b60805160a05160c05160601c61593d620001a9600039806107615280610b3752806129155280612bdb5250806114845250806114b9525061593d6000f3fe6080604052600436106101dc5760003560e01c80637c516e9411610102578063d2423b5111610095578063f1676d3711610064578063f1676d3714610555578063f18d03cc14610575578063f483b3da14610595578063f7888aec146105b5576101e3565b8063d2423b51146104d0578063da5139ca146104f1578063df23b45b14610511578063e30c397814610540576101e3565b806397da6d30116100d157806397da6d301461045b578063aee4d1b21461047b578063bafe4f1414610490578063c0a47c93146104b0576101e3565b80637c516e94146103e65780637ecebe00146104065780638da5cb5b1461042657806391e0eab51461043b576101e3565b80633e2a9d4e1161017a5780635662311811610149578063566231181461036657806366c6bb0b1461038657806372cb5d97146103a6578063733a9d7c146103c6576101e3565b80633e2a9d4e146102e35780634e71e0c8146103035780634ffe34db146103185780635108a55814610346576101e3565b806312a90c8a116101b657806312a90c8a146102545780631f54245b14610281578063228bfd9f146102a15780633644e515146102c1576101e3565b806302b9446c146101e8578063078dfbe7146102125780630fca884314610234576101e3565b366101e357005b600080fd5b6101fb6101f636600461492e565b6105d5565b6040516102099291906157dc565b60405180910390f35b34801561021e57600080fd5b5061023261022d3660046146e2565b610c8c565b005b34801561024057600080fd5b5061023261024f366004614a09565b610e17565b34801561026057600080fd5b5061027461026f3660046145f5565b6111d9565b6040516102099190615068565b61029461028f36600461472c565b6111ee565b6040516102099190614dcc565b3480156102ad57600080fd5b506102946102bc3660046145f5565b611457565b3480156102cd57600080fd5b506102d661147f565b6040516102099190615073565b3480156102ef57600080fd5b506102326102fe366004614b11565b6114df565b34801561030f57600080fd5b50610232611613565b34801561032457600080fd5b506103386103333660046145f5565b6116f9565b6040516102099291906157b9565b34801561035257600080fd5b506102946103613660046145f5565b611735565b34801561037257600080fd5b506102d6610381366004614adb565b61175d565b34801561039257600080fd5b506102326103a1366004614a9b565b6117d4565b3480156103b257600080fd5b506102326103c13660046148cc565b611f89565b3480156103d257600080fd5b506102326103e13660046146b5565b61258d565b3480156103f257600080fd5b50610232610401366004614988565b6126aa565b34801561041257600080fd5b506102d66104213660046145f5565b612744565b34801561043257600080fd5b50610294612756565b34801561044757600080fd5b50610274610456366004614611565b612772565b34801561046757600080fd5b506101fb61047636600461492e565b612792565b34801561048757600080fd5b50610232612d82565b34801561049c57600080fd5b506102946104ab3660046145f5565b612de1565b3480156104bc57600080fd5b506102326104cb366004614649565b612e09565b6104e36104de366004614792565b613262565b604051610209929190614fce565b3480156104fd57600080fd5b506102d661050c366004614adb565b61340e565b34801561051d57600080fd5b5061053161052c3660046145f5565b61347d565b604051610209939291906157ff565b34801561054c57600080fd5b506102946134d2565b34801561056157600080fd5b50610232610570366004614b4a565b6134ee565b34801561058157600080fd5b506102326105903660046148de565b6136c9565b3480156105a157600080fd5b506102326105b03660046147f8565b613923565b3480156105c157600080fd5b506102d66105d03660046148cc565b613c6e565b6000808573ffffffffffffffffffffffffffffffffffffffff81163314801590610615575073ffffffffffffffffffffffffffffffffffffffff81163014155b156106ee573360009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1680610680576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906155b0565b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff80821660009081526003602090815260408083209386168352929052205460ff166106ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615433565b505b73ffffffffffffffffffffffffffffffffffffffff861661073b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615390565b600073ffffffffffffffffffffffffffffffffffffffff89161561075f5788610781565b7f00000000000000000000000000000000000000000000000000000000000000005b905061078b614519565b5073ffffffffffffffffffffffffffffffffffffffff81166000908152600760209081526040918290208251808401909352546fffffffffffffffffffffffffffffffff808216808552700100000000000000000000000000000000909204169183019190915215158061087c575060008273ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561084257600080fd5b505afa158015610856573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087a9190614bbb565b115b6108b2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906152b4565b8561091c576108c381886000613c8b565b95506103e86108f16108d488613d49565b60208401516fffffffffffffffffffffffffffffffff1690613d99565b6fffffffffffffffffffffffffffffffff16101561091757600080945094505050610c81565b61092b565b61092881876001613df1565b96505b73ffffffffffffffffffffffffffffffffffffffff891630141580610964575073ffffffffffffffffffffffffffffffffffffffff8a16155b8061099557508051610991906fffffffffffffffffffffffffffffffff1661098b84613e94565b90613f78565b8711155b6109cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061516a565b73ffffffffffffffffffffffffffffffffffffffff8083166000908152600660209081526040808320938c1683529290522054610a089087613fb5565b73ffffffffffffffffffffffffffffffffffffffff8084166000908152600660209081526040808320938d1683529290522055610a64610a4787613d49565b60208301516fffffffffffffffffffffffffffffffff1690613d99565b6fffffffffffffffffffffffffffffffff166020820152610aa1610a8788613d49565b82516fffffffffffffffffffffffffffffffff1690613d99565b6fffffffffffffffffffffffffffffffff908116825273ffffffffffffffffffffffffffffffffffffffff808416600090815260076020908152604090912084518154928601518516700100000000000000000000000000000000029085167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090931692909217909316179091558a16610bbb577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0886040518263ffffffff1660e01b81526004016000604051808303818588803b158015610b9d57600080fd5b505af1158015610bb1573d6000803e3d6000fd5b5050505050610bfa565b73ffffffffffffffffffffffffffffffffffffffff89163014610bfa57610bfa73ffffffffffffffffffffffffffffffffffffffff83168a308a613ff2565b8773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fb2346165e782564f17f5b7e555c21f4fd96fbc93458572bf0113ea35a958fc558a8a604051610c709291906157dc565b60405180910390a486945085935050505b509550959350505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906153fe565b8115610dd15773ffffffffffffffffffffffffffffffffffffffff8316151580610d045750805b610d3a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061527d565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808716939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff85167fffffffffffffffffffffffff000000000000000000000000000000000000000091821617909155600180549091169055610e12565b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85161790555b505050565b8473ffffffffffffffffffffffffffffffffffffffff81163314801590610e54575073ffffffffffffffffffffffffffffffffffffffff81163014155b15610f24573360009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1680610eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906155b0565b73ffffffffffffffffffffffffffffffffffffffff80821660009081526003602090815260408083209386168352929052205460ff16610f22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615433565b505b600085858281610f3057fe5b9050602002016020810190610f4591906145f5565b73ffffffffffffffffffffffffffffffffffffffff161415610f93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615359565b600084815b81811015611157576000888883818110610fae57fe5b9050602002016020810190610fc391906145f5565b9050611066878784818110610fd457fe5b90506020020135600660008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613fb590919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff808d166000908152600660209081526040808320938616835292905220556110be8787848181106110a857fe5b9050602002013585613fb590919063ffffffff16565b93508073ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff168c73ffffffffffffffffffffffffffffffffffffffff167f6eabe333476233fd382224f233210cb808a7bc4c4de64f9d76628bf63c677b1a8a8a8781811061113257fe5b905060200201356040516111469190615073565b60405180910390a450600101610f98565b5073ffffffffffffffffffffffffffffffffffffffff808a166000908152600660209081526040808320938c16835292905220546111959083613f78565b73ffffffffffffffffffffffffffffffffffffffff998a1660009081526006602090815260408083209b909c16825299909952989097209790975550505050505050565b60046020526000908152604090205460ff1681565b600073ffffffffffffffffffffffffffffffffffffffff851661123d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615544565b606085901b82156112c6576000858560405161125a929190614d76565b604051809103902090506040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260148201527f5af43d82803e903d91602b57fd5bf300000000000000000000000000000000006028820152816037826000f593505050611322565b6040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528160148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f09250505b73ffffffffffffffffffffffffffffffffffffffff8281166000818152600260205260409081902080547fffffffffffffffffffffffff000000000000000000000000000000000000000016938a169390931790925590517f4ddf47d4000000000000000000000000000000000000000000000000000000008152634ddf47d49034906113b5908990899060040161510c565b6000604051808303818588803b1580156113ce57600080fd5b505af11580156113e2573d6000803e3d6000fd5b50505050508173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fd62166f3c2149208e51788b1401cc356bf5da1fc6c7886a32e18570f57d88b3b878760405161144692919061510c565b60405180910390a350949350505050565b60086020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b6000467f000000000000000000000000000000000000000000000000000000000000000081146114b7576114b28161415d565b6114d9565b7f00000000000000000000000000000000000000000000000000000000000000005b91505090565b60005473ffffffffffffffffffffffffffffffffffffffff163314611530576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906153fe565b605f8167ffffffffffffffff161115611575576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061572f565b73ffffffffffffffffffffffffffffffffffffffff82166000818152600a60205260409081902080547fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff166801000000000000000067ffffffffffffffff861602179055517f7543af99b5602c06e62da0631b5308489a5ff859150105a623b6eb15e8deae0b906116079084906157ea565b60405180910390a25050565b60015473ffffffffffffffffffffffffffffffffffffffff16338114611665576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061546a565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179055600180549091169055565b6007602052600090815260409020546fffffffffffffffffffffffffffffffff8082169170010000000000000000000000000000000090041682565b60096020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007602090815260408083208151808301909252546fffffffffffffffffffffffffffffffff808216835270010000000000000000000000000000000090910416918101919091526117cc908484613df1565b949350505050565b6117dc614530565b5073ffffffffffffffffffffffffffffffffffffffff8381166000818152600a602090815260408083208151606081018352905467ffffffffffffffff8082168352680100000000000000008204168285015270010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16818301908152948452600890925280832054935190517f18fccc760000000000000000000000000000000000000000000000000000000081529194939093169283916318fccc76916118ab913390600401615781565b602060405180830381600087803b1580156118c557600080fd5b505af11580156118d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fd9190614bbb565b90508015801561190b575084155b1561191857505050610e12565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600760205260408120546fffffffffffffffffffffffffffffffff1690821315611a1257816119638282613fb5565b915061196e82613d49565b73ffffffffffffffffffffffffffffffffffffffff89166000818152600760205260409081902080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff949094169390931790925590517f911c9f20a03edabcbcbd18dca1174cce47a91b234ced7a5a3c60ba0d5b56c5d290611a04908490615073565b60405180910390a250611b2d565b6000821215611b2d576000829003611a2a8282613f78565b9150611a3582613d49565b73ffffffffffffffffffffffffffffffffffffffff8916600090815260076020526040902080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055611ac2611aa582613d49565b60408701516fffffffffffffffffffffffffffffffff16906141d4565b6fffffffffffffffffffffffffffffffff166040808701919091525173ffffffffffffffffffffffffffffffffffffffff8916907f8f1f26eb9b6aa8689dbdd519ead1999d9c8819d4738e403b2003b18197d9cf9790611b23908490615073565b60405180910390a2505b8515611eb15760006064611b58866020015167ffffffffffffffff168461422690919063ffffffff16565b81611b5f57fe5b0490508085604001516fffffffffffffffffffffffffffffffff161015611cfe576000611bab86604001516fffffffffffffffffffffffffffffffff1683613f7890919063ffffffff16565b90508615801590611bbb57508681115b15611bc35750855b611be473ffffffffffffffffffffffffffffffffffffffff8a168683614277565b611c0d611bf082613d49565b60408801516fffffffffffffffffffffffffffffffff1690613d99565b6fffffffffffffffffffffffffffffffff16604080880191909152517f6939aaf500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff861690636939aaf590611c78908490600401615073565b600060405180830381600087803b158015611c9257600080fd5b505af1158015611ca6573d6000803e3d6000fd5b505050508873ffffffffffffffffffffffffffffffffffffffff167fb18e7e4f6eac147a63a3bb6beb2d9039c88698623aff3efc4febbc20b0164ee582604051611cf09190615073565b60405180910390a250611eaf565b8085604001516fffffffffffffffffffffffffffffffff161115611eaf576000611d47611d2a83613d49565b60408801516fffffffffffffffffffffffffffffffff16906141d4565b6fffffffffffffffffffffffffffffffff1690508615801590611d6957508681115b15611d715750855b6040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff871690632e1a7d4d90611dc6908590600401615073565b602060405180830381600087803b158015611de057600080fd5b505af1158015611df4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e189190614bbb565b9050611e43611e2682613d49565b60408901516fffffffffffffffffffffffffffffffff16906141d4565b6fffffffffffffffffffffffffffffffff166040808901919091525173ffffffffffffffffffffffffffffffffffffffff8b16907f39aa22060f8dd4d291720311feedf3b72fef47c06c66ccf5c22b502c62e7550a90611ea4908490615073565b60405180910390a250505b505b50505073ffffffffffffffffffffffffffffffffffffffff84166000908152600a6020908152604091829020835181549285015193909401516fffffffffffffffffffffffffffffffff9081167001000000000000000000000000000000000267ffffffffffffffff94851668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff959096167fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090941693909317939093169390931791909116179055505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906153fe565b611fe2614530565b5073ffffffffffffffffffffffffffffffffffffffff8281166000818152600a602090815260408083208151606081018352905467ffffffffffffffff80821683526801000000000000000082048116838601527001000000000000000000000000000000009091046fffffffffffffffffffffffffffffffff16828401529484526009909252909120548151919316911615806120ac57508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b156121695773ffffffffffffffffffffffffffffffffffffffff848116600090815260096020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169185169190911790556121126212750042016143df565b67ffffffffffffffff16825260405173ffffffffffffffffffffffffffffffffffffffff80851691908616907f6f7ccdf3f86039e5a1dcf6028bf7b4773cbf7a234716ba2e5392b12bb0f8558f90600090a36124b9565b815167ffffffffffffffff161580159061218e5750815167ffffffffffffffff164210155b6121c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906153c7565b73ffffffffffffffffffffffffffffffffffffffff848116600090815260086020526040902054161561241d5773ffffffffffffffffffffffffffffffffffffffff808516600090815260086020526040808220548582015191517f7f8661a100000000000000000000000000000000000000000000000000000000815292931691637f8661a19161225891600401615764565b602060405180830381600087803b15801561227257600080fd5b505af1158015612286573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122aa9190614bbb565b9050600081131561233b5773ffffffffffffffffffffffffffffffffffffffff8516600090815260076020526040902081906122e69082614423565b508573ffffffffffffffffffffffffffffffffffffffff167f911c9f20a03edabcbcbd18dca1174cce47a91b234ced7a5a3c60ba0d5b56c5d28260405161232d9190615073565b60405180910390a2506123c9565b60008112156123c95773ffffffffffffffffffffffffffffffffffffffff8516600090815260076020526040812090829003906123789082614491565b508573ffffffffffffffffffffffffffffffffffffffff167f8f1f26eb9b6aa8689dbdd519ead1999d9c8819d4738e403b2003b18197d9cf97826040516123bf9190615073565b60405180910390a2505b8473ffffffffffffffffffffffffffffffffffffffff167f39aa22060f8dd4d291720311feedf3b72fef47c06c66ccf5c22b502c62e7550a84604001516040516124139190615764565b60405180910390a2505b73ffffffffffffffffffffffffffffffffffffffff808516600081815260086020908152604080832080548688167fffffffffffffffffffffffff0000000000000000000000000000000000000000918216179091558388528782018490528484526009909252808320805490921690915551928616927f03e6352a885adc4cc54767592939c3b1bbd65685658c3beaaba66a888120e2179190a35b5073ffffffffffffffffffffffffffffffffffffffff929092166000908152600a6020908152604091829020845181549286015193909501517fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090921667ffffffffffffffff958616177fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff16680100000000000000009590931694909402919091176fffffffffffffffffffffffffffffffff90811670010000000000000000000000000000000091909216021790915550565b60005473ffffffffffffffffffffffffffffffffffffffff1633146125de576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906153fe565b73ffffffffffffffffffffffffffffffffffffffff821661262b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906151a1565b73ffffffffffffffffffffffffffffffffffffffff82166000818152600460205260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016841515179055517f31a1e0eac44b54ac6c2a2efa87e92c83405ffcf33fceef02a7bca695130e260090611607908490615068565b6040517fd505accf00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff89169063d505accf90612708908a908a908a908a908a908a908a90600401614f5a565b600060405180830381600087803b15801561272257600080fd5b505af1158015612736573d6000803e3d6000fd5b505050505050505050505050565b60056020526000908152604090205481565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b600360209081526000928352604080842090915290825290205460ff1681565b6000808573ffffffffffffffffffffffffffffffffffffffff811633148015906127d2575073ffffffffffffffffffffffffffffffffffffffff81163014155b156128a2573360009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1680612834576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906155b0565b73ffffffffffffffffffffffffffffffffffffffff80821660009081526003602090815260408083209386168352929052205460ff166128a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615433565b505b73ffffffffffffffffffffffffffffffffffffffff86166128ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615390565b600073ffffffffffffffffffffffffffffffffffffffff8916156129135788612935565b7f00000000000000000000000000000000000000000000000000000000000000005b905061293f614519565b5073ffffffffffffffffffffffffffffffffffffffff81166000908152600760209081526040918290208251808401909352546fffffffffffffffffffffffffffffffff80821684527001000000000000000000000000000000009091041690820152856129ba576129b381886001613c8b565b95506129c9565b6129c681876000613df1565b96505b73ffffffffffffffffffffffffffffffffffffffff8083166000908152600660209081526040808320938d1683529290522054612a069087613f78565b73ffffffffffffffffffffffffffffffffffffffff8084166000908152600660209081526040808320938e1683529290522055612a5f612a4588613d49565b82516fffffffffffffffffffffffffffffffff16906141d4565b6fffffffffffffffffffffffffffffffff168152612a9c612a7f87613d49565b60208301516fffffffffffffffffffffffffffffffff16906141d4565b6fffffffffffffffffffffffffffffffff16602082018190526103e8111580612ad9575060208101516fffffffffffffffffffffffffffffffff16155b612b0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615246565b73ffffffffffffffffffffffffffffffffffffffff828116600090815260076020908152604090912083518154928501517fffffffffffffffffffffffffffffffff000000000000000000000000000000009093166fffffffffffffffffffffffffffffffff91821617811670010000000000000000000000000000000091909316029190911790558a16612ceb576040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690632e1a7d4d90612c10908a90600401615073565b600060405180830381600087803b158015612c2a57600080fd5b505af1158015612c3e573d6000803e3d6000fd5b5050505060008873ffffffffffffffffffffffffffffffffffffffff1688604051612c6890614dc9565b60006040518083038185875af1925050503d8060008114612ca5576040519150601f19603f3d011682016040523d82523d6000602084013e612caa565b606091505b5050905080612ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906156c1565b50612d0c565b612d0c73ffffffffffffffffffffffffffffffffffffffff83168989614277565b8773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fad9ab9ee6953d4d177f4a03b3a3ac3178ffcb9816319f348060194aa76b144868a8a604051610c709291906157dc565b3360008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001684179055517fdfb44ffabf0d3a8f650d3ce43eff98f6d050e7ea1a396d5794f014e7dadabacb9190a2565b60026020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff8516612e56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615579565b81158015612e62575080155b8015612e6f575060ff8316155b15612f865773ffffffffffffffffffffffffffffffffffffffff86163314612ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906151d8565b73ffffffffffffffffffffffffffffffffffffffff8681166000908152600260205260409020541615612f22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906154d6565b73ffffffffffffffffffffffffffffffffffffffff851660009081526004602052604090205460ff16612f81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061568a565b6131c3565b73ffffffffffffffffffffffffffffffffffffffff8616612fd3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061561c565b60006040518060400160405280600281526020017f190100000000000000000000000000000000000000000000000000000000000081525061301361147f565b7f1962bc9f5484cb7a998701b81090e966ee1fce5771af884cceee7c081b14ade28761305f577fb426802f1f7dc850a7b6b38805edea2442f3992878a9ab985abfe8091d95d0b1613081565b7f422ac5323fe049241dee67716229a1cc1bc7b313b23dfe3ef6d42ab177a3b2845b73ffffffffffffffffffffffffffffffffffffffff8b1660009081526005602090815260409182902080546001810190915591516130c89493928e928e928e92910161507c565b604051602081830303815290604052805190602001206040516020016130f093929190614da2565b60405160208183030381529060405280519060200120905060006001828686866040516000815260200160405260405161312d94939291906150ee565b6020604051602081039080840390855afa15801561314f573d6000803e3d6000fd5b5050506020604051035190508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146131c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061550d565b50505b73ffffffffffffffffffffffffffffffffffffffff8581166000818152600360209081526040808320948b16808452949091529081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016881515179055517f5f6ebb64ba012a851c6f014e6cad458ddf213d1512049b31cd06365c2b05925790613252908890615068565b60405180910390a3505050505050565b6060808367ffffffffffffffff8111801561327c57600080fd5b506040519080825280602002602001820160405280156132a6578160200160208202803683370190505b5091508367ffffffffffffffff811180156132c057600080fd5b506040519080825280602002602001820160405280156132f457816020015b60608152602001906001900390816132df5790505b50905060005b8481101561340557600060603088888581811061331357fe5b90506020028101906133259190615835565b604051613333929190614d76565b600060405180830381855af49150503d806000811461336e576040519150601f19603f3d011682016040523d82523d6000602084013e613373565b606091505b50915091508180613382575085155b61338b826144b9565b906133c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779190615120565b50818584815181106133d157fe5b602002602001019015159081151581525050808484815181106133f057fe5b602090810291909101015250506001016132fa565b50935093915050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007602090815260408083208151808301909252546fffffffffffffffffffffffffffffffff808216835270010000000000000000000000000000000090910416918101919091526117cc908484613c8b565b600a6020526000908152604090205467ffffffffffffffff808216916801000000000000000081049091169070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1683565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b6000620186a06134ff856032614226565b8161350657fe5b04905061352a73ffffffffffffffffffffffffffffffffffffffff86168786614277565b6040517f23e30c8b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8816906323e30c8b906135869033908990899087908a908a90600401614ed7565b600060405180830381600087803b1580156135a057600080fd5b505af11580156135b4573d6000803e3d6000fd5b505050506136016135c482613d49565b73ffffffffffffffffffffffffffffffffffffffff87166000908152600760205260409020906fffffffffffffffffffffffffffffffff16614423565b61360a86613e94565b1015613642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615653565b8573ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167f3be9b85936d5d30a1655ea116a17ee3d827b2cd428cc026ce5bf2ac46a22320487856040516136b89291906157dc565b60405180910390a450505050505050565b8273ffffffffffffffffffffffffffffffffffffffff81163314801590613706575073ffffffffffffffffffffffffffffffffffffffff81163014155b156137d6573360009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1680613768576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906155b0565b73ffffffffffffffffffffffffffffffffffffffff80821660009081526003602090815260408083209386168352929052205460ff166137d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615433565b505b73ffffffffffffffffffffffffffffffffffffffff8316613823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615390565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600660209081526040808320938816835292905220546138609083613f78565b73ffffffffffffffffffffffffffffffffffffffff8681166000908152600660209081526040808320898516845290915280822093909355908516815220546138a99083613fb5565b73ffffffffffffffffffffffffffffffffffffffff80871660008181526006602090815260408083208986168085529252918290209490945551918716917f6eabe333476233fd382224f233210cb808a7bc4c4de64f9d76628bf63c677b1a90613914908790615073565b60405180910390a45050505050565b60608567ffffffffffffffff8111801561393c57600080fd5b50604051908082528060200260200182016040528015613966578160200160208202803683370190505b5090508560005b81811015613a4257600087878381811061398357fe5b905060200201359050620186a06139a460328361422690919063ffffffff16565b816139ab57fe5b048483815181106139b857fe5b602002602001018181525050613a398c8c848181106139d357fe5b90506020020160208101906139e891906145f5565b8989858181106139f457fe5b905060200201358c8c86818110613a0757fe5b9050602002016020810190613a1c91906145f5565b73ffffffffffffffffffffffffffffffffffffffff169190614277565b5060010161396d565b506040517fd9d1762300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8c169063d9d1762390613aa39033908c908c908c908c908a908d908d90600401614ded565b600060405180830381600087803b158015613abd57600080fd5b505af1158015613ad1573d6000803e3d6000fd5b5050505060005b81811015612736576000898983818110613aee57fe5b9050602002016020810190613b0391906145f5565b9050613b61613b24858481518110613b1757fe5b6020026020010151613d49565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600760205260409020906fffffffffffffffffffffffffffffffff16614423565b613b6a82613e94565b1015613ba2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615653565b8b8b83818110613bae57fe5b9050602002016020810190613bc391906145f5565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff168e73ffffffffffffffffffffffffffffffffffffffff167f3be9b85936d5d30a1655ea116a17ee3d827b2cd428cc026ce5bf2ac46a2232048b8b87818110613c3457fe5b90506020020135888781518110613c4757fe5b6020026020010151604051613c5d9291906157dc565b60405180910390a450600101613ad8565b600660209081526000928352604080842090915290825290205481565b82516000906fffffffffffffffffffffffffffffffff16613cad575081613d42565b835160208501516fffffffffffffffffffffffffffffffff91821691613cd591869116614226565b81613cdc57fe5b049050818015613d3257508284602001516fffffffffffffffffffffffffffffffff16613d2886600001516fffffffffffffffffffffffffffffffff168461422690919063ffffffff16565b81613d2f57fe5b04105b15613d42576117cc816001613fb5565b9392505050565b60006fffffffffffffffffffffffffffffffff821115613d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906152eb565b5090565b8181016fffffffffffffffffffffffffffffffff8083169082161015613deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615322565b92915050565b600083602001516fffffffffffffffffffffffffffffffff1660001415613e19575081613d42565b602084015184516fffffffffffffffffffffffffffffffff91821691613e4191869116614226565b81613e4857fe5b049050818015613d3257508284600001516fffffffffffffffffffffffffffffffff16613d2886602001516fffffffffffffffffffffffffffffffff168461422690919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff81166000818152600a60205260408082205490517f70a082310000000000000000000000000000000000000000000000000000000081529192613deb927001000000000000000000000000000000009092046fffffffffffffffffffffffffffffffff16916370a0823190613f22903090600401614dcc565b60206040518083038186803b158015613f3a57600080fd5b505afa158015613f4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f729190614bbb565b90613fb5565b80820382811115613deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615133565b81810181811015613deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615322565b600060608573ffffffffffffffffffffffffffffffffffffffff166323b872dd60e01b86868660405160240161402a93929190614f29565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925290516140b39190614d86565b6000604051808303816000865af19150503d80600081146140f0576040519150601f19603f3d011682016040523d82523d6000602084013e6140f5565b606091505b509150915081801561411f57508051158061411f57508080602001905181019061411f91906147dc565b614155576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906155e7565b505050505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8667fd7df266aff736d415a9dc14b4158201d612e70d75b9c7f4e375ccfd20aa5166f83306040516020016141b694939291906150bd565b6040516020818303038152906040528051906020012090505b919050565b8082036fffffffffffffffffffffffffffffffff8084169082161115613deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790615133565b60008115806142415750508082028282828161423e57fe5b04145b613deb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610677906156f8565b600060608473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b85856040516024016142ad929190614fa8565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009094169390931790925290516143369190614d86565b6000604051808303816000865af19150503d8060008114614373576040519150601f19603f3d011682016040523d82523d6000602084013e614378565b606091505b50915091508180156143a25750805115806143a25750808060200190518101906143a291906147dc565b6143d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061520f565b5050505050565b600067ffffffffffffffff821115613d95576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106779061549f565b600061444b61443183613d49565b84546fffffffffffffffffffffffffffffffff1690613d99565b83547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff919091169081179093555090919050565b600061444b61449f83613d49565b84546fffffffffffffffffffffffffffffffff16906141d4565b60606044825110156144ff575060408051808201909152601d81527f5472616e73616374696f6e2072657665727465642073696c656e746c7900000060208201526141cf565b60048201915081806020019051810190613deb9190614bd3565b604080518082019091526000808252602082015290565b604080516060810182526000808252602082018190529181019190915290565b60008083601f840112614561578182fd5b50813567ffffffffffffffff811115614578578182fd5b602083019150836020808302850101111561459257600080fd5b9250929050565b60008083601f8401126145aa578182fd5b50813567ffffffffffffffff8111156145c1578182fd5b60208301915083602082850101111561459257600080fd5b8035613deb816158d4565b803560ff81168114613deb57600080fd5b600060208284031215614606578081fd5b8135613d42816158d4565b60008060408385031215614623578081fd5b823561462e816158d4565b9150602083013561463e816158d4565b809150509250929050565b60008060008060008060c08789031215614661578182fd5b863561466c816158d4565b9550602087013561467c816158d4565b9450604087013561468c816158f9565b935061469b88606089016145e4565b92506080870135915060a087013590509295509295509295565b600080604083850312156146c7578182fd5b82356146d2816158d4565b9150602083013561463e816158f9565b6000806000606084860312156146f6578283fd5b8335614701816158d4565b92506020840135614711816158f9565b91506040840135614721816158f9565b809150509250925092565b60008060008060608587031215614741578384fd5b843561474c816158d4565b9350602085013567ffffffffffffffff811115614767578384fd5b61477387828801614599565b9094509250506040850135614787816158f9565b939692955090935050565b6000806000604084860312156147a6578081fd5b833567ffffffffffffffff8111156147bc578182fd5b6147c886828701614550565b9094509250506020840135614721816158f9565b6000602082840312156147ed578081fd5b8151613d42816158f9565b600080600080600080600080600060a08a8c031215614815578687fd5b8935614820816158d4565b985060208a013567ffffffffffffffff8082111561483c578889fd5b6148488d838e01614550565b909a50985060408c0135915080821115614860578485fd5b61486c8d838e01614550565b909850965060608c0135915080821115614884578485fd5b6148908d838e01614550565b909650945060808c01359150808211156148a8578384fd5b506148b58c828d01614599565b915080935050809150509295985092959850929598565b60008060408385031215614623578182fd5b600080600080608085870312156148f3578182fd5b84356148fe816158d4565b9350602085013561490e816158d4565b9250604085013561491e816158d4565b9396929550929360600135925050565b600080600080600060a08688031215614945578283fd5b8535614950816158d4565b94506020860135614960816158d4565b93506040860135614970816158d4565b94979396509394606081013594506080013592915050565b600080600080600080600080610100898b0312156149a4578182fd5b88356149af816158d4565b975060208901356149bf816158d4565b965060408901356149cf816158d4565b955060608901359450608089013593506149ec8a60a08b016145e4565b925060c0890135915060e089013590509295985092959890939650565b60008060008060008060808789031215614a21578384fd5b8635614a2c816158d4565b95506020870135614a3c816158d4565b9450604087013567ffffffffffffffff80821115614a58578586fd5b614a648a838b01614550565b90965094506060890135915080821115614a7c578384fd5b50614a8989828a01614550565b979a9699509497509295939492505050565b600080600060608486031215614aaf578081fd5b8335614aba816158d4565b92506020840135614aca816158f9565b929592945050506040919091013590565b600080600060608486031215614aef578081fd5b8335614afa816158d4565b9250602084013591506040840135614721816158f9565b60008060408385031215614b23578182fd5b8235614b2e816158d4565b9150602083013567ffffffffffffffff8116811461463e578182fd5b60008060008060008060a08789031215614b62578384fd5b8635614b6d816158d4565b95506020870135614b7d816158d4565b94506040870135614b8d816158d4565b935060608701359250608087013567ffffffffffffffff811115614baf578283fd5b614a8989828a01614599565b600060208284031215614bcc578081fd5b5051919050565b600060208284031215614be4578081fd5b815167ffffffffffffffff80821115614bfb578283fd5b818401915084601f830112614c0e578283fd5b815181811115614c1c578384fd5b60405160207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401168201018181108482111715614c5a578586fd5b604052818152838201602001871015614c71578485fd5b614c828260208301602087016158a4565b9695505050505050565b73ffffffffffffffffffffffffffffffffffffffff16815260200190565b6000815180845260208085019450808401835b83811015614cd957815187529582019590820190600101614cbd565b509495945050505050565b600082845282826020860137806020848601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011685010190509392505050565b60008151808452614d448160208601602086016158a4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000828483379101908152919050565b60008251614d988184602087016158a4565b9190910192915050565b60008451614db48184602089016158a4565b91909101928352506020820152604001919050565b90565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b600060a0820173ffffffffffffffffffffffffffffffffffffffff8b168352602060a08185015281614e1f8b84615073565b90508b9250835b8b811015614e5157828401614e4483614e3f83886145d9565b614c8c565b9094509150600101614e26565b508481036040860152614e648982615073565b9250507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff881115614e93578283fd5b8702614ea081838b615898565b018281036060840152614eb38187614caa565b90508281036080840152614ec8818587614ce4565b9b9a5050505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808916835280881660208401525085604083015284606083015260a06080830152614f1d60a083018486614ce4565b98975050505050505050565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b73ffffffffffffffffffffffffffffffffffffffff97881681529590961660208601526040850193909352606084019190915260ff16608083015260a082015260c081019190915260e00190565b73ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b604080825283519082018190526000906020906060840190828701845b82811015615009578151151584529284019290840190600101614feb565b505050838103828501528085516150208184615073565b91508192508381028201848801865b83811015615059578583038552615047838351614d2c565b9487019492509086019060010161502f565b50909998505050505050505050565b901515815260200190565b90815260200190565b958652602086019490945273ffffffffffffffffffffffffffffffffffffffff9283166040860152911660608401521515608083015260a082015260c00190565b9384526020840192909252604083015273ffffffffffffffffffffffffffffffffffffffff16606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526117cc602083018486614ce4565b600060208252613d426020830184614d2c565b60208082526015908201527f426f72696e674d6174683a20556e646572666c6f770000000000000000000000604082015260600190565b60208082526017908201527f42656e746f426f783a20536b696d20746f6f206d756368000000000000000000604082015260600190565b6020808252601c908201527f4d6173746572434d67723a2043616e6e6f7420617070726f7665203000000000604082015260600190565b6020808252601b908201527f4d6173746572434d67723a2075736572206e6f742073656e6465720000000000604082015260600190565b6020808252601c908201527f426f72696e6745524332303a205472616e73666572206661696c656400000000604082015260600190565b60208082526016908201527f42656e746f426f783a2063616e6e6f7420656d70747900000000000000000000604082015260600190565b60208082526015908201527f4f776e61626c653a207a65726f20616464726573730000000000000000000000604082015260600190565b60208082526013908201527f42656e746f426f783a204e6f20746f6b656e7300000000000000000000000000604082015260600190565b6020808252601c908201527f426f72696e674d6174683a2075696e74313238204f766572666c6f7700000000604082015260600190565b60208082526018908201527f426f72696e674d6174683a20416464204f766572666c6f770000000000000000604082015260600190565b60208082526017908201527f42656e746f426f783a20746f5b305d206e6f7420736574000000000000000000604082015260600190565b60208082526014908201527f42656e746f426f783a20746f206e6f7420736574000000000000000000000000604082015260600190565b6020808252601a908201527f53747261746567794d616e616765723a20546f6f206561726c79000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f42656e746f426f783a205472616e73666572206e6f7420617070726f76656400604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604082015260600190565b6020808252601b908201527f426f72696e674d6174683a2075696e743634204f766572666c6f770000000000604082015260600190565b60208082526019908201527f4d6173746572434d67723a207573657220697320636c6f6e6500000000000000604082015260600190565b6020808252601d908201527f4d6173746572434d67723a20496e76616c6964205369676e6174757265000000604082015260600190565b6020808252818101527f426f72696e67466163746f72793a204e6f206d6173746572436f6e7472616374604082015260600190565b6020808252601b908201527f4d6173746572434d67723a206d617374657243206e6f74207365740000000000604082015260600190565b6020808252601b908201527f42656e746f426f783a206e6f206d6173746572436f6e74726163740000000000604082015260600190565b6020808252818101527f426f72696e6745524332303a205472616e7366657246726f6d206661696c6564604082015260600190565b6020808252601c908201527f4d6173746572434d67723a20557365722063616e6e6f74206265203000000000604082015260600190565b60208082526016908201527f42656e746f426f783a2057726f6e6720616d6f756e7400000000000000000000604082015260600190565b6020808252601b908201527f4d6173746572434d67723a206e6f742077686974656c69737465640000000000604082015260600190565b6020808252601d908201527f42656e746f426f783a20455448207472616e73666572206661696c6564000000604082015260600190565b60208082526018908201527f426f72696e674d6174683a204d756c204f766572666c6f770000000000000000604082015260600190565b6020808252818101527f53747261746567794d616e616765723a2054617267657420746f6f2068696768604082015260600190565b6fffffffffffffffffffffffffffffffff91909116815260200190565b6fffffffffffffffffffffffffffffffff92909216825273ffffffffffffffffffffffffffffffffffffffff16602082015260400190565b6fffffffffffffffffffffffffffffffff92831681529116602082015260400190565b918252602082015260400190565b67ffffffffffffffff91909116815260200190565b67ffffffffffffffff93841681529190921660208201526fffffffffffffffffffffffffffffffff909116604082015260600190565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112615869578283fd5b83018035915067ffffffffffffffff821115615883578283fd5b60200191503681900382131561459257600080fd5b82818337506000910152565b60005b838110156158bf5781810151838201526020016158a7565b838111156158ce576000848401525b50505050565b73ffffffffffffffffffffffffffffffffffffffff811681146158f657600080fd5b50565b80151581146158f657600080fdfea264697066735822122079eb387224e15cae6a9a744ed9b348260a7e9d2e37cd991b32f36c6b93b4808b64736f6c634300060c003300000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83

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

00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83

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

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


Deployed ByteCode Sourcemap

28536:23533:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34628:2885;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;14559:506;;;;;;;;;;-1:-1:-1;14559:506:0;;;;;:::i;:::-;;:::i;:::-;;41506:742;;;;;;;;;;-1:-1:-1;41506:742:0;;;;;:::i;:::-;;:::i;19401:58::-;;;;;;;;;;-1:-1:-1;19401:58:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;17054:1704::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;31101:44::-;;;;;;;;;;-1:-1:-1;31101:44:0;;;;;:::i;:::-;;:::i;20754:268::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;45788:377::-;;;;;;;;;;-1:-1:-1;45788:377:0;;;;;:::i;:::-;;:::i;15147:340::-;;;;;;;;;;;;;:::i;31053:39::-;;;;;;;;;;-1:-1:-1;31053:39:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;31152:51::-;;;;;;;;;;-1:-1:-1;31152:51:0;;;;;:::i;:::-;;:::i;33878:201::-;;;;;;;;;;-1:-1:-1;33878:201:0;;;;;:::i;:::-;;:::i;49420:2477::-;;;;;;;;;;-1:-1:-1;49420:2477:0;;;;;:::i;:::-;;:::i;46978:1691::-;;;;;;;;;;-1:-1:-1;46978:1691:0;;;;;:::i;:::-;;:::i;21390:350::-;;;;;;;;;;-1:-1:-1;21390:350:0;;;;;:::i;:::-;;:::i;27792:280::-;;;;;;;;;;-1:-1:-1;27792:280:0;;;;;:::i;:::-;;:::i;19524:41::-;;;;;;;;;;-1:-1:-1;19524:41:0;;;;;:::i;:::-;;:::i;13705:20::-;;;;;;;;;;;;;:::i;19231:74::-;;;;;;;;;;-1:-1:-1;19231:74:0;;;;;:::i;:::-;;:::i;37913:2157::-;;;;;;;;;;-1:-1:-1;37913:2157:0;;;;;:::i;:::-;;:::i;21155:142::-;;;;;;;;;;;;;:::i;16463:51::-;;;;;;;;;;-1:-1:-1;16463:51:0;;;;;:::i;:::-;;:::i;22509:2685::-;;;;;;;;;;-1:-1:-1;22509:2685:0;;;;;:::i;:::-;;:::i;26868:530::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;33378:197::-;;;;;;;;;;-1:-1:-1;33378:197:0;;;;;:::i;:::-;;:::i;31210:51::-;;;;;;;;;;-1:-1:-1;31210:51:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;13732:27::-;;;;;;;;;;;;;:::i;43012:564::-;;;;;;;;;;-1:-1:-1;43012:564:0;;;;;:::i;:::-;;:::i;40582:473::-;;;;;;;;;;-1:-1:-1;40582:473:0;;;;;:::i;:::-;;:::i;44483:956::-;;;;;;;;;;-1:-1:-1;44483:956:0;;;;;:::i;:::-;;:::i;30945:63::-;;;;;;;;;;-1:-1:-1;30945:63:0;;;;;:::i;:::-;;:::i;34628:2885::-;34807:17;;34792:4;32150:18;;;32158:10;32150:18;;;;:43;;-1:-1:-1;32172:21:0;;;32188:4;32172:21;;32150:43;32146:366;;;32303:10;32261:22;32286:28;;;:16;:28;;;;;;;;32337;32329:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;32420:38;;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;32412:88;;;;;;;;;;;;:::i;:::-;32146:366;;34882:16:::1;::::0;::::1;34874:49;;;;;;;;;;;;:::i;:::-;34996:12;35011:22;::::0;::::1;::::0;:43:::1;;35048:6;35011:43;;;35036:9;35011:43;34996:58;;35065:19;;:::i;:::-;-1:-1:-1::0;35087:13:0::1;::::0;::::1;;::::0;;;:6:::1;:13;::::0;;;;;;;;35065:35;;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;;;;;::::1;;::::0;;::::1;::::0;;;;35243:18;::::1;::::0;:45:::1;;;35287:1;35265:5;:17;;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:23;35243:45;35235:77;;;;;;;;;;;;:::i;:::-;35327:10:::0;35323:605:::1;;35453:27;:5:::0;35466:6;35474:5:::1;35453:12;:27::i;:::-;35445:35;;30752:4;35619:29;35634:13;:5;:11;:13::i;:::-;35619:10;::::0;::::1;::::0;:14:::1;;::::0;::::1;:29::i;:::-;:53;;;35615:107;;;35701:1;35704::::0;35693:13:::1;;;;;;;;35615:107;35323:605;;;35888:28;:5:::0;35904;35911:4:::1;35888:15;:28::i;:::-;35879:37;;35323:605;36248:21;::::0;::::1;36264:4;36248:21;;::::0;:47:::1;;-1:-1:-1::0;36273:22:0::1;::::0;::::1;::::0;36248:47:::1;:102;;;-1:-1:-1::0;36336:13:0;;36309:41:::1;::::0;::::1;;:22;36325:5:::0;36309:15:::1;:22::i;:::-;:26:::0;::::1;:41::i;:::-;36299:6;:51;;36248:102;36226:175;;;;;;;;;;;;:::i;:::-;36437:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:20;;::::1;::::0;;;;;;;:31:::1;::::0;36462:5;36437:24:::1;:31::i;:::-;36414:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:20;;::::1;::::0;;;;;;:54;36492:29:::1;36507:13;:5:::0;:11:::1;:13::i;:::-;36492:10;::::0;::::1;::::0;:14:::1;;::::0;::::1;:29::i;:::-;36479:42;;:10;::::0;::::1;:42:::0;36548:33:::1;36566:14;:6:::0;:12:::1;:14::i;:::-;36548:13:::0;;:17:::1;;::::0;::::1;:33::i;:::-;36532:49;::::0;;::::1;::::0;;36592:13:::1;::::0;;::::1;36532;36592::::0;;;:6:::1;:13;::::0;;;;;;;:21;;;;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;::::0;;;36728:22;::::1;36724:668;;37021:9;37007:33;;;37048:6;37007:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;36724:668;;;37079:21;::::0;::::1;37095:4;37079:21;37075:317;;37329:51;:22;::::0;::::1;37352:4:::0;37366::::1;37373:6:::0;37329:22:::1;:51::i;:::-;37431:2;37407:42;;37425:4;37407:42;;37418:5;37407:42;;;37435:6;37443:5;37407:42;;;;;;;:::i;:::-;;;;;;;;37472:6;37460:18;;37500:5;37489:16;;32522:1;;;34628:2885:::0;;;;;;;;;:::o;14559:506::-;15615:5;;;;15601:10;:19;15593:64;;;;;;;;;;;;:::i;:::-;14698:6:::1;14694:364;;;14752:22;::::0;::::1;::::0;::::1;::::0;:34:::1;;;14778:8;14752:34;14744:68;;;;;;;;;;;;:::i;:::-;14879:5;::::0;;14858:37:::1;::::0;::::1;::::0;;::::1;::::0;14879:5;::::1;::::0;14858:37:::1;::::0;::::1;14910:5;:16:::0;;::::1;::::0;::::1;::::0;;;::::1;;::::0;;;;14941:25;;;;::::1;::::0;;14694:364:::1;;;15023:12;:23:::0;;;::::1;;::::0;::::1;;::::0;;14694:364:::1;14559:506:::0;;;:::o;41506:742::-;41669:4;32150:18;;;32158:10;32150:18;;;;:43;;-1:-1:-1;32172:21:0;;;32188:4;32172:21;;32150:43;32146:366;;;32303:10;32261:22;32286:28;;;:16;:28;;;;;;;;32337;32329:68;;;;;;;;;;;;:::i;:::-;32420:38;;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;32412:88;;;;;;;;;;;;:::i;:::-;32146:366;;41731:1:::1;41713:3:::0;;41731:1;41713:6;::::1;;;;;;;;;;;;;;;;;:::i;:::-;:20;;;;41705:56;;;;;;;;;;;;:::i;:::-;41834:19;41878:3:::0;41834:19;41899:267:::1;41923:3;41919:1;:7;41899:267;;;41948:10;41961:3;;41965:1;41961:6;;;;;;;;;;;;;;;;;;;;:::i;:::-;41948:19;;42005:35;42030:6;;42037:1;42030:9;;;;;;;;;;;;;42005;:16;42015:5;42005:16;;;;;;;;;;;;;;;:20;42022:2;42005:20;;;;;;;;;;;;;;;;:24;;:35;;;;:::i;:::-;41982:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:20;;::::1;::::0;;;;;;:58;42069:26:::1;42085:6:::0;;42092:1;42085:9;;::::1;;;;;;;;;;;42069:11;:15;;:26;;;;:::i;:::-;42055:40;;42140:2;42115:39;;42134:4;42115:39;;42127:5;42115:39;;;42144:6;;42151:1;42144:9;;;;;;;;;;;;;42115:39;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;41928:3:0::1;;41899:267;;;-1:-1:-1::0;42201:16:0::1;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;;:39:::1;::::0;42228:11;42201:26:::1;:39::i;:::-;42176:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;;::::1;::::0;;;;;;;;;;:64;;;;-1:-1:-1;;;;;;;41506:742:0:o;19401:58::-;;;;;;;;;;;;;;;:::o;17054:1704::-;17190:20;17231:28;;;17223:73;;;;;;;;;;;;:::i;:::-;17329:23;;;;17425:1134;;;;17568:12;17593:4;;17583:15;;;;;;;:::i;:::-;;;;;;;;17568:30;;17782:4;17776:11;17819:66;17812:5;17805:81;17929:11;17922:4;17915:5;17911:16;17904:37;17984:66;17977:4;17970:5;17966:16;17959:92;18109:4;18103;18096:5;18093:1;18085:29;18069:45;;;17744:385;;;;18208:4;18202:11;18245:66;18238:5;18231:81;18355:11;18348:4;18341:5;18337:16;18330:37;18410:66;18403:4;18396:5;18392:16;18385:92;18528:4;18521:5;18518:1;18511:22;18495:38;;;18170:378;18569:30;;;;;;;;:16;:30;;;;;;;:47;;;;;;;;;;;;;;18629:58;;;;;:34;;18671:9;;18629:58;;18682:4;;;;18629:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18737:12;18705:45;;18715:14;18705:45;;;18731:4;;18705:45;;;;;;;:::i;:::-;;;;;;;;17054:1704;;;;;;;:::o;31101:44::-;;;;;;;;;;;;;;;:::o;20754:268::-;20803:7;20884:9;20932:25;20921:36;;:93;;20980:34;21006:7;20980:25;:34::i;:::-;20921:93;;;20960:17;20921:93;20914:100;;;20754:268;:::o;45788:377::-;15615:5;;;;15601:10;:19;15593:64;;;;;;;;;;;;:::i;:::-;30687:2:::1;45920:17;:42;;;;45912:87;;;;;;;;;;;;:::i;:::-;46032:19;::::0;::::1;;::::0;;;:12:::1;:19;::::0;;;;;;:56;;;::::1;::::0;::::1;::::0;::::1;;;::::0;;46104:53;::::1;::::0;::::1;::::0;46032:56;;46104:53:::1;:::i;:::-;;;;;;;;45788:377:::0;;:::o;15147:340::-;15215:12;;;;15267:10;:27;;15259:72;;;;;;;;;;;;:::i;:::-;15390:5;;;15369:42;;;;;;;15390:5;;;15369:42;;;15422:5;:21;;;;;;;;;;;;;;15454:25;;;;;;;15147:340::o;31053:39::-;;;;;;;;;;;;;;;;;;;;;;:::o;31152:51::-;;;;;;;;;;;;;;;:::o;33878:201::-;34032:13;;;33996:14;34032:13;;;:6;:13;;;;;;;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;:39;;34056:5;34063:7;34032:23;:39::i;:::-;34023:48;33878:201;-1:-1:-1;;;;33878:201:0:o;49420:2477::-;49542:24;;:::i;:::-;-1:-1:-1;49569:19:0;;;;;;;;:12;:19;;;;;;;;49542:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49621:15;;;49542:46;49621:15;;;;;;;49688:12;;49670:43;;;;;49542:46;;49621:15;;;;;;;49670:17;;:43;;49702:10;;49670:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49647:66;-1:-1:-1;49728:18:0;;:30;;;;;49751:7;49750:8;49728:30;49724:69;;;49775:7;;;;;49724:69;49828:13;;;49805:20;49828:13;;;:6;:13;;;;;:21;;;;49866:17;;49862:783;;;49922:13;49966:21;:12;49922:13;49966:16;:21::i;:::-;49951:36;;50026:20;:12;:18;:20::i;:::-;50002:13;;;;;;;:6;:13;;;;;;;:44;;;;;;;;;;;;;;;;50066:29;;;;;;50091:3;;50066:29;:::i;:::-;;;;;;;;49862:783;;;;50133:1;50117:13;:17;50113:532;;;50380:11;50402:14;;;50447:21;:12;50402:14;50447:16;:21::i;:::-;50432:36;;50507:20;:12;:18;:20::i;:::-;50483:13;;;;;;;:6;:13;;;;;:44;;;;;;;;;;;;;;;50557:29;50574:11;:3;:9;:11::i;:::-;50557:12;;;;:16;;;;:29::i;:::-;50542:44;;:12;;;;:44;;;;50606:27;;;;;;;;;50629:3;;50606:27;:::i;:::-;;;;;;;;50113:532;;50661:7;50657:1194;;;50685:21;50751:3;50709:39;50726:4;:21;;;50709:39;;:12;:16;;:39;;;;:::i;:::-;:45;;;;;;50685:69;;50864:13;50849:4;:12;;;:28;;;50845:995;;;50898:17;50918:31;50936:4;:12;;;50918:31;;:13;:17;;:31;;;;:::i;:::-;50898:51;-1:-1:-1;50972:20:0;;;;;:51;;;51008:15;50996:9;:27;50972:51;50968:127;;;-1:-1:-1;51060:15:0;50968:127;51113:49;:18;;;51140:9;51152;51113:18;:49::i;:::-;51196:35;51213:17;:9;:15;:17::i;:::-;51196:12;;;;:16;;;;:35::i;:::-;51181:50;;:12;;;;:50;;;;51250:25;;;;:14;;;;;;:25;;51265:9;;51250:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51317:5;51299:35;;;51324:9;51299:35;;;;;;:::i;:::-;;;;;;;;50845:995;;;;51375:13;51360:4;:12;;;:28;;;51356:484;;;51409:16;51428:39;51445:21;:13;:19;:21::i;:::-;51428:12;;;;:16;;;;:39::i;:::-;51409:58;;;-1:-1:-1;51490:20:0;;;;;:50;;;51525:15;51514:8;:26;51490:50;51486:125;;;-1:-1:-1;51576:15:0;51486:125;51656:28;;;;;51631:22;;51656:18;;;;;;:28;;51675:8;;51656:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51631:53;;51720:40;51737:22;:14;:20;:22::i;:::-;51720:12;;;;:16;;;;:40::i;:::-;51705:55;;:12;;;;:55;;;;51784:40;;;;;;;;;51809:14;;51784:40;:::i;:::-;;;;;;;;51356:484;;;50657:1194;;-1:-1:-1;;;51863:19:0;;;;;;;:12;:19;;;;;;;;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49420:2477;;;:::o;46978:1691::-;15615:5;;;;15601:10;:19;15593:64;;;;;;;;;;;;:::i;:::-;47064:24:::1;;:::i;:::-;-1:-1:-1::0;47091:19:0::1;::::0;;::::1;;::::0;;;:12:::1;:19;::::0;;;;;;;47064:46;;::::1;::::0;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;;;::::0;;;;47141:22;;;:15:::1;:22:::0;;;;;;;47178;;47064:46;;47141:22:::1;::::0;47178:27:::1;::::0;;:53:::1;;;47220:11;47209:22;;:7;:22;;;;47178:53;47174:1451;;;47248:22;::::0;;::::1;;::::0;;;:15:::1;:22;::::0;;;;:36;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;47466:41:::1;30624:7;47467:15;:32;47466:39;:41::i;:::-;47441:66;;::::0;;47527:37:::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;47441:22:::1;::::0;47527:37:::1;47174:1451;;;47605:22:::0;;:27:::1;;::::0;;::::1;::::0;:72:::1;;-1:-1:-1::0;47655:22:0;;47636:41:::1;;:15;:41;;47605:72;47597:111;;;;;;;;;;;;:::i;:::-;47727:38;47735:15:::0;;::::1;47763:1;47735:15:::0;;;:8:::1;:15;::::0;;;;;::::1;47727:38:::0;47723:673:::1;;47809:15;::::0;;::::1;47786:20;47809:15:::0;;;:8:::1;:15;::::0;;;;;;47830:12;;::::1;::::0;47809:34;;;;;47786:20;;47809:15:::1;::::0;:20:::1;::::0;:34:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47786:57;;47910:1;47894:13;:17;47890:427;;;47995:13;::::0;::::1;47936:11;47995:13:::0;;;:6:::1;:13;::::0;;;;47958;;47995:29:::1;::::0;47958:13;47995:24:::1;:29::i;:::-;;48070:5;48052:29;;;48077:3;48052:29;;;;;;:::i;:::-;;;;;;;;47890:427;;;;48127:1;48111:13;:17;48107:210;;;48213:13;::::0;::::1;48153:11;48213:13:::0;;;:6:::1;:13;::::0;;;;48175:14;;;::::1;::::0;48213:29:::1;::::0;48175:14;48213:24:::1;:29::i;:::-;;48286:5;48270:27;;;48293:3;48270:27;;;;;;:::i;:::-;;;;;;;;48107:210;;48360:5;48342:38;;;48367:4;:12;;;48342:38;;;;;;:::i;:::-;;;;;;;;47723:673;;48410:15;::::0;;::::1;;::::0;;;:8:::1;:15;::::0;;;;;;;:25;;;;::::1;::::0;;;::::1;;::::0;;;48450:26;;;48491:12;;::::1;:16:::0;;;48522:22;;;:15:::1;:22:::0;;;;;;:37;;;;::::1;::::0;;;48579:34;;;::::1;::::0;::::1;::::0;48410:15;48579:34:::1;47174:1451;-1:-1:-1::0;48635:19:0::1;::::0;;;::::1;;::::0;;;:12:::1;:19;::::0;;;;;;;;:26;;;;;;::::1;::::0;;;;::::1;::::0;;;;::::1;;::::0;;::::1;;::::0;::::1;::::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;;::::0;;::::1;::::0;;;;::::1;;;::::0;;;-1:-1:-1;46978:1691:0:o;21390:350::-;15615:5;;;;15601:10;:19;15593:64;;;;;;;;;;;;:::i;:::-;21517:28:::1;::::0;::::1;21509:69;;;;;;;;;;;;:::i;:::-;21611:42;::::0;::::1;;::::0;;;:26:::1;:42;::::0;;;;;;:53;;;::::1;::::0;::::1;;;::::0;;21680:52;::::1;::::0;::::1;::::0;21611:53;;21680:52:::1;:::i;27792:280::-:0;28015:49;;;;;:12;;;;;;:49;;28028:4;;28034:2;;28038:6;;28046:8;;28056:1;;28059;;28062;;28015:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27792:280;;;;;;;;:::o;19524:41::-;;;;;;;;;;;;;:::o;13705:20::-;;;;;;:::o;19231:74::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;37913:2157::-;38085:17;;38070:4;32150:18;;;32158:10;32150:18;;;;:43;;-1:-1:-1;32172:21:0;;;32188:4;32172:21;;32150:43;32146:366;;;32303:10;32261:22;32286:28;;;:16;:28;;;;;;;;32337;32329:68;;;;;;;;;;;;:::i;:::-;32420:38;;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;32412:88;;;;;;;;;;;;:::i;:::-;32146:366;;38160:16:::1;::::0;::::1;38152:49;;;;;;;;;;;;:::i;:::-;38274:12;38289:22;::::0;::::1;::::0;:43:::1;;38326:6;38289:43;;;38314:9;38289:43;38274:58;;38343:19;;:::i;:::-;-1:-1:-1::0;38365:13:0::1;::::0;::::1;;::::0;;;:6:::1;:13;::::0;;;;;;;;38343:35;;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;;;;::::1;;::::0;;::::1;::::0;38393:10;38389:372:::1;;38565:26;:5:::0;38578:6;38586:4:::1;38565:12;:26::i;:::-;38557:34;;38389:372;;;38720:29;:5:::0;38736;38743::::1;38720:15;:29::i;:::-;38711:38;;38389:372;38798:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;;:33:::1;::::0;38825:5;38798:26:::1;:33::i;:::-;38773:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;:58;38858:33:::1;38876:14;:6:::0;:12:::1;:14::i;:::-;38858:13:::0;;:17:::1;;::::0;::::1;:33::i;:::-;38842:49;;::::0;;38915:29:::1;38930:13;:5:::0;:11:::1;:13::i;:::-;38915:10;::::0;::::1;::::0;:14:::1;;::::0;::::1;:29::i;:::-;38902:42;;:10;::::0;::::1;:42:::0;;;30752:4:::1;-1:-1:-1::0;39089:35:0::1;::::0;:54:::1;;-1:-1:-1::0;39128:10:0::1;::::0;::::1;::::0;:15:::1;;::::0;39089:54:::1;39081:89;;;;;;;;;;;;:::i;:::-;39181:13;::::0;;::::1;;::::0;;;:6:::1;:13;::::0;;;;;;;:21;;;;;;::::1;::::0;;;;::::1;;::::0;;::::1;;::::0;::::1;::::0;;;;::::1;;::::0;;;::::1;::::0;;39244:22;::::1;39240:708;;39398:42;::::0;;;;:34:::1;39412:9;39398:34;::::0;::::1;::::0;:42:::1;::::0;39433:6;;39398:42:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;39575:12;39593:2;:7;;39608:6;39593:26;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39574:45;;;39642:7;39634:49;;;;;;;;;;;;:::i;:::-;39240:708;;;;39906:30;:18;::::0;::::1;39925:2:::0;39929:6;39906:18:::1;:30::i;:::-;39988:2;39963:43;;39982:4;39963:43;;39975:5;39963:43;;;39992:6;40000:5;39963:43;;;;;;;:::i;21155:142::-:0;21232:10;21201:28;;;;:16;:28;;;;;;:41;;;;;;;;21258:31;;;21201:28;21258:31;21155:142::o;16463:51::-;;;;;;;;;;;;;;;:::o;22509:2685::-;22734:28;;;22726:68;;;;;;;;;;;;:::i;:::-;22903:6;;:16;;;;-1:-1:-1;22913:6:0;;22903:16;:26;;;;-1:-1:-1;22923:6:0;;;;22903:26;22899:2124;;;22954:18;;;22962:10;22954:18;22946:58;;;;;;;;;;;;:::i;:::-;23027:36;:22;;;23061:1;23027:22;;;:16;:22;;;;;;;:36;23019:74;;;;;;;;;;;;:::i;:::-;23116:42;;;;;;;:26;:42;;;;;;;;23108:82;;;;;;;;;;;;:::i;:::-;22899:2124;;;23520:18;;;23512:59;;;;;;;;;;;;:::i;:::-;24022:14;24131:40;;;;;;;;;;;;;;;;;24198:18;:16;:18::i;:::-;19915:118;24386:8;:196;;24543:39;24386:196;;;24434:69;24386:196;24748:12;;;;;;;:6;:12;;;;;;;;;:14;;;;;;;;24283:510;;;;;;24617:4;;24656:14;;24705:8;;24748:14;24283:510;;:::i;:::-;;;;;;;;;;;;;24243:577;;;;;;24088:755;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;24056:806;;;;;;24022:840;;24877:24;24904:26;24914:6;24922:1;24925;24928;24904:26;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24877:53;;24973:4;24953:24;;:16;:24;;;24945:66;;;;;;;;;;;;:::i;:::-;22899:2124;;;25055:38;;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;;;:55;;;;;;;;;;25126:60;;;;;25055:55;;25126:60;:::i;:::-;;;;;;;;22509:2685;;;;;;:::o;26868:530::-;26952:23;;27035:5;27024:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27024:24:0;-1:-1:-1;27012:36:0;-1:-1:-1;27081:5:0;27069:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27059:35;;27110:9;27105:286;27125:16;;;27105:286;;;27164:12;27178:19;27209:4;27228:5;;27234:1;27228:8;;;;;;;;;;;;;;;;;;:::i;:::-;27201:36;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27163:74;;;;27260:7;:24;;;;27272:12;27271:13;27260:24;27286:21;27300:6;27286:13;:21::i;:::-;27252:56;;;;;;;;;;;;;;:::i;:::-;;27338:7;27323:9;27333:1;27323:12;;;;;;;;;;;;;:22;;;;;;;;;;;27373:6;27360:7;27368:1;27360:10;;;;;;;;;;;;;;;;;:19;-1:-1:-1;;27143:3:0;;27105:286;;;;26868:530;;;;;;:::o;33378:197::-;33530:13;;;33496;33530;;;:6;:13;;;;;;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;:37;;33551:6;33559:7;33530:20;:37::i;31210:51::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;13732:27::-;;;;;;:::o;43012:564::-;43195:11;30572:3;43209:26;:6;30502:2;43209:10;:26::i;:::-;:53;;;;;;;-1:-1:-1;43273:36:0;:18;;;43292:8;43302:6;43273:18;:36::i;:::-;43322:58;;;;;:20;;;;;;:58;;43343:10;;43355:5;;43362:6;;43370:3;;43375:4;;;;43322:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43427:37;43452:11;:3;:9;:11::i;:::-;43427:13;;;;;;;:6;:13;;;;;;:37;;:24;:37::i;:::-;43401:22;43417:5;43401:15;:22::i;:::-;:63;;43393:98;;;;;;;;;;;;:::i;:::-;43559:8;43507:61;;43539:5;43507:61;;43528:8;43507:61;;;43546:6;43554:3;43507:61;;;;;;;:::i;:::-;;;;;;;;43012:564;;;;;;;:::o;40582:473::-;40713:4;32150:18;;;32158:10;32150:18;;;;:43;;-1:-1:-1;32172:21:0;;;32188:4;32172:21;;32150:43;32146:366;;;32303:10;32261:22;32286:28;;;:16;:28;;;;;;;;32337;32329:68;;;;;;;;;;;;:::i;:::-;32420:38;;;;;;;;:22;:38;;;;;;;;:44;;;;;;;;;;;;32412:88;;;;;;;;;;;;:::i;:::-;32146:366;;40757:16:::1;::::0;::::1;40749:49;;;;;;;;;;;;:::i;:::-;40896:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;;:33:::1;::::0;40923:5;40896:26:::1;:33::i;:::-;40871:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:22;;::::1;::::0;;;;;;;;:58;;;;40963:20;;::::1;::::0;;;;:31:::1;::::0;40988:5;40963:24:::1;:31::i;:::-;40940:16;::::0;;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;;:20;;::::1;::::0;;;;;;;;;:54;;;;41012:35;;;::::1;::::0;::::1;::::0;::::1;::::0;41041:5;;41012:35:::1;:::i;:::-;;;;;;;;40582:473:::0;;;;;:::o;44483:956::-;44712:21;44750:6;44736:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44736:28:0;-1:-1:-1;44712:52:0;-1:-1:-1;44791:6:0;44777:11;44815:231;44839:3;44835:1;:7;44815:231;;;44864:14;44881:7;;44889:1;44881:10;;;;;;;;;;;;;44864:27;;30572:3;44916:26;30502:2;44916:6;:10;;:26;;;;:::i;:::-;:53;;;;;;44906:4;44911:1;44906:7;;;;;;;;;;;;;:63;;;;;44986:48;45009:9;;45019:1;45009:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;45023:7;;45031:1;45023:10;;;;;;;;;;;;;44986:6;;44993:1;44986:9;;;;;;;;;;;;;;;;;;;;:::i;:::-;:22;;;:48;:22;:48::i;:::-;-1:-1:-1;44844:3:0;;44815:231;;;-1:-1:-1;45058:66:0;;;;;:25;;;;;;:66;;45084:10;;45096:6;;;;45104:7;;;;45113:4;;45119;;;;45058:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45142:9;45137:295;45161:3;45157:1;:7;45137:295;;;45186:12;45201:6;;45208:1;45201:9;;;;;;;;;;;;;;;;;;;;:::i;:::-;45186:24;;45259:41;45284:15;:4;45289:1;45284:7;;;;;;;;;;;;;;:13;:15::i;:::-;45259:13;;;;;;;:6;:13;;;;;;:41;;:24;:41::i;:::-;45233:22;45249:5;45233:15;:22::i;:::-;:67;;45225:102;;;;;;;;;;;;:::i;:::-;45407:9;;45417:1;45407:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;45347:73;;45379:5;45347:73;;45368:8;45347:73;;;45386:7;;45394:1;45386:10;;;;;;;;;;;;;45398:4;45403:1;45398:7;;;;;;;;;;;;;;45347:73;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;45166:3:0;;45137:295;;30945:63;;;;;;;;;;;;;;;;;;;;;;;;:::o;10091:431::-;10245:13;;10216:12;;10245:18;;10241:274;;-1:-1:-1;10287:7:0;10241:274;;;10360:13;;10346:10;;;;10334:39;;;;;:23;;:7;;:23;:11;:23::i;:::-;:39;;;;;;10327:46;;10392:7;:57;;;;;10442:7;10429:5;:10;;;10403:36;;:23;10412:5;:13;;;10403:23;;:4;:8;;:23;;;;:::i;:::-;:36;;;;;;:46;10392:57;10388:116;;;10477:11;:4;10486:1;10477:8;:11::i;10388:116::-;10091:431;;;;;:::o;7908:161::-;7957:9;7987:16;;;;7979:57;;;;;;;;;;;;:::i;:::-;-1:-1:-1;8059:1:0;7908:161::o;8533:141::-;8626:5;;;8621:16;;;;;;;;;8613:53;;;;;;;;;;;;:::i;:::-;8533:141;;;;:::o;10615:437::-;10740:15;10772:5;:10;;;:15;;10786:1;10772:15;10768:277;;;-1:-1:-1;10814:4:0;10768:277;;;10887:10;;;;10870:13;;10861:36;;;;;:23;;:4;;:23;:8;:23::i;:::-;:36;;;;;;10851:46;;10916:7;:57;;;;;10969:4;10953:5;:13;;;10927:39;;:23;10939:5;:10;;;10927:23;;:7;:11;;:23;;;;:::i;32800:169::-;32933:19;;;32862:14;32933:19;;;:12;:19;;;;;;:27;32898:30;;;;;32862:14;;32898:63;;32933:27;;;;;;;32898:15;;:30;;32922:4;;32898:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:34;;:63::i;7599:138::-;7692:5;;;7687:16;;;;7679:50;;;;;;;;;;;;:::i;7450:141::-;7543:5;;;7538:16;;;;7530:53;;;;;;;;;;;;:::i;6771:382::-;6917:12;6931:17;6960:5;6952:19;;5780:10;6995:17;;7014:4;7020:2;7024:6;6972:59;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6952:80;;;;6972:59;6952:80;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6916:116;;;;7051:7;:57;;;;-1:-1:-1;7063:11:0;;:16;;:44;;;7094:4;7083:24;;;;;;;;;;;;:::i;:::-;7043:102;;;;;;;;;;;;:::i;:::-;6771:382;;;;;;:::o;20479:213::-;20553:7;19633:80;20634:24;20660:7;20677:4;20590:93;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20580:104;;;;;;20573:111;;20479:213;;;;:::o;8682:138::-;8775:5;;;8770:16;;;;;;;;;8762:50;;;;;;;;;;;;:::i;7745:155::-;7803:9;7833:6;;;:30;;-1:-1:-1;;7848:5:0;;;7862:1;7857;7848:5;7857:1;7843:15;;;;;:20;7833:30;7825:67;;;;;;;;;;;;:::i;6108:340::-;6227:12;6241:17;6270:5;6262:19;;5690:10;6305:12;;6319:2;6323:6;6282:48;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6262:69;;;;6282:48;6262:69;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6226:105;;;;6350:7;:57;;;;-1:-1:-1;6362:11:0;;:16;;:44;;;6393:4;6382:24;;;;;;;;;;;;:::i;:::-;6342:98;;;;;;;;;;;;:::i;:::-;6108:340;;;;;:::o;8077:156::-;8125:8;8154:15;;;;8146:55;;;;;;;;;;;;:::i;12917:179::-;12994:18;13054:34;13072:15;:7;:13;:15::i;:::-;13054:13;;;;;:17;:34::i;:::-;13038:50;;;;;;;;;;;;;;;-1:-1:-1;13038:50:0;;;-1:-1:-1;12917:179:0:o;13228:::-;13305:18;13365:34;13383:15;:7;:13;:15::i;:::-;13365:13;;;;;:17;:34::i;25532:496::-;25604:13;25767:2;25746:11;:18;:23;25742:67;;;-1:-1:-1;25771:38:0;;;;;;;;;;;;;;;;;;;25742:67;25913:4;25900:11;25896:22;25881:37;;25957:11;25946:33;;;;;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;160:352::-;;;290:3;283:4;275:6;271:17;267:27;257:2;;-1:-1;;298:12;257:2;-1:-1;328:20;;368:18;357:30;;354:2;;;-1:-1;;390:12;354:2;434:4;426:6;422:17;410:29;;485:3;434:4;;469:6;465:17;426:6;451:32;;448:41;445:2;;;502:1;;492:12;445:2;250:262;;;;;:::o;2101:336::-;;;2215:3;2208:4;2200:6;2196:17;2192:27;2182:2;;-1:-1;;2223:12;2182:2;-1:-1;2253:20;;2293:18;2282:30;;2279:2;;;-1:-1;;2315:12;2279:2;2359:4;2351:6;2347:17;2335:29;;2410:3;2359:4;2390:17;2351:6;2376:32;;2373:41;2370:2;;;2427:1;;2417:12;2636:156;2716:20;;2741:46;2716:20;2741:46;:::i;4154:126::-;4219:20;;66102:4;66091:16;;69362:33;;69352:2;;69409:1;;69399:12;4287:241;;4391:2;4379:9;4370:7;4366:23;4362:32;4359:2;;;-1:-1;;4397:12;4359:2;85:6;72:20;97:33;124:5;97:33;:::i;4535:366::-;;;4656:2;4644:9;4635:7;4631:23;4627:32;4624:2;;;-1:-1;;4662:12;4624:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;4714:63;-1:-1;4814:2;4853:22;;72:20;97:33;72:20;97:33;:::i;:::-;4822:63;;;;4618:283;;;;;:::o;4908:859::-;;;;;;;5092:3;5080:9;5071:7;5067:23;5063:33;5060:2;;;-1:-1;;5099:12;5060:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;5151:63;-1:-1;5251:2;5290:22;;72:20;97:33;72:20;97:33;:::i;:::-;5259:63;-1:-1;5359:2;5395:22;;1748:20;1773:30;1748:20;1773:30;:::i;:::-;5367:60;-1:-1;5482:51;5525:7;5464:2;5501:22;;5482:51;:::i;:::-;5472:61;;5570:3;5614:9;5610:22;2017:20;5579:63;;5679:3;5723:9;5719:22;2017:20;5688:63;;5054:713;;;;;;;;:::o;5774:360::-;;;5892:2;5880:9;5871:7;5867:23;5863:32;5860:2;;;-1:-1;;5898:12;5860:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;5950:63;-1:-1;6050:2;6086:22;;1748:20;1773:30;1748:20;1773:30;:::i;6141:479::-;;;;6273:2;6261:9;6252:7;6248:23;6244:32;6241:2;;;-1:-1;;6279:12;6241:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;6331:63;-1:-1;6431:2;6467:22;;1748:20;1773:30;1748:20;1773:30;:::i;:::-;6439:60;-1:-1;6536:2;6572:22;;1748:20;1773:30;1748:20;1773:30;:::i;:::-;6544:60;;;;6235:385;;;;;:::o;6627:609::-;;;;;6781:2;6769:9;6760:7;6756:23;6752:32;6749:2;;;-1:-1;;6787:12;6749:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;6839:63;-1:-1;6967:2;6952:18;;6939:32;6991:18;6980:30;;6977:2;;;-1:-1;;7013:12;6977:2;7051:64;7107:7;7098:6;7087:9;7083:22;7051:64;:::i;:::-;7033:82;;-1:-1;7033:82;-1:-1;;7152:2;7188:22;;1748:20;1773:30;1748:20;1773:30;:::i;:::-;6743:493;;;;-1:-1;6743:493;;-1:-1;;6743:493::o;7243:538::-;;;;7407:2;7395:9;7386:7;7382:23;7378:32;7375:2;;;-1:-1;;7413:12;7375:2;7471:17;7458:31;7509:18;7501:6;7498:30;7495:2;;;-1:-1;;7531:12;7495:2;7569:91;7652:7;7643:6;7632:9;7628:22;7569:91;:::i;:::-;7551:109;;-1:-1;7551:109;-1:-1;;7697:2;7733:22;;1748:20;1773:30;1748:20;1773:30;:::i;7788:257::-;;7900:2;7888:9;7879:7;7875:23;7871:32;7868:2;;;-1:-1;;7906:12;7868:2;1896:6;1890:13;1908:30;1932:5;1908:30;:::i;8052:1415::-;;;;;;;;;;8388:3;8376:9;8367:7;8363:23;8359:33;8356:2;;;-1:-1;;8395:12;8356:2;2552:6;2539:20;2564:60;2618:5;2564:60;:::i;:::-;8447:90;-1:-1;8602:2;8587:18;;8574:32;8626:18;8615:30;;;8612:2;;;-1:-1;;8648:12;8612:2;8686:80;8758:7;8749:6;8738:9;8734:22;8686:80;:::i;:::-;8668:98;;-1:-1;8668:98;-1:-1;8831:2;8816:18;;8803:32;;-1:-1;8844:30;;;8841:2;;;-1:-1;;8877:12;8841:2;8915:93;9000:7;8991:6;8980:9;8976:22;8915:93;:::i;:::-;8897:111;;-1:-1;8897:111;-1:-1;9073:2;9058:18;;9045:32;;-1:-1;9086:30;;;9083:2;;;-1:-1;;9119:12;9083:2;9157:80;9229:7;9220:6;9209:9;9205:22;9157:80;:::i;:::-;9139:98;;-1:-1;9139:98;-1:-1;9302:3;9287:19;;9274:33;;-1:-1;9316:30;;;9313:2;;;-1:-1;;9349:12;9313:2;;9387:64;9443:7;9434:6;9423:9;9419:22;9387:64;:::i;:::-;9369:82;;;;;;;;;;8350:1117;;;;;;;;;;;:::o;9748:392::-;;;9882:2;9870:9;9861:7;9857:23;9853:32;9850:2;;;-1:-1;;9888:12;10147:643;;;;;10315:3;10303:9;10294:7;10290:23;10286:33;10283:2;;;-1:-1;;10322:12;10283:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;10374:76;-1:-1;10487:2;10526:22;;72:20;97:33;72:20;97:33;:::i;:::-;10495:63;-1:-1;10595:2;10634:22;;72:20;97:33;72:20;97:33;:::i;:::-;10277:513;;;;-1:-1;10603:63;;10703:2;10742:22;3808:20;;-1:-1;;10277:513::o;10797:769::-;;;;;;10982:3;10970:9;10961:7;10957:23;10953:33;10950:2;;;-1:-1;;10989:12;10950:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;11041:76;-1:-1;11154:2;11193:22;;72:20;97:33;72:20;97:33;:::i;:::-;11162:63;-1:-1;11262:2;11301:22;;72:20;97:33;72:20;97:33;:::i;:::-;10944:622;;;;-1:-1;11270:63;;11370:2;11409:22;;3808:20;;-1:-1;11478:3;11518:22;3808:20;;10944:622;-1:-1;;10944:622::o;11573:1143::-;;;;;;;;;11807:3;11795:9;11786:7;11782:23;11778:33;11775:2;;;-1:-1;;11814:12;11775:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;11866:76;-1:-1;11979:2;12018:22;;72:20;97:33;72:20;97:33;:::i;:::-;11987:63;-1:-1;12087:2;12126:22;;72:20;97:33;72:20;97:33;:::i;:::-;12095:63;-1:-1;12195:2;12234:22;;3808:20;;-1:-1;12303:3;12343:22;;3808:20;;-1:-1;12431:51;12474:7;12412:3;12450:22;;12431:51;:::i;:::-;12421:61;;12519:3;12563:9;12559:22;2017:20;12528:63;;12628:3;12672:9;12668:22;2017:20;12637:63;;11769:947;;;;;;;;;;;:::o;12723:955::-;;;;;;;12961:3;12949:9;12940:7;12936:23;12932:33;12929:2;;;-1:-1;;12968:12;12929:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;13020:76;-1:-1;13133:2;13172:22;;72:20;97:33;72:20;97:33;:::i;:::-;13141:63;-1:-1;13269:2;13254:18;;13241:32;13293:18;13282:30;;;13279:2;;;-1:-1;;13315:12;13279:2;13353:80;13425:7;13416:6;13405:9;13401:22;13353:80;:::i;:::-;13335:98;;-1:-1;13335:98;-1:-1;13498:2;13483:18;;13470:32;;-1:-1;13511:30;;;13508:2;;;-1:-1;;13544:12;13508:2;;13582:80;13654:7;13645:6;13634:9;13630:22;13582:80;:::i;:::-;12923:755;;;;-1:-1;12923:755;;-1:-1;12923:755;;13564:98;;12923:755;-1:-1;;;12923:755::o;13685:511::-;;;;13833:2;13821:9;13812:7;13808:23;13804:32;13801:2;;;-1:-1;;13839:12;13801:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;13891:76;-1:-1;14004:2;14040:22;;1748:20;1773:30;1748:20;1773:30;:::i;:::-;13795:401;;14012:60;;-1:-1;;;14109:2;14148:22;;;;3808:20;;13795:401::o;14636:511::-;;;;14784:2;14772:9;14763:7;14759:23;14755:32;14752:2;;;-1:-1;;14790:12;14752:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;14842:76;-1:-1;14955:2;14994:22;;3808:20;;-1:-1;15063:2;15099:22;;1748:20;1773:30;1748:20;1773:30;:::i;15154:390::-;;;15287:2;15275:9;15266:7;15262:23;15258:32;15255:2;;;-1:-1;;15293:12;15255:2;2729:6;2716:20;2741:46;2781:5;2741:46;:::i;:::-;15345:76;-1:-1;15458:2;15496:22;;4085:20;66000:18;65989:30;;69241:34;;69231:2;;-1:-1;;69279:12;15551:935;;;;;;;15776:3;15764:9;15755:7;15751:23;15747:33;15744:2;;;-1:-1;;15783:12;15744:2;2900:6;2887:20;2912:54;2960:5;2912:54;:::i;:::-;15835:84;-1:-1;15956:2;15995:22;;72:20;97:33;72:20;97:33;:::i;:::-;15964:63;-1:-1;16064:2;16116:22;;2716:20;2741:46;2716:20;2741:46;:::i;:::-;16072:76;-1:-1;16185:2;16224:22;;3808:20;;-1:-1;16321:3;16306:19;;16293:33;16346:18;16335:30;;16332:2;;;-1:-1;;16368:12;16332:2;16406:64;16462:7;16453:6;16442:9;16438:22;16406:64;:::i;16493:261::-;;16607:2;16595:9;16586:7;16582:23;16578:32;16575:2;;;-1:-1;;16613:12;16575:2;-1:-1;3226:13;;16569:185;-1:-1;16569:185::o;16761:362::-;;16886:2;16874:9;16865:7;16861:23;16857:32;16854:2;;;-1:-1;;16892:12;16854:2;16943:17;16937:24;16981:18;;16973:6;16970:30;16967:2;;;-1:-1;;17003:12;16967:2;17090:6;17079:9;17075:22;;;3402:3;3395:4;3387:6;3383:17;3379:27;3369:2;;-1:-1;;3410:12;3369:2;3450:6;3444:13;16981:18;61078:6;61075:30;61072:2;;;-1:-1;;61108:12;61072:2;60741;60735:9;16886:2;61181:9;3395:4;61166:6;61162:17;61158:33;60771:6;60767:17;;60878:6;60866:10;60863:22;16981:18;60830:10;60827:34;60824:62;60821:2;;;-1:-1;;60889:12;60821:2;60741;60908:22;3543:21;;;3643:16;;;16886:2;3643:16;3640:25;-1:-1;3637:2;;;-1:-1;;3668:12;3637:2;3688:39;3720:6;16886:2;3619:5;3615:16;16886:2;3585:6;3581:17;3688:39;:::i;:::-;17023:84;16848:275;-1:-1;;;;;;16848:275::o;17769:199::-;65794:42;65783:54;24020:63;;17957:4;17948:14;;17862:106::o;21395:690::-;;21588:5;61989:12;63196:6;63191:3;63184:19;63233:4;;63228:3;63224:14;21600:93;;63233:4;21764:5;61383:14;-1:-1;21803:260;21828:6;21825:1;21822:13;21803:260;;;21889:13;;22376:37;;18130:14;;;;62670;;;;21850:1;21843:9;21803:260;;;-1:-1;22069:10;;21519:566;-1:-1;;;;;21519:566::o;22607:297::-;;63196:6;63191:3;63184:19;67384:6;67379:3;63233:4;63228:3;63224:14;67361:30;-1:-1;63233:4;67431:6;63228:3;67422:16;;67415:27;63233:4;67898:7;67902:2;22890:6;67882:14;67878:28;63228:3;22859:39;;22852:46;;22707:197;;;;;:::o;23253:323::-;;23385:5;61989:12;63196:6;63191:3;63184:19;23468:52;23513:6;63233:4;63228:3;63224:14;63233:4;23494:5;23490:16;23468:52;:::i;:::-;67902:2;67882:14;67898:7;67878:28;23532:39;;;;63233:4;23532:39;;23333:243;-1:-1;;23333:243::o;36019:291::-;;67384:6;67379:3;67374;67361:30;67422:16;;67415:27;;;67422:16;36163:147;-1:-1;36163:147::o;36317:271::-;;23743:5;61989:12;23854:52;23899:6;23894:3;23887:4;23880:5;23876:16;23854:52;:::i;:::-;23918:16;;;;;36451:137;-1:-1;;36451:137::o;36595:553::-;;23743:5;61989:12;23854:52;23899:6;23894:3;23887:4;23880:5;23876:16;23854:52;:::i;:::-;23918:16;;;;22376:37;;;-1:-1;23887:4;37000:12;;22376:37;37111:12;;;36787:361;-1:-1;36787:361::o;37155:379::-;37519:10;37343:191::o;37541:222::-;65794:42;65783:54;;;;18378:37;;37668:2;37653:18;;37639:124::o;38015:1298::-;;38473:3;38462:9;38458:19;65794:42;64864:5;65783:54;18244:3;18237:58;38600:2;38473:3;38600:2;38589:9;38585:18;38578:48;38640:131;20287:86;20366:6;20361:3;20287:86;:::i;:::-;20280:93;;20471:21;;;-1:-1;20498:330;20523:6;20520:1;20517:13;20498:330;;;38600:2;20632:6;64757:12;20653:76;20725:3;64718:52;64757:12;20632:6;64718:52;:::i;:::-;20653:76;:::i;:::-;20736:85;;-1:-1;20646:83;-1:-1;20545:1;20538:9;20498:330;;;20502:14;38819:9;38813:4;38809:20;38804:2;38793:9;38789:18;38782:48;21035:86;21114:6;21109:3;21035:86;:::i;:::-;21028:93;;;21148:66;21140:6;21137:78;21134:2;;;-1:-1;;21218:12;21134:2;21249:17;;21278:43;21249:17;21309:3;21302:5;21278:43;:::i;:::-;21334:16;39000:20;;;38995:2;38980:18;;38973:48;39035:108;21334:16;39129:6;39035:108;:::i;:::-;39027:116;;39192:9;39186:4;39182:20;39176:3;39165:9;39161:19;39154:49;39217:86;39298:4;39289:6;39281;39217:86;:::i;:::-;39209:94;38444:869;-1:-1;;;;;;;;;;;38444:869::o;39320:814::-;;65794:42;;64864:5;65783:54;18244:3;18237:58;65794:42;24076:5;65783:54;39794:2;39783:9;39779:18;24020:63;;22406:5;39877:2;39866:9;39862:18;22376:37;22406:5;39960:2;39949:9;39945:18;22376:37;39608:3;39997;39986:9;39982:19;39975:49;40038:86;39608:3;39597:9;39593:19;40110:6;40102;40038:86;:::i;:::-;40030:94;39579:555;-1:-1;;;;;;;;39579:555::o;40141:444::-;65794:42;65783:54;;;18378:37;;65783:54;;;;40488:2;40473:18;;18378:37;40571:2;40556:18;;22376:37;;;;40324:2;40309:18;;40295:290::o;40592:884::-;65794:42;65783:54;;;18378:37;;65783:54;;;;41048:2;41033:18;;18378:37;41131:2;41116:18;;22376:37;;;;41214:2;41199:18;;22376:37;;;;66102:4;66091:16;41293:3;41278:19;;35972:35;41377:3;41362:19;;22376:37;41461:3;41446:19;;22376:37;;;;40883:3;40868:19;;40854:622::o;41483:333::-;65794:42;65783:54;;;;18378:37;;41802:2;41787:18;;22376:37;41638:2;41623:18;;41609:207::o;41823:653::-;42090:2;42104:47;;;61989:12;;42075:18;;;63184:19;;;41823:653;;63233:4;;63224:14;;;;61383;;;41823:653;18845:251;18870:6;18867:1;18864:13;18845:251;;;18931:13;;64948;64941:21;22148:34;;17542:14;;;;62670;;;;18892:1;18885:9;18845:251;;;18849:14;;;42315:9;42309:4;42305:20;63233:4;42289:9;42285:18;42278:48;42340:126;19373:5;61989:12;19392:95;19480:6;19475:3;19392:95;:::i;:::-;19385:102;;;;;63233:4;19544:6;19540:17;19535:3;19531:27;63233:4;19638:5;61383:14;-1:-1;19677:357;19702:6;19699:1;19696:13;19677:357;;;19764:9;19758:4;19754:20;19749:3;19742:33;17690:64;17750:3;19809:6;19803:13;17690:64;:::i;:::-;20013:14;;;;19823:90;-1:-1;62670:14;;;;18892:1;19717:9;19677:357;;;-1:-1;42332:134;;42061:415;-1:-1;;;;;;;;;42061:415::o;42483:210::-;64948:13;;64941:21;22148:34;;42604:2;42589:18;;42575:118::o;42700:222::-;22376:37;;;42827:2;42812:18;;42798:124::o;42929:768::-;22376:37;;;43355:2;43340:18;;22376:37;;;;65794:42;65783:54;;;43438:2;43423:18;;18378:37;65783:54;;43521:2;43506:18;;18378:37;64948:13;64941:21;43598:3;43583:19;;22148:34;43682:3;43667:19;;22376:37;43190:3;43175:19;;43161:536::o;43704:556::-;22376:37;;;44080:2;44065:18;;22376:37;;;;44163:2;44148:18;;22376:37;65794:42;65783:54;44246:2;44231:18;;18378:37;43915:3;43900:19;;43886:374::o;44267:548::-;22376:37;;;66102:4;66091:16;;;;44635:2;44620:18;;35972:35;44718:2;44703:18;;22376:37;44801:2;44786:18;;22376:37;44474:3;44459:19;;44445:370::o;44822:326::-;;44977:2;44998:17;44991:47;45052:86;44977:2;44966:9;44962:18;45124:6;45116;45052:86;:::i;45418:310::-;;45565:2;45586:17;45579:47;45640:78;45565:2;45554:9;45550:18;45704:6;45640:78;:::i;45735:416::-;45935:2;45949:47;;;25367:2;45920:18;;;63184:19;25403:23;63224:14;;;25383:44;25446:12;;;45906:245::o;46158:416::-;46358:2;46372:47;;;25697:2;46343:18;;;63184:19;25733:25;63224:14;;;25713:46;25778:12;;;46329:245::o;46581:416::-;46781:2;46795:47;;;26029:2;46766:18;;;63184:19;26065:30;63224:14;;;26045:51;26115:12;;;46752:245::o;47004:416::-;47204:2;47218:47;;;26366:2;47189:18;;;63184:19;26402:29;63224:14;;;26382:50;26451:12;;;47175:245::o;47427:416::-;47627:2;47641:47;;;26702:2;47612:18;;;63184:19;26738:30;63224:14;;;26718:51;26788:12;;;47598:245::o;47850:416::-;48050:2;48064:47;;;27039:2;48035:18;;;63184:19;27075:24;63224:14;;;27055:45;27119:12;;;48021:245::o;48273:416::-;48473:2;48487:47;;;27370:2;48458:18;;;63184:19;27406:23;63224:14;;;27386:44;27449:12;;;48444:245::o;48696:416::-;48896:2;48910:47;;;27700:2;48881:18;;;63184:19;27736:21;63224:14;;;27716:42;27777:12;;;48867:245::o;49119:416::-;49319:2;49333:47;;;28028:2;49304:18;;;63184:19;28064:30;63224:14;;;28044:51;28114:12;;;49290:245::o;49542:416::-;49742:2;49756:47;;;28365:2;49727:18;;;63184:19;28401:26;63224:14;;;28381:47;28447:12;;;49713:245::o;49965:416::-;50165:2;50179:47;;;28698:2;50150:18;;;63184:19;28734:25;63224:14;;;28714:46;28779:12;;;50136:245::o;50388:416::-;50588:2;50602:47;;;29030:2;50573:18;;;63184:19;29066:22;63224:14;;;29046:43;29108:12;;;50559:245::o;50811:416::-;51011:2;51025:47;;;29359:2;50996:18;;;63184:19;29395:28;63224:14;;;29375:49;29443:12;;;50982:245::o;51234:416::-;51434:2;51448:47;;;51419:18;;;63184:19;29730:34;63224:14;;;29710:55;29784:12;;;51405:245::o;51657:416::-;51857:2;51871:47;;;30035:2;51842:18;;;63184:19;30071:33;63224:14;;;30051:54;30124:12;;;51828:245::o;52080:416::-;52280:2;52294:47;;;52265:18;;;63184:19;30411:34;63224:14;;;30391:55;30465:12;;;52251:245::o;52503:416::-;52703:2;52717:47;;;30716:2;52688:18;;;63184:19;30752:29;63224:14;;;30732:50;30801:12;;;52674:245::o;52926:416::-;53126:2;53140:47;;;31052:2;53111:18;;;63184:19;31088:27;63224:14;;;31068:48;31135:12;;;53097:245::o;53349:416::-;53549:2;53563:47;;;31386:2;53534:18;;;63184:19;31422:31;63224:14;;;31402:52;31473:12;;;53520:245::o;53772:416::-;53972:2;53986:47;;;53957:18;;;63184:19;32065:34;63224:14;;;32045:55;32119:12;;;53943:245::o;54195:416::-;54395:2;54409:47;;;32370:2;54380:18;;;63184:19;32406:29;63224:14;;;32386:50;32455:12;;;54366:245::o;54618:416::-;54818:2;54832:47;;;32706:2;54803:18;;;63184:19;32742:29;63224:14;;;32722:50;32791:12;;;54789:245::o;55041:416::-;55241:2;55255:47;;;55226:18;;;63184:19;33078:34;63224:14;;;33058:55;33132:12;;;55212:245::o;55464:416::-;55664:2;55678:47;;;33383:2;55649:18;;;63184:19;33419:30;63224:14;;;33399:51;33469:12;;;55635:245::o;55887:416::-;56087:2;56101:47;;;33720:2;56072:18;;;63184:19;33756:24;63224:14;;;33736:45;33800:12;;;56058:245::o;56310:416::-;56510:2;56524:47;;;34051:2;56495:18;;;63184:19;34087:29;63224:14;;;34067:50;34136:12;;;56481:245::o;56733:416::-;56933:2;56947:47;;;34387:2;56918:18;;;63184:19;34423:31;63224:14;;;34403:52;34474:12;;;56904:245::o;57156:416::-;57356:2;57370:47;;;34725:2;57341:18;;;63184:19;34761:26;63224:14;;;34741:47;34807:12;;;57327:245::o;57579:416::-;57779:2;57793:47;;;57764:18;;;63184:19;35094:34;63224:14;;;35074:55;35148:12;;;57750:245::o;58002:222::-;65674:34;65663:46;;;;35365:50;;58129:2;58114:18;;58100:124::o;58231:349::-;65674:34;65663:46;;;;35365:50;;65794:42;65783:54;58566:2;58551:18;;18237:58;58394:2;58379:18;;58365:215::o;58587:333::-;65674:34;65663:46;;;35245:37;;65663:46;;58906:2;58891:18;;35245:37;58742:2;58727:18;;58713:207::o;59156:333::-;22376:37;;;59475:2;59460:18;;22376:37;59311:2;59296:18;;59282:207::o;59496:220::-;66000:18;65989:30;;;;35727:49;;59622:2;59607:18;;59593:123::o;59723:436::-;66000:18;65989:30;;;35857:36;;65989:30;;;;60062:2;60047:18;;35857:36;65674:34;65663:46;;;60145:2;60130:18;;35245:37;59902:2;59887:18;;59873:286::o;60166:506::-;;;60301:11;60288:25;60352:48;60376:8;60360:14;60356:29;60352:48;60332:18;60328:73;60318:2;;-1:-1;;60405:12;60318:2;60432:33;;60486:18;;;-1:-1;60524:18;60513:30;;60510:2;;;-1:-1;;60546:12;60510:2;60391:4;60574:13;;-1:-1;60360:14;60606:38;;;60596:49;;60593:2;;;60658:1;;60648:12;67303:145;67384:6;67379:3;67374;67361:30;-1:-1;67440:1;67422:16;;67415:27;67354:94::o;67457:268::-;67522:1;67529:101;67543:6;67540:1;67537:13;67529:101;;;67610:11;;;67604:18;67591:11;;;67584:39;67565:2;67558:10;67529:101;;;67645:6;67642:1;67639:13;67636:2;;;67522:1;67701:6;67696:3;67692:16;67685:27;67636:2;;67506:219;;;:::o;67919:117::-;65794:42;68006:5;65783:54;67981:5;67978:35;67968:2;;68027:1;;68017:12;67968:2;67962:74;:::o;68043:111::-;68124:5;64948:13;64941:21;68102:5;68099:32;68089:2;;68145:1;;68135:12

Swarm Source

ipfs://79eb387224e15cae6a9a744ed9b348260a7e9d2e37cd991b32f36c6b93b4808b
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
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.