Contract 0x1e86044468b92c310800d4B350E0F83387a7097F

 
Txn Hash Method
Block
From
To
Value
0xca6bd542e37053c0cbdbeb78843954377793f9d00eb2ecd99e22616baf5fa5d9Withdraw126361062021-06-15 1:31:381 hr 32 mins ago0x162d50f46ab35be9e8032db8cbf465e39a01980e IN  Vesper Finance: vBetaUSDC Pool0 Ether0.004345110
0x72bed8260f6aeff6d53fd4483c55b92f1dc66b5572ae6fade323726a7d348436Withdraw126254222021-06-13 9:50:031 day 17 hrs ago0xc64844d9b3db280a6e46c1431e2229cd62dd2d69 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.0042232210
0x357070aab6cce86ef3d3b2538242238bf66269fff62b129e1e6816eb3aebc385Withdraw125768192021-06-05 21:20:029 days 5 hrs ago0x27d2c7f2729029440be539eaa61657d35b5a4aea IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00191518812.1
0x330a7b3fd5fc56a044b6b7a92871a56f94c2630e8c7126d6ef3613a8d504e71cDeposit125621132021-06-03 14:36:3011 days 12 hrs ago0xe268db8bf1f06f9d7f809670db5b86e43f9704d7 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.003882250934.1
0xbae5322baa2939a036221ad27807ebc301cb3dd27dc0313a7331c3b73f3a68d9Withdraw125605802021-06-03 8:54:3511 days 18 hrs ago0x4f908ada4cabd63d0e22be1690632e5854953d39 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.0075441616
0x772a3c4f3b99c9392359d77099ad27c83527b693cd4d4432a0eaa971cfcb15c4Deposit125548202021-06-02 11:32:0412 days 15 hrs ago0xe268db8bf1f06f9d7f809670db5b86e43f9704d7 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00196423515
0x7f6c8886d57a9ba94425be92a62776707169ae48b1ff26d6ac5b90d2f3cc4789Rebalance125463992021-06-01 4:16:3813 days 22 hrs ago0x76d266dfd3754f090488ae12f6bd115cd7e77ebd IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00855494416
0x4d3a5043838a022e484a349e73b6b2110178fca9f588b454e2c7e24eb024b32bWithdraw125393582021-05-31 2:05:1215 days 58 mins ago0x288e55b2f3af18e051b3d4840c04b24c40867e32 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00279730818
0xe0232a451ab6bc83f3e93767d4be2c9d11eb109aa2c89bdef5d0a97a67efdbc4Deposit125344562021-05-30 7:47:2915 days 19 hrs ago0x288e55b2f3af18e051b3d4840c04b24c40867e32 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00204906618
0x971dccc1e7e4fa55c5e5278768b745c7cea9b7bf71c7df427ee535b2fcad790eDeposit125280432021-05-29 8:02:5816 days 19 hrs ago0x2b91b4f5223a0a1f5c7e1d139dddd6b5b57c7a51 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00335007426
0x64a0b80cb6e4d9732ee83d09f2c83ff6bf93fc28b5bb6401437e8133210b147cWithdraw125251502021-05-28 21:15:0517 days 5 hrs ago0xbdf12333ed5138da10a6df51f95248897afd6a79 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00508291236
0xa603bce82a9e0c459cc9a7de1cacaf2c9892ea8411829ecc8acb449259913fcdDeposit125251062021-05-28 21:03:5117 days 5 hrs ago0xbdf12333ed5138da10a6df51f95248897afd6a79 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00412316832
0xb88bb53ff87e136f3ebf4db906b56dc722d72bc482d6a7d555c22f1d53000283Withdraw125247382021-05-28 19:42:4617 days 7 hrs ago0xddbbf84382db98573bcc656fa7c6ac8b52466c8b IN  Vesper Finance: vBetaUSDC Pool0 Ether0.0041495430
0xaa530e8fa7ff2cea51c4c9a858262b80eede517706c5db8273fd10d9389991b1Deposit125216102021-05-28 7:53:4717 days 19 hrs ago0x48a307cfe3f4273478336ce324d1a0d82f6180b6 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00283441422
0x0750cd98045d83f4ebf093525aad63085d23b690d6d9798fbedbfc6d132355e3Withdraw125177762021-05-27 17:46:0118 days 9 hrs ago0x9315cdb9dc37550f42b12a183de7b5a7876dc9f8 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.0042357630
0xbff56743c74af9c315e22693255132a9d3135e0dd4477ec4b297dfceb4d6fe00Deposit125114812021-05-26 18:05:2119 days 8 hrs ago0x9315cdb9dc37550f42b12a183de7b5a7876dc9f8 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00566935644
0x602fa34059ac97f6055f0a055ace92d62c23b5271378597a3f8031102730f8f9Deposit125062672021-05-25 22:51:3520 days 4 hrs ago0x162d50f46ab35be9e8032db8cbf465e39a01980e IN  Vesper Finance: vBetaUSDC Pool0 Ether0.004934916738.3
0x9c7fbfec9f91edcb5a4b1c7f94ace927530700e646f2247b818990b23feda77eDeposit125045342021-05-25 16:14:4020 days 10 hrs ago0x4f908ada4cabd63d0e22be1690632e5854953d39 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00535146716647.000001459
0x80485ff0a96ffac67cdd66cd706ecb176452b930b2a8ccdb259ada959b2a61daWithdraw125038222021-05-25 13:40:1520 days 13 hrs ago0x3efcf52d96a4469477b5744960946feaf40409ac IN  Vesper Finance: vBetaUSDC Pool0 Ether0.0061729239
0x076519c1a3a8f1888265ea33df08a95b48ce7f110abdd889023dd087231f6e39Deposit125036272021-05-25 13:00:1720 days 14 hrs ago0xc64844d9b3db280a6e46c1431e2229cd62dd2d69 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.0034158330
0xe216c51ababf4aed549c8da54e91fd4a4cf06e4da48dbfb377c5c8da6a39220eDeposit125014072021-05-25 4:39:3520 days 22 hrs ago0xddbbf84382db98573bcc656fa7c6ac8b52466c8b IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00432171320433.000001561
0x64e5603f1a4b008f7ebb25aba4209c0ba5551a7a1798cb11a655d6720c12e24aRebalance125008682021-05-25 2:43:0221 days 20 mins ago0x76d266dfd3754f090488ae12f6bd115cd7e77ebd IN  Vesper Finance: vBetaUSDC Pool0 Ether0.01933190837
0x36e5ce2ba8b5af8bbfa33e65ae9e3454ce6a165cc0513e4e950a405077a550ccDeposit125005972021-05-25 1:33:3621 days 1 hr ago0x3efcf52d96a4469477b5744960946feaf40409ac IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00444011139
0x726304ae716787a584af167426fce7cca1acb27d1bb56f761540e23c4c141117Withdraw125002872021-05-25 0:23:1121 days 2 hrs ago0x30fe0d8d2d81ea568ff60b6e28ab74eb7e548cb0 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.006353145
0xad04f5e9a567a845860aed412f28e59ba20508068cb92bbb59b39497a3d9ae96Deposit125002302021-05-25 0:08:0221 days 2 hrs ago0x30fe0d8d2d81ea568ff60b6e28ab74eb7e548cb0 IN  Vesper Finance: vBetaUSDC Pool0 Ether0.00489626238
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VBetaUSDC

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-01-07
*/

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/GSN/Context.sol

pragma solidity ^0.6.0;

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

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol



pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

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



pragma solidity ^0.6.0;

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

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        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(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 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(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 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(uint256 a, uint256 b) internal pure returns (uint256) {
        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(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 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(uint256 a, uint256 b) internal pure returns (uint256) {
        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(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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



pragma solidity ^0.6.2;

/**
 * @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 in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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/ERC20.sol



pragma solidity ^0.6.0;





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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol



pragma solidity ^0.6.0;




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

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

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

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

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

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

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

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

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



pragma solidity ^0.6.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: contracts/Pausable.sol



pragma solidity 0.6.12;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 */
contract Pausable is Context {
    event Paused(address account);
    event Shutdown(address account);
    event Unpaused(address account);
    event Open(address account);

    bool public paused;
    bool public stopEverything;

    modifier whenNotPaused() {
        require(!paused, "Pausable: paused");
        _;
    }
    modifier whenPaused() {
        require(paused, "Pausable: not paused");
        _;
    }

    modifier whenNotShutdown() {
        require(!stopEverything, "Pausable: shutdown");
        _;
    }

    modifier whenShutdown() {
        require(stopEverything, "Pausable: not shutdown");
        _;
    }

    /// @dev Pause contract operations, if contract is not paused.
    function _pause() internal virtual whenNotPaused {
        paused = true;
        emit Paused(_msgSender());
    }

    /// @dev Unpause contract operations, allow only if contract is paused and not shutdown.
    function _unpause() internal virtual whenPaused whenNotShutdown {
        paused = false;
        emit Unpaused(_msgSender());
    }

    /// @dev Shutdown contract operations, if not already shutdown.
    function _shutdown() internal virtual whenNotShutdown {
        stopEverything = true;
        paused = true;
        emit Shutdown(_msgSender());
    }

    /// @dev Open contract operations, if contract is in shutdown state
    function _open() internal virtual whenShutdown {
        stopEverything = false;
        emit Open(_msgSender());
    }
}

// File: contracts/interfaces/vesper/IController.sol



pragma solidity 0.6.12;

interface IController {
    function aaveReferralCode() external view returns (uint16);

    function feeCollector(address) external view returns (address);

    function founderFee() external view returns (uint256);

    function founderVault() external view returns (address);

    function interestFee(address) external view returns (uint256);

    function isPool(address) external view returns (bool);

    function pools() external view returns (address);

    function strategy(address) external view returns (address);

    function rebalanceFriction(address) external view returns (uint256);

    function poolRewards(address) external view returns (address);

    function treasuryPool() external view returns (address);

    function uniswapRouter() external view returns (address);

    function withdrawFee(address) external view returns (uint256);
}

// File: contracts/interfaces/vesper/IVesperPool.sol



pragma solidity 0.6.12;


interface IVesperPool is IERC20 {
    function approveToken() external;

    function deposit() external payable;

    function deposit(uint256) external;

    function multiTransfer(uint256[] memory) external returns (bool);

    function permit(
        address,
        address,
        uint256,
        uint256,
        uint8,
        bytes32,
        bytes32
    ) external;

    function rebalance() external;

    function resetApproval() external;

    function sweepErc20(address) external;

    function withdraw(uint256) external;

    function withdrawETH(uint256) external;

    function withdrawByStrategy(uint256) external;

    function feeCollector() external view returns (address);

    function getPricePerShare() external view returns (uint256);

    function token() external view returns (address);

    function tokensHere() external view returns (uint256);

    function totalValue() external view returns (uint256);

    function withdrawFee() external view returns (uint256);
}

// File: contracts/interfaces/vesper/IPoolRewards.sol



pragma solidity 0.6.12;

interface IPoolRewards {
    function notifyRewardAmount(uint256) external;

    function claimReward(address) external;

    function updateReward(address) external;

    function rewardForDuration() external view returns (uint256);

    function claimable(address) external view returns (uint256);

    function pool() external view returns (address);

    function lastTimeRewardApplicable() external view returns (uint256);

    function rewardPerToken() external view returns (uint256);
}

// File: sol-address-list/contracts/interfaces/IAddressList.sol



pragma solidity ^0.6.6;

interface IAddressList {
    event AddressUpdated(address indexed a, address indexed sender);
    event AddressRemoved(address indexed a, address indexed sender);

    function add(address a) external returns (bool);

    function addValue(address a, uint256 v) external returns (bool);

    function addMulti(address[] calldata addrs) external returns (uint256);

    function addValueMulti(address[] calldata addrs, uint256[] calldata values) external returns (uint256);

    function remove(address a) external returns (bool);

    function removeMulti(address[] calldata addrs) external returns (uint256);

    function get(address a) external view returns (uint256);

    function contains(address a) external view returns (bool);

    function at(uint256 index) external view returns (address, uint256);

    function length() external view returns (uint256);
}

// File: sol-address-list/contracts/interfaces/IAddressListExt.sol



pragma solidity ^0.6.6;


interface IAddressListExt is IAddressList {
    function hasRole(bytes32 role, address account) external view returns (bool);

    function getRoleMemberCount(bytes32 role) external view returns (uint256);

    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    function grantRole(bytes32 role, address account) external;

    function revokeRole(bytes32 role, address account) external;

    function renounceRole(bytes32 role, address account) external;
}

// File: sol-address-list/contracts/interfaces/IAddressListFactory.sol



pragma solidity ^0.6.6;

interface IAddressListFactory {
    event ListCreated(address indexed _sender, address indexed _newList);

    function ours(address a) external view returns (bool);

    function listCount() external view returns (uint256);

    function listAt(uint256 idx) external view returns (address);

    function createList() external returns (address listaddr);
}

// File: contracts/pools/PoolShareToken.sol



pragma solidity 0.6.12;










/// @title Holding pool share token
// solhint-disable no-empty-blocks
abstract contract PoolShareToken is ERC20, Pausable, ReentrancyGuard {
    using SafeERC20 for IERC20;
    IERC20 public immutable token;
    IAddressListExt public immutable feeWhiteList;
    IController public immutable controller;

    /// @dev The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH =
        keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );

    /// @dev The EIP-712 typehash for the permit struct used by the contract
    bytes32 public constant PERMIT_TYPEHASH =
        keccak256(
            "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"
        );

    bytes32 public immutable domainSeparator;

    uint256 internal constant MAX_UINT_VALUE = uint256(-1);
    mapping(address => uint256) public nonces;
    event Deposit(address indexed owner, uint256 shares, uint256 amount);
    event Withdraw(address indexed owner, uint256 shares, uint256 amount);

    constructor(
        string memory _name,
        string memory _symbol,
        address _token,
        address _controller
    ) public ERC20(_name, _symbol) {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        token = IERC20(_token);
        controller = IController(_controller);
        IAddressListFactory factory =
            IAddressListFactory(0xD57b41649f822C51a73C44Ba0B3da4A880aF0029);
        IAddressListExt _feeWhiteList = IAddressListExt(factory.createList());
        _feeWhiteList.grantRole(keccak256("LIST_ADMIN"), _controller);
        feeWhiteList = _feeWhiteList;
        domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(_name)),
                keccak256(bytes("1")),
                chainId,
                address(this)
            )
        );
    }

    /**
     * @notice Deposit ERC20 tokens and receive pool shares depending on the current share price.
     * @param amount ERC20 token amount.
     */
    function deposit(uint256 amount) external virtual nonReentrant whenNotPaused {
        _deposit(amount);
    }

    /**
     * @notice Deposit ERC20 tokens with permit aka gasless approval.
     * @param amount ERC20 token amount.
     * @param deadline The time at which signature will expire
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function depositWithPermit(
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external virtual nonReentrant whenNotPaused {
        IVesperPool(address(token)).permit(_msgSender(), address(this), amount, deadline, v, r, s);
        _deposit(amount);
    }

    /**
     * @notice Withdraw collateral based on given shares and the current share price.
     * Transfer earned rewards to caller. Withdraw fee, if any, will be deduced from
     * given shares and transferred to feeCollector. Burn remaining shares and return collateral.
     * @param shares Pool shares. It will be in 18 decimals.
     */
    function withdraw(uint256 shares) external virtual nonReentrant whenNotShutdown {
        _withdraw(shares);
    }

    /**
     * @notice Withdraw collateral based on given shares and the current share price.
     * Transfer earned rewards to caller. Burn shares and return collateral.
     * @dev No withdraw fee will be assessed when this function is called.
     * Only some white listed address can call this function.
     * @param shares Pool shares. It will be in 18 decimals.
     */
    function withdrawByStrategy(uint256 shares) external virtual nonReentrant whenNotShutdown {
        require(feeWhiteList.get(_msgSender()) != 0, "Not a white listed address");
        _withdrawByStrategy(shares);
    }

    /**
     * @notice Transfer tokens to multiple recipient
     * @dev Left 160 bits are the recipient address and the right 96 bits are the token amount.
     * @param bits array of uint
     * @return true/false
     */
    function multiTransfer(uint256[] memory bits) external returns (bool) {
        for (uint256 i = 0; i < bits.length; i++) {
            address a = address(bits[i] >> 96);
            uint256 amount = bits[i] & ((1 << 96) - 1);
            require(transfer(a, amount), "Transfer failed");
        }
        return true;
    }

    /**
     * @notice Triggers an approval from owner to spends
     * @param owner The address to approve from
     * @param spender The address to be approved
     * @param amount The number of tokens that are approved (2^256-1 means infinite)
     * @param deadline The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function permit(
        address owner,
        address spender,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external {
        require(deadline >= block.timestamp, "Expired");
        bytes32 digest =
            keccak256(
                abi.encodePacked(
                    "\x19\x01",
                    domainSeparator,
                    keccak256(
                        abi.encode(
                            PERMIT_TYPEHASH,
                            owner,
                            spender,
                            amount,
                            nonces[owner]++,
                            deadline
                        )
                    )
                )
            );
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0) && signatory == owner, "Invalid signature");
        _approve(owner, spender, amount);
    }

    /**
     * @notice Get price per share
     * @dev Return value will be in token defined decimals.
     */
    function getPricePerShare() external view returns (uint256) {
        if (totalSupply() == 0) {
            return convertFrom18(1e18);
        }
        return totalValue().mul(1e18).div(totalSupply());
    }

    /// @dev Convert to 18 decimals from token defined decimals. Default no conversion.
    function convertTo18(uint256 amount) public pure virtual returns (uint256) {
        return amount;
    }

    /// @dev Convert from 18 decimals to token defined decimals. Default no conversion.
    function convertFrom18(uint256 amount) public pure virtual returns (uint256) {
        return amount;
    }

    /// @dev Get fee collector address
    function feeCollector() public view virtual returns (address) {
        return controller.feeCollector(address(this));
    }

    /// @dev Returns the token stored in the pool. It will be in token defined decimals.
    function tokensHere() public view virtual returns (uint256) {
        return token.balanceOf(address(this));
    }

    /**
     * @dev Returns sum of token locked in other contracts and token stored in the pool.
     * Default tokensHere. It will be in token defined decimals.
     */
    function totalValue() public view virtual returns (uint256) {
        return tokensHere();
    }

    /**
     * @notice Get withdraw fee for this pool
     * @dev Format: 1e16 = 1% fee
     */
    function withdrawFee() public view virtual returns (uint256) {
        return controller.withdrawFee(address(this));
    }

    /**
     * @dev Hook that is called just before burning tokens. To be used i.e. if
     * collateral is stored in a different contract and needs to be withdrawn.
     * @param share Pool share in 18 decimals
     */
    function _beforeBurning(uint256 share) internal virtual {}

    /**
     * @dev Hook that is called just after burning tokens. To be used i.e. if
     * collateral stored in a different/this contract needs to be transferred.
     * @param amount Collateral amount in collateral token defined decimals.
     */
    function _afterBurning(uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called just before minting new tokens. To be used i.e.
     * if the deposited amount is to be transferred from user to this contract.
     * @param amount Collateral amount in collateral token defined decimals.
     */
    function _beforeMinting(uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called just after minting new tokens. To be used i.e.
     * if the deposited amount is to be transferred to a different contract.
     * @param amount Collateral amount in collateral token defined decimals.
     */
    function _afterMinting(uint256 amount) internal virtual {}

    /**
     * @dev Calculate shares to mint based on the current share price and given amount.
     * @param amount Collateral amount in collateral token defined decimals.
     */
    function _calculateShares(uint256 amount) internal view returns (uint256) {
        require(amount != 0, "amount is 0");

        uint256 _totalSupply = totalSupply();
        uint256 _totalValue = convertTo18(totalValue());
        uint256 shares =
            (_totalSupply == 0 || _totalValue == 0)
                ? amount
                : amount.mul(_totalSupply).div(_totalValue);
        return shares;
    }

    /// @dev Deposit incoming token and mint pool token i.e. shares.
    function _deposit(uint256 amount) internal whenNotPaused {
        uint256 shares = _calculateShares(convertTo18(amount));
        _beforeMinting(amount);
        _mint(_msgSender(), shares);
        _afterMinting(amount);
        emit Deposit(_msgSender(), shares, amount);
    }

    /// @dev Handle withdraw fee calculation and fee transfer to fee collector.
    function _handleFee(uint256 shares) internal returns (uint256 _sharesAfterFee) {
        if (withdrawFee() != 0) {
            uint256 _fee = shares.mul(withdrawFee()).div(1e18);
            _sharesAfterFee = shares.sub(_fee);
            _transfer(_msgSender(), feeCollector(), _fee);
        } else {
            _sharesAfterFee = shares;
        }
    }

    /// @dev Update pool reward of sender and receiver before transfer.
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 /* amount */
    ) internal virtual override {
        address poolRewards = controller.poolRewards(address(this));
        if (poolRewards != address(0)) {
            if (from != address(0)) {
                IPoolRewards(poolRewards).updateReward(from);
            }
            if (to != address(0)) {
                IPoolRewards(poolRewards).updateReward(to);
            }
        }
    }

    /// @dev Burns shares and returns the collateral value, after fee, of those.
    function _withdraw(uint256 shares) internal whenNotShutdown {
        require(shares != 0, "share is 0");
        _beforeBurning(shares);
        uint256 sharesAfterFee = _handleFee(shares);
        uint256 amount =
            convertFrom18(sharesAfterFee.mul(convertTo18(totalValue())).div(totalSupply()));

        _burn(_msgSender(), sharesAfterFee);
        _afterBurning(amount);
        emit Withdraw(_msgSender(), shares, amount);
    }

    /// @dev Burns shares and returns the collateral value of those.
    function _withdrawByStrategy(uint256 shares) internal {
        require(shares != 0, "Withdraw must be greater than 0");
        _beforeBurning(shares);
        uint256 amount = convertFrom18(shares.mul(convertTo18(totalValue())).div(totalSupply()));
        _burn(_msgSender(), shares);
        _afterBurning(amount);
        emit Withdraw(_msgSender(), shares, amount);
    }
}

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



pragma solidity 0.6.12;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

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

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}

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



pragma solidity 0.6.12;


interface IUniswapV2Router02 is IUniswapV2Router01 {
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

// File: contracts/interfaces/vesper/IStrategy.sol



pragma solidity 0.6.12;

interface IStrategy {
    function rebalance() external;

    function deposit(uint256 amount) external;

    function beforeWithdraw() external;

    function withdraw(uint256 amount) external;

    function withdrawAll() external;

    function isUpgradable() external view returns (bool);

    function isReservedToken(address _token) external view returns (bool);

    function token() external view returns (address);

    function pool() external view returns (address);

    function totalLocked() external view returns (uint256);

    //Lifecycle functions
    function pause() external;

    function name() external pure returns (string memory);

    function version() external pure returns (string memory);

    function unpause() external;
}

// File: contracts/pools/VTokenBase.sol



pragma solidity 0.6.12;




abstract contract VTokenBase is PoolShareToken {
    address internal constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

    constructor(
        string memory name,
        string memory symbol,
        address _token,
        address _controller
    ) public PoolShareToken(name, symbol, _token, _controller) {
        require(_controller != address(0), "Controller address is zero");
    }

    modifier onlyController() {
        require(address(controller) == _msgSender(), "Caller is not the controller");
        _;
    }

    function pause() external onlyController {
        _pause();
    }

    function unpause() external onlyController {
        _unpause();
    }

    function shutdown() external onlyController {
        _shutdown();
    }

    function open() external onlyController {
        _open();
    }

    /// @dev Approve strategy to spend collateral token and strategy token of pool.
    function approveToken() external virtual onlyController {
        address strategy = controller.strategy(address(this));
        token.safeApprove(strategy, MAX_UINT_VALUE);
        IERC20(IStrategy(strategy).token()).safeApprove(strategy, MAX_UINT_VALUE);
    }

    /// @dev Reset token approval of strategy. Called when updating strategy.
    function resetApproval() external virtual onlyController {
        address strategy = controller.strategy(address(this));
        token.safeApprove(strategy, 0);
        IERC20(IStrategy(strategy).token()).safeApprove(strategy, 0);
    }

    /**
     * @dev Rebalance invested collateral to mitigate liquidation risk, if any.
     * Behavior of rebalance is driven by risk parameters defined in strategy.
     */
    function rebalance() external virtual {
        IStrategy strategy = IStrategy(controller.strategy(address(this)));
        strategy.rebalance();
    }

    /**
     * @dev Convert given ERC20 token into collateral token via Uniswap
     * @param _erc20 Token address
     */
    function sweepErc20(address _erc20) external virtual {
        _sweepErc20(_erc20);
    }

    /// @dev Returns collateral token locked in strategy
    function tokenLocked() public view virtual returns (uint256) {
        IStrategy strategy = IStrategy(controller.strategy(address(this)));
        return strategy.totalLocked();
    }

    /// @dev Returns total value of vesper pool, in terms of collateral token
    function totalValue() public view override returns (uint256) {
        return tokenLocked().add(tokensHere());
    }

    /**
     * @dev After burning hook, it will be called during withdrawal process.
     * It will withdraw collateral from strategy and transfer it to user.
     */
    function _afterBurning(uint256 _amount) internal override {
        uint256 balanceHere = tokensHere();
        if (balanceHere < _amount) {
            _withdrawCollateral(_amount.sub(balanceHere));
            balanceHere = tokensHere();
            _amount = balanceHere < _amount ? balanceHere : _amount;
        }
        token.safeTransfer(_msgSender(), _amount);
    }

    /**
     * @dev Before burning hook.
     * Some actions, like resurface(), can impact share price and has to be called before withdraw.
     */
    function _beforeBurning(
        uint256 /* shares */
    ) internal override {
        IStrategy strategy = IStrategy(controller.strategy(address(this)));
        strategy.beforeWithdraw();
    }

    function _beforeMinting(uint256 amount) internal override {
        token.safeTransferFrom(_msgSender(), address(this), amount);
    }

    function _withdrawCollateral(uint256 amount) internal virtual {
        IStrategy strategy = IStrategy(controller.strategy(address(this)));
        strategy.withdraw(amount);
    }

    function _sweepErc20(address _from) internal {
        IStrategy strategy = IStrategy(controller.strategy(address(this)));
        require(
            _from != address(token) && _from != address(this) && !strategy.isReservedToken(_from),
            "Not allowed to sweep"
        );
        IUniswapV2Router02 uniswapRouter = IUniswapV2Router02(controller.uniswapRouter());
        uint256 amt = IERC20(_from).balanceOf(address(this));
        IERC20(_from).safeApprove(address(uniswapRouter), amt);
        address[] memory path;
        if (address(token) == WETH) {
            path = new address[](2);
            path[0] = _from;
            path[1] = address(token);
        } else {
            path = new address[](3);
            path[0] = _from;
            path[1] = WETH;
            path[2] = address(token);
        }
        uniswapRouter.swapExactTokensForTokens(amt, 1, path, address(this), now + 30);
    }
}

// File: contracts/pools/VUSDC.sol



pragma solidity 0.6.12;


//solhint-disable no-empty-blocks
contract VBetaUSDC is VTokenBase {
    constructor(address _controller)
        public
        VTokenBase("vBetaUSDC Pool", "vBetaUSDC", 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, _controller)
    {}

    /// @dev Convert to 18 decimals from token defined decimals.
    function convertTo18(uint256 _value) public pure override returns (uint256) {
        return _value.mul(10**12);
    }

    /// @dev Convert from 18 decimals to token defined decimals.
    function convertFrom18(uint256 _value) public pure override returns (uint256) {
        return _value.div(10**12);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Open","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Shutdown","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"approveToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"contract IController","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"convertFrom18","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"convertTo18","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"depositWithPermit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"domainSeparator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeCollector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeWhiteList","outputs":[{"internalType":"contract IAddressListExt","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPricePerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"bits","type":"uint256[]"}],"name":"multiTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"open","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rebalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetApproval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shutdown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopEverything","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_erc20","type":"address"}],"name":"sweepErc20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenLocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensHere","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"withdrawByStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6101006040523480156200001257600080fd5b5060405162003da838038062003da8833981810160405260208110156200003857600080fd5b5051604080518082018252600e81526d1d90995d185554d110c8141bdbdb60921b60208281019182528351808501909452600984526876426574615553444360b81b90840152815191929173a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48918591859185918591859185918591620000b59160039162000327565b508051620000cb90600490602084019062000327565b50506005805460ff191660121790555060016006556001600160601b0319606083811b821660805282901b1660c05260408051630fab4d2560e01b81529051469173d57b41649f822c51a73c44ba0b3da4a880af0029916000918391630fab4d259160048082019260209290919082900301818787803b1580156200014f57600080fd5b505af115801562000164573d6000803e3d6000fd5b505050506040513d60208110156200017b57600080fd5b505160408051632f2ff15d60e01b81527f679f35d3aa86a98333c7fc7439a0bc12a13be742ae62a4c1cc3820782a2e11a660048201526001600160a01b038781166024830152915192935090831691632f2ff15d9160448082019260009290919082900301818387803b158015620001f257600080fd5b505af115801562000207573d6000803e3d6000fd5b50505050606090811b6001600160601b03191660a0908152875160209889012060408051808201825260018152603160f81b908b015280517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818c0152808201929092527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc693820193909352608081019490945230848201528151808503909101815260c0909301905250805194019390932060e0525050506001600160a01b0381166200031c576040805162461bcd60e51b815260206004820152601a60248201527f436f6e74726f6c6c65722061646472657373206973207a65726f000000000000604482015290519081900360640190fd5b5050505050620003c3565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200036a57805160ff19168380011785556200039a565b828001600101855582156200039a579182015b828111156200039a5782518255916020019190600101906200037d565b50620003a8929150620003ac565b5090565b5b80821115620003a85760008155600101620003ad565b60805160601c60a05160601c60c05160601c60e051613915620004936000398061181f52806119f752508061099252806109fe5280610c015280610e055280610f35528061105152806112cd528061133952806116b2528061198a5280611a3f5280611aa95280611b2c528061250e52806126bb5280612c3d5280612ddd52806133c15250806111c25280611a1b525080610aa45280610d1f52806113df52806116125280611a7452806125a952806127d0528061286352806129475280613081528061326352506139156000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c806397a5af5511610146578063d505accf116100c3578063f6ecd3d511610087578063f6ecd3d5146106f8578063f77c479114610700578063fb589de214610708578063fc0c546a14610725578063fc0e74d11461072d578063fcfff16f146107355761025e565b8063d505accf14610643578063d9fe3eae14610694578063dd62ed3e146106ba578063e941fa78146106e8578063f698da25146106f05761025e565b8063b6b55f251161010a578063b6b55f25146105d5578063b8cb343d146105f2578063c415b95c146105fa578063ce27b9031461061e578063d4c3eea01461063b5761025e565b806397a5af55146104b557806399b71d5c146104d2578063a457c2d7146104da578063a9059cbb14610506578063b33fcc7a146105325761025e565b80633d68175c116101df5780636a630559116101a35780636a6305591461044957806370a08231146104515780637d7c2a1c146104775780637ecebe001461047f5780638456cb59146104a557806395d89b41146104ad5761025e565b80633d68175c146103f15780633f4ba83a146103f95780634938649a146104015780634a970be7146104095780635c975abb146104415761025e565b80632e1a7d4d116102265780632e1a7d4d1461037857806330adf81f14610397578063313ce5671461039f578063330b8b71146103bd57806339509351146103c55761025e565b806306fdde0314610263578063095ea7b3146102e057806318160ddd1461032057806320606b701461033a57806323b872dd14610342575b600080fd5b61026b61073d565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a557818101518382015260200161028d565b50505050905090810190601f1680156102d25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61030c600480360360408110156102f657600080fd5b506001600160a01b0381351690602001356107d4565b604080519115158252519081900360200190f35b6103286107f2565b60408051918252519081900360200190f35b6103286107f8565b61030c6004803603606081101561035857600080fd5b506001600160a01b0381358116916020810135909116906040013561081c565b6103956004803603602081101561038e57600080fd5b50356108a3565b005b610328610952565b6103a7610976565b6040805160ff9092168252519081900360200190f35b61039561097f565b61030c600480360360408110156103db57600080fd5b506001600160a01b038135169060200135610b4a565b610328610b98565b610395610bee565b61030c610c73565b610395600480360360a081101561041f57600080fd5b5080359060208101359060ff6040820135169060608101359060800135610c82565b61030c610df2565b610328610e00565b6103286004803603602081101561046757600080fd5b50356001600160a01b0316610f12565b610395610f31565b6103286004803603602081101561049557600080fd5b50356001600160a01b031661102c565b61039561103e565b61026b6110c1565b610395600480360360208110156104cb57600080fd5b5035611122565b6103956112ba565b61030c600480360360408110156104f057600080fd5b506001600160a01b038135169060200135611448565b61030c6004803603604081101561051c57600080fd5b506001600160a01b0381351690602001356114b0565b61030c6004803603602081101561054857600080fd5b81019060208101813564010000000081111561056357600080fd5b82018360208201111561057557600080fd5b8035906020019184602083028401116401000000008311171561059757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506114c4945050505050565b610395600480360360208110156105eb57600080fd5b503561156a565b61032861160e565b6106026116ae565b604080516001600160a01b039092168252519081900360200190f35b6103286004803603602081101561063457600080fd5b503561171d565b61032861172e565b610395600480360360e081101561065957600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611749565b610395600480360360208110156106aa57600080fd5b50356001600160a01b0316611952565b610328600480360360408110156106d057600080fd5b506001600160a01b038135811691602001351661195b565b610328611986565b6103286119f5565b610602611a19565b610602611a3d565b6103286004803603602081101561071e57600080fd5b5035611a61565b610602611a72565b610395611a96565b610395611b19565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107c95780601f1061079e576101008083540402835291602001916107c9565b820191906000526020600020905b8154815290600101906020018083116107ac57829003601f168201915b505050505090505b90565b60006107e86107e1611b9c565b8484611ba0565b5060015b92915050565b60025490565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b6000610829848484611c8c565b61089984610835611b9c565b610894856040518060600160405280602881526020016137a9602891396001600160a01b038a16600090815260016020526040812090610873611b9c565b6001600160a01b031681526020810191909152604001600020549190611de7565b611ba0565b5060019392505050565b600260065414156108e9576040805162461bcd60e51b815260206004820152601f60248201526000805160206136fe833981519152604482015290519081900360640190fd5b600260065560055462010000900460ff1615610941576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b61094a81611e7e565b506001600655565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b610987611b9c565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146109fa576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610a6957600080fd5b505afa158015610a7d573d6000803e3d6000fd5b505050506040513d6020811015610a9357600080fd5b50519050610acc6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016826000611fc6565b610b47816000836001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b0b57600080fd5b505afa158015610b1f573d6000803e3d6000fd5b505050506040513d6020811015610b3557600080fd5b50516001600160a01b03169190611fc6565b50565b60006107e8610b57611b9c565b846108948560016000610b68611b9c565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906120de565b6000610ba26107f2565b610bbe57610bb7670de0b6b3a7640000611a61565b90506107d1565b610be9610bc96107f2565b610be3670de0b6b3a7640000610bdd61172e565b9061213f565b90612198565b905090565b610bf6611b9c565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610c69576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b610c716121da565b565b60055462010000900460ff1681565b60026006541415610cc8576040805162461bcd60e51b815260206004820152601f60248201526000805160206136fe833981519152604482015290519081900360640190fd5b6002600655600554610100900460ff1615610d1d576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d505accf610d54611b9c565b604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152306024830152604482018990526064820188905260ff8716608483015260a4820186905260c482018590525160e480830192600092919082900301818387803b158015610dc557600080fd5b505af1158015610dd9573d6000803e3d6000fd5b50505050610de6856122d1565b50506001600655505050565b600554610100900460ff1681565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e7057600080fd5b505afa158015610e84573d6000803e3d6000fd5b505050506040513d6020811015610e9a57600080fd5b505160408051632b448a0960e11b815290519192506001600160a01b03831691635689141291600480820192602092909190829003018186803b158015610ee057600080fd5b505afa158015610ef4573d6000803e3d6000fd5b505050506040513d6020811015610f0a57600080fd5b505191505090565b6001600160a01b0381166000908152602081905260409020545b919050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610fa057600080fd5b505afa158015610fb4573d6000803e3d6000fd5b505050506040513d6020811015610fca57600080fd5b505160408051631f5f0a8760e21b815290519192506001600160a01b03831691637d7c2a1c9160048082019260009290919082900301818387803b15801561101157600080fd5b505af1158015611025573d6000803e3d6000fd5b5050505050565b60076020526000908152604090205481565b611046611b9c565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146110b9576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b610c716123ad565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107c95780601f1061079e576101008083540402835291602001916107c9565b60026006541415611168576040805162461bcd60e51b815260206004820152601f60248201526000805160206136fe833981519152604482015290519081900360640190fd5b600260065560055462010000900460ff16156111c0576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c2bc2efc6111f7611b9c565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561123457600080fd5b505afa158015611248573d6000803e3d6000fd5b505050506040513d602081101561125e57600080fd5b50516112b1576040805162461bcd60e51b815260206004820152601a60248201527f4e6f742061207768697465206c69737465642061646472657373000000000000604482015290519081900360640190fd5b61094a81612435565b6112c2611b9c565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614611335576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156113a457600080fd5b505afa1580156113b8573d6000803e3d6000fd5b505050506040513d60208110156113ce57600080fd5b505190506114086001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001682600019611fc6565b610b4781600019836001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b0b57600080fd5b60006107e8611455611b9c565b84610894856040518060600160405280602581526020016138bb602591396001600061147f611b9c565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611de7565b60006107e86114bd611b9c565b8484611c8c565b6000805b82518110156107e857600060608483815181106114e157fe5b6020026020010151901c905060008483815181106114fb57fe5b60200260200101516bffffffffffffffffffffffff16905061151d82826114b0565b611560576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b50506001016114c8565b600260065414156115b0576040805162461bcd60e51b815260206004820152601f60248201526000805160206136fe833981519152604482015290519081900360640190fd5b6002600655600554610100900460ff1615611605576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61094a816122d1565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561167d57600080fd5b505afa158015611691573d6000803e3d6000fd5b505050506040513d60208110156116a757600080fd5b5051905090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a06e01ba306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561167d57600080fd5b60006107ec8264e8d4a5100061213f565b6000610be961173b61160e565b611743610e00565b906120de565b42841015611788576040805162461bcd60e51b8152602060048201526007602482015266115e1c1a5c995960ca1b604482015290519081900360640190fd5b6001600160a01b0380881660008181526007602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958c166060860152608085018b905260a085019590955260c08085018a90528151808603909101815260e08501825280519083012061190160f01b6101008601527f00000000000000000000000000000000000000000000000000000000000000006101028601526101228086019190915281518086039091018152610142850180835281519184019190912090849052610162850180835281905260ff89166101828601526101a285018890526101c285018790529051909492936101e28082019392601f1981019281900390910190855afa1580156118c1573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906118f75750886001600160a01b0316816001600160a01b0316145b61193c576040805162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b604482015290519081900360640190fd5b611947898989611ba0565b505050505050505050565b610b478161250a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631ac3ddeb306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561167d57600080fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006107ec8264e8d4a51000612198565b7f000000000000000000000000000000000000000000000000000000000000000081565b611a9e611b9c565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614611b11576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b610c71612b16565b611b21611b9c565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614611b94576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b610c71612bae565b3390565b6001600160a01b038316611be55760405162461bcd60e51b81526004018080602001828103825260248152602001806138376024913960400191505060405180910390fd5b6001600160a01b038216611c2a5760405162461bcd60e51b81526004018080602001828103825260228152602001806137406022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611cd15760405162461bcd60e51b81526004018080602001828103825260258152602001806138126025913960400191505060405180910390fd5b6001600160a01b038216611d165760405162461bcd60e51b81526004018080602001828103825260238152602001806136db6023913960400191505060405180910390fd5b611d21838383612c39565b611d5e81604051806060016040528060268152602001613762602691396001600160a01b0386166000908152602081905260409020549190611de7565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611d8d90826120de565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611e765760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e3b578181015183820152602001611e23565b50505050905090810190601f168015611e685780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60055462010000900460ff1615611ed1576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b80611f10576040805162461bcd60e51b815260206004820152600a6024820152690736861726520697320360b41b604482015290519081900360640190fd5b611f1981612dd9565b6000611f2482612ed5565b90506000611f55611f50611f366107f2565b610be3611f49611f4461172e565b61171d565b869061213f565b611a61565b9050611f68611f62611b9c565b83612f2e565b611f718161302a565b611f79611b9c565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688483604051808381526020018281526020019250505060405180910390a2505050565b80158061204c575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561201e57600080fd5b505afa158015612032573d6000803e3d6000fd5b505050506040513d602081101561204857600080fd5b5051155b6120875760405162461bcd60e51b81526004018080602001828103825260368152602001806138856036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526120d99084906130ac565b505050565b600082820183811015612138576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008261214e575060006107ec565b8282028284828161215b57fe5b04146121385760405162461bcd60e51b81526004018080602001828103825260218152602001806137886021913960400191505060405180910390fd5b600061213883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061315d565b600554610100900460ff1661222d576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b60055462010000900460ff1615612280576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b6005805461ff00191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6122b4611b9c565b604080516001600160a01b039092168252519081900360200190a1565b600554610100900460ff1615612321576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600061233461232f8361171d565b6131c2565b905061233f8261324e565b61235061234a611b9c565b8261328b565b61235982610b47565b612361611b9c565b6001600160a01b03167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a158284604051808381526020018281526020019250505060405180910390a25050565b600554610100900460ff16156123fd576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6005805461ff0019166101001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586122b4611b9c565b80612487576040805162461bcd60e51b815260206004820152601f60248201527f5769746864726177206d7573742062652067726561746572207468616e203000604482015290519081900360640190fd5b61249081612dd9565b60006124a0611f50611f366107f2565b90506124ad611f62611b9c565b6124b68161302a565b6124be611b9c565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688383604051808381526020018281526020019250505060405180910390a25050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561257957600080fd5b505afa15801561258d573d6000803e3d6000fd5b505050506040513d60208110156125a357600080fd5b505190507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116908316148015906125ed57506001600160a01b0382163014155b801561266f5750806001600160a01b031663440d7248836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561264157600080fd5b505afa158015612655573d6000803e3d6000fd5b505050506040513d602081101561266b57600080fd5b5051155b6126b7576040805162461bcd60e51b815260206004820152601460248201527304e6f7420616c6c6f77656420746f2073776565760641b604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663735de9f76040518163ffffffff1660e01b815260040160206040518083038186803b15801561271257600080fd5b505afa158015612726573d6000803e3d6000fd5b505050506040513d602081101561273c57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038616916370a08231916024808301926020929190829003018186803b15801561278a57600080fd5b505afa15801561279e573d6000803e3d6000fd5b505050506040513d60208110156127b457600080fd5b505190506127cc6001600160a01b0385168383611fc6565b60607f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc214156128b4576040805160028082526060820183529091602083019080368337019050509050848160008151811061284157fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061288f57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050612994565b60408051600380825260808201909252906020820160608036833701905050905084816000815181106128e357fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160018151811061292557fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160028151811061297357fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b826001600160a01b03166338ed1739836001843042601e016040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015612a1c578181015183820152602001612a04565b505050509050019650505050505050600060405180830381600087803b158015612a4557600080fd5b505af1158015612a59573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612a8257600080fd5b8101908080516040519392919084640100000000821115612aa257600080fd5b908301906020820185811115612ab757600080fd5b8251866020820283011164010000000082111715612ad457600080fd5b82525081516020918201928201910280838360005b83811015612b01578181015183820152602001612ae9565b50505050905001604052505050505050505050565b60055462010000900460ff1615612b69576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b6005805461ff001962ff0000199091166201000017166101001790557f28b4c24cb1012c094cd2f59f98e89d791973295f8fda6eaa118022d6d318960a6122b4611b9c565b60055462010000900460ff16612c04576040805162461bcd60e51b81526020600482015260166024820152752830bab9b0b136329d103737ba1039b43aba3237bbb760511b604482015290519081900360640190fd5b6005805462ff0000191690557fece7583a70a505ef0e36d4dec768f5ae597713e09c26011022599ee01abdabfc6122b4611b9c565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663dd5aba4b306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612ca857600080fd5b505afa158015612cbc573d6000803e3d6000fd5b505050506040513d6020811015612cd257600080fd5b505190506001600160a01b03811615612dd3576001600160a01b03841615612d5c57806001600160a01b031663632447c9856040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015612d4357600080fd5b505af1158015612d57573d6000803e3d6000fd5b505050505b6001600160a01b03831615612dd357806001600160a01b031663632447c9846040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015612dba57600080fd5b505af1158015612dce573d6000803e3d6000fd5b505050505b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612e4857600080fd5b505afa158015612e5c573d6000803e3d6000fd5b505050506040513d6020811015612e7257600080fd5b50516040805163419f775360e01b815290519192506001600160a01b0383169163419f77539160048082019260009290919082900301818387803b158015612eb957600080fd5b505af1158015612ecd573d6000803e3d6000fd5b505050505050565b6000612edf611986565b15612f2a576000612efd670de0b6b3a7640000610be3611f49611986565b9050612f09838261337b565b9150612f24612f16611b9c565b612f1e6116ae565b83611c8c565b50610f2c565b5090565b6001600160a01b038216612f735760405162461bcd60e51b81526004018080602001828103825260218152602001806137f16021913960400191505060405180910390fd5b612f7f82600083612c39565b612fbc8160405180606001604052806022815260200161371e602291396001600160a01b0385166000908152602081905260409020549190611de7565b6001600160a01b038316600090815260208190526040902055600254612fe2908261337b565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600061303461160e565b90508181101561306c5761305061304b838361337b565b6133bd565b61305861160e565b90508181106130675781613069565b805b91505b6130a8613077611b9c565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690846134a4565b5050565b6060613101826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166134f69092919063ffffffff16565b8051909150156120d95780806020019051602081101561312057600080fd5b50516120d95760405162461bcd60e51b815260040180806020018281038252602a81526020018061385b602a913960400191505060405180910390fd5b600081836131ac5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611e3b578181015183820152602001611e23565b5060008385816131b857fe5b0495945050505050565b600081613204576040805162461bcd60e51b815260206004820152600b60248201526a0616d6f756e7420697320360ac1b604482015290519081900360640190fd5b600061320e6107f2565b9050600061321d611f4461172e565b9050600082158061322c575081155b6132435761323e82610be3878661213f565b613245565b845b95945050505050565b610b47613259611b9c565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690308461350d565b6001600160a01b0382166132e6576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6132f260008383612c39565b6002546132ff90826120de565b6002556001600160a01b03821660009081526020819052604090205461332590826120de565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600061213883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611de7565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561342c57600080fd5b505afa158015613440573d6000803e3d6000fd5b505050506040513d602081101561345657600080fd5b505160408051632e1a7d4d60e01b81526004810185905290519192506001600160a01b03831691632e1a7d4d9160248082019260009290919082900301818387803b158015612eb957600080fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526120d99084906130ac565b60606135058484600085613567565b949350505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612dd39085906130ac565b6060613572856136d4565b6135c3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106136025780518252601f1990920191602091820191016135e3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613664576040519150601f19603f3d011682016040523d82523d6000602084013e613669565b606091505b5091509150811561367d5791506135059050565b80511561368d5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611e3b578181015183820152602001611e23565b3b15159056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636543616c6c6572206973206e6f742074686520636f6e74726f6c6c65720000000045524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d89549381f73f9bbc4fb2610cae273ac5989e91b106192156d704616dda04d2264736f6c634300060c0033000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd0217

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

000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd0217

-----Decoded View---------------
Arg [0] : _controller (address): 0xa4f1671d3aee73c05b552d57f2d16d3cfcbd0217

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


Deployed ByteCode Sourcemap

60504:597:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17436:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19542:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19542:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;18511:100;;;:::i;:::-;;;;;;;;;;;;;;;;39779:170;;;:::i;20185:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20185:321:0;;;;;;;;;;;;;;;;;:::i;42760:116::-;;;;;;;;;;;;;;;;-1:-1:-1;42760:116:0;;:::i;:::-;;40036:170;;;:::i;18363:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;56912:241;;;:::i;20915:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20915:218:0;;;;;;;;:::i;45664:214::-;;;:::i;56238:72::-;;;:::i;33103:26::-;;;:::i;42076:324::-;;;;;;;;;;;;;;;;-1:-1:-1;42076:324:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;33078:18::-;;;:::i;57786:186::-;;;:::i;18674:119::-;;;;;;;;;;;;;;;;-1:-1:-1;18674:119:0;-1:-1:-1;;;;;18674:119:0;;:::i;57340:154::-;;;:::i;40325:41::-;;;;;;;;;;;;;;;;-1:-1:-1;40325:41:0;-1:-1:-1;;;;;40325:41:0;;:::i;56162:68::-;;;:::i;17638:87::-;;;:::i;43268:221::-;;;;;;;;;;;;;;;;-1:-1:-1;43268:221:0;;:::i;56559:266::-;;;:::i;21636:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21636:269:0;;;;;;;;:::i;19006:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19006:175:0;;;;;;;;:::i;43727:332::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43727:332:0;;-1:-1:-1;43727:332:0;;-1:-1:-1;;;;;43727:332:0:i;41609:112::-;;;;;;;;;;;;;;;;-1:-1:-1;41609:112:0;;:::i;46560:116::-;;;:::i;46336:126::-;;;:::i;:::-;;;;-1:-1:-1;;;;;46336:126:0;;;;;;;;;;;;;;60782:120;;;;;;;;;;;;;;;;-1:-1:-1;60782:120:0;;:::i;58059:118::-;;;:::i;44546:995::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44546:995:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;57629:91::-;;;;;;;;;;;;;;;;-1:-1:-1;57629:91:0;-1:-1:-1;;;;;57629:91:0;;:::i;19244:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19244:151:0;;;;;;;;;;:::i;47064:124::-;;;:::i;40215:40::-;;;:::i;39618:45::-;;;:::i;39670:39::-;;;:::i;60976:122::-;;;;;;;;;;;;;;;;-1:-1:-1;60976:122:0;;:::i;39582:29::-;;;:::i;56318:74::-;;;:::i;56400:66::-;;;:::i;17436:83::-;17506:5;17499:12;;;;;;;;-1:-1:-1;;17499:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17473:13;;17499:12;;17506:5;;17499:12;;17506:5;17499:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17436:83;;:::o;19542:169::-;19625:4;19642:39;19651:12;:10;:12::i;:::-;19665:7;19674:6;19642:8;:39::i;:::-;-1:-1:-1;19699:4:0;19542:169;;;;;:::o;18511:100::-;18591:12;;18511:100;:::o;39779:170::-;39830:119;39779:170;:::o;20185:321::-;20291:4;20308:36;20318:6;20326:9;20337:6;20308:9;:36::i;:::-;20355:121;20364:6;20372:12;:10;:12::i;:::-;20386:89;20424:6;20386:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20386:19:0;;;;;;:11;:19;;;;;;20406:12;:10;:12::i;:::-;-1:-1:-1;;;;;20386:33:0;;;;;;;;;;;;-1:-1:-1;20386:33:0;;;:89;:37;:89::i;:::-;20355:8;:121::i;:::-;-1:-1:-1;20494:4:0;20185:321;;;;;:::o;42760:116::-;31717:1;32323:7;;:19;;32315:63;;;;;-1:-1:-1;;;32315:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32315:63:0;;;;;;;;;;;;;;;31717:1;32456:7;:18;33383:14:::1;::::0;;;::::1;;;33382:15;33374:46;;;::::0;;-1:-1:-1;;;33374:46:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33374:46:0;;;;;;;;;;;;;::::1;;42851:17:::2;42861:6;42851:9;:17::i;:::-;-1:-1:-1::0;31673:1:0;32635:7;:22;42760:116::o;40036:170::-;40087:119;40036:170;:::o;18363:83::-;18429:9;;;;18363:83;:::o;56912:241::-;56089:12;:10;:12::i;:::-;-1:-1:-1;;;;;56066:35:0;56074:10;-1:-1:-1;;;;;56066:35:0;;56058:76;;;;;-1:-1:-1;;;56058:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;56058:76:0;;;;;;;;;;;;;;;56980:16:::1;56999:10;-1:-1:-1::0;;;;;56999:19:0::1;;57027:4;56999:34;;;;;;;;;;;;;-1:-1:-1::0;;;;;56999:34:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;56999:34:0;;-1:-1:-1;57044:30:0::1;-1:-1:-1::0;;;;;57044:5:0::1;:17;56999:34:::0;57072:1:::1;57044:17;:30::i;:::-;57085:60;57133:8;57143:1;57102:8;-1:-1:-1::0;;;;;57092:25:0::1;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;57092:27:0;-1:-1:-1;;;;;57085:47:0::1;::::0;:60;:47:::1;:60::i;:::-;56145:1;56912:241::o:0;20915:218::-;21003:4;21020:83;21029:12;:10;:12::i;:::-;21043:7;21052:50;21091:10;21052:11;:25;21064:12;:10;:12::i;:::-;-1:-1:-1;;;;;21052:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21052:25:0;;;:34;;;;;;;;;;;:38;:50::i;45664:214::-;45715:7;45739:13;:11;:13::i;:::-;45735:77;;45781:19;45795:4;45781:13;:19::i;:::-;45774:26;;;;45735:77;45829:41;45856:13;:11;:13::i;:::-;45829:22;45846:4;45829:12;:10;:12::i;:::-;:16;;:22::i;:::-;:26;;:41::i;:::-;45822:48;;45664:214;:::o;56238:72::-;56089:12;:10;:12::i;:::-;-1:-1:-1;;;;;56066:35:0;56074:10;-1:-1:-1;;;;;56066:35:0;;56058:76;;;;;-1:-1:-1;;;56058:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;56058:76:0;;;;;;;;;;;;;;;56292:10:::1;:8;:10::i;:::-;56238:72::o:0;33103:26::-;;;;;;;;;:::o;42076:324::-;31717:1;32323:7;;:19;;32315:63;;;;;-1:-1:-1;;;32315:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32315:63:0;;;;;;;;;;;;;;;31717:1;32456:7;:18;33183:6:::1;::::0;::::1;::::0;::::1;;;33182:7;33174:36;;;::::0;;-1:-1:-1;;;33174:36:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33174:36:0;;;;;;;;;;;;;::::1;;42295:5:::2;-1:-1:-1::0;;;;;42275:34:0::2;;42310:12;:10;:12::i;:::-;42275:90;::::0;;-1:-1:-1;;;;;;42275:90:0::2;::::0;;;;;;-1:-1:-1;;;;;42275:90:0;;::::2;;::::0;::::2;::::0;42332:4:::2;42275:90:::0;;;;;;;;;;;;;;;;::::2;::::0;::::2;::::0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;42275:90:0;;;;;;;-1:-1:-1;42275:90:0;;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;42376:16;42385:6;42376:8;:16::i;:::-;-1:-1:-1::0;;31673:1:0;32635:7;:22;-1:-1:-1;;;42076:324:0:o;33078:18::-;;;;;;;;;:::o;57786:186::-;57838:7;57858:18;57889:10;-1:-1:-1;;;;;57889:19:0;;57917:4;57889:34;;;;;;;;;;;;;-1:-1:-1;;;;;57889:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57889:34:0;57942:22;;;-1:-1:-1;;;57942:22:0;;;;57889:34;;-1:-1:-1;;;;;;57942:20:0;;;;;:22;;;;;57889:34;;57942:22;;;;;;;;:20;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57942:22:0;;-1:-1:-1;;57786:186:0;:::o;18674:119::-;-1:-1:-1;;;;;18767:18:0;;18740:7;18767:18;;;;;;;;;;;18674:119;;;;:::o;57340:154::-;57389:18;57420:10;-1:-1:-1;;;;;57420:19:0;;57448:4;57420:34;;;;;;;;;;;;;-1:-1:-1;;;;;57420:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57420:34:0;57466:20;;;-1:-1:-1;;;57466:20:0;;;;57420:34;;-1:-1:-1;;;;;;57466:18:0;;;;;:20;;;;;;;;;;;;;;;;:18;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57340:154;:::o;40325:41::-;;;;;;;;;;;;;:::o;56162:68::-;56089:12;:10;:12::i;:::-;-1:-1:-1;;;;;56066:35:0;56074:10;-1:-1:-1;;;;;56066:35:0;;56058:76;;;;;-1:-1:-1;;;56058:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;56058:76:0;;;;;;;;;;;;;;;56214:8:::1;:6;:8::i;17638:87::-:0;17710:7;17703:14;;;;;;;;-1:-1:-1;;17703:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17677:13;;17703:14;;17710:7;;17703:14;;17710:7;17703:14;;;;;;;;;;;;;;;;;;;;;;;;43268:221;31717:1;32323:7;;:19;;32315:63;;;;;-1:-1:-1;;;32315:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32315:63:0;;;;;;;;;;;;;;;31717:1;32456:7;:18;33383:14:::1;::::0;;;::::1;;;33382:15;33374:46;;;::::0;;-1:-1:-1;;;33374:46:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33374:46:0;;;;;;;;;;;;;::::1;;43377:12:::2;-1:-1:-1::0;;;;;43377:16:0::2;;43394:12;:10;:12::i;:::-;43377:30;;;;;;;;;;;;;-1:-1:-1::0;;;;;43377:30:0::2;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;43377:30:0;43369:74:::2;;;::::0;;-1:-1:-1;;;43369:74:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;43454:27;43474:6;43454:19;:27::i;56559:266::-:0;56089:12;:10;:12::i;:::-;-1:-1:-1;;;;;56066:35:0;56074:10;-1:-1:-1;;;;;56066:35:0;;56058:76;;;;;-1:-1:-1;;;56058:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;56058:76:0;;;;;;;;;;;;;;;56626:16:::1;56645:10;-1:-1:-1::0;;;;;56645:19:0::1;;56673:4;56645:34;;;;;;;;;;;;;-1:-1:-1::0;;;;;56645:34:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;56645:34:0;;-1:-1:-1;56690:43:0::1;-1:-1:-1::0;;;;;56690:5:0::1;:17;56645:34:::0;-1:-1:-1;;56690:17:0::1;:43::i;:::-;56744:73;56792:8;-1:-1:-1::0;;56761:8:0::1;-1:-1:-1::0;;;;;56751:25:0::1;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;21636:269:::0;21729:4;21746:129;21755:12;:10;:12::i;:::-;21769:7;21778:96;21817:15;21778:96;;;;;;;;;;;;;;;;;:11;:25;21790:12;:10;:12::i;:::-;-1:-1:-1;;;;;21778:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21778:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;19006:175::-;19092:4;19109:42;19119:12;:10;:12::i;:::-;19133:9;19144:6;19109:9;:42::i;43727:332::-;43791:4;;43808:222;43832:4;:11;43828:1;:15;43808:222;;;43865:9;43896:2;43885:4;43890:1;43885:7;;;;;;;;;;;;;;:13;;43865:34;;43914:14;43931:4;43936:1;43931:7;;;;;;;;;;;;;;43942:13;43931:25;43914:42;;43979:19;43988:1;43991:6;43979:8;:19::i;:::-;43971:47;;;;;-1:-1:-1;;;43971:47:0;;;;;;;;;;;;-1:-1:-1;;;43971:47:0;;;;;;;;;;;;;;;-1:-1:-1;;43845:3:0;;43808:222;;41609:112;31717:1;32323:7;;:19;;32315:63;;;;;-1:-1:-1;;;32315:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32315:63:0;;;;;;;;;;;;;;;31717:1;32456:7;:18;33183:6:::1;::::0;::::1;::::0;::::1;;;33182:7;33174:36;;;::::0;;-1:-1:-1;;;33174:36:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33174:36:0;;;;;;;;;;;;;::::1;;41697:16:::2;41706:6;41697:8;:16::i;46560:116::-:0;46611:7;46638:5;-1:-1:-1;;;;;46638:15:0;;46662:4;46638:30;;;;;;;;;;;;;-1:-1:-1;;;;;46638:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46638:30:0;;-1:-1:-1;46560:116:0;:::o;46336:126::-;46389:7;46416:10;-1:-1:-1;;;;;46416:23:0;;46448:4;46416:38;;;;;;;;;;;;;-1:-1:-1;;;;;46416:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;60782:120;60849:7;60876:18;:6;60887;60876:10;:18::i;58059:118::-;58111:7;58138:31;58156:12;:10;:12::i;:::-;58138:13;:11;:13::i;:::-;:17;;:31::i;44546:995::-;44769:15;44757:8;:27;;44749:47;;;;;-1:-1:-1;;;44749:47:0;;;;;;;;;;;;-1:-1:-1;;;44749:47:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;45209:13:0;;;44807:14;45209:13;;;:6;:13;;;;;;;;:15;;;;;;;;;45011:279;;40087:119;45011:279;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44975:338;;;;;;-1:-1:-1;;;44865:467:0;;;;44937:15;44865:467;;;;;;;;;;;;;;;;;;;;;;;;;;;;44837:510;;;;;;;;;45378:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44837:510;;44807:14;;45378:26;;;;;45209:13;-1:-1:-1;;45378:26:0;;;;;;;;;;45209:15;45378:26;;;;;;;;;;;;;;;-1:-1:-1;;45378:26:0;;-1:-1:-1;;45378:26:0;;;-1:-1:-1;;;;;;;45423:23:0;;;;;;:45;;;45463:5;-1:-1:-1;;;;;45450:18:0;:9;-1:-1:-1;;;;;45450:18:0;;45423:45;45415:75;;;;;-1:-1:-1;;;45415:75:0;;;;;;;;;;;;-1:-1:-1;;;45415:75:0;;;;;;;;;;;;;;;45501:32;45510:5;45517:7;45526:6;45501:8;:32::i;:::-;44546:995;;;;;;;;;:::o;57629:91::-;57693:19;57705:6;57693:11;:19::i;19244:151::-;-1:-1:-1;;;;;19360:18:0;;;19333:7;19360:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19244:151::o;47064:124::-;47116:7;47143:10;-1:-1:-1;;;;;47143:22:0;;47174:4;47143:37;;;;;;;;;;;;;-1:-1:-1;;;;;47143:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;40215:40;;;:::o;39618:45::-;;;:::o;39670:39::-;;;:::o;60976:122::-;61045:7;61072:18;:6;61083;61072:10;:18::i;39582:29::-;;;:::o;56318:74::-;56089:12;:10;:12::i;:::-;-1:-1:-1;;;;;56066:35:0;56074:10;-1:-1:-1;;;;;56066:35:0;;56058:76;;;;;-1:-1:-1;;;56058:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;56058:76:0;;;;;;;;;;;;;;;56373:11:::1;:9;:11::i;56400:66::-:0;56089:12;:10;:12::i;:::-;-1:-1:-1;;;;;56066:35:0;56074:10;-1:-1:-1;;;;;56066:35:0;;56058:76;;;;;-1:-1:-1;;;56058:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;56058:76:0;;;;;;;;;;;;;;;56451:7:::1;:5;:7::i;657:106::-:0;745:10;657:106;:::o;24781:346::-;-1:-1:-1;;;;;24883:19:0;;24875:68;;;;-1:-1:-1;;;24875:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24962:21:0;;24954:68;;;;-1:-1:-1;;;24954:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25035:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25087:32;;;;;;;;;;;;;;;;;24781:346;;;:::o;22395:539::-;-1:-1:-1;;;;;22501:20:0;;22493:70;;;;-1:-1:-1;;;22493:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22582:23:0;;22574:71;;;;-1:-1:-1;;;22574:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22658:47;22679:6;22687:9;22698:6;22658:20;:47::i;:::-;22738:71;22760:6;22738:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22738:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;22718:17:0;;;:9;:17;;;;;;;;;;;:91;;;;22843:20;;;;;;;:32;;22868:6;22843:24;:32::i;:::-;-1:-1:-1;;;;;22820:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;22891:35;;;;;;;22820:20;;22891:35;;;;;;;;;;;;;22395:539;;;:::o;5642:192::-;5728:7;5764:12;5756:6;;;;5748:29;;;;-1:-1:-1;;;5748:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5800:5:0;;;5642:192::o;50551:454::-;33383:14;;;;;;;33382:15;33374:46;;;;;-1:-1:-1;;;33374:46:0;;;;;;;;;;;;-1:-1:-1;;;33374:46:0;;;;;;;;;;;;;;;50630:11;50622:34:::1;;;::::0;;-1:-1:-1;;;50622:34:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50622:34:0;;;;;;;;;;;;;::::1;;50667:22;50682:6;50667:14;:22::i;:::-;50700;50725:18;50736:6;50725:10;:18::i;:::-;50700:43;;50754:14;50784:79;50798:64;50848:13;:11;:13::i;:::-;50798:45;50817:25;50829:12;:10;:12::i;:::-;50817:11;:25::i;:::-;50798:14:::0;;:18:::1;:45::i;:64::-;50784:13;:79::i;:::-;50754:109;;50876:35;50882:12;:10;:12::i;:::-;50896:14;50876:5;:35::i;:::-;50922:21;50936:6;50922:13;:21::i;:::-;50968:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;50959:38:0::1;;50982:6;50990;50959:38;;;;;;;;;;;;;;;;;;;;;;;;33431:1;;50551:454:::0;:::o;27568:622::-;27938:10;;;27937:62;;-1:-1:-1;27954:39:0;;;-1:-1:-1;;;27954:39:0;;27978:4;27954:39;;;;-1:-1:-1;;;;;27954:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27954:39:0;:44;27937:62;27929:152;;;;-1:-1:-1;;;27929:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28119:62;;;-1:-1:-1;;;;;28119:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28119:62:0;-1:-1:-1;;;28119:62:0;;;28092:90;;28112:5;;28092:19;:90::i;:::-;27568:622;;;:::o;4739:181::-;4797:7;4829:5;;;4853:6;;;;4845:46;;;;;-1:-1:-1;;;4845:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4911:1;4739:181;-1:-1:-1;;;4739:181:0:o;6093:471::-;6151:7;6396:6;6392:47;;-1:-1:-1;6426:1:0;6419:8;;6392:47;6463:5;;;6467:1;6463;:5;:1;6487:5;;;;;:10;6479:56;;;;-1:-1:-1;;;6479:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7040:132;7098:7;7125:39;7129:1;7132;7125:39;;;;;;;;;;;;;;;;;:3;:39::i;33847:135::-;33277:6;;;;;;;33269:39;;;;;-1:-1:-1;;;33269:39:0;;;;;;;;;;;;-1:-1:-1;;;33269:39:0;;;;;;;;;;;;;;;33383:14:::1;::::0;;;::::1;;;33382:15;33374:46;;;::::0;;-1:-1:-1;;;33374:46:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33374:46:0;;;;;;;;;;;;;::::1;;33922:6:::2;:14:::0;;-1:-1:-1;;33922:14:0::2;::::0;;33952:22:::2;33961:12;:10;:12::i;:::-;33952:22;::::0;;-1:-1:-1;;;;;33952:22:0;;::::2;::::0;;;;;;;::::2;::::0;;::::2;33847:135::o:0;49142:286::-;33183:6;;;;;;;33182:7;33174:36;;;;;-1:-1:-1;;;33174:36:0;;;;;;;;;;;;-1:-1:-1;;;33174:36:0;;;;;;;;;;;;;;;49210:14:::1;49227:37;49244:19;49256:6;49244:11;:19::i;:::-;49227:16;:37::i;:::-;49210:54;;49275:22;49290:6;49275:14;:22::i;:::-;49308:27;49314:12;:10;:12::i;:::-;49328:6;49308:5;:27::i;:::-;49346:21;49360:6;49346:13;:21::i;:::-;49391:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;49383:37:0::1;;49405:6;49413;49383:37;;;;;;;;;;;;;;;;;;;;;;;;33221:1;49142:286:::0;:::o;33628:117::-;33183:6;;;;;;;33182:7;33174:36;;;;;-1:-1:-1;;;33174:36:0;;;;;;;;;;;;-1:-1:-1;;;33174:36:0;;;;;;;;;;;;;;;33688:6:::1;:13:::0;;-1:-1:-1;;33688:13:0::1;;;::::0;;33717:20:::1;33724:12;:10;:12::i;51083:384::-:0;51156:11;51148:55;;;;;-1:-1:-1;;;51148:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;51214:22;51229:6;51214:14;:22::i;:::-;51247:14;51264:71;51278:56;51320:13;:11;:13::i;51264:71::-;51247:88;;51346:27;51352:12;:10;:12::i;51346:27::-;51384:21;51398:6;51384:13;:21::i;:::-;51430:12;:10;:12::i;:::-;-1:-1:-1;;;;;51421:38:0;;51444:6;51452;51421:38;;;;;;;;;;;;;;;;;;;;;;;;51083:384;;:::o;59444:947::-;59500:18;59531:10;-1:-1:-1;;;;;59531:19:0;;59559:4;59531:34;;;;;;;;;;;;;-1:-1:-1;;;;;59531:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59531:34:0;;-1:-1:-1;59616:5:0;-1:-1:-1;;;;;59599:23:0;;;;;;;;;;:49;;-1:-1:-1;;;;;;59626:22:0;;59643:4;59626:22;;59599:49;:85;;;;;59653:8;-1:-1:-1;;;;;59653:24:0;;59678:5;59653:31;;;;;;;;;;;;;-1:-1:-1;;;;;59653:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59653:31:0;59652:32;59599:85;59577:155;;;;;-1:-1:-1;;;59577:155:0;;;;;;;;;;;;-1:-1:-1;;;59577:155:0;;;;;;;;;;;;;;;59743:32;59797:10;-1:-1:-1;;;;;59797:24:0;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59797:26:0;59849:38;;;-1:-1:-1;;;59849:38:0;;59881:4;59849:38;;;;;;59797:26;;-1:-1:-1;59835:11:0;;-1:-1:-1;;;;;59849:23:0;;;;;:38;;;;;59797:26;;59849:38;;;;;;;:23;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59849:38:0;;-1:-1:-1;59898:54:0;-1:-1:-1;;;;;59898:25:0;;59932:13;59849:38;59898:25;:54::i;:::-;59963:21;60007:5;-1:-1:-1;;;;;59999:22:0;55688:42;59999:22;59995:301;;;60045:16;;;60059:1;60045:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60045:16:0;60038:23;;60086:5;60076:4;60081:1;60076:7;;;;;;;;;;;;;:15;-1:-1:-1;;;;;60076:15:0;;;-1:-1:-1;;;;;60076:15:0;;;;;60124:5;60106:4;60111:1;60106:7;;;;;;;;;;;;;:24;-1:-1:-1;;;;;60106:24:0;;;-1:-1:-1;;;;;60106:24:0;;;;;59995:301;;;60170:16;;;60184:1;60170:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60170:16:0;60163:23;;60211:5;60201:4;60206:1;60201:7;;;;;;;;;;;;;:15;-1:-1:-1;;;;;60201:15:0;;;-1:-1:-1;;;;;60201:15:0;;;;;55688:42;60231:4;60236:1;60231:7;;;;;;;;;;;;;:14;-1:-1:-1;;;;;60231:14:0;;;-1:-1:-1;;;;;60231:14:0;;;;;60278:5;60260:4;60265:1;60260:7;;;;;;;;;;;;;:24;-1:-1:-1;;;;;60260:24:0;;;-1:-1:-1;;;;;60260:24:0;;;;;59995:301;60306:13;-1:-1:-1;;;;;60306:38:0;;60345:3;60350:1;60353:4;60367;60374:3;60380:2;60374:8;60306:77;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;60306:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;60306:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60306:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59444:947;;;;;:::o;34059:156::-;33383:14;;;;;;;33382:15;33374:46;;;;;-1:-1:-1;;;33374:46:0;;;;;;;;;;;;-1:-1:-1;;;33374:46:0;;;;;;;;;;;;;;;34124:14:::1;:21:::0;;-1:-1:-1;;;;34124:21:0;;::::1;::::0;::::1;34156:13;34124:21;34156:13;::::0;;34185:22:::1;34194:12;:10;:12::i;34296:122::-:0;33491:14;;;;;;;33483:49;;;;;-1:-1:-1;;;33483:49:0;;;;;;;;;;;;-1:-1:-1;;;33483:49:0;;;;;;;;;;;;;;;34354:14:::1;:22:::0;;-1:-1:-1;;34354:22:0::1;::::0;;34392:18:::1;34397:12;:10;:12::i;49962:499::-:0;50111:19;50133:10;-1:-1:-1;;;;;50133:22:0;;50164:4;50133:37;;;;;;;;;;;;;-1:-1:-1;;;;;50133:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50133:37:0;;-1:-1:-1;;;;;;50185:25:0;;;50181:273;;-1:-1:-1;;;;;50231:18:0;;;50227:103;;50283:11;-1:-1:-1;;;;;50270:38:0;;50309:4;50270:44;;;;;;;;;;;;;-1:-1:-1;;;;;50270:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50227:103;-1:-1:-1;;;;;50348:16:0;;;50344:99;;50398:11;-1:-1:-1;;;;;50385:38:0;;50424:2;50385:42;;;;;;;;;;;;;-1:-1:-1;;;;;50385:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50344:99;49962:499;;;;:::o;58900:201::-;58991:18;59022:10;-1:-1:-1;;;;;59022:19:0;;59050:4;59022:34;;;;;;;;;;;;;-1:-1:-1;;;;;59022:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59022:34:0;59068:25;;;-1:-1:-1;;;59068:25:0;;;;59022:34;;-1:-1:-1;;;;;;59068:23:0;;;;;:25;;;;;;;;;;;;;;;;:23;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58900:201;;:::o;49517:364::-;49571:23;49611:13;:11;:13::i;:::-;:18;49607:267;;49646:12;49661:35;49691:4;49661:25;49672:13;:11;:13::i;49661:35::-;49646:50;-1:-1:-1;49729:16:0;:6;49646:50;49729:10;:16::i;:::-;49711:34;;49760:45;49770:12;:10;:12::i;:::-;49784:14;:12;:14::i;:::-;49800:4;49760:9;:45::i;:::-;49607:267;;;;-1:-1:-1;49856:6:0;49517:364::o;23925:418::-;-1:-1:-1;;;;;24009:21:0;;24001:67;;;;-1:-1:-1;;;24001:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24081:49;24102:7;24119:1;24123:6;24081:20;:49::i;:::-;24164:68;24187:6;24164:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24164:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;24143:18:0;;:9;:18;;;;;;;;;;:89;24258:12;;:24;;24275:6;24258:16;:24::i;:::-;24243:12;:39;24298:37;;;;;;;;24324:1;;-1:-1:-1;;;;;24298:37:0;;;;;;;;;;;;23925:418;;:::o;58356:383::-;58425:19;58447:12;:10;:12::i;:::-;58425:34;;58488:7;58474:11;:21;58470:210;;;58512:45;58532:24;:7;58544:11;58532;:24::i;:::-;58512:19;:45::i;:::-;58586:12;:10;:12::i;:::-;58572:26;;58637:7;58623:11;:21;:45;;58661:7;58623:45;;;58647:11;58623:45;58613:55;;58470:210;58690:41;58709:12;:10;:12::i;:::-;-1:-1:-1;;;;;58690:5:0;:18;;58723:7;58690:18;:41::i;:::-;58356:383;;:::o;29214:761::-;29638:23;29664:69;29692:4;29664:69;;;;;;;;;;;;;;;;;29672:5;-1:-1:-1;;;;;29664:27:0;;;:69;;;;;:::i;:::-;29748:17;;29638:95;;-1:-1:-1;29748:21:0;29744:224;;29890:10;29879:30;;;;;;;;;;;;;;;-1:-1:-1;29879:30:0;29871:85;;;;-1:-1:-1;;;29871:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7668:278;7754:7;7789:12;7782:5;7774:28;;;;-1:-1:-1;;;7774:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7813:9;7829:1;7825;:5;;;;;;;7668:278;-1:-1:-1;;;;;7668:278:0:o;48638:426::-;48703:7;48731:11;48723:35;;;;;-1:-1:-1;;;48723:35:0;;;;;;;;;;;;-1:-1:-1;;;48723:35:0;;;;;;;;;;;;;;;48771:20;48794:13;:11;:13::i;:::-;48771:36;;48818:19;48840:25;48852:12;:10;:12::i;48840:25::-;48818:47;-1:-1:-1;48876:14:0;48907:17;;;:37;;-1:-1:-1;48928:16:0;;48907:37;48906:126;;48991:41;49020:11;48991:24;:6;49002:12;48991:10;:24::i;:41::-;48906:126;;;48965:6;48906:126;48876:156;48638:426;-1:-1:-1;;;;;48638:426:0:o;59109:136::-;59178:59;59201:12;:10;:12::i;:::-;-1:-1:-1;;;;;59178:5:0;:22;;59223:4;59230:6;59178:22;:59::i;23215:378::-;-1:-1:-1;;;;;23299:21:0;;23291:65;;;;;-1:-1:-1;;;23291:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23369:49;23398:1;23402:7;23411:6;23369:20;:49::i;:::-;23446:12;;:24;;23463:6;23446:16;:24::i;:::-;23431:12;:39;-1:-1:-1;;;;;23502:18:0;;:9;:18;;;;;;;;;;;:30;;23525:6;23502:22;:30::i;:::-;-1:-1:-1;;;;;23481:18:0;;:9;:18;;;;;;;;;;;:51;;;;23548:37;;;;;;;23481:18;;:9;;23548:37;;;;;;;;;;23215:378;;:::o;5203:136::-;5261:7;5288:43;5292:1;5295;5288:43;;;;;;;;;;;;;;;;;:3;:43::i;59253:183::-;59326:18;59357:10;-1:-1:-1;;;;;59357:19:0;;59385:4;59357:34;;;;;;;;;;;;;-1:-1:-1;;;;;59357:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59357:34:0;59403:25;;;-1:-1:-1;;;59403:25:0;;;;;;;;;;59357:34;;-1:-1:-1;;;;;;59403:17:0;;;;;:25;;;;;-1:-1:-1;;59403:25:0;;;;;;;;-1:-1:-1;59403:17:0;:25;;;;;;;;;;26909:177;27019:58;;;-1:-1:-1;;;;;27019:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27019:58:0;-1:-1:-1;;;27019:58:0;;;26992:86;;27012:5;;26992:19;:86::i;12883:196::-;12986:12;13018:53;13041:6;13049:4;13055:1;13058:12;13018:22;:53::i;:::-;13011:60;12883:196;-1:-1:-1;;;;12883:196:0:o;27094:205::-;27222:68;;;-1:-1:-1;;;;;27222:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27222:68:0;-1:-1:-1;;;27222:68:0;;;27195:96;;27215:5;;27195:19;:96::i;14260:979::-;14390:12;14423:18;14434:6;14423:10;:18::i;:::-;14415:60;;;;;-1:-1:-1;;;14415:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14549:12;14563:23;14590:6;-1:-1:-1;;;;;14590:11:0;14610:8;14621:4;14590:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14590:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14548:78;;;;14641:7;14637:595;;;14672:10;-1:-1:-1;14665:17:0;;-1:-1:-1;14665:17:0;14637:595;14786:17;;:21;14782:439;;15049:10;15043:17;15110:15;15097:10;15093:2;15089:19;15082:44;14997:148;15185:20;;-1:-1:-1;;;15185:20:0;;;;;;;;;;;;;;;;;15192:12;;15185:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9965:422;10332:20;10371:8;;;9965:422::o

Swarm Source

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