PSA: Scheduled Server Maintenance & Upgrades [2nd-December-2021 6:00 AM UTC] - Estimated duration: 3 hours.

Contract 0x525A55eBd9464c1081077BCc1d7a53C1c431BD26

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xae1d4463e213b20f38527d6ca61c4d9534d97628b63ae5a66787ec2c80590523Withdraw130720472021-11-30 8:33:521 day 23 hrs ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00475596
0x8445f80b887b36f574cab758da5fb402874adae6d334009de224c5ebfb0ea626Withdraw130717362021-11-30 8:17:331 day 23 hrs ago0xa302a4a94de2c7e391e9625941f92aea884c1943 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00475643
0x78fefcc490ff095368b302f4aae66f6e8d8b76306a196efb765861137c572449Withdraw130717282021-11-30 8:17:091 day 23 hrs ago0x53eb35fe10b0279f7a246274392a5c398359d969 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.0047565
0x005b0a1347df6d4f69b22ca50eb35e0cb5b9c7c4b7fbe5dc46623571791d92d4Withdraw130706912021-11-30 7:24:062 days 11 mins ago0x7869acdeab41cbea924c1450bbff339952f78d61 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00475595
0x8ce640ad2f94870fc0d1ffee8973c55b3aaa5c733f9a5c2e16aa7eb7ab5ff762Withdraw130702912021-11-30 7:03:592 days 31 mins ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00471406
0xc044ff125fc12a401a36c9eb214a1dbf61a58f2e808e3e3a9e45a32f6c8cf99eRenounce Ownersh...130698552021-11-30 6:40:142 days 55 mins ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.000076925
0x5e5da9591632b7b58c71a546c74742069a9c6cd991daf9620ce15803678ad558Deposit130581032021-11-29 20:02:202 days 11 hrs ago0x7869acdeab41cbea924c1450bbff339952f78d61 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00452087
0x9a15c13f5293bb5f1a0aba977d54a609e956af098369567ad5031e8244e37186Rebalance129197702021-11-24 14:32:147 days 17 hrs ago0x53eb35fe10b0279f7a246274392a5c398359d969 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00292706
0x9646e7935aa5af5edcdbdaca908bc039c8f9913d5b61bda17044d21adbbcd70dDeposit128817652021-11-23 5:25:579 days 2 hrs ago0x53eb35fe10b0279f7a246274392a5c398359d969 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00220299
0x9a9708c07e86b5145fdf4b6035b3544647e60ea0ab7968431583a07729490e02Deposit128666802021-11-22 16:34:099 days 15 hrs ago0x53eb35fe10b0279f7a246274392a5c398359d969 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00221853
0x532a2a507f62fed2e03cf73db2606492eeafead15bb27b9444f3a7821f6259efDeposit128665762021-11-22 16:28:299 days 15 hrs ago0x53eb35fe10b0279f7a246274392a5c398359d969 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00236853
0x6a6d49e135d5cd86ba2a75921a892bfa2a0e3126685aab3ebdc02590f8cac9ebWithdraw128573972021-11-22 8:27:399 days 23 hrs ago0xedc9bee76acf5f492ded78af9c0ed54c75fcce96 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00386011
0x4c03bfc3a0bf77fbe2a60124e395d0bf6fb4ffdafef6e29269dcdd532f51393aDeposit127809282021-11-19 14:37:4512 days 16 hrs ago0x26b1e5a1ed2f8cf710ef3f3a4f14408f107a0363 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.004537295
0xd5d2f1b63fc3dcf94e34762773bd424b843a10aa8380ba59a628dcd04cc2ad91Rebalance127224092021-11-17 11:46:5314 days 19 hrs ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00294245
0xaa9f13eabec3c14d8eabac6d1b0aa9892d8b265233ccab189e493a1c3ad912dcWithdraw127191402021-11-17 8:53:2414 days 22 hrs ago0xccbc18b2a11dda36d88b6bf4e5e6a6dbae85ae72 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.0057559
0xfaacbd2ac8883488272ac9f056c798da349f47d3c31ee2842050be36026c81a8Deposit127040442021-11-16 19:19:5715 days 12 hrs ago0xa302a4a94de2c7e391e9625941f92aea884c1943 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00443255
0x50470a38f1f69d4f5001e37a8a7f4c8ad8f298819ba887c8376e14a8b75e3032Deposit126975902021-11-16 13:35:2715 days 18 hrs ago0xa302a4a94de2c7e391e9625941f92aea884c1943 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00335503
0x753a7d1990dbaae9751449ec0a55e4d0f40f184d39cd7efba2a819011217e3a4Deposit126945402021-11-16 10:43:2115 days 20 hrs ago0xccbc18b2a11dda36d88b6bf4e5e6a6dbae85ae72 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00235294
0x3d7291d15d2256de7eb08ab0310c9e6a527d9ea46497c843364ac91031c4b750Deposit126937572021-11-16 9:56:3515 days 21 hrs ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00220329
0x51a1fbb43f6e868efb34d1bbd37a438759b369a1a0f4c2b3be3ed3404e2f22b1Withdraw126778632021-11-15 20:15:4616 days 11 hrs ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.002690535
0xc97c04ecd0b17a9857058745903ad11abcf695e3cf17d26685173adba1ab9569Set_new_fee_addr...126770532021-11-15 19:35:1616 days 12 hrs ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.000142975
0x92ccf365aa8515755946164e1137cd903e671108cbf90dc6e01e033a1a19a785Deposit126731362021-11-15 16:08:5216 days 15 hrs ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.002423157
0xf1d9f615e1f45e335fe573cc1dab405545a0c744a67ee32753280a909c679cc2Withdraw126599732021-11-15 4:16:2217 days 3 hrs ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.002690535
0x2f22ffe98601806bf909ec38499f891f06bf2734741c04b6cfaaeb54e073d19dDeposit126594322021-11-15 3:48:5517 days 3 hrs ago0x5195ad65e40c79e11661486b39978ff268f3b342 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.00220293
0x3b440fcc3fdbb0911c4535205759fa95758056b95506d7697e8dd1c4f55466c5Withdraw126399812021-11-14 10:45:3517 days 20 hrs ago0xedc9bee76acf5f492ded78af9c0ed54c75fcce96 IN  0x525a55ebd9464c1081077bcc1d7a53c1c431bd260 BNB0.002690895
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
xUSDT

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-11-09
*/

// SPDX-License-Identifier: MIT
// File: contracts/interfaces/IAlpaca.sol


pragma solidity 0.6.12;
interface IAlpaca {
    function balanceOf(address _owner) external view returns (uint256 balance);
    function deposit(uint256 _amount) external payable;
    function withdraw(uint256 _share) external;
    function totalToken() external view returns (uint256);
    function totalSupply() external view returns (uint256);
}
// File: contracts/interfaces/IVenus.sol


pragma solidity 0.6.12;
interface IVenus {
    function balanceOf(address _owner) external view returns (uint256 balance);
    function mint(uint mintAmount) external returns (uint);
    function redeem(uint redeemTokens) external returns(uint);
    function exchangeRateStored() external view returns (uint256);
}
// File: contracts/interfaces/ITreasury.sol


pragma solidity 0.6.12;
interface ITreasury {
    function depositToken(address _token) external payable;
}
// File: contracts/interfaces/IIEarnManager.sol


pragma solidity 0.6.12;
interface IIEarnManager {
    function recommend(address _token) external view returns (
      uint256 _fulcrum,
      uint256 _fortube,
      uint256 _venus,
      uint256 _alpaca
    );
}
// File: contracts/interfaces/Fulcrum.sol


pragma solidity 0.6.12;
interface Fulcrum {
    function mint(address receiver, uint256 amount) external payable returns (uint256 mintAmount);
    function burn(address receiver, uint256 burnAmount) external returns (uint256 loanAmountPaid);
    function assetBalanceOf(address _owner) external view returns (uint256 balance);
    function mintWithEther(address receiver) external payable returns(uint256);
    function burnToEther(address receiver, uint256 burnAmount) external returns(uint256);
}
// File: contracts/interfaces/FortubeBank.sol


pragma solidity 0.6.12;
interface FortubeBank {
    function deposit(address token, uint256 amount) external payable;
    function withdraw(address underlying, uint256 withdrawTokens) external returns (uint256);
    function controller() external returns (address);
}
// File: contracts/interfaces/FortubeToken.sol


pragma solidity 0.6.12;
interface FortubeToken {
    function balanceOf(address _owner) external view returns (uint256 balance);
    function ONE() external view returns (uint256);
    function exchangeRateStored() external view returns (uint256);
    function underlying() external view returns (address);
    function calcBalanceOfUnderlying(address _owner) external view returns (uint256);
}
// File: contracts/libraries/TokenStructs.sol


pragma solidity 0.6.12;

contract TokenStructs {
    struct Val {
        uint256 value;
    }

    enum ActionType {
        Deposit,   // supply tokens
        Withdraw  // borrow tokens
    }

    enum AssetDenomination {
        Wei // the amount is denominated in wei
    }

    enum AssetReference {
        Delta // the amount is given as a delta from the current value
    }

    struct AssetAmount {
        bool sign; // true if positive
        AssetDenomination denomination;
        AssetReference ref;
        uint256 value;
    }

    struct ActionArgs {
        ActionType actionType;
        uint256 accountId;
        AssetAmount amount;
        uint256 primaryMarketId;
        uint256 secondaryMarketId;
        address otherAddress;
        uint256 otherAccountId;
        bytes data;
    }

    struct Info {
        address owner;  // The address that owns the account
        uint256 number; // A nonce that allows a single address to control many accounts
    }

    struct Wei {
        bool sign; // true if positive
        uint256 value;
    }

    event Deposit(address indexed investor, uint256 indexed amount);
    event Withdraw(address indexed investor, uint256 indexed amount);
}
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/utils/ReentrancyGuard.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/token/ERC20/IERC20.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/utils/Address.sol



pragma solidity >=0.6.2 <0.8.0;

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

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

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/math/SafeMath.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

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

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

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

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/token/ERC20/SafeERC20.sol



pragma solidity >=0.6.0 <0.8.0;




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

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

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

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

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/utils/Context.sol



pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: contracts/libraries/Ownable.sol



pragma solidity 0.6.12;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;
    address private _candidate;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _candidate = newOwner;
    }

    function acceptOwnership() external {
        require(msg.sender == _candidate, "Ownable: not cadidate");
        emit OwnershipTransferred(_owner, _candidate);
        _owner = _candidate;
    }
}
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/token/ERC20/ERC20.sol



pragma solidity >=0.6.0 <0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

        _beforeTokenTransfer(address(0), account, amount);

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

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

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// File: contracts/XUSDT.sol


pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;

















contract xUSDT is ERC20, ReentrancyGuard, Ownable, TokenStructs {
  using SafeERC20 for IERC20;
  using Address for address;
  using SafeMath for uint256;

  uint256 public pool;
  address public token;
  address public fulcrum;
  address public apr;
  address public fortubeToken;
  address public fortubeBank;
  address public feeAddress;
  uint256 public feeAmount;
  address public venusToken;
  uint256 public feePrecision;
  address public alpacaToken;

  mapping (address => uint256) depositedAmount;

  enum Lender {
      NONE,
      FULCRUM,
      FORTUBE,
      VENUS,
      ALPACA
  }
  mapping (Lender => bool) public lenderStatus;
  mapping (Lender => bool) public withdrawable;

  Lender public provider = Lender.NONE;

  constructor () public ERC20("xend USDT", "xUSDT") {

    // bsc main network
    token = address(0x55d398326f99059fF775485246999027B3197955);
    apr = address(0x3a286653ae8EF3C35eE4849f57aF615eDA7d79ac);
    fulcrum = address(0xf326b42A237086F1De4E7D68F2d2456fC787bc01);
    fortubeToken = address(0xBf9213D046C2c1e6775dA2363fC47F10C4471255);
    fortubeBank = address(0x0cEA0832e9cdBb5D476040D58Ea07ecfbeBB7672);
    feeAddress = address(0x143afc138978Ad681f7C7571858FAAA9D426CecE);
    venusToken = address(0xfD5840Cd36d94D7229439859C0112a4185BC0255);
    alpacaToken = address(0x158Da805682BdC8ee32d52833aD41E74bb951E59);
    feeAmount = 0;
    feePrecision = 1000;
    approveToken();
    lenderStatus[Lender.FULCRUM] = false;
    lenderStatus[Lender.FORTUBE] = true;
    lenderStatus[Lender.VENUS] = true;
    lenderStatus[Lender.ALPACA] = true;
    withdrawable[Lender.FULCRUM] = false;
    withdrawable[Lender.FORTUBE] = true;
    withdrawable[Lender.VENUS] = true;
    withdrawable[Lender.ALPACA] = true;
  }

  function set_new_APR(address _new_APR) public onlyOwner {
      apr = _new_APR;
  }
  function set_new_feeAmount(uint256 fee) public onlyOwner{
    require(fee < feePrecision, 'fee amount must be less than 100%');
    feeAmount = fee;
  }
  function set_new_fee_address(address _new_fee_address) public onlyOwner {
      feeAddress = _new_fee_address;
  }
  function set_new_feePrecision(uint256 _newFeePrecision) public onlyOwner{
    require(_newFeePrecision >= 100, "fee precision must be greater than 100 at least");
    set_new_feeAmount(feeAmount*_newFeePrecision/feePrecision);
    feePrecision = _newFeePrecision;
  }
  // Quick swap low gas method for pool swaps
  function deposit(uint256 _amount)
      external
      nonReentrant
  {
      require(_amount > 0, "deposit must be greater than 0");
      pool = _calcPoolValueInToken();
      IERC20(token).safeTransferFrom(msg.sender, address(this), _amount);
      rebalance();
      // Calculate pool shares
      uint256 shares = 0;
      if (pool == 0) {
        shares = _amount;
        pool = _amount;
      } else {
        if (totalSupply() == 0) {
          shares = _amount;
        } else {
          shares = (_amount.mul(totalSupply())).div(pool);
        }
      }
      pool = _calcPoolValueInToken();
      _mint(msg.sender, shares);
      depositedAmount[msg.sender] = depositedAmount[msg.sender].add(_amount);
      emit Deposit(msg.sender, _amount);
  }

  
  function withdraw(uint256 _shares)
      external
      nonReentrant
  {
      require(_shares > 0, "withdraw must be greater than 0");

      uint256 ibalance = balanceOf(msg.sender);
      require(_shares <= ibalance, "insufficient balance");

      // Could have over value from xTokens
      pool = _calcPoolValueInToken();
      // Calc to redeem before updating balances
      uint256 i = (pool.mul(ibalance)).div(totalSupply());
      // Calc to redeem before updating balances
      uint256 r = (pool.mul(_shares)).div(totalSupply());
      if(i < depositedAmount[msg.sender]){
        i = i.add(1);
        r = r.add(1);
      }
      uint256 profit = (i.sub(depositedAmount[msg.sender])).mul(_shares.div(depositedAmount[msg.sender]));

      emit Transfer(msg.sender, address(0), _shares);

      // Check balance
      uint256 b = IERC20(token).balanceOf(address(this));
      if (b < r) {
        _withdrawSome(r.sub(b));
      }

      uint256 fee = profit.mul(feeAmount).div(feePrecision);
      if(fee > 0){
        IERC20(token).approve(feeAddress, fee);
        ITreasury(feeAddress).depositToken(token);
      }
      IERC20(token).safeTransfer(msg.sender, r.sub(fee));
      _burn(msg.sender, _shares);
      depositedAmount[msg.sender] = depositedAmount[msg.sender].sub(_shares.mul(depositedAmount[msg.sender]).div(ibalance));
      rebalance();
      pool = _calcPoolValueInToken();
      emit Withdraw(msg.sender, _shares);
  }

  receive() external payable {}

  function recommend() public view returns (Lender) {
    (uint256 fapr, uint256 ftapr, uint256 vapr, uint256 aapr) = IIEarnManager(apr).recommend(token);
    uint256 max = 0;
    if (fapr > max && lenderStatus[Lender.FULCRUM]) {
      max = fapr;
    }
    if (ftapr > max && lenderStatus[Lender.FORTUBE]) {
      max = ftapr;
    }
    if (vapr > max && lenderStatus[Lender.VENUS]) {
      max = vapr;
    }
    if (aapr > max && lenderStatus[Lender.ALPACA]) {
      max = aapr;
    }
    Lender newProvider = Lender.NONE;
    if (max == fapr) {
      newProvider = Lender.FULCRUM;
    } else if (max == ftapr) {
      newProvider = Lender.FORTUBE;
    } else if (max == vapr) {
      newProvider = Lender.VENUS;
    } else if (max == aapr) {
      newProvider = Lender.ALPACA;
    }
    return newProvider;
  }

  function balance() external view returns (uint256) {
    return _balance();
  }

  function getDepositedAmount(address investor) public view returns (uint256) {
    return depositedAmount[investor];
  }

  function approveToken() public {
      IERC20(token).approve(fulcrum, uint(-1));
      IERC20(token).approve(FortubeBank(fortubeBank).controller(),  uint(-1));
      IERC20(token).approve(venusToken, uint(-1));
      IERC20(token).approve(alpacaToken, uint(-1));
  }

  function balanceFortubeInToken() external view returns (uint256) {
    return _balanceFortubeInToken();
  }

  function balanceFulcrumInToken() external view returns (uint256) {
    return _balanceFulcrumInToken();
  }

  function balanceVenusInToken() external view returns (uint256) {
    return _balanceVenusInToken();
  }

  function balanceAlpacaInToken() external view returns (uint256) {
    return _balanceAlpacaInToken();
  }

  function balanceFulcrum() external view returns (uint256) {
    return _balanceFulcrum();
  }
  function balanceFortube() external view returns (uint256) {
    return _balanceFortube();
  }
  function balanceVenus() external view returns (uint256) {
    return _balanceVenus();
  }

  function balanceAlpaca() external view returns (uint256) {
    return _balanceAlpaca();
  }

  function _balance() internal view returns (uint256) {
    return IERC20(token).balanceOf(address(this));
  }

  function _balanceFulcrumInToken() internal view returns (uint256) {
    uint256 b = _balanceFulcrum();
    if (b > 0 && withdrawable[Lender.FULCRUM]) {
      b = Fulcrum(fulcrum).assetBalanceOf(address(this)).add(1);
    }
    return b;
  }

  function _balanceFortubeInToken() internal view returns (uint256) {
    uint256 b = _balanceFortube();
    if (b > 0 && withdrawable[Lender.FORTUBE]) {
      uint256 exchangeRate = FortubeToken(fortubeToken).exchangeRateStored();
      uint256 oneAmount = FortubeToken(fortubeToken).ONE();
      b = b.mul(exchangeRate).div(oneAmount).add(1);
    }
    return b;
  }

  function _balanceVenusInToken() internal view returns (uint256) {
    uint256 b = _balanceVenus();
    if (b > 0 && withdrawable[Lender.VENUS]) {
      uint256 exchangeRate = IVenus(venusToken).exchangeRateStored();
      b = b.mul(exchangeRate).div(1e28).add(1).mul(1e10);
    }
    return b;
  }

  function _balanceAlpacaInToken() internal view returns (uint256) {
    uint256 b = _balanceAlpaca();
    if (b > 0 && withdrawable[Lender.ALPACA]) {
      b = b.mul(IAlpaca(alpacaToken).totalToken()).div(IAlpaca(alpacaToken).totalSupply()).add(1);
    }
    return b;
  }

  function _balanceFulcrum() internal view returns (uint256) {
    if(withdrawable[Lender.FULCRUM])
      return IERC20(fulcrum).balanceOf(address(this));
    else
      return 0;
  }

  function _balanceFortube() internal view returns (uint256) {
    if(withdrawable[Lender.FORTUBE])
      return FortubeToken(fortubeToken).balanceOf(address(this));
    else
      return 0;
  }
  function _balanceVenus() internal view returns (uint256) {
    if(withdrawable[Lender.VENUS])
      return IERC20(venusToken).balanceOf(address(this));
    else
      return 0;
  }

  function _balanceAlpaca() public view returns (uint256) {
    if(withdrawable[Lender.VENUS])
      return IAlpaca(alpacaToken).balanceOf(address(this));
    else
      return 0;
  }

  function _withdrawAll() internal {
    uint256  amount = _balanceFulcrum();
    if (amount > 0) {
      _withdrawFulcrum(amount);
    }
    amount = _balanceFortube();
    if (amount > 0) {
      _withdrawFortube(amount);
    }
    amount = _balanceVenus();
    if (amount > 0) {
      _withdrawVenus(amount);
    }
    amount = _balanceAlpaca();
    if (amount > 0) {
      _withdrawAlpaca(amount);
    }
  }

  function _withdrawSomeFulcrum(uint256 _amount) internal {
    uint256 b = _balanceFulcrum();
    // Balance of token in fulcrum
    uint256 bT = _balanceFulcrumInToken();
    require(bT >= _amount, "insufficient funds");
    // can have unintentional rounding errors
    uint256 amount = (b.mul(_amount)).div(bT).add(1);
    _withdrawFulcrum(amount);
  }

  function _withdrawSomeFortube(uint256 _amount) internal {
    uint256 b = _balanceFortube();
    uint256 bT = _balanceFortubeInToken();
    require(bT >= _amount, "insufficient funds");
    uint256 amount = (b.mul(_amount)).div(bT).add(1);
    _withdrawFortube(amount);
  }

  function _withdrawSomeVenus(uint256 _amount) internal {
    uint256 b = _balanceVenus();
    uint256 bT = _balanceVenusInToken();
    require(bT >= _amount, "insufficient funds");
    uint256 amount = (b.mul(_amount)).div(bT);
    _withdrawVenus(amount);
  }

  function _withdrawSomeAlpaca(uint256 _amount) internal {
    uint256 b = _balanceAlpaca();
    uint256 bT = _balanceAlpacaInToken();
    require(bT >= _amount, "insufficient funds");
    uint256 amount = (b.mul(_amount)).div(bT).add(1);
    _withdrawAlpaca(amount);
  }

  function _withdrawSome(uint256 _amount) internal {
    if (provider == Lender.FULCRUM) {
      _withdrawSomeFulcrum(_amount);
    }
    if (provider == Lender.FORTUBE) {
      _withdrawSomeFortube(_amount);
    }
    if (provider == Lender.VENUS) {
      _withdrawSomeVenus(_amount);
    }
    if (provider == Lender.ALPACA) {
      _withdrawSomeAlpaca(_amount);
    }
  }

  function rebalance() public {
    Lender newProvider = recommend();

    if (newProvider != provider) {
      _withdrawAll();
    }

    if (_balance() > 0) {
      if (newProvider == Lender.FULCRUM) {
        supplyFulcrum(_balance());
      } else if (newProvider == Lender.FORTUBE) {
        supplyFortube(_balance());
      } else if (newProvider == Lender.VENUS) {
        supplyVenus(_balance());
      } else if (newProvider == Lender.ALPACA) {
        supplyAlpaca(_balance());
      }
    }

    provider = newProvider;
  }

  function supplyFulcrum(uint amount) public {
      require(Fulcrum(fulcrum).mint(address(this), amount) > 0, "FULCRUM: supply failed");
  }
  function supplyFortube(uint amount) public {
      require(amount > 0, "FORTUBE: supply failed");
      FortubeBank(fortubeBank).deposit(FortubeToken(fortubeToken).underlying(), amount);
  }
  function supplyVenus(uint amount) public {
      require(amount > 0, "VENUS: supply failed");
      IVenus(venusToken).mint(amount);
  }
  function supplyAlpaca(uint amount) public {
      require(amount > 0, "ALPACA: supply failed");
      IAlpaca(alpacaToken).deposit(amount);
  }
  function _withdrawFulcrum(uint amount) internal {
      require(Fulcrum(fulcrum).burn(address(this), amount) > 0, "FULCRUM: withdraw failed");
  }
  function _withdrawFortube(uint amount) internal {
      require(amount > 0, "FORTUBE: withdraw failed");
      FortubeBank(fortubeBank).withdraw(FortubeToken(fortubeToken).underlying(), amount);
  }
  function _withdrawVenus(uint amount) internal {
      require(amount > 0, "VENUS: withdraw failed");
      IVenus(venusToken).redeem(amount);
  }
  function _withdrawAlpaca(uint amount) internal {
      require(amount > 0, "ALPACA: withdraw failed");
      IAlpaca(alpacaToken).withdraw(amount);
  }

  function _calcPoolValueInToken() internal view returns (uint) {
    return _balanceFulcrumInToken()
      .add(_balanceFortubeInToken())
      .add(_balanceVenusInToken())
      .add(_balanceAlpacaInToken())
      .add(_balance());
  }

  function calcPoolValueInToken() public view returns (uint) {

    return _calcPoolValueInToken();
  }

  function getPricePerFullShare() public view returns (uint) {
    uint _pool = _calcPoolValueInToken();
    return _pool.mul(1e18).div(totalSupply());
  }

  function activateLender(Lender lender) public onlyOwner {
    lenderStatus[lender] = true;
    withdrawable[lender] = true;
    rebalance();
  }

  function deactivateWithdrawableLender(Lender lender) public onlyOwner {
    lenderStatus[lender] = false;
    rebalance();
  }

  function deactivateNonWithdrawableLender(Lender lender) public onlyOwner {
    lenderStatus[lender] = false;
    withdrawable[lender] = false;
    rebalance();
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"investor","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"investor","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"_balanceAlpaca","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum xUSDT.Lender","name":"lender","type":"uint8"}],"name":"activateLender","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"alpacaToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"approveToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"apr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceAlpaca","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceAlpacaInToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceFortube","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceFortubeInToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceFulcrum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceFulcrumInToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceVenus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceVenusInToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calcPoolValueInToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum xUSDT.Lender","name":"lender","type":"uint8"}],"name":"deactivateNonWithdrawableLender","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum xUSDT.Lender","name":"lender","type":"uint8"}],"name":"deactivateWithdrawableLender","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feePrecision","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fortubeBank","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fortubeToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fulcrum","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"investor","type":"address"}],"name":"getDepositedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum xUSDT.Lender","name":"","type":"uint8"}],"name":"lenderStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provider","outputs":[{"internalType":"enum xUSDT.Lender","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"recommend","outputs":[{"internalType":"enum xUSDT.Lender","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_new_APR","type":"address"}],"name":"set_new_APR","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"set_new_feeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFeePrecision","type":"uint256"}],"name":"set_new_feePrecision","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_new_fee_address","type":"address"}],"name":"set_new_fee_address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"supplyAlpaca","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"supplyFortube","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"supplyFulcrum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"supplyVenus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"venusToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum xUSDT.Lender","name":"","type":"uint8"}],"name":"withdrawable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526017805460ff191690553480156200001b57600080fd5b5060408051808201825260098152681e195b99081554d11560ba1b6020808301918252835180850190945260058452641e1554d11560da1b9084015281519192916200006a916003916200061c565b508051620000809060049060208401906200061c565b50506005805460ff191660121790555060016006556000620000a16200035d565b600780546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600a80546001600160a01b03199081167355d398326f99059ff775485246999027b319795517909155600c80548216733a286653ae8ef3c35ee4849f57af615eda7d79ac179055600b8054821673f326b42a237086f1de4e7d68f2d2456fc787bc01179055600d8054821673bf9213d046c2c1e6775da2363fc47f10c4471255179055600e80548216730cea0832e9cdbb5d476040d58ea07ecfbebb7672179055600f8054821673143afc138978ad681f7c7571858faaa9d426cece17905560118054821673fd5840cd36d94d7229439859c0112a4185bc02551790556013805490911673158da805682bdc8ee32d52833ad41e74bb951e5917905560006010556103e86012556200020062000361565b7f27739e4bb5e6f8b5e4b57a047dca8767cc9b982a011081e086cbb0dfa9de818d805460ff199081169091557f07d4ff730d9753101d832555708a37d38c2c45fce8cacaefc99f06074e93fe0b8054821660019081179091557fb3a65e8276bd33b3e4f7d6081ebd9899187264822358758dca2e2bc37b2a9c2780548316821790557f8191f4eb6b8bafbfe9a5389c8d07d7f5fd81137a7ee653fc4358269845ee1d2e805483168217905560166020527f4c4dc693d7db52f85fe052106f4b4b920e78e8ef37dee82878a60ab8585faf498054831690557fcaff291fe014adc6b72a172705750b4cabe8f8667664d2924a166caab288564880548316821790557ff06d282f967055cb1eee17e04aa005b9682a620f4bbcfaee55ba78607a3d87ae805483168217905560046000527fec061709de2491458f4c981032059d7d19b0e55f45018bac6b3e660bdc959a59805490921617905562000723565b3390565b600a54600b5460405163095ea7b360e01b81526001600160a01b039283169263095ea7b3926200039b92911690600019906004016200070a565b602060405180830381600087803b158015620003b657600080fd5b505af1158015620003cb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003f19190620006e8565b50600a54600e546040805163f77c479160e01b815290516001600160a01b039384169363095ea7b393169163f77c47919160048083019260209291908290030181600087803b1580156200044457600080fd5b505af115801562000459573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200047f9190620006b8565b6000196040518363ffffffff1660e01b8152600401620004a19291906200070a565b602060405180830381600087803b158015620004bc57600080fd5b505af1158015620004d1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004f79190620006e8565b50600a5460115460405163095ea7b360e01b81526001600160a01b039283169263095ea7b3926200053292911690600019906004016200070a565b602060405180830381600087803b1580156200054d57600080fd5b505af115801562000562573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005889190620006e8565b50600a5460135460405163095ea7b360e01b81526001600160a01b039283169263095ea7b392620005c392911690600019906004016200070a565b602060405180830381600087803b158015620005de57600080fd5b505af1158015620005f3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006199190620006e8565b50565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200065f57805160ff19168380011785556200068f565b828001600101855582156200068f579182015b828111156200068f57825182559160200191906001019062000672565b506200069d929150620006a1565b5090565b5b808211156200069d5760008155600101620006a2565b600060208284031215620006ca578081fd5b81516001600160a01b0381168114620006e1578182fd5b9392505050565b600060208284031215620006fa578081fd5b81518015158114620006e1578182fd5b6001600160a01b03929092168252602082015260400190565b613bd280620007336000396000f3fe6080604052600436106103855760003560e01c8063715018a6116101d1578063ad4c659211610102578063e9081ec7116100a0578063fc0c546a1161006f578063fc0c546a1461093f578063fe476e0114610954578063fe582e2414610974578063fedf23fc146109945761038c565b8063e9081ec7146108ca578063f2fde38b146108ea578063f5a41dea1461090a578063f9a252821461091f5761038c565b8063bed65bae116100dc578063bed65bae1461086b578063bf02a96114610880578063c72e947314610895578063dd62ed3e146108aa5761038c565b8063ad4c659214610821578063b69ef8a814610836578063b6b55f251461084b5761038c565b80639218b52e1161016f5780639c7266bc116101495780639c7266bc146107ac578063a160176d146107cc578063a457c2d7146107e1578063a9059cbb146108015761038c565b80639218b52e1461076257806395d89b411461078257806399b71d5c146107975761038c565b806379ba5097116101ab57806379ba5097146107035780637d7c2a1c146107185780638124955c1461072d5780638da5cb5b1461074d5761038c565b8063715018a6146106c457806377c7b8fc146106d957806378b423af146106ee5761038c565b806335ff1e28116102b65780634fdac0ef1161025457806364e85a2e1161022357806364e85a2e1461066557806369e154041461067a57806370a082311461068f5780637137ef99146106af5761038c565b80634fdac0ef14610606578063546b66151461061b57806357ded9c91461063b57806358782c21146106505761038c565b80634127535811610290578063412753581461058f57806344d40d7f146105b157806346357473146105d157806349b4e9c8146105f15761038c565b806335ff1e281461053a578063395093511461054f5780633d8450c91461056f5761038c565b806316f0115b1161032357806323b872dd116102fd57806323b872dd146104b857806325305c73146104d85780632e1a7d4d146104f8578063313ce567146105185761038c565b806316f0115b1461047957806318160ddd1461048e57806320dac83b146104a35761038c565b8063085d48831161035f578063085d488314610400578063095ea7b3146104225780630eb2a2671461044f57806310a32519146104645761038c565b806306c892c61461039157806306fdde03146103bc57806307f75530146103de5761038c565b3661038c57005b600080fd5b34801561039d57600080fd5b506103a66109b4565b6040516103b39190613a8f565b60405180910390f35b3480156103c857600080fd5b506103d16109c4565b6040516103b391906133a4565b3480156103ea57600080fd5b506103fe6103f93660046132b3565b610a5a565b005b34801561040c57600080fd5b50610415610ae8565b6040516103b39190613390565b34801561042e57600080fd5b5061044261043d366004613249565b610af1565b6040516103b39190613385565b34801561045b57600080fd5b506103a6610b0f565b34801561047057600080fd5b506103a6610b19565b34801561048557600080fd5b506103a6610b23565b34801561049a57600080fd5b506103a6610b29565b3480156104af57600080fd5b506103a6610b2f565b3480156104c457600080fd5b506104426104d3366004613209565b610b39565b3480156104e457600080fd5b506104426104f3366004613294565b610bc1565b34801561050457600080fd5b506103fe6105133660046132b3565b610bd6565b34801561052457600080fd5b5061052d610fb6565b6040516103b39190613a98565b34801561054657600080fd5b506103a6610fbf565b34801561055b57600080fd5b5061044261056a366004613249565b610fc5565b34801561057b57600080fd5b506103fe61058a3660046132b3565b611013565b34801561059b57600080fd5b506105a46110b9565b6040516103b39190613334565b3480156105bd57600080fd5b506103fe6105cc366004613294565b6110c8565b3480156105dd57600080fd5b506103fe6105ec366004613199565b61114e565b3480156105fd57600080fd5b506105a46111af565b34801561061257600080fd5b506103a66111be565b34801561062757600080fd5b506103fe6106363660046132b3565b6111c8565b34801561064757600080fd5b506105a4611245565b34801561065c57600080fd5b506105a4611254565b34801561067157600080fd5b506105a4611263565b34801561068657600080fd5b506103a6611272565b34801561069b57600080fd5b506103a66106aa366004613199565b611278565b3480156106bb57600080fd5b506103a6611293565b3480156106d057600080fd5b506103fe61129d565b3480156106e557600080fd5b506103a6611326565b3480156106fa57600080fd5b506103a6611356565b34801561070f57600080fd5b506103fe611360565b34801561072457600080fd5b506103fe6113ed565b34801561073957600080fd5b506103fe6107483660046132b3565b6114d6565b34801561075957600080fd5b506105a4611578565b34801561076e57600080fd5b506103fe61077d366004613199565b611587565b34801561078e57600080fd5b506103d16115e8565b3480156107a357600080fd5b506103fe611649565b3480156107b857600080fd5b506104426107c7366004613294565b6118e5565b3480156107d857600080fd5b506104156118fa565b3480156107ed57600080fd5b506104426107fc366004613249565b611ae2565b34801561080d57600080fd5b5061044261081c366004613249565b611b4a565b34801561082d57600080fd5b506105a4611b5e565b34801561084257600080fd5b506103a6611b6d565b34801561085757600080fd5b506103fe6108663660046132b3565b611b77565b34801561087757600080fd5b506105a4611ca1565b34801561088c57600080fd5b506103a6611cb0565b3480156108a157600080fd5b506103a6611d75565b3480156108b657600080fd5b506103a66108c53660046131d1565b611d7f565b3480156108d657600080fd5b506103a66108e5366004613199565b611daa565b3480156108f657600080fd5b506103fe610905366004613199565b611dc5565b34801561091657600080fd5b506103a6611e4c565b34801561092b57600080fd5b506103fe61093a366004613294565b611e56565b34801561094b57600080fd5b506105a4611ee9565b34801561096057600080fd5b506103fe61096f3660046132b3565b611ef8565b34801561098057600080fd5b506103fe61098f3660046132b3565b611f5d565b3480156109a057600080fd5b506103fe6109af366004613294565b612022565b60006109be611cb0565b90505b90565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a505780601f10610a2557610100808354040283529160200191610a50565b820191906000526020600020905b815481529060010190602001808311610a3357829003601f168201915b5050505050905090565b60008111610a835760405162461bcd60e51b8152600401610a7a906134d1565b60405180910390fd5b60135460405163b6b55f2560e01b81526001600160a01b039091169063b6b55f2590610ab3908490600401613a8f565b600060405180830381600087803b158015610acd57600080fd5b505af1158015610ae1573d6000803e3d6000fd5b5050505050565b60175460ff1681565b6000610b05610afe6120b5565b84846120b9565b5060015b92915050565b60006109be61216d565b60006109be6121d3565b60095481565b60025490565b60006109be61234a565b6000610b468484846124aa565b610bb684610b526120b5565b610bb185604051806060016040528060288152602001613b30602891396001600160a01b038a16600090815260016020526040812090610b906120b5565b6001600160a01b0316815260208101919091526040016000205491906125ad565b6120b9565b5060015b9392505050565b60166020526000908152604090205460ff1681565b60026006541415610bf95760405162461bcd60e51b8152600401610a7a90613a21565b600260065580610c1b5760405162461bcd60e51b8152600401610a7a9061370e565b6000610c2633611278565b905080821115610c485760405162461bcd60e51b8152600401610a7a906136e0565b610c506125d9565b6009556000610c73610c60610b29565b600954610c6d908561260f565b90612649565b90506000610c8f610c82610b29565b600954610c6d908761260f565b33600090815260146020526040902054909150821015610cc457610cb482600161267b565b9150610cc181600161267b565b90505b33600090815260146020526040812054610d0490610ce3908790612649565b33600090815260146020526040902054610cfe9086906126a0565b9061260f565b905060006001600160a01b0316336001600160a01b0316600080516020613b5883398151915287604051610d389190613a8f565b60405180910390a3600a546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610d71903090600401613334565b60206040518083038186803b158015610d8957600080fd5b505afa158015610d9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc191906132cb565b905082811015610ddd57610ddd610dd884836126a0565b6126c8565b6000610dfa601254610c6d6010548661260f90919063ffffffff16565b90508015610ef257600a54600f5460405163095ea7b360e01b81526001600160a01b039283169263095ea7b392610e38929116908590600401613348565b602060405180830381600087803b158015610e5257600080fd5b505af1158015610e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8a9190613274565b50600f54600a54604051632fd5526560e01b81526001600160a01b0392831692632fd5526592610ebf92911690600401613334565b600060405180830381600087803b158015610ed957600080fd5b505af1158015610eed573d6000803e3d6000fd5b505050505b610f1333610f0086846126a0565b600a546001600160a01b03169190612750565b610f1d33886127ab565b33600090815260146020526040902054610f5890610f42908890610c6d908b9061260f565b33600090815260146020526040902054906126a0565b33600090815260146020526040902055610f706113ed565b610f786125d9565b600955604051879033907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436490600090a3505060016006555050505050565b60055460ff1690565b60125481565b6000610b05610fd26120b5565b84610bb18560016000610fe36120b5565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061267b565b600081116110335760405162461bcd60e51b8152600401610a7a90613605565b60115460405163140e25ad60e31b81526001600160a01b039091169063a0712d6890611063908490600401613a8f565b602060405180830381600087803b15801561107d57600080fd5b505af1158015611091573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b591906132cb565b5050565b600f546001600160a01b031681565b6110d06120b5565b6001600160a01b03166110e1611578565b6001600160a01b0316146111075760405162461bcd60e51b8152600401610a7a906136ab565b60006015600083600481111561111957fe5b600481111561112457fe5b81526020810191909152604001600020805460ff191691151591909117905561114b6113ed565b50565b6111566120b5565b6001600160a01b0316611167611578565b6001600160a01b03161461118d5760405162461bcd60e51b8152600401610a7a906136ab565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600d546001600160a01b031681565b60006109be61287b565b6111d06120b5565b6001600160a01b03166111e1611578565b6001600160a01b0316146112075760405162461bcd60e51b8152600401610a7a906136ab565b60648110156112285760405162461bcd60e51b8152600401610a7a90613958565b61124060125482601054028161123a57fe5b04611ef8565b601255565b600c546001600160a01b031681565b600b546001600160a01b031681565b6011546001600160a01b031681565b60105481565b6001600160a01b031660009081526020819052604090205490565b60006109be6125d9565b6112a56120b5565b6001600160a01b03166112b6611578565b6001600160a01b0316146112dc5760405162461bcd60e51b8152600401610a7a906136ab565b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b6000806113316125d9565b905061135061133e610b29565b610c6d83670de0b6b3a764000061260f565b91505090565b60006109be6128e1565b6008546001600160a01b0316331461138a5760405162461bcd60e51b8152600401610a7a9061341a565b6008546007546040516001600160a01b0392831692909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600854600780546001600160a01b0319166001600160a01b03909216919091179055565b60006113f76118fa565b60175490915060ff16600481111561140b57fe5b81600481111561141757fe5b1461142457611424612947565b600061142e6129ad565b11156114b557600181600481111561144257fe5b1415611458576114536107486129ad565b6114b5565b600281600481111561146657fe5b14156114775761145361098f6129ad565b600381600481111561148557fe5b14156114965761145361058a6129ad565b60048160048111156114a457fe5b14156114b5576114b56103f96129ad565b6017805482919060ff191660018360048111156114ce57fe5b021790555050565b600b546040516340c10f1960e01b81526000916001600160a01b0316906340c10f19906115099030908690600401613348565b602060405180830381600087803b15801561152357600080fd5b505af1158015611537573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155b91906132cb565b1161114b5760405162461bcd60e51b8152600401610a7a906139a7565b6007546001600160a01b031690565b61158f6120b5565b6001600160a01b03166115a0611578565b6001600160a01b0316146115c65760405162461bcd60e51b8152600401610a7a906136ab565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a505780601f10610a2557610100808354040283529160200191610a50565b600a54600b5460405163095ea7b360e01b81526001600160a01b039283169263095ea7b3926116819291169060001990600401613348565b602060405180830381600087803b15801561169b57600080fd5b505af11580156116af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d39190613274565b50600a54600e546040805163f77c479160e01b815290516001600160a01b039384169363095ea7b393169163f77c47919160048083019260209291908290030181600087803b15801561172557600080fd5b505af1158015611739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175d91906131b5565b6000196040518363ffffffff1660e01b815260040161177d929190613348565b602060405180830381600087803b15801561179757600080fd5b505af11580156117ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cf9190613274565b50600a5460115460405163095ea7b360e01b81526001600160a01b039283169263095ea7b3926118089291169060001990600401613348565b602060405180830381600087803b15801561182257600080fd5b505af1158015611836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185a9190613274565b50600a5460135460405163095ea7b360e01b81526001600160a01b039283169263095ea7b3926118939291169060001990600401613348565b602060405180830381600087803b1580156118ad57600080fd5b505af11580156118c1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114b9190613274565b60156020526000908152604090205460ff1681565b600c54600a546040516303622f8f60e61b815260009283928392839283926001600160a01b039182169263d88be3c092611938921690600401613334565b60806040518083038186803b15801561195057600080fd5b505afa158015611964573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198891906132e3565b9350935093509350600080851180156119cc5750600160005260156020527f27739e4bb5e6f8b5e4b57a047dca8767cc9b982a011081e086cbb0dfa9de818d5460ff165b156119d45750835b8084118015611a0e5750600260005260156020527f07d4ff730d9753101d832555708a37d38c2c45fce8cacaefc99f06074e93fe0b5460ff165b15611a165750825b8083118015611a505750600360005260156020527fb3a65e8276bd33b3e4f7d6081ebd9899187264822358758dca2e2bc37b2a9c275460ff165b15611a585750815b8082118015611a925750600460005260156020527f8191f4eb6b8bafbfe9a5389c8d07d7f5fd81137a7ee653fc4358269845ee1d2e5460ff165b15611a9a5750805b600085821415611aac57506001611ad8565b84821415611abc57506002611ad8565b83821415611acc57506003611ad8565b82821415611ad8575060045b9550505050505090565b6000610b05611aef6120b5565b84610bb185604051806060016040528060258152602001613b786025913960016000611b196120b5565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906125ad565b6000610b05611b576120b5565b84846124aa565b600e546001600160a01b031681565b60006109be6129ad565b60026006541415611b9a5760405162461bcd60e51b8152600401610a7a90613a21565b600260065580611bbc5760405162461bcd60e51b8152600401610a7a906138ea565b611bc46125d9565b600955600a54611bdf906001600160a01b0316333084612a2e565b611be76113ed565b600060095460001415611c005750600981905580611c2e565b611c08610b29565b611c13575080611c2e565b611c2b600954610c6d611c24610b29565b859061260f565b90505b611c366125d9565b600955611c433382612a55565b33600090815260146020526040902054611c5d908361267b565b3360008181526014602052604080822093909355915184927fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c91a350506001600655565b6013546001600160a01b031681565b6003600090815260166020527ff06d282f967055cb1eee17e04aa005b9682a620f4bbcfaee55ba78607a3d87ae5460ff1615611d6d576013546040516370a0823160e01b81526001600160a01b03909116906370a0823190611d16903090600401613334565b60206040518083038186803b158015611d2e57600080fd5b505afa158015611d42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6691906132cb565b90506109c1565b5060006109c1565b60006109be612af7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b031660009081526014602052604090205490565b611dcd6120b5565b6001600160a01b0316611dde611578565b6001600160a01b031614611e045760405162461bcd60e51b8152600401610a7a906136ab565b6001600160a01b038116611e2a5760405162461bcd60e51b8152600401610a7a90613449565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60006109be612beb565b611e5e6120b5565b6001600160a01b0316611e6f611578565b6001600160a01b031614611e955760405162461bcd60e51b8152600401610a7a906136ab565b600060156000836004811115611ea757fe5b6004811115611eb257fe5b815260200190815260200160002060006101000a81548160ff02191690831515021790555060006016600083600481111561111957fe5b600a546001600160a01b031681565b611f006120b5565b6001600160a01b0316611f11611578565b6001600160a01b031614611f375760405162461bcd60e51b8152600401610a7a906136ab565b6012548110611f585760405162461bcd60e51b8152600401610a7a906137bd565b601055565b60008111611f7d5760405162461bcd60e51b8152600401610a7a906135d5565b600e54600d5460408051636f307dc360e01b815290516001600160a01b03938416936347e7ef24931691636f307dc3916004808301926020929190829003018186803b158015611fcc57600080fd5b505afa158015611fe0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061200491906131b5565b836040518363ffffffff1660e01b8152600401610ab3929190613348565b61202a6120b5565b6001600160a01b031661203b611578565b6001600160a01b0316146120615760405162461bcd60e51b8152600401610a7a906136ab565b60016015600083600481111561207357fe5b600481111561207e57fe5b815260200190815260200160002060006101000a81548160ff02191690831515021790555060016016600083600481111561111957fe5b3390565b6001600160a01b0383166120df5760405162461bcd60e51b8152600401610a7a906138a6565b6001600160a01b0382166121055760405162461bcd60e51b8152600401610a7a9061348f565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590612160908590613a8f565b60405180910390a3505050565b6001600090815260166020527f4c4dc693d7db52f85fe052106f4b4b920e78e8ef37dee82878a60ab8585faf495460ff1615611d6d57600b546040516370a0823160e01b81526001600160a01b03909116906370a0823190611d16903090600401613334565b6000806121de6128e1565b905060008111801561221b5750600260005260166020527fcaff291fe014adc6b72a172705750b4cabe8f8667664d2924a166caab28856485460ff165b156109be57600d546040805163182df0f560e01b815290516000926001600160a01b03169163182df0f5916004808301926020929190829003018186803b15801561226557600080fd5b505afa158015612279573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061229d91906132cb565b90506000600d60009054906101000a90046001600160a01b03166001600160a01b031663c2ee3a086040518163ffffffff1660e01b815260040160206040518083038186803b1580156122ef57600080fd5b505afa158015612303573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061232791906132cb565b9050612342600161233c83610c6d878761260f565b9061267b565b949350505050565b600080612355611cb0565b90506000811180156123925750600460005260166020527fec061709de2491458f4c981032059d7d19b0e55f45018bac6b3e660bdc959a595460ff165b156109be57610b09600161233c601360009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156123ed57600080fd5b505afa158015612401573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242591906132cb565b6013546040805163626be56760e01b81529051610c6d926001600160a01b03169163626be567916004808301926020929190829003018186803b15801561246b57600080fd5b505afa15801561247f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a391906132cb565b869061260f565b6001600160a01b0383166124d05760405162461bcd60e51b8152600401610a7a906137fe565b6001600160a01b0382166124f65760405162461bcd60e51b8152600401610a7a906133d7565b6125018383836127a6565b61253e81604051806060016040528060268152602001613b0a602691396001600160a01b03861660009081526020819052604090205491906125ad565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461256d908261267b565b6001600160a01b038084166000818152602081905260409081902093909355915190851690600080516020613b5883398151915290612160908590613a8f565b600081848411156125d15760405162461bcd60e51b8152600401610a7a91906133a4565b505050900390565b60006109be6125e66129ad565b61233c6125f161234a565b61233c6125fc612af7565b61233c6126076121d3565b61233c612beb565b60008261261e57506000610b09565b8282028284828161262b57fe5b0414610bba5760405162461bcd60e51b8152600401610a7a90613633565b600080821161266a5760405162461bcd60e51b8152600401610a7a9061359e565b81838161267357fe5b049392505050565b600082820183811015610bba5760405162461bcd60e51b8152600401610a7a90613500565b6000828211156126c25760405162461bcd60e51b8152600401610a7a90613567565b50900390565b600160175460ff1660048111156126db57fe5b14156126ea576126ea81612cbf565b600260175460ff1660048111156126fd57fe5b141561270c5761270c81612d17565b600360175460ff16600481111561271f57fe5b141561272e5761272e81612d6f565b600460175460ff16600481111561274157fe5b141561114b5761114b81612dc2565b6127a68363a9059cbb60e01b848460405160240161276f929190613348565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612e1a565b505050565b6001600160a01b0382166127d15760405162461bcd60e51b8152600401610a7a9061377c565b6127dd826000836127a6565b61281a81604051806060016040528060228152602001613ae8602291396001600160a01b03851660009081526020819052604090205491906125ad565b6001600160a01b03831660009081526020819052604090205560025461284090826126a0565b6002556040516000906001600160a01b03841690600080516020613b588339815191529061286f908590613a8f565b60405180910390a35050565b6003600090815260166020527ff06d282f967055cb1eee17e04aa005b9682a620f4bbcfaee55ba78607a3d87ae5460ff1615611d6d576011546040516370a0823160e01b81526001600160a01b03909116906370a0823190611d16903090600401613334565b6002600090815260166020527fcaff291fe014adc6b72a172705750b4cabe8f8667664d2924a166caab28856485460ff1615611d6d57600d546040516370a0823160e01b81526001600160a01b03909116906370a0823190611d16903090600401613334565b600061295161216d565b905080156129625761296281612ea9565b61296a6128e1565b9050801561297b5761297b81612f4b565b61298361287b565b905080156129945761299481613010565b61299c611cb0565b9050801561114b5761114b81613060565b600a546040516370a0823160e01b81526000916001600160a01b0316906370a08231906129de903090600401613334565b60206040518083038186803b1580156129f657600080fd5b505afa158015612a0a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109be91906132cb565b612a4f846323b872dd60e01b85858560405160240161276f93929190613361565b50505050565b6001600160a01b038216612a7b5760405162461bcd60e51b8152600401610a7a90613a58565b612a87600083836127a6565b600254612a94908261267b565b6002556001600160a01b038216600090815260208190526040902054612aba908261267b565b6001600160a01b038316600081815260208190526040808220939093559151909190600080516020613b588339815191529061286f908590613a8f565b600080612b0261287b565b9050600081118015612b3f5750600360005260166020527ff06d282f967055cb1eee17e04aa005b9682a620f4bbcfaee55ba78607a3d87ae5460ff165b156109be576011546040805163182df0f560e01b815290516000926001600160a01b03169163182df0f5916004808301926020929190829003018186803b158015612b8957600080fd5b505afa158015612b9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bc191906132cb565b9050610bba6402540be400610cfe600161233c6b204fce5e3e25026110000000610c6d888861260f565b600080612bf661216d565b9050600081118015612c335750600160005260166020527f4c4dc693d7db52f85fe052106f4b4b920e78e8ef37dee82878a60ab8585faf495460ff165b156109be57600b54604051630359f7eb60e11b8152610b09916001916001600160a01b03909116906306b3efd690612c6f903090600401613334565b60206040518083038186803b158015612c8757600080fd5b505afa158015612c9b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233c91906132cb565b6000612cc961216d565b90506000612cd5612beb565b905082811015612cf75760405162461bcd60e51b8152600401610a7a9061387a565b6000612d0c600161233c84610c6d878961260f565b9050612a4f81612ea9565b6000612d216128e1565b90506000612d2d6121d3565b905082811015612d4f5760405162461bcd60e51b8152600401610a7a9061387a565b6000612d64600161233c84610c6d878961260f565b9050612a4f81612f4b565b6000612d7961287b565b90506000612d85612af7565b905082811015612da75760405162461bcd60e51b8152600401610a7a9061387a565b6000612db782610c6d858761260f565b9050612a4f81613010565b6000612dcc611cb0565b90506000612dd861234a565b905082811015612dfa5760405162461bcd60e51b8152600401610a7a9061387a565b6000612e0f600161233c84610c6d878961260f565b9050612a4f81613060565b6060612e6f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166130b09092919063ffffffff16565b8051909150156127a65780806020019051810190612e8d9190613274565b6127a65760405162461bcd60e51b8152600401610a7a906139d7565b600b54604051632770a7eb60e21b81526000916001600160a01b031690639dc29fac90612edc9030908690600401613348565b602060405180830381600087803b158015612ef657600080fd5b505af1158015612f0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f2e91906132cb565b1161114b5760405162461bcd60e51b8152600401610a7a90613674565b60008111612f6b5760405162461bcd60e51b8152600401610a7a90613745565b600e54600d5460408051636f307dc360e01b815290516001600160a01b039384169363f3fef3a3931691636f307dc3916004808301926020929190829003018186803b158015612fba57600080fd5b505afa158015612fce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ff291906131b5565b836040518363ffffffff1660e01b8152600401611063929190613348565b600081116130305760405162461bcd60e51b8152600401610a7a90613537565b60115460405163db006a7560e01b81526001600160a01b039091169063db006a7590611063908490600401613a8f565b600081116130805760405162461bcd60e51b8152600401610a7a90613843565b601354604051632e1a7d4d60e01b81526001600160a01b0390911690632e1a7d4d90610ab3908490600401613a8f565b60606123428484600085856130c48561315a565b6130e05760405162461bcd60e51b8152600401610a7a90613921565b60006060866001600160a01b031685876040516130fd9190613318565b60006040518083038185875af1925050503d806000811461313a576040519150601f19603f3d011682016040523d82523d6000602084013e61313f565b606091505b509150915061314f828286613160565b979650505050505050565b3b151590565b6060831561316f575081610bba565b82511561317f5782518084602001fd5b8160405162461bcd60e51b8152600401610a7a91906133a4565b6000602082840312156131aa578081fd5b8135610bba81613ad2565b6000602082840312156131c6578081fd5b8151610bba81613ad2565b600080604083850312156131e3578081fd5b82356131ee81613ad2565b915060208301356131fe81613ad2565b809150509250929050565b60008060006060848603121561321d578081fd5b833561322881613ad2565b9250602084013561323881613ad2565b929592945050506040919091013590565b6000806040838503121561325b578182fd5b823561326681613ad2565b946020939093013593505050565b600060208284031215613285578081fd5b81518015158114610bba578182fd5b6000602082840312156132a5578081fd5b813560058110610bba578182fd5b6000602082840312156132c4578081fd5b5035919050565b6000602082840312156132dc578081fd5b5051919050565b600080600080608085870312156132f8578081fd5b505082516020840151604085015160609095015191969095509092509050565b6000825161332a818460208701613aa6565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b901515815260200190565b602081016005831061339e57fe5b91905290565b60006020825282518060208401526133c3816040850160208701613aa6565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252601590820152744f776e61626c653a206e6f7420636164696461746560581b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601590820152741053141050d04e881cdd5c1c1b1e4819985a5b1959605a1b604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601690820152751591539554ce881dda5d1a191c985dc819985a5b195960521b604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252601690820152751193d4951550914e881cdd5c1c1b1e4819985a5b195960521b604082015260600190565b6020808252601490820152731591539554ce881cdd5c1c1b1e4819985a5b195960621b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526018908201527f46554c4352554d3a207769746864726177206661696c65640000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260149082015273696e73756666696369656e742062616c616e636560601b604082015260600190565b6020808252601f908201527f7769746864726177206d7573742062652067726561746572207468616e203000604082015260600190565b60208082526018908201527f464f52545542453a207769746864726177206661696c65640000000000000000604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526021908201527f66656520616d6f756e74206d757374206265206c657373207468616e203130306040820152602560f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526017908201527f414c504143413a207769746864726177206661696c6564000000000000000000604082015260600190565b602080825260129082015271696e73756666696369656e742066756e647360701b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601e908201527f6465706f736974206d7573742062652067726561746572207468616e20300000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602f908201527f66656520707265636973696f6e206d757374206265206772656174657220746860408201526e185b880c4c0c08185d081b19585cdd608a1b606082015260800190565b60208082526016908201527511955310d495534e881cdd5c1c1b1e4819985a5b195960521b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60ff91909116815260200190565b60005b83811015613ac1578181015183820152602001613aa9565b83811115612a4f5750506000910152565b6001600160a01b038116811461114b57600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212200e1a6414f6451f71f3ef4d393517d60b213e7dcdf30af2df4427b064554fa97c64736f6c634300060c0033

Deployed ByteCode Sourcemap

43706:13992:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50615:93;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;34705:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;55901:146::-;;;;;;;;;;-1:-1:-1;55901:146:0;;;;;:::i;:::-;;:::i;:::-;;44431:36;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;36851:169::-;;;;;;;;;;-1:-1:-1;36851:169:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;50320:95::-;;;;;;;;;;;;;:::i;49866:109::-;;;;;;;;;;;;;:::i;43869:19::-;;;;;;;;;;;;;:::i;35804:108::-;;;;;;;;;;;;;:::i;50207:107::-;;;;;;;;;;;;;:::i;37502:321::-;;;;;;;;;;-1:-1:-1;37502:321:0;;;;;:::i;:::-;;:::i;44380:44::-;;;;;;;;;;-1:-1:-1;44380:44:0;;;;;:::i;:::-;;:::i;47002:1489::-;;;;;;;;;;-1:-1:-1;47002:1489:0;;;;;:::i;:::-;;:::i;35648:91::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;44120:27::-;;;;;;;;;;;;;:::i;38232:218::-;;;;;;;;;;-1:-1:-1;38232:218:0;;;;;:::i;:::-;;:::i;55758:139::-;;;;;;;;;;-1:-1:-1;55758:139:0;;;;;:::i;:::-;;:::i;44031:25::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;57393:129::-;;;;;;;;;;-1:-1:-1;57393:129:0;;;;;:::i;:::-;;:::i;45519:85::-;;;;;;;;;;-1:-1:-1;45519:85:0;;;;;:::i;:::-;;:::i;43968:27::-;;;;;;;;;;;;;:::i;50518:91::-;;;;;;;;;;;;;:::i;45887:271::-;;;;;;;;;;-1:-1:-1;45887:271:0;;;;;:::i;:::-;;:::i;43945:18::-;;;;;;;;;;;;;:::i;43918:22::-;;;;;;;;;;;;;:::i;44090:25::-;;;;;;;;;;;;;:::i;44061:24::-;;;;;;;;;;;;;:::i;35975:127::-;;;;;;;;;;-1:-1:-1;35975:127:0;;;;;:::i;:::-;;:::i;56967:104::-;;;;;;;;;;;;;:::i;31769:148::-;;;;;;;;;;;;;:::i;57077:156::-;;;;;;;;;;;;;:::i;50419:95::-;;;;;;;;;;;;;:::i;32274:199::-;;;;;;;;;;;;;:::i;54858:552::-;;;;;;;;;;;;;:::i;55416:141::-;;;;;;;;;;-1:-1:-1;55416:141:0;;;;;:::i;:::-;;:::i;31118:87::-;;;;;;;;;;;;;:::i;45767:116::-;;;;;;;;;;-1:-1:-1;45767:116:0;;;;;:::i;:::-;;:::i;34915:95::-;;;;;;;;;;;;;:::i;49589:271::-;;;;;;;;;;;;;:::i;44331:44::-;;;;;;;;;;-1:-1:-1;44331:44:0;;;;;:::i;:::-;;:::i;48532:837::-;;;;;;;;;;;;;:::i;38953:269::-;;;;;;;;;;-1:-1:-1;38953:269:0;;;;;:::i;:::-;;:::i;36315:175::-;;;;;;;;;;-1:-1:-1;36315:175:0;;;;;:::i;:::-;;:::i;44000:26::-;;;;;;;;;;;;;:::i;49375:81::-;;;;;;;;;;;;;:::i;46209:783::-;;;;;;;;;;-1:-1:-1;46209:783:0;;;;;:::i;:::-;;:::i;44152:26::-;;;;;;;;;;;;;:::i;52639:186::-;;;;;;;;;;;;;:::i;50096:105::-;;;;;;;;;;;;;:::i;36553:151::-;;;;;;;;;;-1:-1:-1;36553:151:0;;;;;:::i;:::-;;:::i;49462:121::-;;;;;;;;;;-1:-1:-1;49462:121:0;;;;;:::i;:::-;;:::i;32072:194::-;;;;;;;;;;-1:-1:-1;32072:194:0;;;;;:::i;:::-;;:::i;49981:109::-;;;;;;;;;;;;;:::i;57528:167::-;;;;;;;;;;-1:-1:-1;57528:167:0;;;;;:::i;:::-;;:::i;43893:20::-;;;;;;;;;;;;;:::i;45608:155::-;;;;;;;;;;-1:-1:-1;45608:155:0;;;;;:::i;:::-;;:::i;55561:193::-;;;;;;;;;;-1:-1:-1;55561:193:0;;;;;:::i;:::-;;:::i;57239:148::-;;;;;;;;;;-1:-1:-1;57239:148:0;;;;;:::i;:::-;;:::i;50615:93::-;50663:7;50686:16;:14;:16::i;:::-;50679:23;;50615:93;;:::o;34705:91::-;34783:5;34776:12;;;;;;;;-1:-1:-1;;34776:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34750:13;;34776:12;;34783:5;;34776:12;;34783:5;34776:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34705:91;:::o;55901:146::-;55969:1;55960:6;:10;55952:44;;;;-1:-1:-1;;;55952:44:0;;;;;;;:::i;:::-;;;;;;;;;56013:11;;56005:36;;-1:-1:-1;;;56005:36:0;;-1:-1:-1;;;;;56013:11:0;;;;56005:28;;:36;;56034:6;;56005:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55901:146;:::o;44431:36::-;;;;;;:::o;36851:169::-;36934:4;36951:39;36960:12;:10;:12::i;:::-;36974:7;36983:6;36951:8;:39::i;:::-;-1:-1:-1;37008:4:0;36851:169;;;;;:::o;50320:95::-;50369:7;50392:17;:15;:17::i;49866:109::-;49922:7;49945:24;:22;:24::i;43869:19::-;;;;:::o;35804:108::-;35892:12;;35804:108;:::o;50207:107::-;50262:7;50285:23;:21;:23::i;37502:321::-;37608:4;37625:36;37635:6;37643:9;37654:6;37625:9;:36::i;:::-;37672:121;37681:6;37689:12;:10;:12::i;:::-;37703:89;37741:6;37703:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37703:19:0;;;;;;:11;:19;;;;;;37723:12;:10;:12::i;:::-;-1:-1:-1;;;;;37703:33:0;;;;;;;;;;;;-1:-1:-1;37703:33:0;;;:89;:37;:89::i;:::-;37672:8;:121::i;:::-;-1:-1:-1;37811:4:0;37502:321;;;;;;:::o;44380:44::-;;;;;;;;;;;;;;;:::o;47002:1489::-;5704:1;6310:7;;:19;;6302:63;;;;-1:-1:-1;;;6302:63:0;;;;;;;:::i;:::-;5704:1;6443:7;:18;47093:11;47085:55:::1;;;;-1:-1:-1::0;;;47085:55:0::1;;;;;;;:::i;:::-;47151:16;47170:21;47180:10;47170:9;:21::i;:::-;47151:40;;47219:8;47208:7;:19;;47200:52;;;;-1:-1:-1::0;;;47200:52:0::1;;;;;;;:::i;:::-;47315:23;:21;:23::i;:::-;47308:4;:30:::0;47397:9:::1;47409:39;47434:13;:11;:13::i;:::-;47410:4;::::0;:18:::1;::::0;47419:8;47410::::1;:18::i;:::-;47409:24:::0;::::1;:39::i;:::-;47397:51;;47507:9;47519:38;47543:13;:11;:13::i;:::-;47520:4;::::0;:17:::1;::::0;47529:7;47520:8:::1;:17::i;47519:38::-;47589:10;47573:27;::::0;;;:15:::1;:27;::::0;;;;;47507:50;;-1:-1:-1;47569:31:0;::::1;47566:91;;;47616:8;:1:::0;47622::::1;47616:5;:8::i;:::-;47612:12:::0;-1:-1:-1;47639:8:0::1;:1:::0;47645::::1;47639:5;:8::i;:::-;47635:12;;47566:91;47751:10;47665:14;47735:27:::0;;;:15:::1;:27;::::0;;;;;47682:82:::1;::::0;47723:40:::1;::::0;:7;;:11:::1;:40::i;:::-;47705:10;47689:27;::::0;;;:15:::1;:27;::::0;;;;;47683:34:::1;::::0;:1;;:5:::1;:34::i;:::-;47682:40:::0;::::1;:82::i;:::-;47665:99;;47809:1;-1:-1:-1::0;;;;;47780:41:0::1;47789:10;-1:-1:-1::0;;;;;47780:41:0::1;-1:-1:-1::0;;;;;;;;;;;47813:7:0::1;47780:41;;;;;;:::i;:::-;;;;;;;;47875:5;::::0;47868:38:::1;::::0;-1:-1:-1;;;47868:38:0;;47856:9:::1;::::0;-1:-1:-1;;;;;47875:5:0::1;::::0;47868:23:::1;::::0;:38:::1;::::0;47900:4:::1;::::0;47868:38:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47856:50;;47923:1;47919;:5;47915:55;;;47937:23;47951:8;:1:::0;47957;47951:5:::1;:8::i;:::-;47937:13;:23::i;:::-;47980:11;47994:39;48020:12;;47994:21;48005:9;;47994:6;:10;;:21;;;;:::i;:39::-;47980:53:::0;-1:-1:-1;48045:7:0;;48042:122:::1;;48071:5;::::0;48086:10:::1;::::0;48064:38:::1;::::0;-1:-1:-1;;;48064:38:0;;-1:-1:-1;;;;;48071:5:0;;::::1;::::0;48064:21:::1;::::0;:38:::1;::::0;48086:10;::::1;::::0;48098:3;;48064:38:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;48123:10:0::1;::::0;48148:5:::1;::::0;48113:41:::1;::::0;-1:-1:-1;;;48113:41:0;;-1:-1:-1;;;;;48123:10:0;;::::1;::::0;48113:34:::1;::::0;:41:::1;::::0;48148:5;::::1;::::0;48113:41:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;48042:122;48172:50;48199:10;48211;:1:::0;48217:3;48211:5:::1;:10::i;:::-;48179:5;::::0;-1:-1:-1;;;;;48179:5:0::1;::::0;48172:50;:26:::1;:50::i;:::-;48231:26;48237:10;48249:7;48231:5;:26::i;:::-;48356:10;48340:27;::::0;;;:15:::1;:27;::::0;;;;;48296:87:::1;::::0;48328:54:::1;::::0;48373:8;;48328:40:::1;::::0;:7;;:11:::1;:40::i;:54::-;48312:10;48296:27;::::0;;;:15:::1;:27;::::0;;;;;;:31:::1;:87::i;:::-;48282:10;48266:27;::::0;;;:15:::1;:27;::::0;;;;:117;48392:11:::1;:9;:11::i;:::-;48419:23;:21;:23::i;:::-;48412:4;:30:::0;48456:29:::1;::::0;48477:7;;48465:10:::1;::::0;48456:29:::1;::::0;;;::::1;-1:-1:-1::0;;5660:1:0;6622:7;:22;-1:-1:-1;;;;;47002:1489:0:o;35648:91::-;35722:9;;;;35648:91;:::o;44120:27::-;;;;:::o;38232:218::-;38320:4;38337:83;38346:12;:10;:12::i;:::-;38360:7;38369:50;38408:10;38369:11;:25;38381:12;:10;:12::i;:::-;-1:-1:-1;;;;;38369:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;38369:25:0;;;:34;;;;;;;;;;;:38;:50::i;55758:139::-;55825:1;55816:6;:10;55808:43;;;;-1:-1:-1;;;55808:43:0;;;;;;;:::i;:::-;55867:10;;55860:31;;-1:-1:-1;;;55860:31:0;;-1:-1:-1;;;;;55867:10:0;;;;55860:23;;:31;;55884:6;;55860:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55758:139;:::o;44031:25::-;;;-1:-1:-1;;;;;44031:25:0;;:::o;57393:129::-;31349:12;:10;:12::i;:::-;-1:-1:-1;;;;;31338:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31338:23:0;;31330:68;;;;-1:-1:-1;;;31330:68:0;;;;;;;:::i;:::-;57493:5:::1;57470:12;:20;57483:6;57470:20;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;57470:20:0;:28;;-1:-1:-1;;57470:28:0::1;::::0;::::1;;::::0;;;::::1;::::0;;57505:11:::1;:9;:11::i;:::-;57393:129:::0;:::o;45519:85::-;31349:12;:10;:12::i;:::-;-1:-1:-1;;;;;31338:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31338:23:0;;31330:68;;;;-1:-1:-1;;;31330:68:0;;;;;;;:::i;:::-;45584:3:::1;:14:::0;;-1:-1:-1;;;;;;45584:14:0::1;-1:-1:-1::0;;;;;45584:14:0;;;::::1;::::0;;;::::1;::::0;;45519:85::o;43968:27::-;;;-1:-1:-1;;;;;43968:27:0;;:::o;50518:91::-;50565:7;50588:15;:13;:15::i;45887:271::-;31349:12;:10;:12::i;:::-;-1:-1:-1;;;;;31338:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31338:23:0;;31330:68;;;;-1:-1:-1;;;31330:68:0;;;;;;;:::i;:::-;45994:3:::1;45974:16;:23;;45966:83;;;;-1:-1:-1::0;;;45966:83:0::1;;;;;;;:::i;:::-;46056:58;46101:12;;46084:16;46074:9;;:26;:39;;;;;;46056:17;:58::i;:::-;46121:12;:31:::0;45887:271::o;43945:18::-;;;-1:-1:-1;;;;;43945:18:0;;:::o;43918:22::-;;;-1:-1:-1;;;;;43918:22:0;;:::o;44090:25::-;;;-1:-1:-1;;;;;44090:25:0;;:::o;44061:24::-;;;;:::o;35975:127::-;-1:-1:-1;;;;;36076:18:0;36049:7;36076:18;;;;;;;;;;;;35975:127::o;56967:104::-;57020:4;57042:23;:21;:23::i;31769:148::-;31349:12;:10;:12::i;:::-;-1:-1:-1;;;;;31338:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31338:23:0;;31330:68;;;;-1:-1:-1;;;31330:68:0;;;;;;;:::i;:::-;31860:6:::1;::::0;31839:40:::1;::::0;31876:1:::1;::::0;-1:-1:-1;;;;;31860:6:0::1;::::0;31839:40:::1;::::0;31876:1;;31839:40:::1;31890:6;:19:::0;;-1:-1:-1;;;;;;31890:19:0::1;::::0;;31769:148::o;57077:156::-;57130:4;57143:10;57156:23;:21;:23::i;:::-;57143:36;;57193:34;57213:13;:11;:13::i;:::-;57193:15;:5;57203:4;57193:9;:15::i;:34::-;57186:41;;;57077:156;:::o;50419:95::-;50468:7;50491:17;:15;:17::i;32274:199::-;32343:10;;-1:-1:-1;;;;;32343:10:0;32329;:24;32321:58;;;;-1:-1:-1;;;32321:58:0;;;;;;;:::i;:::-;32424:10;;32416:6;;32395:40;;-1:-1:-1;;;;;32424:10:0;;;;32416:6;;;;32395:40;;32424:10;;32395:40;32455:10;;32446:6;:19;;-1:-1:-1;;;;;;32446:19:0;-1:-1:-1;;;;;32455:10:0;;;32446:19;;;;;;32274:199::o;54858:552::-;54893:18;54914:11;:9;:11::i;:::-;54953:8;;54893:32;;-1:-1:-1;54953:8:0;;54938:23;;;;;;;;:11;:23;;;;;;;;;54934:60;;54972:14;:12;:14::i;:::-;55019:1;55006:10;:8;:10::i;:::-;:14;55002:372;;;55050:14;55035:11;:29;;;;;;;;;55031:336;;;55077:25;55091:10;:8;:10::i;55077:25::-;55031:336;;;55137:14;55122:11;:29;;;;;;;;;55118:249;;;55164:25;55178:10;:8;:10::i;55118:249::-;55224:12;55209:11;:27;;;;;;;;;55205:162;;;55249:23;55261:10;:8;:10::i;55205:162::-;55307:13;55292:11;:28;;;;;;;;;55288:79;;;55333:24;55346:10;:8;:10::i;55333:24::-;55382:8;:22;;55393:11;;55382:8;-1:-1:-1;;55382:22:0;;55393:11;55382:22;;;;;;;;;;;;;54858:552;:::o;55416:141::-;55484:7;;55476:44;;-1:-1:-1;;;55476:44:0;;55523:1;;-1:-1:-1;;;;;55484:7:0;;55476:21;;:44;;55506:4;;55513:6;;55476:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;55468:83;;;;-1:-1:-1;;;55468:83:0;;;;;;;:::i;31118:87::-;31191:6;;-1:-1:-1;;;;;31191:6:0;31118:87;:::o;45767:116::-;31349:12;:10;:12::i;:::-;-1:-1:-1;;;;;31338:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31338:23:0;;31330:68;;;;-1:-1:-1;;;31330:68:0;;;;;;;:::i;:::-;45848:10:::1;:29:::0;;-1:-1:-1;;;;;;45848:29:0::1;-1:-1:-1::0;;;;;45848:29:0;;;::::1;::::0;;;::::1;::::0;;45767:116::o;34915:95::-;34995:7;34988:14;;;;;;;;-1:-1:-1;;34988:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34962:13;;34988:14;;34995:7;;34988:14;;34995:7;34988:14;;;;;;;;;;;;;;;;;;;;;;;;49589:271;49636:5;;49651:7;;49629:40;;-1:-1:-1;;;49629:40:0;;-1:-1:-1;;;;;49636:5:0;;;;49629:21;;:40;;49651:7;;;-1:-1:-1;;49665:2:0;49629:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;49685:5:0;;49712:11;;49700:37;;;-1:-1:-1;;;49700:37:0;;;;-1:-1:-1;;;;;49685:5:0;;;;49678:21;;49712:11;;49700:35;;:37;;;;;;;;;;;;;;49685:5;49712:11;49700:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;49678:71:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;49765:5:0;;49780:10;;49758:43;;-1:-1:-1;;;49758:43:0;;-1:-1:-1;;;;;49765:5:0;;;;49758:21;;:43;;49780:10;;;-1:-1:-1;;49797:2:0;49758:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;49817:5:0;;49832:11;;49810:44;;-1:-1:-1;;;49810:44:0;;-1:-1:-1;;;;;49817:5:0;;;;49810:21;;:44;;49832:11;;;-1:-1:-1;;49850:2:0;49810:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;44331:::-;;;;;;;;;;;;;;;:::o;48532:837::-;48663:3;;48678:5;;48649:35;;-1:-1:-1;;;48649:35:0;;48574:6;;;;;;;;;;-1:-1:-1;;;;;48663:3:0;;;;48649:28;;:35;;48678:5;;48649:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48589:95;;;;;;;;48691:11;48724:3;48717:4;:10;:42;;;;-1:-1:-1;48744:14:0;48731:28;;:12;:28;;;;;;48717:42;48713:75;;;-1:-1:-1;48776:4:0;48713:75;48806:3;48798:5;:11;:43;;;;-1:-1:-1;48826:14:0;48813:28;;:12;:28;;;;;;48798:43;48794:77;;;-1:-1:-1;48858:5:0;48794:77;48888:3;48881:4;:10;:40;;;;-1:-1:-1;48908:12:0;48895:26;;:12;:26;;;;;;48881:40;48877:73;;;-1:-1:-1;48938:4:0;48877:73;48967:3;48960:4;:10;:41;;;;-1:-1:-1;48987:13:0;48974:27;;:12;:27;;;;;;48960:41;48956:74;;;-1:-1:-1;49018:4:0;48956:74;49036:18;49086:4;49079:3;:11;49075:264;;;-1:-1:-1;49115:14:0;49075:264;;;49154:5;49147:3;:12;49143:196;;;-1:-1:-1;49184:14:0;49143:196;;;49223:4;49216:3;:11;49212:127;;;-1:-1:-1;49252:12:0;49212:127;;;49289:4;49282:3;:11;49278:61;;;-1:-1:-1;49318:13:0;49278:61;49352:11;-1:-1:-1;;;;;;48532:837:0;:::o;38953:269::-;39046:4;39063:129;39072:12;:10;:12::i;:::-;39086:7;39095:96;39134:15;39095:96;;;;;;;;;;;;;;;;;:11;:25;39107:12;:10;:12::i;:::-;-1:-1:-1;;;;;39095:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;39095:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;36315:175::-;36401:4;36418:42;36428:12;:10;:12::i;:::-;36442:9;36453:6;36418:9;:42::i;44000:26::-;;;-1:-1:-1;;;;;44000:26:0;;:::o;49375:81::-;49417:7;49440:10;:8;:10::i;46209:783::-;5704:1;6310:7;;:19;;6302:63;;;;-1:-1:-1;;;6302:63:0;;;;;;;:::i;:::-;5704:1;6443:7;:18;46299:11;46291:54:::1;;;;-1:-1:-1::0;;;46291:54:0::1;;;;;;;:::i;:::-;46361:23;:21;:23::i;:::-;46354:4;:30:::0;46400:5:::1;::::0;46393:66:::1;::::0;-1:-1:-1;;;;;46400:5:0::1;46424:10;46444:4;46451:7:::0;46393:30:::1;:66::i;:::-;46468:11;:9;:11::i;:::-;46520:14;46551:4;;46559:1;46551:9;46547:246;;;-1:-1:-1::0;46600:4:0::1;:14:::0;;;46582:7;46547:246:::1;;;46645:13;:11;:13::i;:::-;46641:143;;-1:-1:-1::0;46687:7:0;46641:143:::1;;;46734:38;46767:4;;46735:26;46747:13;:11;:13::i;:::-;46735:7:::0;;:11:::1;:26::i;46734:38::-;46725:47;;46641:143;46808:23;:21;:23::i;:::-;46801:4;:30:::0;46840:25:::1;46846:10;46858:6:::0;46840:5:::1;:25::i;:::-;46920:10;46904:27;::::0;;;:15:::1;:27;::::0;;;;;:40:::1;::::0;46936:7;46904:31:::1;:40::i;:::-;46890:10;46874:27;::::0;;;:15:::1;:27;::::0;;;;;:70;;;;46958:28;;46978:7;;46958:28:::1;::::0;::::1;-1:-1:-1::0;;5660:1:0;6622:7;:22;46209:783::o;44152:26::-;;;-1:-1:-1;;;;;44152:26:0;;:::o;52639:186::-;52718:12;52686:7;52705:26;;;:12;:26;;;;;;52702:117;;;52755:11;;52747:45;;-1:-1:-1;;;52747:45:0;;-1:-1:-1;;;;;52755:11:0;;;;52747:30;;:45;;52786:4;;52747:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52740:52;;;;52702:117;-1:-1:-1;52818:1:0;52811:8;;50096:105;50150:7;50173:22;:20;:22::i;36553:151::-;-1:-1:-1;;;;;36669:18:0;;;36642:7;36669:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;36553:151::o;49462:121::-;-1:-1:-1;;;;;49552:25:0;49529:7;49552:25;;;:15;:25;;;;;;;49462:121::o;32072:194::-;31349:12;:10;:12::i;:::-;-1:-1:-1;;;;;31338:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31338:23:0;;31330:68;;;;-1:-1:-1;;;31330:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;32161:22:0;::::1;32153:73;;;;-1:-1:-1::0;;;32153:73:0::1;;;;;;;:::i;:::-;32237:10;:21:::0;;-1:-1:-1;;;;;;32237:21:0::1;-1:-1:-1::0;;;;;32237:21:0;;;::::1;::::0;;;::::1;::::0;;32072:194::o;49981:109::-;50037:7;50060:24;:22;:24::i;57528:167::-;31349:12;:10;:12::i;:::-;-1:-1:-1;;;;;31338:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31338:23:0;;31330:68;;;;-1:-1:-1;;;31330:68:0;;;;;;;:::i;:::-;57631:5:::1;57608:12;:20;57621:6;57608:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;57666:5;57643:12;:20;57656:6;57643:20;;;;;;;43893::::0;;;-1:-1:-1;;;;;43893:20:0;;:::o;45608:155::-;31349:12;:10;:12::i;:::-;-1:-1:-1;;;;;31338:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31338:23:0;;31330:68;;;;-1:-1:-1;;;31330:68:0;;;;;;;:::i;:::-;45685:12:::1;;45679:3;:18;45671:64;;;;-1:-1:-1::0;;;45671:64:0::1;;;;;;;:::i;:::-;45742:9;:15:::0;45608:155::o;55561:193::-;55630:1;55621:6;:10;55613:45;;;;-1:-1:-1;;;55613:45:0;;;;;;;:::i;:::-;55679:11;;55713:12;;55700:39;;;-1:-1:-1;;;55700:39:0;;;;-1:-1:-1;;;;;55679:11:0;;;;55667:32;;55713:12;;55700:37;;:39;;;;;;;;;;;;;;55713:12;55700:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55741:6;55667:81;;;;;;;;;;;;;;;;:::i;57239:148::-;31349:12;:10;:12::i;:::-;-1:-1:-1;;;;;31338:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31338:23:0;;31330:68;;;;-1:-1:-1;;;31330:68:0;;;;;;;:::i;:::-;57325:4:::1;57302:12;:20;57315:6;57302:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;57359:4;57336:12;:20;57349:6;57336:20;;;;;;;29637:106:::0;29725:10;29637:106;:::o;42100:346::-;-1:-1:-1;;;;;42202:19:0;;42194:68;;;;-1:-1:-1;;;42194:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;42281:21:0;;42273:68;;;;-1:-1:-1;;;42273:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;42354:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;42406:32;;;;;42384:6;;42406:32;:::i;:::-;;;;;;;;42100:346;;;:::o;52055:186::-;52137:14;52105:7;52124:28;;;:12;:28;;;;;;52121:114;;;52175:7;;52168:40;;-1:-1:-1;;;52168:40:0;;-1:-1:-1;;;;;52175:7:0;;;;52168:25;;:40;;52202:4;;52168:40;;;:::i;51082:374::-;51139:7;51155:9;51167:17;:15;:17::i;:::-;51155:29;;51199:1;51195;:5;:37;;;;-1:-1:-1;51217:14:0;51204:28;;:12;:28;;;;;;51195:37;51191:245;;;51279:12;;51266:47;;;-1:-1:-1;;;51266:47:0;;;;51243:20;;-1:-1:-1;;;;;51279:12:0;;51266:45;;:47;;;;;;;;;;;;;;51279:12;51266:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51243:70;;51322:17;51355:12;;;;;;;;;-1:-1:-1;;;;;51355:12:0;-1:-1:-1;;;;;51342:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51322:52;-1:-1:-1;51387:41:0;51426:1;51387:34;51322:52;51387:19;:1;51393:12;51387:5;:19::i;:34::-;:38;;:41::i;:::-;51383:45;51082:374;-1:-1:-1;;;;51082:374:0:o;51772:277::-;51828:7;51844:9;51856:16;:14;:16::i;:::-;51844:28;;51887:1;51883;:5;:36;;;;-1:-1:-1;51905:13:0;51892:27;;:12;:27;;;;;;51883:36;51879:150;;;51934:87;52019:1;51934:80;51987:11;;;;;;;;;-1:-1:-1;;;;;51987:11:0;-1:-1:-1;;;;;51979:32:0;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51948:11;;51940:33;;;-1:-1:-1;;;51940:33:0;;;;51934:40;;-1:-1:-1;;;;;51948:11:0;;51940:31;;:33;;;;;;;;;;;;;;51948:11;51940:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51934:1;;:5;:40::i;39712:539::-;-1:-1:-1;;;;;39818:20:0;;39810:70;;;;-1:-1:-1;;;39810:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;39899:23:0;;39891:71;;;;-1:-1:-1;;;39891:71:0;;;;;;;:::i;:::-;39975:47;39996:6;40004:9;40015:6;39975:20;:47::i;:::-;40055:71;40077:6;40055:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40055:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;40035:17:0;;;:9;:17;;;;;;;;;;;:91;;;;40160:20;;;;;;;:32;;40185:6;40160:24;:32::i;:::-;-1:-1:-1;;;;;40137:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;40208:35;;;;;;-1:-1:-1;;;;;;;;;;;40208:35:0;;;40236:6;;40208:35;:::i;23304:166::-;23390:7;23426:12;23418:6;;;;23410:29;;;;-1:-1:-1;;;23410:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;23457:5:0;;;23304:166::o;56720:241::-;56776:4;56796:159;56944:10;:8;:10::i;:::-;56796:135;56907:23;:21;:23::i;:::-;56796:98;56871:22;:20;:22::i;:::-;56796:62;56833:24;:22;:24::i;:::-;56796;:22;:24::i;21356:220::-;21414:7;21438:6;21434:20;;-1:-1:-1;21453:1:0;21446:8;;21434:20;21477:5;;;21481:1;21477;:5;:1;21501:5;;;;;:10;21493:56;;;;-1:-1:-1;;;21493:56:0;;;;;;;:::i;22054:153::-;22112:7;22144:1;22140;:5;22132:44;;;;-1:-1:-1;;;22132:44:0;;;;;;;:::i;:::-;22198:1;22194;:5;;;;;;;22054:153;-1:-1:-1;;;22054:153:0:o;20477:179::-;20535:7;20567:5;;;20591:6;;;;20583:46;;;;-1:-1:-1;;;20583:46:0;;;;;;;:::i;20939:158::-;20997:7;21030:1;21025;:6;;21017:49;;;;-1:-1:-1;;;21017:49:0;;;;;;;:::i;:::-;-1:-1:-1;21084:5:0;;;20939:158::o;54467:385::-;54539:14;54527:8;;;;:26;;;;;;;;;54523:78;;;54564:29;54585:7;54564:20;:29::i;:::-;54623:14;54611:8;;;;:26;;;;;;;;;54607:78;;;54648:29;54669:7;54648:20;:29::i;:::-;54707:12;54695:8;;;;:24;;;;;;;;;54691:74;;;54730:27;54749:7;54730:18;:27::i;:::-;54787:13;54775:8;;;;:25;;;;;;;;;54771:76;;;54811:28;54831:7;54811:19;:28::i;25869:177::-;25952:86;25972:5;26002:23;;;26027:2;26031:5;25979:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;25979:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;25979:58:0;-1:-1:-1;;;;;;25979:58:0;;;;;;;;;;25952:19;:86::i;:::-;25869:177;;;:::o;41244:418::-;-1:-1:-1;;;;;41328:21:0;;41320:67;;;;-1:-1:-1;;;41320:67:0;;;;;;;:::i;:::-;41400:49;41421:7;41438:1;41442:6;41400:20;:49::i;:::-;41483:68;41506:6;41483:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41483:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;41462:18:0;;:9;:18;;;;;;;;;;:89;41577:12;;:24;;41594:6;41577:16;:24::i;:::-;41562:12;:39;41617:37;;41643:1;;-1:-1:-1;;;;;41617:37:0;;;-1:-1:-1;;;;;;;;;;;41617:37:0;;;41647:6;;41617:37;:::i;:::-;;;;;;;;41244:418;;:::o;52448:185::-;52528:12;52496:7;52515:26;;;:12;:26;;;;;;52512:115;;;52564:10;;52557:43;;-1:-1:-1;;;52557:43:0;;-1:-1:-1;;;;;52564:10:0;;;;52557:28;;:43;;52594:4;;52557:43;;;:::i;52247:197::-;52329:14;52297:7;52316:28;;;:12;:28;;;;;;52313:125;;;52373:12;;52360:51;;-1:-1:-1;;;52360:51:0;;-1:-1:-1;;;;;52373:12:0;;;;52360:36;;:51;;52405:4;;52360:51;;;:::i;52831:426::-;52871:15;52889:17;:15;:17::i;:::-;52871:35;-1:-1:-1;52917:10:0;;52913:57;;52938:24;52955:6;52938:16;:24::i;:::-;52985:17;:15;:17::i;:::-;52976:26;-1:-1:-1;53013:10:0;;53009:57;;53034:24;53051:6;53034:16;:24::i;:::-;53081:15;:13;:15::i;:::-;53072:24;-1:-1:-1;53107:10:0;;53103:55;;53128:22;53143:6;53128:14;:22::i;:::-;53173:16;:14;:16::i;:::-;53164:25;-1:-1:-1;53200:10:0;;53196:56;;53221:23;53237:6;53221:15;:23::i;50714:110::-;50787:5;;50780:38;;-1:-1:-1;;;50780:38:0;;50757:7;;-1:-1:-1;;;;;50787:5:0;;50780:23;;:38;;50812:4;;50780:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;26054:205::-;26155:96;26175:5;26205:27;;;26234:4;26240:2;26244:5;26182:68;;;;;;;;;;:::i;26155:96::-;26054:205;;;;:::o;40533:378::-;-1:-1:-1;;;;;40617:21:0;;40609:65;;;;-1:-1:-1;;;40609:65:0;;;;;;;:::i;:::-;40687:49;40716:1;40720:7;40729:6;40687:20;:49::i;:::-;40764:12;;:24;;40781:6;40764:16;:24::i;:::-;40749:12;:39;-1:-1:-1;;;;;40820:18:0;;:9;:18;;;;;;;;;;;:30;;40843:6;40820:22;:30::i;:::-;-1:-1:-1;;;;;40799:18:0;;:9;:18;;;;;;;;;;;:51;;;;40866:37;;40799:18;;:9;-1:-1:-1;;;;;;;;;;;40866:37:0;;;40896:6;;40866:37;:::i;51462:304::-;51517:7;51533:9;51545:15;:13;:15::i;:::-;51533:27;;51575:1;51571;:5;:35;;;;-1:-1:-1;51593:12:0;51580:26;;:12;:26;;;;;;51571:35;51567:179;;;51647:10;;51640:39;;;-1:-1:-1;;;51640:39:0;;;;51617:20;;-1:-1:-1;;;;;51647:10:0;;51640:37;;:39;;;;;;;;;;;;;;51647:10;51640:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51617:62;-1:-1:-1;51692:46:0;51733:4;51692:36;51726:1;51692:29;51716:4;51692:19;:1;51617:62;51692:5;:19::i;50830:246::-;50887:7;50903:9;50915:17;:15;:17::i;:::-;50903:29;;50947:1;50943;:5;:37;;;;-1:-1:-1;50965:14:0;50952:28;;:12;:28;;;;;;50943:37;50939:117;;;51003:7;;50995:46;;-1:-1:-1;;;50995:46:0;;:53;;51046:1;;-1:-1:-1;;;;;51003:7:0;;;;50995:31;;:46;;51035:4;;50995:46;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;53263:362::-;53326:9;53338:17;:15;:17::i;:::-;53326:29;;53398:10;53411:24;:22;:24::i;:::-;53398:37;;53456:7;53450:2;:13;;53442:44;;;;-1:-1:-1;;;53442:44:0;;;;;;;:::i;:::-;53540:14;53557:31;53586:1;53557:24;53578:2;53558:14;:1;53564:7;53558:5;:14::i;53557:31::-;53540:48;;53595:24;53612:6;53595:16;:24::i;53631:279::-;53694:9;53706:17;:15;:17::i;:::-;53694:29;;53730:10;53743:24;:22;:24::i;:::-;53730:37;;53788:7;53782:2;:13;;53774:44;;;;-1:-1:-1;;;53774:44:0;;;;;;;:::i;:::-;53825:14;53842:31;53871:1;53842:24;53863:2;53843:14;:1;53849:7;53843:5;:14::i;53842:31::-;53825:48;;53880:24;53897:6;53880:16;:24::i;53916:264::-;53977:9;53989:15;:13;:15::i;:::-;53977:27;;54011:10;54024:22;:20;:22::i;:::-;54011:35;;54067:7;54061:2;:13;;54053:44;;;;-1:-1:-1;;;54053:44:0;;;;;;;:::i;:::-;54104:14;54121:24;54142:2;54122:14;:1;54128:7;54122:5;:14::i;54121:24::-;54104:41;;54152:22;54167:6;54152:14;:22::i;54186:275::-;54248:9;54260:16;:14;:16::i;:::-;54248:28;;54283:10;54296:23;:21;:23::i;:::-;54283:36;;54340:7;54334:2;:13;;54326:44;;;;-1:-1:-1;;;54326:44:0;;;;;;;:::i;:::-;54377:14;54394:31;54423:1;54394:24;54415:2;54395:14;:1;54401:7;54395:5;:14::i;54394:31::-;54377:48;;54432:23;54448:6;54432:15;:23::i;28174:761::-;28598:23;28624:69;28652:4;28624:69;;;;;;;;;;;;;;;;;28632:5;-1:-1:-1;;;;;28624:27:0;;;:69;;;;;:::i;:::-;28708:17;;28598:95;;-1:-1:-1;28708:21:0;28704:224;;28850:10;28839:30;;;;;;;;;;;;:::i;:::-;28831:85;;;;-1:-1:-1;;;28831:85:0;;;;;;;:::i;56051:148::-;56124:7;;56116:44;;-1:-1:-1;;;56116:44:0;;56163:1;;-1:-1:-1;;;;;56124:7:0;;56116:21;;:44;;56146:4;;56153:6;;56116:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;56108:85;;;;-1:-1:-1;;;56108:85:0;;;;;;;:::i;56203:201::-;56277:1;56268:6;:10;56260:47;;;;-1:-1:-1;;;56260:47:0;;;;;;;:::i;:::-;56328:11;;56363:12;;56350:39;;;-1:-1:-1;;;56350:39:0;;;;-1:-1:-1;;;;;56328:11:0;;;;56316:33;;56363:12;;56350:37;;:39;;;;;;;;;;;;;;56363:12;56350:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56391:6;56316:82;;;;;;;;;;;;;;;;:::i;56408:148::-;56480:1;56471:6;:10;56463:45;;;;-1:-1:-1;;;56463:45:0;;;;;;;:::i;:::-;56524:10;;56517:33;;-1:-1:-1;;;56517:33:0;;-1:-1:-1;;;;;56524:10:0;;;;56517:25;;:33;;56543:6;;56517:33;;;:::i;56560:154::-;56633:1;56624:6;:10;56616:46;;;;-1:-1:-1;;;56616:46:0;;;;;;;:::i;:::-;56679:11;;56671:37;;-1:-1:-1;;;56671:37:0;;-1:-1:-1;;;;;56679:11:0;;;;56671:29;;:37;;56701:6;;56671:37;;;:::i;13280:195::-;13383:12;13415:52;13437:6;13445:4;13451:1;13454:12;13383;14584:18;14595:6;14584:10;:18::i;:::-;14576:60;;;;-1:-1:-1;;;14576:60:0;;;;;;;:::i;:::-;14710:12;14724:23;14751:6;-1:-1:-1;;;;;14751:11:0;14771:5;14779:4;14751:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14709:75;;;;14802:52;14820:7;14829:10;14841:12;14802:17;:52::i;:::-;14795:59;14332:530;-1:-1:-1;;;;;;;14332:530:0:o;10362:422::-;10729:20;10768:8;;;10362:422::o;16872:742::-;16987:12;17016:7;17012:595;;;-1:-1:-1;17047:10:0;17040:17;;17012:595;17161:17;;:21;17157:439;;17424:10;17418:17;17485:15;17472:10;17468:2;17464:19;17457:44;17372:148;17567:12;17560:20;;-1:-1:-1;;;17560:20:0;;;;;;;;:::i;855:241:-1:-;;959:2;947:9;938:7;934:23;930:32;927:2;;;-1:-1;;965:12;927:2;85:6;72:20;97:33;124:5;97:33;:::i;1103:263::-;;1218:2;1206:9;1197:7;1193:23;1189:32;1186:2;;;-1:-1;;1224:12;1186:2;226:6;220:13;238:33;265:5;238:33;:::i;1373:366::-;;;1494:2;1482:9;1473:7;1469:23;1465:32;1462:2;;;-1:-1;;1500:12;1462:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;1552:63;-1:-1;1652:2;1691:22;;72:20;97:33;72:20;97:33;:::i;:::-;1660:63;;;;1456:283;;;;;:::o;1746:491::-;;;;1884:2;1872:9;1863:7;1859:23;1855:32;1852:2;;;-1:-1;;1890:12;1852:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;1942:63;-1:-1;2042:2;2081:22;;72:20;97:33;72:20;97:33;:::i;:::-;1846:391;;2050:63;;-1:-1;;;2150:2;2189:22;;;;644:20;;1846:391::o;2244:366::-;;;2365:2;2353:9;2344:7;2340:23;2336:32;2333:2;;;-1:-1;;2371:12;2333:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2423:63;2523:2;2562:22;;;;644:20;;-1:-1;;;2327:283::o;2617:257::-;;2729:2;2717:9;2708:7;2704:23;2700:32;2697:2;;;-1:-1;;2735:12;2697:2;364:6;358:13;35381:5;33715:13;33708:21;35359:5;35356:32;35346:2;;-1:-1;;35392:12;2881:263;;2996:2;2984:9;2975:7;2971:23;2967:32;2964:2;;;-1:-1;;3002:12;2964:2;509:6;496:20;35498:1;35491:5;35488:12;35478:2;;-1:-1;;35504:12;3151:241;;3255:2;3243:9;3234:7;3230:23;3226:32;3223:2;;;-1:-1;;3261:12;3223:2;-1:-1;644:20;;3217:175;-1:-1;3217:175::o;3399:263::-;;3514:2;3502:9;3493:7;3489:23;3485:32;3482:2;;;-1:-1;;3520:12;3482:2;-1:-1;792:13;;3476:186;-1:-1;3476:186::o;3669:672::-;;;;;3835:3;3823:9;3814:7;3810:23;3806:33;3803:2;;;-1:-1;;3842:12;3803:2;-1:-1;;792:13;;4005:2;4055:22;;792:13;4124:2;4174:22;;792:13;4243:2;4293:22;;;792:13;;;;;-1:-1;792:13;;-1:-1;3797:544;-1:-1;3797:544::o;16726:271::-;;4888:5;33056:12;4999:52;5044:6;5039:3;5032:4;5025:5;5021:16;4999:52;:::i;:::-;5063:16;;;;;16860:137;-1:-1;;16860:137::o;17004:222::-;-1:-1;;;;;33938:54;;;;4568:37;;17131:2;17116:18;;17102:124::o;17478:349::-;-1:-1;;;;;33938:54;;;;4427:58;;17813:2;17798:18;;16563:37;17641:2;17626:18;;17612:215::o;17834:444::-;-1:-1;;;;;33938:54;;;4568:37;;33938:54;;;;18181:2;18166:18;;4568:37;18264:2;18249:18;;16563:37;;;;18017:2;18002:18;;17988:290::o;18625:210::-;33715:13;;33708:21;4682:34;;18746:2;18731:18;;18717:118::o;18842:240::-;18978:2;18963:18;;35147:1;35137:12;;35127:2;;35153:9;35127:2;5171:59;;;18949:133;:::o;19089:310::-;;19236:2;19257:17;19250:47;5387:5;33056:12;33495:6;19236:2;19225:9;19221:18;33483:19;5481:52;5526:6;33523:14;19225:9;33523:14;19236:2;5507:5;5503:16;5481:52;:::i;:::-;35046:7;35030:14;-1:-1;;35026:28;5545:39;;;;33523:14;5545:39;;19207:192;-1:-1;;19207:192::o;19406:416::-;19606:2;19620:47;;;5821:2;19591:18;;;33483:19;5857:34;33523:14;;;5837:55;-1:-1;;;5912:12;;;5905:27;5951:12;;;19577:245::o;19829:416::-;20029:2;20043:47;;;6202:2;20014:18;;;33483:19;-1:-1;;;33523:14;;;6218:44;6281:12;;;20000:245::o;20252:416::-;20452:2;20466:47;;;6532:2;20437:18;;;33483:19;6568:34;33523:14;;;6548:55;-1:-1;;;6623:12;;;6616:30;6665:12;;;20423:245::o;20675:416::-;20875:2;20889:47;;;6916:2;20860:18;;;33483:19;6952:34;33523:14;;;6932:55;-1:-1;;;7007:12;;;7000:26;7045:12;;;20846:245::o;21098:416::-;21298:2;21312:47;;;7296:2;21283:18;;;33483:19;-1:-1;;;33523:14;;;7312:44;7375:12;;;21269:245::o;21521:416::-;21721:2;21735:47;;;7626:2;21706:18;;;33483:19;7662:29;33523:14;;;7642:50;7711:12;;;21692:245::o;21944:416::-;22144:2;22158:47;;;7962:2;22129:18;;;33483:19;-1:-1;;;33523:14;;;7978:45;8042:12;;;22115:245::o;22367:416::-;22567:2;22581:47;;;8293:2;22552:18;;;33483:19;8329:32;33523:14;;;8309:53;8381:12;;;22538:245::o;23213:416::-;23413:2;23427:47;;;9016:2;23398:18;;;33483:19;9052:28;33523:14;;;9032:49;9100:12;;;23384:245::o;23636:416::-;23836:2;23850:47;;;9351:2;23821:18;;;33483:19;-1:-1;;;33523:14;;;9367:45;9431:12;;;23807:245::o;24059:416::-;24259:2;24273:47;;;9682:2;24244:18;;;33483:19;-1:-1;;;33523:14;;;9698:43;9760:12;;;24230:245::o;24482:416::-;24682:2;24696:47;;;10011:2;24667:18;;;33483:19;10047:34;33523:14;;;10027:55;-1:-1;;;10102:12;;;10095:25;10139:12;;;24653:245::o;24905:416::-;25105:2;25119:47;;;10390:2;25090:18;;;33483:19;10426:26;33523:14;;;10406:47;10472:12;;;25076:245::o;25328:416::-;25528:2;25542:47;;;25513:18;;;33483:19;10759:34;33523:14;;;10739:55;10813:12;;;25499:245::o;25751:416::-;25951:2;25965:47;;;11064:2;25936:18;;;33483:19;-1:-1;;;33523:14;;;11080:43;11142:12;;;25922:245::o;26174:416::-;26374:2;26388:47;;;11393:2;26359:18;;;33483:19;11429:33;33523:14;;;11409:54;11482:12;;;26345:245::o;26597:416::-;26797:2;26811:47;;;11733:2;26782:18;;;33483:19;11769:26;33523:14;;;11749:47;11815:12;;;26768:245::o;27020:416::-;27220:2;27234:47;;;12066:2;27205:18;;;33483:19;12102:34;33523:14;;;12082:55;-1:-1;;;12157:12;;;12150:25;12194:12;;;27191:245::o;27443:416::-;27643:2;27657:47;;;12445:2;27628:18;;;33483:19;12481:34;33523:14;;;12461:55;-1:-1;;;12536:12;;;12529:25;12573:12;;;27614:245::o;27866:416::-;28066:2;28080:47;;;12824:2;28051:18;;;33483:19;12860:34;33523:14;;;12840:55;-1:-1;;;12915:12;;;12908:29;12956:12;;;28037:245::o;28289:416::-;28489:2;28503:47;;;13207:2;28474:18;;;33483:19;13243:25;33523:14;;;13223:46;13288:12;;;28460:245::o;28712:416::-;28912:2;28926:47;;;13539:2;28897:18;;;33483:19;-1:-1;;;33523:14;;;13555:41;13615:12;;;28883:245::o;29135:416::-;29335:2;29349:47;;;13866:2;29320:18;;;33483:19;13902:34;33523:14;;;13882:55;-1:-1;;;13957:12;;;13950:28;13997:12;;;29306:245::o;29558:416::-;29758:2;29772:47;;;14248:2;29743:18;;;33483:19;14284:32;33523:14;;;14264:53;14336:12;;;29729:245::o;29981:416::-;30181:2;30195:47;;;14587:2;30166:18;;;33483:19;14623:31;33523:14;;;14603:52;14674:12;;;30152:245::o;30404:416::-;30604:2;30618:47;;;14925:2;30589:18;;;33483:19;14961:34;33523:14;;;14941:55;-1:-1;;;15016:12;;;15009:39;15067:12;;;30575:245::o;30827:416::-;31027:2;31041:47;;;15318:2;31012:18;;;33483:19;-1:-1;;;33523:14;;;15334:45;15398:12;;;30998:245::o;31250:416::-;31450:2;31464:47;;;15649:2;31435:18;;;33483:19;15685:34;33523:14;;;15665:55;-1:-1;;;15740:12;;;15733:34;15786:12;;;31421:245::o;31673:416::-;31873:2;31887:47;;;16037:2;31858:18;;;33483:19;16073:33;33523:14;;;16053:54;16126:12;;;31844:245::o;32096:416::-;32296:2;32310:47;;;16377:2;32281:18;;;33483:19;16413:33;33523:14;;;16393:54;16466:12;;;32267:245::o;32519:222::-;16563:37;;;32646:2;32631:18;;32617:124::o;32748:214::-;34154:4;34143:16;;;;16679:35;;32871:2;32856:18;;32842:120::o;34686:268::-;34751:1;34758:101;34772:6;34769:1;34766:13;34758:101;;;34839:11;;;34833:18;34820:11;;;34813:39;34794:2;34787:10;34758:101;;;34874:6;34871:1;34868:13;34865:2;;;-1:-1;;34751:1;34921:16;;34914:27;34735:219::o;35176:117::-;-1:-1;;;;;33938:54;;35235:35;;35225:2;;35284:1;;35274:12

Swarm Source

ipfs://0e1a6414f6451f71f3ef4d393517d60b213e7dcdf30af2df4427b064554fa97c
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.