ETH Price: $2,063.05 (+1.98%)

Contract

0xeC813E53Af13dDA77EAEF1a4B5804DB5f8208F2E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw118136382021-02-08 4:28:261858 days ago1612758506IN
0xeC813E53...5f8208F2E
0 ETH0.09196291145
Harvest118136362021-02-08 4:27:321858 days ago1612758452IN
0xeC813E53...5f8208F2E
0 ETH0.13756274148

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StrategyAaveUsdt

Compiler Version
v0.6.11+commit.5ef660b1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2021-02-06
*/

// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.6.11;

/**
 * @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 (uint);

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

    /**
     * @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, uint 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 (uint);

    /**
     * @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, uint 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,
        uint 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, uint 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, uint value);
}

// File: @openzeppelin/contracts/math/SafeMath.sol

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint a, uint b) internal pure returns (uint) {
        uint 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(uint a, uint b) internal pure returns (uint) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint a,
        uint b,
        string memory errorMessage
    ) internal pure returns (uint) {
        require(b <= a, errorMessage);
        uint c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint a, uint b) internal pure returns (uint) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint a,
        uint b,
        string memory errorMessage
    ) internal pure returns (uint) {
        require(b > 0, errorMessage);
        uint c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

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

// File: @openzeppelin/contracts/utils/Address.sol

/**
 * @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.

        uint 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, uint 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,
        uint 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,
        uint 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);
    }

    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: @openzeppelin/contracts/token/ERC20/SafeERC20.sol

/**
 * @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 uint;
    using Address for address;

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

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint 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,
        uint 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,
        uint value
    ) internal {
        uint newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.approve.selector, spender, newAllowance)
        );
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint value
    ) internal {
        uint 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: contracts/protocol/IStrategy.sol

/*
version 1.2.0

Changes

Changes listed here do not affect interaction with other contracts (Vault and Controller)
- removed function assets(address _token) external view returns (bool);
- remove function deposit(uint), declared in IStrategyERC20
- add function setSlippage(uint _slippage);
- add function setDelta(uint _delta);
*/

interface IStrategy {
    function admin() external view returns (address);

    function controller() external view returns (address);

    function vault() external view returns (address);

    /*
    @notice Returns address of underlying asset (ETH or ERC20)
    @dev Must return 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE for ETH strategy
    */
    function underlying() external view returns (address);

    /*
    @notice Returns total amount of underlying transferred from vault
    */
    function totalDebt() external view returns (uint);

    function performanceFee() external view returns (uint);

    function slippage() external view returns (uint);

    /* 
    @notice Multiplier used to check total underlying <= total debt * delta / DELTA_MIN
    */
    function delta() external view returns (uint);

    /*
    @dev Flag to force exit in case normal exit fails
    */
    function forceExit() external view returns (bool);

    function setAdmin(address _admin) external;

    function setController(address _controller) external;

    function setPerformanceFee(uint _fee) external;

    function setSlippage(uint _slippage) external;

    function setDelta(uint _delta) external;

    function setForceExit(bool _forceExit) external;

    /*
    @notice Returns amount of underlying asset locked in this contract
    @dev Output may vary depending on price of liquidity provider token
         where the underlying asset is invested
    */
    function totalAssets() external view returns (uint);

    /*
    @notice Withdraw `_amount` underlying asset
    @param amount Amount of underlying asset to withdraw
    */
    function withdraw(uint _amount) external;

    /*
    @notice Withdraw all underlying asset from strategy
    */
    function withdrawAll() external;

    /*
    @notice Sell any staking rewards for underlying and then deposit undelying
    */
    function harvest() external;

    /*
    @notice Increase total debt if profit > 0 and total assets <= max,
            otherwise transfers profit to vault.
    @dev Guard against manipulation of external price feed by checking that
         total assets is below factor of total debt
    */
    function skim() external;

    /*
    @notice Exit from strategy
    @dev Must transfer all underlying tokens back to vault
    */
    function exit() external;

    /*
    @notice Transfer token accidentally sent here to admin
    @param _token Address of token to transfer
    @dev _token must not be equal to underlying token
    */
    function sweep(address _token) external;
}

// File: contracts/protocol/IStrategyERC20.sol

interface IStrategyERC20 is IStrategy {
    /*
    @notice Deposit `amount` underlying ERC20 token
    @param amount Amount of underlying ERC20 token to deposit
    */
    function deposit(uint _amount) external;
}

// File: contracts/protocol/IController.sol

interface IController {
    function ADMIN_ROLE() external view returns (bytes32);

    function HARVESTER_ROLE() external view returns (bytes32);

    function admin() external view returns (address);

    function treasury() external view returns (address);

    function setAdmin(address _admin) external;

    function setTreasury(address _treasury) external;

    function grantRole(bytes32 _role, address _addr) external;

    function revokeRole(bytes32 _role, address _addr) external;

    /*
    @notice Set strategy for vault
    @param _vault Address of vault
    @param _strategy Address of strategy
    @param _min Minimum undelying token current strategy must return. Prevents slippage
    */
    function setStrategy(
        address _vault,
        address _strategy,
        uint _min
    ) external;

    // calls to strategy
    /*
    @notice Invest token in vault into strategy
    @param _vault Address of vault
    */
    function invest(address _vault) external;

    function harvest(address _strategy) external;

    function skim(address _strategy) external;

    /*
    @notice Withdraw from strategy to vault
    @param _strategy Address of strategy
    @param _amount Amount of underlying token to withdraw
    @param _min Minimum amount of underlying token to withdraw
    */
    function withdraw(
        address _strategy,
        uint _amount,
        uint _min
    ) external;

    /*
    @notice Withdraw all from strategy to vault
    @param _strategy Address of strategy
    @param _min Minimum amount of underlying token to withdraw
    */
    function withdrawAll(address _strategy, uint _min) external;

    /*
    @notice Exit from strategy
    @param _strategy Address of strategy
    @param _min Minimum amount of underlying token to withdraw
    */
    function exit(address _strategy, uint _min) external;
}

// File: contracts/StrategyERC20.sol

/*
version 1.2.0

Changes from StrategyBase
- performance fee capped at 20%
- add slippage gaurd
- update skim(), increments total debt withoud withdrawing if total assets
  is near total debt
- sweep - delete mapping "assets" and use require to explicitly check protected tokens
- add immutable to vault
- add immutable to underlying
- add force exit
*/

// used inside harvest

abstract contract StrategyERC20 is IStrategyERC20 {
    using SafeERC20 for IERC20;
    using SafeMath for uint;

    address public override admin;
    address public override controller;
    address public immutable override vault;
    address public immutable override underlying;

    // total amount of underlying transferred from vault
    uint public override totalDebt;

    // performance fee sent to treasury when harvest() generates profit
    uint public override performanceFee = 500;
    uint private constant PERFORMANCE_FEE_CAP = 2000; // upper limit to performance fee
    uint internal constant PERFORMANCE_FEE_MAX = 10000;

    // prevent slippage from deposit / withdraw
    uint public override slippage = 100;
    uint internal constant SLIPPAGE_MAX = 10000;

    /* 
    Multiplier used to check totalAssets() is <= total debt * delta / DELTA_MIN
    */
    uint public override delta = 10050;
    uint private constant DELTA_MIN = 10000;

    // Force exit, in case normal exit fails
    bool public override forceExit;

    constructor(
        address _controller,
        address _vault,
        address _underlying
    ) public {
        require(_controller != address(0), "controller = zero address");
        require(_vault != address(0), "vault = zero address");
        require(_underlying != address(0), "underlying = zero address");

        admin = msg.sender;
        controller = _controller;
        vault = _vault;
        underlying = _underlying;
    }

    modifier onlyAdmin() {
        require(msg.sender == admin, "!admin");
        _;
    }

    modifier onlyAuthorized() {
        require(
            msg.sender == admin || msg.sender == controller || msg.sender == vault,
            "!authorized"
        );
        _;
    }

    function setAdmin(address _admin) external override onlyAdmin {
        require(_admin != address(0), "admin = zero address");
        admin = _admin;
    }

    function setController(address _controller) external override onlyAdmin {
        require(_controller != address(0), "controller = zero address");
        controller = _controller;
    }

    function setPerformanceFee(uint _fee) external override onlyAdmin {
        require(_fee <= PERFORMANCE_FEE_CAP, "performance fee > cap");
        performanceFee = _fee;
    }

    function setSlippage(uint _slippage) external override onlyAdmin {
        require(_slippage <= SLIPPAGE_MAX, "slippage > max");
        slippage = _slippage;
    }

    function setDelta(uint _delta) external override onlyAdmin {
        require(_delta >= DELTA_MIN, "delta < min");
        delta = _delta;
    }

    function setForceExit(bool _forceExit) external override onlyAdmin {
        forceExit = _forceExit;
    }

    function _increaseDebt(uint _underlyingAmount) private {
        uint balBefore = IERC20(underlying).balanceOf(address(this));
        IERC20(underlying).safeTransferFrom(vault, address(this), _underlyingAmount);
        uint balAfter = IERC20(underlying).balanceOf(address(this));

        totalDebt = totalDebt.add(balAfter.sub(balBefore));
    }

    function _decreaseDebt(uint _underlyingAmount) private {
        uint balBefore = IERC20(underlying).balanceOf(address(this));
        IERC20(underlying).safeTransfer(vault, _underlyingAmount);
        uint balAfter = IERC20(underlying).balanceOf(address(this));

        uint diff = balBefore.sub(balAfter);
        if (diff > totalDebt) {
            totalDebt = 0;
        } else {
            totalDebt -= diff;
        }
    }

    function _totalAssets() internal view virtual returns (uint);

    /*
    @notice Returns amount of underlying tokens locked in this contract
    */
    function totalAssets() external view override returns (uint) {
        return _totalAssets();
    }

    function _deposit() internal virtual;

    /*
    @notice Deposit underlying token into this strategy
    @param _underlyingAmount Amount of underlying token to deposit
    */
    function deposit(uint _underlyingAmount) external override onlyAuthorized {
        require(_underlyingAmount > 0, "deposit = 0");

        _increaseDebt(_underlyingAmount);
        _deposit();
    }

    /*
    @notice Returns total shares owned by this contract for depositing underlying
            into external Defi
    */
    function _getTotalShares() internal view virtual returns (uint);

    function _getShares(uint _underlyingAmount, uint _totalUnderlying)
        internal
        view
        returns (uint)
    {
        /*
        calculate shares to withdraw

        w = amount of underlying to withdraw
        U = total redeemable underlying
        s = shares to withdraw
        P = total shares deposited into external liquidity pool

        w / U = s / P
        s = w / U * P
        */
        if (_totalUnderlying > 0) {
            uint totalShares = _getTotalShares();
            return _underlyingAmount.mul(totalShares) / _totalUnderlying;
        }
        return 0;
    }

    function _withdraw(uint _shares) internal virtual;

    /*
    @notice Withdraw undelying token to vault
    @param _underlyingAmount Amount of underlying token to withdraw
    @dev Caller should implement guard against slippage
    */
    function withdraw(uint _underlyingAmount) external override onlyAuthorized {
        require(_underlyingAmount > 0, "withdraw = 0");
        uint totalUnderlying = _totalAssets();
        require(_underlyingAmount <= totalUnderlying, "withdraw > total");

        uint shares = _getShares(_underlyingAmount, totalUnderlying);
        if (shares > 0) {
            _withdraw(shares);
        }

        // transfer underlying token to vault
        uint underlyingBal = IERC20(underlying).balanceOf(address(this));
        if (underlyingBal > 0) {
            _decreaseDebt(underlyingBal);
        }
    }

    function _withdrawAll() internal {
        uint totalShares = _getTotalShares();
        if (totalShares > 0) {
            _withdraw(totalShares);
        }

        uint underlyingBal = IERC20(underlying).balanceOf(address(this));
        if (underlyingBal > 0) {
            _decreaseDebt(underlyingBal);
            totalDebt = 0;
        }
    }

    /*
    @notice Withdraw all underlying to vault
    @dev Caller should implement guard agains slippage
    */
    function withdrawAll() external override onlyAuthorized {
        _withdrawAll();
    }

    /*
    @notice Sell any staking rewards for underlying and then deposit undelying
    */
    function harvest() external virtual override;

    /*
    @notice Increase total debt if profit > 0 and total assets <= max,
            otherwise transfers profit to vault.
    @dev Guard against manipulation of external price feed by checking that
         total assets is below factor of total debt
    */
    function skim() external override onlyAuthorized {
        uint totalUnderlying = _totalAssets();
        require(totalUnderlying > totalDebt, "total underlying < debt");

        uint profit = totalUnderlying - totalDebt;

        // protect against price manipulation
        uint max = totalDebt.mul(delta) / DELTA_MIN;
        if (totalUnderlying <= max) {
            /*
            total underlying is within reasonable bounds, probaly no price
            manipulation occured.
            */

            /*
            If we were to withdraw profit followed by deposit, this would
            increase the total debt roughly by the profit.

            Withdrawing consumes high gas, so here we omit it and
            directly increase debt, as if withdraw and deposit were called.
            */
            totalDebt = totalDebt.add(profit);
        } else {
            /*
            Possible reasons for total underlying > max
            1. total debt = 0
            2. total underlying really did increase over max
            3. price was manipulated
            */
            uint shares = _getShares(profit, totalUnderlying);
            if (shares > 0) {
                uint balBefore = IERC20(underlying).balanceOf(address(this));
                _withdraw(shares);
                uint balAfter = IERC20(underlying).balanceOf(address(this));

                uint diff = balAfter.sub(balBefore);
                if (diff > 0) {
                    IERC20(underlying).safeTransfer(vault, diff);
                }
            }
        }
    }

    function exit() external virtual override;

    function sweep(address) external virtual override;
}

// File: contracts/interfaces/uniswap/Uniswap.sol

interface Uniswap {
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactTokensForETH(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
}

// File: contracts/interfaces/curve/StableSwapAave.sol

interface StableSwapAave {
    function get_virtual_price() external view returns (uint);

    /*
    0 DAI
    1 USDC
    2 USDT
    */
    function balances(uint _index) external view returns (uint);

    function add_liquidity(
        uint[3] calldata _amounts,
        uint _min_mint_amount,
        bool _use_underlying
    ) external returns (uint);

    function remove_liquidity_one_coin(
        uint _token_amount,
        int128 _i,
        uint _min_amount,
        bool _use_underlying
    ) external returns (uint);
}

// File: contracts/interfaces/curve/LiquidityGaugeV2.sol

interface LiquidityGaugeV2 {
    function deposit(uint) external;

    function balanceOf(address) external view returns (uint);

    function withdraw(uint) external;

    function claim_rewards() external;
}

// File: contracts/interfaces/curve/Minter.sol

// https://github.com/curvefi/curve-dao-contracts/blob/master/contracts/Minter.vy
interface Minter {
    function mint(address) external;
}

// File: contracts/strategies/StrategyAave.sol

contract StrategyAave is StrategyERC20 {
    // Uniswap //
    address private constant UNISWAP = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    address private constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

    address internal constant DAI = 0x6B175474E89094C44Da98b954EedeAC495271d0F;
    address internal constant USDC = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;
    address internal constant USDT = 0xdAC17F958D2ee523a2206206994597C13D831ec7;

    // DAI = 0 | USDC = 1 | USDT = 2
    uint internal underlyingIndex;
    // precision to convert 10 ** 18  to underlying decimals
    uint[3] private PRECISION_DIV = [1, 1e12, 1e12];

    // Curve //
    // liquidity provider token (Curve aDAI/aUSDC/aUSDT)
    address private constant LP = 0xFd2a8fA60Abd58Efe3EeE34dd494cD491dC14900;
    // StableSwapAave
    address private constant SWAP = 0xDeBF20617708857ebe4F679508E7b7863a8A8EeE;
    // LiquidityGaugeV2
    address private constant GAUGE = 0xd662908ADA2Ea1916B3318327A97eB18aD588b5d;
    // Minter
    address private constant MINTER = 0xd061D61a4d941c39E5453435B6345Dc261C2fcE0;
    // CRV
    address private constant CRV = 0xD533a949740bb3306d119CC777fa900bA034cd52;

    constructor(
        address _controller,
        address _vault,
        address _underlying
    ) public StrategyERC20(_controller, _vault, _underlying) {
        // These tokens are never held by this contract
        // so the risk of them being stolen is minimal
        IERC20(CRV).safeApprove(UNISWAP, uint(-1));
    }

    function _totalAssets() internal view override returns (uint) {
        uint lpBal = LiquidityGaugeV2(GAUGE).balanceOf(address(this));
        uint pricePerShare = StableSwapAave(SWAP).get_virtual_price();

        return lpBal.mul(pricePerShare).div(PRECISION_DIV[underlyingIndex]) / 1e18;
    }

    /*
    @notice deposit token into curve
    */
    function _depositIntoCurve(address _token, uint _index) private {
        // token to LP
        uint bal = IERC20(_token).balanceOf(address(this));
        if (bal > 0) {
            IERC20(_token).safeApprove(SWAP, 0);
            IERC20(_token).safeApprove(SWAP, bal);

            // mint LP
            uint[3] memory amounts;
            amounts[_index] = bal;

            /*
            shares = underlying amount * precision div * 1e18 / price per share
            */
            uint pricePerShare = StableSwapAave(SWAP).get_virtual_price();
            uint shares = bal.mul(PRECISION_DIV[_index]).mul(1e18).div(pricePerShare);
            uint min = shares.mul(SLIPPAGE_MAX - slippage) / SLIPPAGE_MAX;

            StableSwapAave(SWAP).add_liquidity(amounts, min, true);
        }

        // stake into LiquidityGaugeV2
        uint lpBal = IERC20(LP).balanceOf(address(this));
        if (lpBal > 0) {
            IERC20(LP).safeApprove(GAUGE, 0);
            IERC20(LP).safeApprove(GAUGE, lpBal);
            LiquidityGaugeV2(GAUGE).deposit(lpBal);
        }
    }

    /*
    @notice Deposits underlying to LiquidityGaugeV2
    */
    function _deposit() internal override {
        _depositIntoCurve(underlying, underlyingIndex);
    }

    function _getTotalShares() internal view override returns (uint) {
        return LiquidityGaugeV2(GAUGE).balanceOf(address(this));
    }

    function _withdraw(uint _lpAmount) internal override {
        // withdraw LP from  LiquidityGaugeV2
        LiquidityGaugeV2(GAUGE).withdraw(_lpAmount);

        // withdraw underlying //
        uint lpBal = IERC20(LP).balanceOf(address(this));

        /*
        underlying amount = (shares * price per shares) / (1e18 * precision div)
        */
        uint pricePerShare = StableSwapAave(SWAP).get_virtual_price();
        uint underlyingAmount =
            lpBal.mul(pricePerShare).div(PRECISION_DIV[underlyingIndex]) / 1e18;
        uint min = underlyingAmount.mul(SLIPPAGE_MAX - slippage) / SLIPPAGE_MAX;
        // withdraw creates LP dust
        StableSwapAave(SWAP).remove_liquidity_one_coin(
            lpBal,
            int128(underlyingIndex),
            min,
            true
        );
        // Now we have underlying
    }

    /*
    @notice Returns address and index of token with lowest balance in Curve SWAP
    */
    function _getMostPremiumToken() private view returns (address, uint) {
        uint[3] memory balances;
        balances[0] = StableSwapAave(SWAP).balances(0); // DAI
        balances[1] = StableSwapAave(SWAP).balances(1).mul(1e12); // USDC
        balances[2] = StableSwapAave(SWAP).balances(2).mul(1e12); // USDT

        uint minIndex = 0;
        for (uint i = 1; i < balances.length; i++) {
            if (balances[i] <= balances[minIndex]) {
                minIndex = i;
            }
        }

        if (minIndex == 0) {
            return (DAI, 0);
        }
        if (minIndex == 1) {
            return (USDC, 1);
        }
        return (USDT, 2);
    }

    /*
    @dev Uniswap fails with zero address so no check is necessary here
    */
    function _swap(
        address _from,
        address _to,
        uint _amount
    ) private {
        // create dynamic array with 3 elements
        address[] memory path = new address[](3);
        path[0] = _from;
        path[1] = WETH;
        path[2] = _to;

        Uniswap(UNISWAP).swapExactTokensForTokens(
            _amount,
            1,
            path,
            address(this),
            block.timestamp
        );
    }

    function _claimRewards(address _token) private {
        // no rewards to claim
        // LiquidityGaugeV2(GAUGE).claim_rewards();

        // claim CRV
        Minter(MINTER).mint(GAUGE);

        uint crvBal = IERC20(CRV).balanceOf(address(this));
        if (crvBal > 0) {
            _swap(CRV, _token, crvBal);
            // Now this contract has token
        }
    }

    /*
    @notice Claim CRV and deposit most premium token into Curve
    */
    function harvest() external override onlyAuthorized {
        (address token, uint index) = _getMostPremiumToken();

        _claimRewards(token);

        uint bal = IERC20(token).balanceOf(address(this));
        if (bal > 0) {
            // transfer fee to treasury
            uint fee = bal.mul(performanceFee) / PERFORMANCE_FEE_MAX;
            if (fee > 0) {
                address treasury = IController(controller).treasury();
                require(treasury != address(0), "treasury = zero address");

                IERC20(token).safeTransfer(treasury, fee);
            }

            _depositIntoCurve(token, index);
        }
    }

    /*
    @notice Exit strategy by harvesting CRV to underlying token and then
            withdrawing all underlying to vault
    @dev Must return all underlying token to vault
    @dev Caller should implement guard agains slippage
    */
    function exit() external override onlyAuthorized {
        if (forceExit) {
            return;
        }
        _claimRewards(underlying);
        _withdrawAll();
    }

    function sweep(address _token) external override onlyAdmin {
        require(_token != underlying, "protected token");
        require(_token != GAUGE, "protected token");
        IERC20(_token).safeTransfer(admin, IERC20(_token).balanceOf(address(this)));
    }
}

// File: contracts/strategies/StrategyAaveUsdt.sol

contract StrategyAaveUsdt is StrategyAave {
    constructor(address _controller, address _vault)
        public
        StrategyAave(_controller, _vault, USDT)
    {
        underlyingIndex = 2;
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_controller","type":"address"},{"internalType":"address","name":"_vault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"delta","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_underlyingAmount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceExit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"performanceFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_delta","type":"uint256"}],"name":"setDelta","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_forceExit","type":"bool"}],"name":"setForceExit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setPerformanceFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_slippage","type":"uint256"}],"name":"setSlippage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"skim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slippage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDebt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"underlying","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_underlyingAmount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101f460039081556064600455612742600555610120604052600160c090815264e8d4a5100060e0819052610100526200003d916008919062000674565b503480156200004b57600080fd5b50604051620034f4380380620034f4833981810160405260408110156200007157600080fd5b508051602090910151818173dac17f958d2ee523a2206206994597c13d831ec78282826001600160a01b038316620000f0576040805162461bcd60e51b815260206004820152601960248201527f636f6e74726f6c6c6572203d207a65726f206164647265737300000000000000604482015290519081900360640190fd5b6001600160a01b0382166200014c576040805162461bcd60e51b815260206004820152601460248201527f7661756c74203d207a65726f2061646472657373000000000000000000000000604482015290519081900360640190fd5b6001600160a01b038116620001a8576040805162461bcd60e51b815260206004820152601960248201527f756e6465726c79696e67203d207a65726f206164647265737300000000000000604482015290519081900360640190fd5b60008054336001600160a01b031991821617909155600180549091166001600160a01b039490941693909317909255606090811b6001600160601b031990811660805291901b1660a0526200023573d533a949740bb3306d119cc777fa900ba034cd52737a250d5630b4cf539739df2c5dacb4c659f2488d60001962000246602090811b620012ba17901c565b5050600260075550620006e0915050565b801580620002d0575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015620002a057600080fd5b505afa158015620002b5573d6000803e3d6000fd5b505050506040513d6020811015620002cc57600080fd5b5051155b6200030d5760405162461bcd60e51b8152600401808060200182810382526036815260200180620034be6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620003659185916200036a16565b505050565b6060620003c6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200042660201b620013cd179092919060201c565b8051909150156200036557808060200190516020811015620003e757600080fd5b5051620003655760405162461bcd60e51b815260040180806020018281038252602a81526020018062003494602a913960400191505060405180910390fd5b60606200044084846000856001600160e01b036200044a16565b90505b9392505050565b6060824710156200048d5760405162461bcd60e51b81526004018080602001828103825260268152602001806200346e6026913960400191505060405180910390fd5b620004a1856001600160e01b03620005c416565b620004f3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620005345780518252601f19909201916020918201910162000513565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462000598576040519150601f19603f3d011682016040523d82523d6000602084013e6200059d565b606091505b509092509050620005b98282866001600160e01b03620005ca16565b979650505050505050565b3b151590565b60608315620005db57508162000443565b825115620005ec5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620006385781810151838201526020016200061e565b50505050905090810190601f168015620006665780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b8260038101928215620006ae579160200282015b82811115620006ae578251829064ffffffffff1690559160200191906001019062000688565b50620006bc929150620006c0565b5090565b620006dd91905b80821115620006bc5760008155600101620006c7565b90565b60805160601c60a05160601c612cf16200077d60003980610372528061070752806107a852806108445280610a095280610ce752806111b9528061195d52806119df5280611a4f52806122b3528061236352806123e5528061245652806124fa5250806105c1528061086652806108d05280610ac75280610e95528061105a528061114352806112925280611a0152806124075250612cf16000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806370897b23116100c3578063e9fad8ee1161007c578063e9fad8ee146102e3578063f0fa55a9146102eb578063f77c479114610308578063f851a44014610310578063fbfa77cf14610318578063fc7b9c18146103205761014d565b806370897b2314610254578063853828b614610271578063877887821461027957806392eefe9b1461028157806398234beb146102a7578063b6b55f25146102c65761014d565b80632e1a7d4d116101155780632e1a7d4d146101c15780633e032a3b146101de5780634641257d146101e657806367acc704146101ee5780636f307dc31461020a578063704b6c021461022e5761014d565b806301681a621461015257806301e1d1141461017a578063025ff0a51461019457806312b495a8146101b15780631dd19cb4146101b9575b600080fd5b6101786004803603602081101561016857600080fd5b50356001600160a01b0316610328565b005b6101826104e6565b60408051918252519081900360200190f35b610178600480360360208110156101aa57600080fd5b50356104f5565b610182610587565b61017861058d565b610178600480360360208110156101d757600080fd5b503561089c565b610182610a8d565b610178610a93565b6101f6610cdc565b604080519115158252519081900360200190f35b610212610ce5565b604080516001600160a01b039092168252519081900360200190f35b6101786004803603602081101561024457600080fd5b50356001600160a01b0316610d09565b6101786004803603602081101561026a57600080fd5b5035610dc5565b610178610e61565b610182610f00565b6101786004803603602081101561029757600080fd5b50356001600160a01b0316610f06565b610178600480360360208110156102bd57600080fd5b50351515610fcb565b610178600480360360208110156102dc57600080fd5b5035611026565b61017861110f565b6101786004803603602081101561030157600080fd5b50356111dd565b610212611272565b610212611281565b610212611290565b6101826112b4565b6000546001600160a01b03163314610370576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031614156103e9576040805162461bcd60e51b815260206004820152600f60248201526e383937ba32b1ba32b2103a37b5b2b760891b604482015290519081900360640190fd5b6001600160a01b03811673d662908ada2ea1916b3318327a97eb18ad588b5d141561044d576040805162461bcd60e51b815260206004820152600f60248201526e383937ba32b1ba32b2103a37b5b2b760891b604482015290519081900360640190fd5b600054604080516370a0823160e01b815230600482015290516104e3926001600160a01b0390811692908516916370a0823191602480820192602092909190829003018186803b1580156104a057600080fd5b505afa1580156104b4573d6000803e3d6000fd5b505050506040513d60208110156104ca57600080fd5b50516001600160a01b038416919063ffffffff6113e616565b50565b60006104f0611438565b905090565b6000546001600160a01b0316331461053d576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b612710811015610582576040805162461bcd60e51b815260206004820152600b60248201526a3232b63a30901e1036b4b760a91b604482015290519081900360640190fd5b600555565b60055481565b6000546001600160a01b03163314806105b057506001546001600160a01b031633145b806105e35750336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016145b610622576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b600061062c611438565b90506002548111610684576040805162461bcd60e51b815260206004820152601760248201527f746f74616c20756e6465726c79696e67203c2064656274000000000000000000604482015290519081900360640190fd5b60025460055481830391600091612710916106a49163ffffffff61158516565b816106ab57fe5b0490508083116106d0576002546106c8908363ffffffff6115e716565b600255610897565b60006106dc8385611641565b9050801561089557604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b15801561074e57600080fd5b505afa158015610762573d6000803e3d6000fd5b505050506040513d602081101561077857600080fd5b505190506107858261167f565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b1580156107ef57600080fd5b505afa158015610803573d6000803e3d6000fd5b505050506040513d602081101561081957600080fd5b50519050600061082f828463ffffffff6118f816565b90508015610891576108916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f00000000000000000000000000000000000000000000000000000000000000008363ffffffff6113e616565b5050505b505b505050565b6000546001600160a01b03163314806108bf57506001546001600160a01b031633145b806108f25750336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016145b610931576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b60008111610975576040805162461bcd60e51b815260206004820152600c60248201526b07769746864726177203d20360a41b604482015290519081900360640190fd5b600061097f611438565b9050808211156109c9576040805162461bcd60e51b815260206004820152601060248201526f1dda5d1a191c985dc80f881d1bdd185b60821b604482015290519081900360640190fd5b60006109d58383611641565b905080156109e6576109e68161167f565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b158015610a5057600080fd5b505afa158015610a64573d6000803e3d6000fd5b505050506040513d6020811015610a7a57600080fd5b505190508015610895576108958161193a565b60045481565b6000546001600160a01b0316331480610ab657506001546001600160a01b031633145b80610ae95750336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016145b610b28576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b600080610b33611afb565b91509150610b4082611d3c565b604080516370a0823160e01b815230600482015290516000916001600160a01b038516916370a0823191602480820192602092909190829003018186803b158015610b8a57600080fd5b505afa158015610b9e573d6000803e3d6000fd5b505050506040513d6020811015610bb457600080fd5b505190508015610897576000612710610bd86003548461158590919063ffffffff16565b81610bdf57fe5b0490508015610cd257600154604080516361d027b360e01b815290516000926001600160a01b0316916361d027b3916004808301926020929190829003018186803b158015610c2d57600080fd5b505afa158015610c41573d6000803e3d6000fd5b505050506040513d6020811015610c5757600080fd5b505190506001600160a01b038116610cb6576040805162461bcd60e51b815260206004820152601760248201527f7472656173757279203d207a65726f2061646472657373000000000000000000604482015290519081900360640190fd5b610cd06001600160a01b038616828463ffffffff6113e616565b505b6108958484611e66565b60065460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b03163314610d51576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6001600160a01b038116610da3576040805162461bcd60e51b815260206004820152601460248201527361646d696e203d207a65726f206164647265737360601b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610e0d576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6107d0811115610e5c576040805162461bcd60e51b81526020600482015260156024820152740706572666f726d616e636520666565203e2063617605c1b604482015290519081900360640190fd5b600355565b6000546001600160a01b0316331480610e8457506001546001600160a01b031633145b80610eb75750336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016145b610ef6576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b610efe612275565b565b60035481565b6000546001600160a01b03163314610f4e576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6001600160a01b038116610fa9576040805162461bcd60e51b815260206004820152601960248201527f636f6e74726f6c6c6572203d207a65726f206164647265737300000000000000604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314611013576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6006805460ff1916911515919091179055565b6000546001600160a01b031633148061104957506001546001600160a01b031633145b8061107c5750336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016145b6110bb576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b600081116110fe576040805162461bcd60e51b815260206004820152600b60248201526a06465706f736974203d20360ac1b604482015290519081900360640190fd5b61110781612340565b6104e36124f5565b6000546001600160a01b031633148061113257506001546001600160a01b031633145b806111655750336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016145b6111a4576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b60065460ff16156111b457610efe565b610ef67f0000000000000000000000000000000000000000000000000000000000000000611d3c565b6000546001600160a01b03163314611225576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b61271081111561126d576040805162461bcd60e51b815260206004820152600e60248201526d0e6d8d2e0e0c2ceca407c40dac2f60931b604482015290519081900360640190fd5b600455565b6001546001600160a01b031681565b6000546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b60025481565b801580611340575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561131257600080fd5b505afa158015611326573d6000803e3d6000fd5b505050506040513d602081101561133c57600080fd5b5051155b61137b5760405162461bcd60e51b8152600401808060200182810382526036815260200180612c866036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610897908490612521565b60606113dc84846000856125d2565b90505b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610897908490612521565b604080516370a0823160e01b81523060048201529051600091829173d662908ada2ea1916b3318327a97eb18ad588b5d916370a08231916024808301926020929190829003018186803b15801561148e57600080fd5b505afa1580156114a2573d6000803e3d6000fd5b505050506040513d60208110156114b857600080fd5b505160408051630176f71760e71b8152905191925060009173debf20617708857ebe4f679508e7b7863a8a8eee9163bb7b8b80916004808301926020929190829003018186803b15801561150b57600080fd5b505afa15801561151f573d6000803e3d6000fd5b505050506040513d602081101561153557600080fd5b5051600754909150670de0b6b3a764000090611576906008906003811061155857fe5b015461156a858563ffffffff61158516565b9063ffffffff61272e16565b8161157d57fe5b049250505090565b600082611594575060006115e1565b828202828482816115a157fe5b04146115de5760405162461bcd60e51b8152600401808060200182810382526021815260200180612c3b6021913960400191505060405180910390fd5b90505b92915050565b6000828201838110156115de576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008115611676576000611653612770565b905082611666858363ffffffff61158516565b8161166d57fe5b049150506115e1565b50600092915050565b73d662908ada2ea1916b3318327a97eb18ad588b5d6001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156116d957600080fd5b505af11580156116ed573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000935073fd2a8fa60abd58efe3eee34dd494cd491dc1490092506370a0823191602480820192602092909190829003018186803b15801561174657600080fd5b505afa15801561175a573d6000803e3d6000fd5b505050506040513d602081101561177057600080fd5b505160408051630176f71760e71b8152905191925060009173debf20617708857ebe4f679508e7b7863a8a8eee9163bb7b8b80916004808301926020929190829003018186803b1580156117c357600080fd5b505afa1580156117d7573d6000803e3d6000fd5b505050506040513d60208110156117ed57600080fd5b5051600754909150600090670de0b6b3a764000090611825906008906003811061181357fe5b015461156a868663ffffffff61158516565b8161182c57fe5b049050600061271061184d600454612710038461158590919063ffffffff16565b8161185457fe5b6007546040805163517a55a360e01b815260048101899052600f92830b90920b6024830152929091046044820181905260016064830152915191925073debf20617708857ebe4f679508e7b7863a8a8eee9163517a55a3916084808201926020929091908290030181600087803b1580156118ce57600080fd5b505af11580156118e2573d6000803e3d6000fd5b505050506040513d602081101561089157600080fd5b60006115de83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506127f6565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b1580156119a457600080fd5b505afa1580156119b8573d6000803e3d6000fd5b505050506040513d60208110156119ce57600080fd5b50519050611a2c6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f00000000000000000000000000000000000000000000000000000000000000008463ffffffff6113e616565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b158015611a9657600080fd5b505afa158015611aaa573d6000803e3d6000fd5b505050506040513d6020811015611ac057600080fd5b505190506000611ad6838363ffffffff6118f816565b9050600254811115611aec576000600255610895565b60028054829003905550505050565b600080611b06612bf6565b60408051634903b0d160e01b815260006004820152905173debf20617708857ebe4f679508e7b7863a8a8eee91634903b0d1916024808301926020929190829003018186803b158015611b5857600080fd5b505afa158015611b6c573d6000803e3d6000fd5b505050506040513d6020811015611b8257600080fd5b5051815260408051634903b0d160e01b8152600160048201529051611c1b9164e8d4a510009173debf20617708857ebe4f679508e7b7863a8a8eee91634903b0d1916024808301926020929190829003018186803b158015611be357600080fd5b505afa158015611bf7573d6000803e3d6000fd5b505050506040513d6020811015611c0d57600080fd5b50519063ffffffff61158516565b60208083019190915260408051634903b0d160e01b8152600260048201529051611c7f9264e8d4a510009273debf20617708857ebe4f679508e7b7863a8a8eee92634903b0d192602480840193919291829003018186803b158015611be357600080fd5b6040820152600060015b6003811015611cc557828260038110611c9e57fe5b6020020151838260038110611caf57fe5b602002015111611cbd578091505b600101611c89565b5080611cee5750736b175474e89094c44da98b954eedeac495271d0f925060009150611d389050565b8060011415611d1a575073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48925060019150611d389050565b5073dac17f958d2ee523a2206206994597c13d831ec7925060029150505b9091565b604080516335313c2160e11b815273d662908ada2ea1916b3318327a97eb18ad588b5d6004820152905173d061d61a4d941c39e5453435b6345dc261c2fce091636a62784291602480830192600092919082900301818387803b158015611da257600080fd5b505af1158015611db6573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000935073d533a949740bb3306d119cc777fa900ba034cd5292506370a0823191602480820192602092909190829003018186803b158015611e0f57600080fd5b505afa158015611e23573d6000803e3d6000fd5b505050506040513d6020811015611e3957600080fd5b505190508015611e6257611e6273d533a949740bb3306d119cc777fa900ba034cd52838361288d565b5050565b604080516370a0823160e01b815230600482015290516000916001600160a01b038516916370a0823191602480820192602092909190829003018186803b158015611eb057600080fd5b505afa158015611ec4573d6000803e3d6000fd5b505050506040513d6020811015611eda57600080fd5b50519050801561210157611f136001600160a01b03841673debf20617708857ebe4f679508e7b7863a8a8eee600063ffffffff6112ba16565b611f416001600160a01b03841673debf20617708857ebe4f679508e7b7863a8a8eee8363ffffffff6112ba16565b611f49612bf6565b81818460038110611f5657fe5b602002018181525050600073debf20617708857ebe4f679508e7b7863a8a8eee6001600160a01b031663bb7b8b806040518163ffffffff1660e01b815260040160206040518083038186803b158015611fae57600080fd5b505afa158015611fc2573d6000803e3d6000fd5b505050506040513d6020811015611fd857600080fd5b5051905060006120198261156a670de0b6b3a764000061200d60088a60038110611ffe57fe5b0154899063ffffffff61158516565b9063ffffffff61158516565b90506000612710612039600454612710038461158590919063ffffffff16565b8161204057fe5b6040516315b74c9d60e11b8152919004915073debf20617708857ebe4f679508e7b7863a8a8eee90632b6e993a90869084906001906004018084606080838360005b8381101561209a578181015183820152602001612082565b50505050905001838152602001821515151581526020019350505050602060405180830381600087803b1580156120d057600080fd5b505af11580156120e4573d6000803e3d6000fd5b505050506040513d60208110156120fa57600080fd5b5050505050505b604080516370a0823160e01b8152306004820152905160009173fd2a8fa60abd58efe3eee34dd494cd491dc14900916370a0823191602480820192602092909190829003018186803b15801561215657600080fd5b505afa15801561216a573d6000803e3d6000fd5b505050506040513d602081101561218057600080fd5b505190508015610895576121c473fd2a8fa60abd58efe3eee34dd494cd491dc1490073d662908ada2ea1916b3318327a97eb18ad588b5d600063ffffffff6112ba16565b6121fd73fd2a8fa60abd58efe3eee34dd494cd491dc1490073d662908ada2ea1916b3318327a97eb18ad588b5d8363ffffffff6112ba16565b73d662908ada2ea1916b3318327a97eb18ad588b5d6001600160a01b031663b6b55f25826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561225757600080fd5b505af115801561226b573d6000803e3d6000fd5b5050505050505050565b600061227f612770565b90508015612290576122908161167f565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b1580156122fa57600080fd5b505afa15801561230e573d6000803e3d6000fd5b505050506040513d602081101561232457600080fd5b505190508015611e62576123378161193a565b60006002555050565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b1580156123aa57600080fd5b505afa1580156123be573d6000803e3d6000fd5b505050506040513d60208110156123d457600080fd5b505190506124336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000308563ffffffff612acb16565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b15801561249d57600080fd5b505afa1580156124b1573d6000803e3d6000fd5b505050506040513d60208110156124c757600080fd5b505190506124ed6124de828463ffffffff6118f816565b6002549063ffffffff6115e716565b600255505050565b610efe7f0000000000000000000000000000000000000000000000000000000000000000600754611e66565b6060612576826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113cd9092919063ffffffff16565b8051909150156108975780806020019051602081101561259557600080fd5b50516108975760405162461bcd60e51b815260040180806020018281038252602a815260200180612c5c602a913960400191505060405180910390fd5b6060824710156126135760405162461bcd60e51b8152600401808060200182810382526026815260200180612c156026913960400191505060405180910390fd5b61261c85612b25565b61266d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106126ac5780518252601f19909201916020918201910161268d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461270e576040519150601f19603f3d011682016040523d82523d6000602084013e612713565b606091505b5091509150612723828286612b2b565b979650505050505050565b60006115de83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612b91565b604080516370a0823160e01b8152306004820152905160009173d662908ada2ea1916b3318327a97eb18ad588b5d916370a0823191602480820192602092909190829003018186803b1580156127c557600080fd5b505afa1580156127d9573d6000803e3d6000fd5b505050506040513d60208110156127ef57600080fd5b5051905090565b600081848411156128855760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561284a578181015183820152602001612832565b50505050905090810190601f1680156128775780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805160038082526080820190925260609160208201838036833701905050905083816000815181106128bd57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816001815181106128ff57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050828160028151811061292d57fe5b6001600160a01b039092166020928302919091018201526040516338ed173960e01b8152600481018481526001602483018190523060648401819052426084850181905260a060448601908152875160a48701528751737a250d5630b4cf539739df2c5dacb4c659f2488d976338ed1739978b978b9695949093909260c490920191878101910280838360005b838110156129d25781810151838201526020016129ba565b505050509050019650505050505050600060405180830381600087803b1580156129fb57600080fd5b505af1158015612a0f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612a3857600080fd5b8101908080516040519392919084640100000000821115612a5857600080fd5b908301906020820185811115612a6d57600080fd5b8251866020820283011164010000000082111715612a8a57600080fd5b82525081516020918201928201910280838360005b83811015612ab7578181015183820152602001612a9f565b505050509050016040525050505050505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610895908590612521565b3b151590565b60608315612b3a5750816113df565b825115612b4a5782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561284a578181015183820152602001612832565b60008183612be05760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561284a578181015183820152602001612832565b506000838581612bec57fe5b0495945050505050565b6040518060600160405280600390602082028036833750919291505056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220074eade3416ffa2ed78db38aba976b816ef0edeb6d8629a2be92e791aa450d2964736f6c634300060b0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000000019db7587b1ebcf1320cbf55626027365bcc8de27000000000000000000000000dada607772ad29f5a90a8817532ebf983709af15

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c806370897b23116100c3578063e9fad8ee1161007c578063e9fad8ee146102e3578063f0fa55a9146102eb578063f77c479114610308578063f851a44014610310578063fbfa77cf14610318578063fc7b9c18146103205761014d565b806370897b2314610254578063853828b614610271578063877887821461027957806392eefe9b1461028157806398234beb146102a7578063b6b55f25146102c65761014d565b80632e1a7d4d116101155780632e1a7d4d146101c15780633e032a3b146101de5780634641257d146101e657806367acc704146101ee5780636f307dc31461020a578063704b6c021461022e5761014d565b806301681a621461015257806301e1d1141461017a578063025ff0a51461019457806312b495a8146101b15780631dd19cb4146101b9575b600080fd5b6101786004803603602081101561016857600080fd5b50356001600160a01b0316610328565b005b6101826104e6565b60408051918252519081900360200190f35b610178600480360360208110156101aa57600080fd5b50356104f5565b610182610587565b61017861058d565b610178600480360360208110156101d757600080fd5b503561089c565b610182610a8d565b610178610a93565b6101f6610cdc565b604080519115158252519081900360200190f35b610212610ce5565b604080516001600160a01b039092168252519081900360200190f35b6101786004803603602081101561024457600080fd5b50356001600160a01b0316610d09565b6101786004803603602081101561026a57600080fd5b5035610dc5565b610178610e61565b610182610f00565b6101786004803603602081101561029757600080fd5b50356001600160a01b0316610f06565b610178600480360360208110156102bd57600080fd5b50351515610fcb565b610178600480360360208110156102dc57600080fd5b5035611026565b61017861110f565b6101786004803603602081101561030157600080fd5b50356111dd565b610212611272565b610212611281565b610212611290565b6101826112b4565b6000546001600160a01b03163314610370576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b7f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec76001600160a01b0316816001600160a01b031614156103e9576040805162461bcd60e51b815260206004820152600f60248201526e383937ba32b1ba32b2103a37b5b2b760891b604482015290519081900360640190fd5b6001600160a01b03811673d662908ada2ea1916b3318327a97eb18ad588b5d141561044d576040805162461bcd60e51b815260206004820152600f60248201526e383937ba32b1ba32b2103a37b5b2b760891b604482015290519081900360640190fd5b600054604080516370a0823160e01b815230600482015290516104e3926001600160a01b0390811692908516916370a0823191602480820192602092909190829003018186803b1580156104a057600080fd5b505afa1580156104b4573d6000803e3d6000fd5b505050506040513d60208110156104ca57600080fd5b50516001600160a01b038416919063ffffffff6113e616565b50565b60006104f0611438565b905090565b6000546001600160a01b0316331461053d576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b612710811015610582576040805162461bcd60e51b815260206004820152600b60248201526a3232b63a30901e1036b4b760a91b604482015290519081900360640190fd5b600555565b60055481565b6000546001600160a01b03163314806105b057506001546001600160a01b031633145b806105e35750336001600160a01b037f000000000000000000000000dada607772ad29f5a90a8817532ebf983709af1516145b610622576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b600061062c611438565b90506002548111610684576040805162461bcd60e51b815260206004820152601760248201527f746f74616c20756e6465726c79696e67203c2064656274000000000000000000604482015290519081900360640190fd5b60025460055481830391600091612710916106a49163ffffffff61158516565b816106ab57fe5b0490508083116106d0576002546106c8908363ffffffff6115e716565b600255610897565b60006106dc8385611641565b9050801561089557604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec716916370a0823191602480820192602092909190829003018186803b15801561074e57600080fd5b505afa158015610762573d6000803e3d6000fd5b505050506040513d602081101561077857600080fd5b505190506107858261167f565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec716916370a0823191602480820192602092909190829003018186803b1580156107ef57600080fd5b505afa158015610803573d6000803e3d6000fd5b505050506040513d602081101561081957600080fd5b50519050600061082f828463ffffffff6118f816565b90508015610891576108916001600160a01b037f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7167f000000000000000000000000dada607772ad29f5a90a8817532ebf983709af158363ffffffff6113e616565b5050505b505b505050565b6000546001600160a01b03163314806108bf57506001546001600160a01b031633145b806108f25750336001600160a01b037f000000000000000000000000dada607772ad29f5a90a8817532ebf983709af1516145b610931576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b60008111610975576040805162461bcd60e51b815260206004820152600c60248201526b07769746864726177203d20360a41b604482015290519081900360640190fd5b600061097f611438565b9050808211156109c9576040805162461bcd60e51b815260206004820152601060248201526f1dda5d1a191c985dc80f881d1bdd185b60821b604482015290519081900360640190fd5b60006109d58383611641565b905080156109e6576109e68161167f565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec716916370a0823191602480820192602092909190829003018186803b158015610a5057600080fd5b505afa158015610a64573d6000803e3d6000fd5b505050506040513d6020811015610a7a57600080fd5b505190508015610895576108958161193a565b60045481565b6000546001600160a01b0316331480610ab657506001546001600160a01b031633145b80610ae95750336001600160a01b037f000000000000000000000000dada607772ad29f5a90a8817532ebf983709af1516145b610b28576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b600080610b33611afb565b91509150610b4082611d3c565b604080516370a0823160e01b815230600482015290516000916001600160a01b038516916370a0823191602480820192602092909190829003018186803b158015610b8a57600080fd5b505afa158015610b9e573d6000803e3d6000fd5b505050506040513d6020811015610bb457600080fd5b505190508015610897576000612710610bd86003548461158590919063ffffffff16565b81610bdf57fe5b0490508015610cd257600154604080516361d027b360e01b815290516000926001600160a01b0316916361d027b3916004808301926020929190829003018186803b158015610c2d57600080fd5b505afa158015610c41573d6000803e3d6000fd5b505050506040513d6020811015610c5757600080fd5b505190506001600160a01b038116610cb6576040805162461bcd60e51b815260206004820152601760248201527f7472656173757279203d207a65726f2061646472657373000000000000000000604482015290519081900360640190fd5b610cd06001600160a01b038616828463ffffffff6113e616565b505b6108958484611e66565b60065460ff1681565b7f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec781565b6000546001600160a01b03163314610d51576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6001600160a01b038116610da3576040805162461bcd60e51b815260206004820152601460248201527361646d696e203d207a65726f206164647265737360601b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610e0d576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6107d0811115610e5c576040805162461bcd60e51b81526020600482015260156024820152740706572666f726d616e636520666565203e2063617605c1b604482015290519081900360640190fd5b600355565b6000546001600160a01b0316331480610e8457506001546001600160a01b031633145b80610eb75750336001600160a01b037f000000000000000000000000dada607772ad29f5a90a8817532ebf983709af1516145b610ef6576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b610efe612275565b565b60035481565b6000546001600160a01b03163314610f4e576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6001600160a01b038116610fa9576040805162461bcd60e51b815260206004820152601960248201527f636f6e74726f6c6c6572203d207a65726f206164647265737300000000000000604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314611013576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b6006805460ff1916911515919091179055565b6000546001600160a01b031633148061104957506001546001600160a01b031633145b8061107c5750336001600160a01b037f000000000000000000000000dada607772ad29f5a90a8817532ebf983709af1516145b6110bb576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b600081116110fe576040805162461bcd60e51b815260206004820152600b60248201526a06465706f736974203d20360ac1b604482015290519081900360640190fd5b61110781612340565b6104e36124f5565b6000546001600160a01b031633148061113257506001546001600160a01b031633145b806111655750336001600160a01b037f000000000000000000000000dada607772ad29f5a90a8817532ebf983709af1516145b6111a4576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b60065460ff16156111b457610efe565b610ef67f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7611d3c565b6000546001600160a01b03163314611225576040805162461bcd60e51b815260206004820152600660248201526510b0b236b4b760d11b604482015290519081900360640190fd5b61271081111561126d576040805162461bcd60e51b815260206004820152600e60248201526d0e6d8d2e0e0c2ceca407c40dac2f60931b604482015290519081900360640190fd5b600455565b6001546001600160a01b031681565b6000546001600160a01b031681565b7f000000000000000000000000dada607772ad29f5a90a8817532ebf983709af1581565b60025481565b801580611340575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561131257600080fd5b505afa158015611326573d6000803e3d6000fd5b505050506040513d602081101561133c57600080fd5b5051155b61137b5760405162461bcd60e51b8152600401808060200182810382526036815260200180612c866036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610897908490612521565b60606113dc84846000856125d2565b90505b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610897908490612521565b604080516370a0823160e01b81523060048201529051600091829173d662908ada2ea1916b3318327a97eb18ad588b5d916370a08231916024808301926020929190829003018186803b15801561148e57600080fd5b505afa1580156114a2573d6000803e3d6000fd5b505050506040513d60208110156114b857600080fd5b505160408051630176f71760e71b8152905191925060009173debf20617708857ebe4f679508e7b7863a8a8eee9163bb7b8b80916004808301926020929190829003018186803b15801561150b57600080fd5b505afa15801561151f573d6000803e3d6000fd5b505050506040513d602081101561153557600080fd5b5051600754909150670de0b6b3a764000090611576906008906003811061155857fe5b015461156a858563ffffffff61158516565b9063ffffffff61272e16565b8161157d57fe5b049250505090565b600082611594575060006115e1565b828202828482816115a157fe5b04146115de5760405162461bcd60e51b8152600401808060200182810382526021815260200180612c3b6021913960400191505060405180910390fd5b90505b92915050565b6000828201838110156115de576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008115611676576000611653612770565b905082611666858363ffffffff61158516565b8161166d57fe5b049150506115e1565b50600092915050565b73d662908ada2ea1916b3318327a97eb18ad588b5d6001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156116d957600080fd5b505af11580156116ed573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000935073fd2a8fa60abd58efe3eee34dd494cd491dc1490092506370a0823191602480820192602092909190829003018186803b15801561174657600080fd5b505afa15801561175a573d6000803e3d6000fd5b505050506040513d602081101561177057600080fd5b505160408051630176f71760e71b8152905191925060009173debf20617708857ebe4f679508e7b7863a8a8eee9163bb7b8b80916004808301926020929190829003018186803b1580156117c357600080fd5b505afa1580156117d7573d6000803e3d6000fd5b505050506040513d60208110156117ed57600080fd5b5051600754909150600090670de0b6b3a764000090611825906008906003811061181357fe5b015461156a868663ffffffff61158516565b8161182c57fe5b049050600061271061184d600454612710038461158590919063ffffffff16565b8161185457fe5b6007546040805163517a55a360e01b815260048101899052600f92830b90920b6024830152929091046044820181905260016064830152915191925073debf20617708857ebe4f679508e7b7863a8a8eee9163517a55a3916084808201926020929091908290030181600087803b1580156118ce57600080fd5b505af11580156118e2573d6000803e3d6000fd5b505050506040513d602081101561089157600080fd5b60006115de83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506127f6565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec716916370a0823191602480820192602092909190829003018186803b1580156119a457600080fd5b505afa1580156119b8573d6000803e3d6000fd5b505050506040513d60208110156119ce57600080fd5b50519050611a2c6001600160a01b037f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7167f000000000000000000000000dada607772ad29f5a90a8817532ebf983709af158463ffffffff6113e616565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec716916370a0823191602480820192602092909190829003018186803b158015611a9657600080fd5b505afa158015611aaa573d6000803e3d6000fd5b505050506040513d6020811015611ac057600080fd5b505190506000611ad6838363ffffffff6118f816565b9050600254811115611aec576000600255610895565b60028054829003905550505050565b600080611b06612bf6565b60408051634903b0d160e01b815260006004820152905173debf20617708857ebe4f679508e7b7863a8a8eee91634903b0d1916024808301926020929190829003018186803b158015611b5857600080fd5b505afa158015611b6c573d6000803e3d6000fd5b505050506040513d6020811015611b8257600080fd5b5051815260408051634903b0d160e01b8152600160048201529051611c1b9164e8d4a510009173debf20617708857ebe4f679508e7b7863a8a8eee91634903b0d1916024808301926020929190829003018186803b158015611be357600080fd5b505afa158015611bf7573d6000803e3d6000fd5b505050506040513d6020811015611c0d57600080fd5b50519063ffffffff61158516565b60208083019190915260408051634903b0d160e01b8152600260048201529051611c7f9264e8d4a510009273debf20617708857ebe4f679508e7b7863a8a8eee92634903b0d192602480840193919291829003018186803b158015611be357600080fd5b6040820152600060015b6003811015611cc557828260038110611c9e57fe5b6020020151838260038110611caf57fe5b602002015111611cbd578091505b600101611c89565b5080611cee5750736b175474e89094c44da98b954eedeac495271d0f925060009150611d389050565b8060011415611d1a575073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48925060019150611d389050565b5073dac17f958d2ee523a2206206994597c13d831ec7925060029150505b9091565b604080516335313c2160e11b815273d662908ada2ea1916b3318327a97eb18ad588b5d6004820152905173d061d61a4d941c39e5453435b6345dc261c2fce091636a62784291602480830192600092919082900301818387803b158015611da257600080fd5b505af1158015611db6573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000935073d533a949740bb3306d119cc777fa900ba034cd5292506370a0823191602480820192602092909190829003018186803b158015611e0f57600080fd5b505afa158015611e23573d6000803e3d6000fd5b505050506040513d6020811015611e3957600080fd5b505190508015611e6257611e6273d533a949740bb3306d119cc777fa900ba034cd52838361288d565b5050565b604080516370a0823160e01b815230600482015290516000916001600160a01b038516916370a0823191602480820192602092909190829003018186803b158015611eb057600080fd5b505afa158015611ec4573d6000803e3d6000fd5b505050506040513d6020811015611eda57600080fd5b50519050801561210157611f136001600160a01b03841673debf20617708857ebe4f679508e7b7863a8a8eee600063ffffffff6112ba16565b611f416001600160a01b03841673debf20617708857ebe4f679508e7b7863a8a8eee8363ffffffff6112ba16565b611f49612bf6565b81818460038110611f5657fe5b602002018181525050600073debf20617708857ebe4f679508e7b7863a8a8eee6001600160a01b031663bb7b8b806040518163ffffffff1660e01b815260040160206040518083038186803b158015611fae57600080fd5b505afa158015611fc2573d6000803e3d6000fd5b505050506040513d6020811015611fd857600080fd5b5051905060006120198261156a670de0b6b3a764000061200d60088a60038110611ffe57fe5b0154899063ffffffff61158516565b9063ffffffff61158516565b90506000612710612039600454612710038461158590919063ffffffff16565b8161204057fe5b6040516315b74c9d60e11b8152919004915073debf20617708857ebe4f679508e7b7863a8a8eee90632b6e993a90869084906001906004018084606080838360005b8381101561209a578181015183820152602001612082565b50505050905001838152602001821515151581526020019350505050602060405180830381600087803b1580156120d057600080fd5b505af11580156120e4573d6000803e3d6000fd5b505050506040513d60208110156120fa57600080fd5b5050505050505b604080516370a0823160e01b8152306004820152905160009173fd2a8fa60abd58efe3eee34dd494cd491dc14900916370a0823191602480820192602092909190829003018186803b15801561215657600080fd5b505afa15801561216a573d6000803e3d6000fd5b505050506040513d602081101561218057600080fd5b505190508015610895576121c473fd2a8fa60abd58efe3eee34dd494cd491dc1490073d662908ada2ea1916b3318327a97eb18ad588b5d600063ffffffff6112ba16565b6121fd73fd2a8fa60abd58efe3eee34dd494cd491dc1490073d662908ada2ea1916b3318327a97eb18ad588b5d8363ffffffff6112ba16565b73d662908ada2ea1916b3318327a97eb18ad588b5d6001600160a01b031663b6b55f25826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561225757600080fd5b505af115801561226b573d6000803e3d6000fd5b5050505050505050565b600061227f612770565b90508015612290576122908161167f565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec716916370a0823191602480820192602092909190829003018186803b1580156122fa57600080fd5b505afa15801561230e573d6000803e3d6000fd5b505050506040513d602081101561232457600080fd5b505190508015611e62576123378161193a565b60006002555050565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec716916370a0823191602480820192602092909190829003018186803b1580156123aa57600080fd5b505afa1580156123be573d6000803e3d6000fd5b505050506040513d60208110156123d457600080fd5b505190506124336001600160a01b037f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7167f000000000000000000000000dada607772ad29f5a90a8817532ebf983709af15308563ffffffff612acb16565b604080516370a0823160e01b815230600482015290516000916001600160a01b037f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec716916370a0823191602480820192602092909190829003018186803b15801561249d57600080fd5b505afa1580156124b1573d6000803e3d6000fd5b505050506040513d60208110156124c757600080fd5b505190506124ed6124de828463ffffffff6118f816565b6002549063ffffffff6115e716565b600255505050565b610efe7f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7600754611e66565b6060612576826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113cd9092919063ffffffff16565b8051909150156108975780806020019051602081101561259557600080fd5b50516108975760405162461bcd60e51b815260040180806020018281038252602a815260200180612c5c602a913960400191505060405180910390fd5b6060824710156126135760405162461bcd60e51b8152600401808060200182810382526026815260200180612c156026913960400191505060405180910390fd5b61261c85612b25565b61266d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106126ac5780518252601f19909201916020918201910161268d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461270e576040519150601f19603f3d011682016040523d82523d6000602084013e612713565b606091505b5091509150612723828286612b2b565b979650505050505050565b60006115de83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612b91565b604080516370a0823160e01b8152306004820152905160009173d662908ada2ea1916b3318327a97eb18ad588b5d916370a0823191602480820192602092909190829003018186803b1580156127c557600080fd5b505afa1580156127d9573d6000803e3d6000fd5b505050506040513d60208110156127ef57600080fd5b5051905090565b600081848411156128855760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561284a578181015183820152602001612832565b50505050905090810190601f1680156128775780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805160038082526080820190925260609160208201838036833701905050905083816000815181106128bd57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816001815181106128ff57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050828160028151811061292d57fe5b6001600160a01b039092166020928302919091018201526040516338ed173960e01b8152600481018481526001602483018190523060648401819052426084850181905260a060448601908152875160a48701528751737a250d5630b4cf539739df2c5dacb4c659f2488d976338ed1739978b978b9695949093909260c490920191878101910280838360005b838110156129d25781810151838201526020016129ba565b505050509050019650505050505050600060405180830381600087803b1580156129fb57600080fd5b505af1158015612a0f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612a3857600080fd5b8101908080516040519392919084640100000000821115612a5857600080fd5b908301906020820185811115612a6d57600080fd5b8251866020820283011164010000000082111715612a8a57600080fd5b82525081516020918201928201910280838360005b83811015612ab7578181015183820152602001612a9f565b505050509050016040525050505050505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610895908590612521565b3b151590565b60608315612b3a5750816113df565b825115612b4a5782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561284a578181015183820152602001612832565b60008183612be05760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561284a578181015183820152602001612832565b506000838581612bec57fe5b0495945050505050565b6040518060600160405280600390602082028036833750919291505056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220074eade3416ffa2ed78db38aba976b816ef0edeb6d8629a2be92e791aa450d2964736f6c634300060b0033

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

00000000000000000000000019db7587b1ebcf1320cbf55626027365bcc8de27000000000000000000000000dada607772ad29f5a90a8817532ebf983709af15

-----Decoded View---------------
Arg [0] : _controller (address): 0x19Db7587b1ebcF1320cBf55626027365BCC8de27
Arg [1] : _vault (address): 0xdADa607772Ad29f5a90a8817532Ebf983709af15

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000019db7587b1ebcf1320cbf55626027365bcc8de27
Arg [1] : 000000000000000000000000dada607772ad29f5a90a8817532ebf983709af15


Deployed Bytecode Sourcemap

43387:209:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43060:266;;;;;;;;;;;;;;;;-1:-1:-1;43060:266:0;-1:-1:-1;;;;;43060:266:0;;:::i;:::-;;29269:101;;;:::i;:::-;;;;;;;;;;;;;;;;28029:146;;;;;;;;;;;;;;;;-1:-1:-1;28029:146:0;;:::i;26371:34::-;;;:::i;32487:1608::-;;;:::i;30859:619::-;;;;;;;;;;;;;;;;-1:-1:-1;30859:619:0;;:::i;26179:35::-;;;:::i;41954:667::-;;;:::i;26506:30::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;25711:44;;;:::i;:::-;;;;-1:-1:-1;;;;;25711:44:0;;;;;;;;;;;;;;27304:159;;;;;;;;;;;;;;;;-1:-1:-1;27304:159:0;-1:-1:-1;;;;;27304:159:0;;:::i;27668:178::-;;;;;;;;;;;;;;;;-1:-1:-1;27668:178:0;;:::i;31973:89::-;;;:::i;25934:41::-;;;:::i;27471:189::-;;;;;;;;;;;;;;;;-1:-1:-1;27471:189:0;-1:-1:-1;;;;;27471:189:0;;:::i;28183:108::-;;;;;;;;;;;;;;;;-1:-1:-1;28183:108:0;;;;:::i;29564:204::-;;;;;;;;;;;;;;;;-1:-1:-1;29564:204:0;;:::i;42876:176::-;;;:::i;27854:167::-;;;;;;;;;;;;;;;;-1:-1:-1;27854:167:0;;:::i;25624:34::-;;;:::i;25588:29::-;;;:::i;25665:39::-;;;:::i;25822:30::-;;;:::i;43060:266::-;27064:5;;-1:-1:-1;;;;;27064:5:0;27050:10;:19;27042:38;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;;;;43148:10:::1;-1:-1:-1::0;;;;;43138:20:0::1;:6;-1:-1:-1::0;;;;;43138:20:0::1;;;43130:48;;;::::0;;-1:-1:-1;;;43130:48:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43130:48:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;43197:15:0;::::1;36856:42;43197:15;;43189:43;;;::::0;;-1:-1:-1;;;43189:43:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43189:43:0;;;;;;;;;;;;;::::1;;43271:5;::::0;43278:39:::1;::::0;;-1:-1:-1;;;43278:39:0;;43311:4:::1;43278:39;::::0;::::1;::::0;;;43243:75:::1;::::0;-1:-1:-1;;;;;43271:5:0;;::::1;::::0;43278:24;;::::1;::::0;::::1;::::0;:39;;;;;::::1;::::0;;;;;;;;;:24;:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;43278:39:0;-1:-1:-1;;;;;43243:27:0;::::1;::::0;:75;::::1;:27;:75;:::i;:::-;43060:266:::0;:::o;29269:101::-;29324:4;29348:14;:12;:14::i;:::-;29341:21;;29269:101;:::o;28029:146::-;27064:5;;-1:-1:-1;;;;;27064:5:0;27050:10;:19;27042:38;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;;;;26446:5:::1;28107:6;:19;;28099:43;;;::::0;;-1:-1:-1;;;28099:43:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;28099:43:0;;;;;;;;;;;;;::::1;;28153:5;:14:::0;28029:146::o;26371:34::-;;;;:::o;32487:1608::-;27181:5;;-1:-1:-1;;;;;27181:5:0;27167:10;:19;;:47;;-1:-1:-1;27204:10:0;;-1:-1:-1;;;;;27204:10:0;27190;:24;27167:47;:70;;;-1:-1:-1;27218:10:0;-1:-1:-1;;;;;27232:5:0;27218:19;;27167:70;27145:131;;;;;-1:-1:-1;;;27145:131:0;;;;;;;;;;;;-1:-1:-1;;;27145:131:0;;;;;;;;;;;;;;;32547:20:::1;32570:14;:12;:14::i;:::-;32547:37;;32621:9;;32603:15;:27;32595:63;;;::::0;;-1:-1:-1;;;32595:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;32703:9;::::0;32797:5:::1;::::0;32685:27;;::::1;::::0;32671:11:::1;::::0;26446:5:::1;::::0;32783:20:::1;::::0;::::1;:13;:20;:::i;:::-;:32;;;;;;32772:43;;32849:3;32830:15;:22;32826:1262;;33339:9;::::0;:21:::1;::::0;33353:6;33339:21:::1;:13;:21;:::i;:::-;33327:9;:33:::0;32826:1262:::1;;;33613:11;33627:35;33638:6;33646:15;33627:10;:35::i;:::-;33613:49:::0;-1:-1:-1;33681:10:0;;33677:400:::1;;33729:43;::::0;;-1:-1:-1;;;33729:43:0;;33766:4:::1;33729:43;::::0;::::1;::::0;;;33712:14:::1;::::0;-1:-1:-1;;;;;33736:10:0::1;33729:28;::::0;::::1;::::0;:43;;;;;::::1;::::0;;;;;;;;;:28;:43;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;33729:43:0;;-1:-1:-1;33791:17:0::1;33801:6:::0;33791:9:::1;:17::i;:::-;33843:43;::::0;;-1:-1:-1;;;33843:43:0;;33880:4:::1;33843:43;::::0;::::1;::::0;;;33827:13:::1;::::0;-1:-1:-1;;;;;33850:10:0::1;33843:28;::::0;::::1;::::0;:43;;;;;::::1;::::0;;;;;;;;;:28;:43;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;33843:43:0;;-1:-1:-1;33907:9:0::1;33919:23;33843:43:::0;33932:9;33919:23:::1;:12;:23;:::i;:::-;33907:35:::0;-1:-1:-1;33965:8:0;;33961:101:::1;;33998:44;-1:-1:-1::0;;;;;34005:10:0::1;33998:31;34030:5;34037:4:::0;33998:44:::1;:31;:44;:::i;:::-;33677:400;;;;32826:1262;;27287:1;;;32487:1608::o:0;30859:619::-;27181:5;;-1:-1:-1;;;;;27181:5:0;27167:10;:19;;:47;;-1:-1:-1;27204:10:0;;-1:-1:-1;;;;;27204:10:0;27190;:24;27167:47;:70;;;-1:-1:-1;27218:10:0;-1:-1:-1;;;;;27232:5:0;27218:19;;27167:70;27145:131;;;;;-1:-1:-1;;;27145:131:0;;;;;;;;;;;;-1:-1:-1;;;27145:131:0;;;;;;;;;;;;;;;30973:1:::1;30953:17;:21;30945:46;;;::::0;;-1:-1:-1;;;30945:46:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;30945:46:0;;;;;;;;;;;;;::::1;;31002:20;31025:14;:12;:14::i;:::-;31002:37;;31079:15;31058:17;:36;;31050:65;;;::::0;;-1:-1:-1;;;31050:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;31050:65:0;;;;;;;;;;;;;::::1;;31128:11;31142:46;31153:17;31172:15;31142:10;:46::i;:::-;31128:60:::0;-1:-1:-1;31203:10:0;;31199:60:::1;;31230:17;31240:6;31230:9;:17::i;:::-;31339:43;::::0;;-1:-1:-1;;;31339:43:0;;31376:4:::1;31339:43;::::0;::::1;::::0;;;31318:18:::1;::::0;-1:-1:-1;;;;;31346:10:0::1;31339:28;::::0;::::1;::::0;:43;;;;;::::1;::::0;;;;;;;;;:28;:43;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;31339:43:0;;-1:-1:-1;31397:17:0;;31393:78:::1;;31431:28;31445:13;31431;:28::i;26179:35::-:0;;;;:::o;41954:667::-;27181:5;;-1:-1:-1;;;;;27181:5:0;27167:10;:19;;:47;;-1:-1:-1;27204:10:0;;-1:-1:-1;;;;;27204:10:0;27190;:24;27167:47;:70;;;-1:-1:-1;27218:10:0;-1:-1:-1;;;;;27232:5:0;27218:19;;27167:70;27145:131;;;;;-1:-1:-1;;;27145:131:0;;;;;;;;;;;;-1:-1:-1;;;27145:131:0;;;;;;;;;;;;;;;42018:13:::1;42033:10:::0;42047:22:::1;:20;:22::i;:::-;42017:52;;;;42082:20;42096:5;42082:13;:20::i;:::-;42126:38;::::0;;-1:-1:-1;;;42126:38:0;;42158:4:::1;42126:38;::::0;::::1;::::0;;;42115:8:::1;::::0;-1:-1:-1;;;;;42126:23:0;::::1;::::0;::::1;::::0;:38;;;;;::::1;::::0;;;;;;;;;:23;:38;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;42126:38:0;;-1:-1:-1;42179:7:0;;42175:439:::1;;42244:8;26116:5;42255:23;42263:14;;42255:3;:7;;:23;;;;:::i;:::-;:45;;;;;;::::0;-1:-1:-1;42319:7:0;;42315:240:::1;;42378:10;::::0;42366:34:::1;::::0;;-1:-1:-1;;;42366:34:0;;;;42347:16:::1;::::0;-1:-1:-1;;;;;42378:10:0::1;::::0;42366:32:::1;::::0;:34:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;42378:10;42366:34;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;42366:34:0;;-1:-1:-1;;;;;;42427:22:0;::::1;42419:58;;;::::0;;-1:-1:-1;;;42419:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;42498:41;-1:-1:-1::0;;;;;42498:26:0;::::1;42525:8:::0;42535:3;42498:41:::1;:26;:41;:::i;:::-;42315:240;;42571:31;42589:5;42596;42571:17;:31::i;26506:30::-:0;;;;;;:::o;25711:44::-;;;:::o;27304:159::-;27064:5;;-1:-1:-1;;;;;27064:5:0;27050:10;:19;27042:38;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;27385:20:0;::::1;27377:53;;;::::0;;-1:-1:-1;;;27377:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27377:53:0;;;;;;;;;;;;;::::1;;27441:5;:14:::0;;-1:-1:-1;;;;;;27441:14:0::1;-1:-1:-1::0;;;;;27441:14:0;;;::::1;::::0;;;::::1;::::0;;27304:159::o;27668:178::-;27064:5;;-1:-1:-1;;;;;27064:5:0;27050:10;:19;27042:38;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;;;;26026:4:::1;27753;:27;;27745:61;;;::::0;;-1:-1:-1;;;27745:61:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27745:61:0;;;;;;;;;;;;;::::1;;27817:14;:21:::0;27668:178::o;31973:89::-;27181:5;;-1:-1:-1;;;;;27181:5:0;27167:10;:19;;:47;;-1:-1:-1;27204:10:0;;-1:-1:-1;;;;;27204:10:0;27190;:24;27167:47;:70;;;-1:-1:-1;27218:10:0;-1:-1:-1;;;;;27232:5:0;27218:19;;27167:70;27145:131;;;;;-1:-1:-1;;;27145:131:0;;;;;;;;;;;;-1:-1:-1;;;27145:131:0;;;;;;;;;;;;;;;32040:14:::1;:12;:14::i;:::-;31973:89::o:0;25934:41::-;;;;:::o;27471:189::-;27064:5;;-1:-1:-1;;;;;27064:5:0;27050:10;:19;27042:38;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;27562:25:0;::::1;27554:63;;;::::0;;-1:-1:-1;;;27554:63:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;27628:10;:24:::0;;-1:-1:-1;;;;;;27628:24:0::1;-1:-1:-1::0;;;;;27628:24:0;;;::::1;::::0;;;::::1;::::0;;27471:189::o;28183:108::-;27064:5;;-1:-1:-1;;;;;27064:5:0;27050:10;:19;27042:38;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;;;;28261:9:::1;:22:::0;;-1:-1:-1;;28261:22:0::1;::::0;::::1;;::::0;;;::::1;::::0;;28183:108::o;29564:204::-;27181:5;;-1:-1:-1;;;;;27181:5:0;27167:10;:19;;:47;;-1:-1:-1;27204:10:0;;-1:-1:-1;;;;;27204:10:0;27190;:24;27167:47;:70;;;-1:-1:-1;27218:10:0;-1:-1:-1;;;;;27232:5:0;27218:19;;27167:70;27145:131;;;;;-1:-1:-1;;;27145:131:0;;;;;;;;;;;;-1:-1:-1;;;27145:131:0;;;;;;;;;;;;;;;29677:1:::1;29657:17;:21;29649:45;;;::::0;;-1:-1:-1;;;29649:45:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;29649:45:0;;;;;;;;;;;;;::::1;;29707:32;29721:17;29707:13;:32::i;:::-;29750:10;:8;:10::i;42876:176::-:0;27181:5;;-1:-1:-1;;;;;27181:5:0;27167:10;:19;;:47;;-1:-1:-1;27204:10:0;;-1:-1:-1;;;;;27204:10:0;27190;:24;27167:47;:70;;;-1:-1:-1;27218:10:0;-1:-1:-1;;;;;27232:5:0;27218:19;;27167:70;27145:131;;;;;-1:-1:-1;;;27145:131:0;;;;;;;;;;;;-1:-1:-1;;;27145:131:0;;;;;;;;;;;;;;;42940:9:::1;::::0;::::1;;42936:48;;;42966:7;;42936:48;42994:25;43008:10;42994:13;:25::i;27854:167::-:0;27064:5;;-1:-1:-1;;;;;27064:5:0;27050:10;:19;27042:38;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;-1:-1:-1;;;27042:38:0;;;;;;;;;;;;;;;26259:5:::1;27938:9;:25;;27930:52;;;::::0;;-1:-1:-1;;;27930:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27930:52:0;;;;;;;;;;;;;::::1;;27993:8;:20:::0;27854:167::o;25624:34::-;;;-1:-1:-1;;;;;25624:34:0;;:::o;25588:29::-;;;-1:-1:-1;;;;;25588:29:0;;:::o;25665:39::-;;;:::o;25822:30::-;;;;:::o;16970:704::-;17385:10;;;17384:62;;-1:-1:-1;17401:39:0;;;-1:-1:-1;;;17401:39:0;;17425:4;17401:39;;;;-1:-1:-1;;;;;17401:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17401:39:0;:44;17384:62;17362:166;;;;-1:-1:-1;;;17362:166:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17593:62;;;-1:-1:-1;;;;;17593:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17593:62:0;-1:-1:-1;;;17593:62:0;;;17539:127;;17573:5;;17539:19;:127::i;11861:229::-;11998:12;12030:52;12052:6;12060:4;12066:1;12069:12;12030:21;:52::i;:::-;12023:59;;11861:229;;;;;;:::o;16166:245::-;16334:58;;;-1:-1:-1;;;;;16334:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16334:58:0;-1:-1:-1;;;16334:58:0;;;16280:123;;16314:5;;16280:19;:123::i;37438:301::-;37524:48;;;-1:-1:-1;;;37524:48:0;;37566:4;37524:48;;;;;;37494:4;;;;36856:42;;37524:33;;:48;;;;;;;;;;;;;;36856:42;37524:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37524:48:0;37604:40;;;-1:-1:-1;;;37604:40:0;;;;37524:48;;-1:-1:-1;37583:18:0;;36749:42;;37604:38;;:40;;;;;37524:48;;37604:40;;;;;;;36749:42;37604:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37604:40:0;37707:15;;37604:40;;-1:-1:-1;37727:4:0;;37664:60;;37693:13;;:30;;;;;;;;;37664:24;:5;37674:13;37664:24;:9;:24;:::i;:::-;:28;:60;:28;:60;:::i;:::-;:67;;;;;;37657:74;;;;37438:301;:::o;5046:459::-;5098:4;5340:6;5336:47;;-1:-1:-1;5370:1:0;5363:8;;5336:47;5404:5;;;5408:1;5404;:5;:1;5428:5;;;;;:10;5420:56;;;;-1:-1:-1;;;5420:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5496:1;-1:-1:-1;5046:459:0;;;;;:::o;3691:169::-;3743:4;3769:5;;;3793:6;;;;3785:46;;;;;-1:-1:-1;;;3785:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;29979:625;30096:4;30418:20;;30414:164;;30455:16;30474:17;:15;:17::i;:::-;30455:36;-1:-1:-1;30550:16:0;30513:34;:17;30455:36;30513:34;:21;:34;:::i;:::-;:53;;;;;;30506:60;;;;;30414:164;-1:-1:-1;30595:1:0;29979:625;;;;:::o;39244:870::-;36856:42;-1:-1:-1;;;;;39355:32:0;;39388:9;39355:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;39459:35:0;;;-1:-1:-1;;;39459:35:0;;39488:4;39459:35;;;;;;39446:10;;-1:-1:-1;36645:42:0;;-1:-1:-1;39459:20:0;;:35;;;;;;;;;;;;;;;36645:42;39459:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39459:35:0;39634:40;;;-1:-1:-1;;;39634:40:0;;;;39459:35;;-1:-1:-1;39613:18:0;;36749:42;;39634:38;;:40;;;;;39459:35;;39634:40;;;;;;;36749:42;39634:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39634:40:0;39765:15;;39634:40;;-1:-1:-1;39685:21:0;;39785:4;;39722:60;;39751:13;;:30;;;;;;;;;39722:24;:5;39732:13;39722:24;:9;:24;:::i;:60::-;:67;;;;;;39685:104;;39800:8;26259:5;39811:45;39847:8;;26259:5;39832:23;39811:16;:20;;:45;;;;:::i;:::-;:60;;;;;40007:15;;39919:152;;;-1:-1:-1;;;39919:152:0;;;;;;;;;;;;;;;;;;;39811:60;;;;39919:152;;;;;;40056:4;39919:152;;;;;;39811:60;;-1:-1:-1;36749:42:0;;39919:46;;:152;;;;;;;;;;;;;;;-1:-1:-1;36749:42:0;39919:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4143:127;4195:4;4219:43;4223:1;4226;4219:43;;;;;;;;;;;;;;;;;:3;:43::i;28661:442::-;28744:43;;;-1:-1:-1;;;28744:43:0;;28781:4;28744:43;;;;;;28727:14;;-1:-1:-1;;;;;28751:10:0;28744:28;;;;:43;;;;;;;;;;;;;;;:28;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28744:43:0;;-1:-1:-1;28798:57:0;-1:-1:-1;;;;;28805:10:0;28798:31;28830:5;28837:17;28798:57;:31;:57;:::i;:::-;28882:43;;;-1:-1:-1;;;28882:43:0;;28919:4;28882:43;;;;;;28866:13;;-1:-1:-1;;;;;28889:10:0;28882:28;;;;:43;;;;;;;;;;;;;;;:28;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28882:43:0;;-1:-1:-1;28938:9:0;28950:23;:9;28882:43;28950:23;:13;:23;:::i;:::-;28938:35;;28995:9;;28988:4;:16;28984:112;;;29033:1;29021:9;:13;28984:112;;;29067:9;:17;;;;;;;28661:442;;;;:::o;40220:692::-;40274:7;40283:4;40300:23;;:::i;:::-;40348:32;;;-1:-1:-1;;;40348:32:0;;40378:1;40348:32;;;;;;36749:42;;40348:29;;:32;;;;;;;;;;;;;;36749:42;40348:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40348:32:0;40334:46;;40412:32;;;-1:-1:-1;;;40412:32:0;;40442:1;40412:32;;;;;;:42;;40449:4;;36749:42;;40412:29;;:32;;;;;40334:11;;40412:32;;;;;;;36749:42;40412:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40412:32:0;;:42;:36;:42;:::i;:::-;40398:11;;;;:56;;;;40487:32;;;-1:-1:-1;;;40487:32:0;;40517:1;40487:32;;;;;;:42;;40524:4;;36749:42;;40487:29;;:32;;;;;40398:11;;40487:32;;;;;;36749:42;40487:32;;;;;;;;;;:42;40473:11;;;:56;40550:13;40592:1;40578:155;40599:15;40595:1;:19;40578:155;;;40655:8;40664;40655:18;;;;;;;;;;;40640:8;40649:1;40640:11;;;;;;;;;;;:33;40636:86;;40705:1;40694:12;;40636:86;40616:3;;40578:155;;;-1:-1:-1;40749:13:0;40745:61;;-1:-1:-1;36133:42:0;;-1:-1:-1;40792:1:0;;-1:-1:-1;40779:15:0;;-1:-1:-1;40779:15:0;40745:61;40820:8;40832:1;40820:13;40816:62;;;-1:-1:-1;36215:42:0;;-1:-1:-1;40864:1:0;;-1:-1:-1;40850:16:0;;-1:-1:-1;40850:16:0;40816:62;-1:-1:-1;36297:42:0;;-1:-1:-1;40902:1:0;;-1:-1:-1;;40220:692:0;;;:::o;41478:387::-;41645:26;;;-1:-1:-1;;;41645:26:0;;36856:42;41645:26;;;;;;36954:42;;41645:19;;:26;;;;;-1:-1:-1;;41645:26:0;;;;;;;-1:-1:-1;36954:42:0;41645:26;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;41698:36:0;;;-1:-1:-1;;;41698:36:0;;41728:4;41698:36;;;;;;41684:11;;-1:-1:-1;37046:42:0;;-1:-1:-1;41698:21:0;;:36;;;;;;;;;;;;;;;37046:42;41698:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41698:36:0;;-1:-1:-1;41749:10:0;;41745:113;;41776:26;37046:42;41787:6;41795;41776:5;:26::i;:::-;41478:387;;:::o;37801:1108::-;37911:39;;;-1:-1:-1;;;37911:39:0;;37944:4;37911:39;;;;;;37900:8;;-1:-1:-1;;;;;37911:24:0;;;;;:39;;;;;;;;;;;;;;;:24;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37911:39:0;;-1:-1:-1;37965:7:0;;37961:652;;37989:35;-1:-1:-1;;;;;37989:26:0;;36749:42;38022:1;37989:35;:26;:35;:::i;:::-;38039:37;-1:-1:-1;;;;;38039:26:0;;36749:42;38072:3;38039:37;:26;:37;:::i;:::-;38117:22;;:::i;:::-;38172:3;38154:7;38162:6;38154:15;;;;;;;;;;:21;;;;;38305:18;36749:42;-1:-1:-1;;;;;38326:38:0;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38326:40:0;;-1:-1:-1;38381:11:0;38395:59;38326:40;38395;38430:4;38395:30;38403:13;38417:6;38403:21;;;;;;;;;38395:3;;:30;:7;:30;:::i;:::-;:34;:40;:34;:40;:::i;:59::-;38381:73;;38469:8;26259:5;38480:35;38506:8;;26259:5;38491:23;38480:6;:10;;:35;;;;:::i;:::-;:50;;;;;38547:54;;-1:-1:-1;;;38547:54:0;;38480:50;;;;-1:-1:-1;36749:42:0;;38547:34;;38582:7;;38480:50;;38596:4;;38547:54;;;38582:7;38547:54;;;38582:7;38547:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37961:652:0;38678:35;;;-1:-1:-1;;;38678:35:0;;38707:4;38678:35;;;;;;38665:10;;36645:42;;38678:20;;:35;;;;;;;;;;;;;;;36645:42;38678:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38678:35:0;;-1:-1:-1;38728:9:0;;38724:178;;38754:32;36645:42;36856;38784:1;38754:32;:22;:32;:::i;:::-;38801:36;36645:42;36856;38831:5;38801:36;:22;:36;:::i;:::-;36856:42;-1:-1:-1;;;;;38852:31:0;;38884:5;38852:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37801:1108;;;;:::o;31486:361::-;31530:16;31549:17;:15;:17::i;:::-;31530:36;-1:-1:-1;31581:15:0;;31577:70;;31613:22;31623:11;31613:9;:22::i;:::-;31680:43;;;-1:-1:-1;;;31680:43:0;;31717:4;31680:43;;;;;;31659:18;;-1:-1:-1;;;;;31687:10:0;31680:28;;;;:43;;;;;;;;;;;;;;;:28;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31680:43:0;;-1:-1:-1;31738:17:0;;31734:106;;31772:28;31786:13;31772;:28::i;:::-;31827:1;31815:9;:13;31486:361;;:::o;28299:354::-;28382:43;;;-1:-1:-1;;;28382:43:0;;28419:4;28382:43;;;;;;28365:14;;-1:-1:-1;;;;;28389:10:0;28382:28;;;;:43;;;;;;;;;;;;;;;:28;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28382:43:0;;-1:-1:-1;28436:76:0;-1:-1:-1;;;;;28443:10:0;28436:35;28472:5;28487:4;28494:17;28436:76;:35;:76;:::i;:::-;28539:43;;;-1:-1:-1;;;28539:43:0;;28576:4;28539:43;;;;;;28523:13;;-1:-1:-1;;;;;28546:10:0;28539:28;;;;:43;;;;;;;;;;;;;;;:28;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28539:43:0;;-1:-1:-1;28607:38:0;28621:23;28539:43;28634:9;28621:23;:12;:23;:::i;:::-;28607:9;;;:38;:13;:38;:::i;:::-;28595:9;:50;-1:-1:-1;;;28299:354:0:o;38986:103::-;39035:46;39053:10;39065:15;;39035:17;:46::i;18890:836::-;19314:23;19353:69;19381:4;19353:69;;;;;;;;;;;;;;;;;19361:5;-1:-1:-1;;;;;19353:27:0;;;:69;;;;;:::i;:::-;19437:17;;19314:108;;-1:-1:-1;19437:21:0;19433:286;;19610:10;19599:30;;;;;;;;;;;;;;;-1:-1:-1;19599:30:0;19573:134;;;;-1:-1:-1;;;19573:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13074:605;13241:12;13313:5;13288:21;:30;;13266:118;;;;-1:-1:-1;;;13266:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13403:18;13414:6;13403:10;:18::i;:::-;13395:60;;;;;-1:-1:-1;;;13395:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13529:12;13543:23;13570:6;-1:-1:-1;;;;;13570:11:0;13589:5;13596:4;13570:31;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13570:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13528:73;;;;13619:52;13637:7;13646:10;13658:12;13619:17;:52::i;:::-;13612:59;13074:605;-1:-1:-1;;;;;;;13074:605:0:o;5981:123::-;6033:4;6057:39;6061:1;6064;6057:39;;;;;;;;;;;;;;;;;:3;:39::i;39097:139::-;39180:48;;;-1:-1:-1;;;39180:48:0;;39222:4;39180:48;;;;;;39156:4;;36856:42;;39180:33;;:48;;;;;;;;;;;;;;;36856:42;39180:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39180:48:0;;-1:-1:-1;39097:139:0;:::o;4573:214::-;4687:4;4720:12;4712:6;;;;4704:29;;;;-1:-1:-1;;;4704:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4753:5:0;;;4573:214::o;41008:462::-;41191:16;;;41205:1;41191:16;;;;;;;;;41167:21;;41191:16;;;41167:21;;41191:16;;;;;-1:-1:-1;41191:16:0;41167:40;;41228:5;41218:4;41223:1;41218:7;;;;;;;;;;;;;:15;-1:-1:-1;;;;;41218:15:0;;;-1:-1:-1;;;;;41218:15:0;;;;;36050:42;41244:4;41249:1;41244:7;;;;;;;;;;;;;:14;-1:-1:-1;;;;;41244:14:0;;;-1:-1:-1;;;;;41244:14:0;;;;;41279:3;41269:4;41274:1;41269:7;;;;;;;;-1:-1:-1;;;;;41269:13:0;;;:7;;;;;;;;;;:13;41295:167;;-1:-1:-1;;;41295:167:0;;;;;;;;41373:1;41295:167;;;;;;41416:4;41295:167;;;;;;41436:15;41295:167;;;;;;;;;;;;;;;;;;;;;35969:42;;41295:41;;41351:7;;41389:4;;41416;41436:15;41295:167;;;;;;;;;;;;;;;;;-1:-1:-1;41295:167:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;41295:167:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41295:167:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41008:462;;;;:::o;16419:282::-;16614:68;;;-1:-1:-1;;;;;16614:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16614:68:0;-1:-1:-1;;;16614:68:0;;;16560:133;;16594:5;;16560:19;:133::i;8904:441::-;9281:20;9329:8;;;8904:441::o;14764:777::-;14914:12;14943:7;14939:595;;;-1:-1:-1;14974:10:0;14967:17;;14939:595;15088:17;;:21;15084:439;;15351:10;15345:17;15412:15;15399:10;15395:2;15391:19;15384:44;15299:148;15487:20;;-1:-1:-1;;;15487:20:0;;;;;;;;;;;;;;;;;15494:12;;15487:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6600:300;6714:4;6746:12;6739:5;6731:28;;;;-1:-1:-1;;;6731:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6770:6;6783:1;6779;:5;;;;;;;6600:300;-1:-1:-1;;;;;6600:300:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://074eade3416ffa2ed78db38aba976b816ef0edeb6d8629a2be92e791aa450d29

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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