ETH Price: $3,466.39 (+1.62%)

Token

vUSDC Pool (vUSDC)
 

Overview

Max Total Supply

168,556.674617385626673802 vUSDC

Holders

1,821

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000000885561865663 vUSDC

Value
$0.00
0xA4f25102E7B022ad4e04de84A7F91a70C8D78F02
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

vUSDC reflects the tokenized pool shares for the Vesper USDC Holding Pool. The vUSDC token is interest bearing as the underlying USDC tokens are utilized to generate yield, which adds additional USDC per-token.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
VUSDC

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 2020-12-18
*/

// 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.
     * @dev Modifier updatedReward is being used to update reward earning of caller.
     * @param amount ERC20 token amount.
     */
    function deposit(uint256 amount) external virtual nonReentrant whenNotPaused {
        _deposit(amount);
    }

    /**
     * @notice Deposit ERC20 tokens with permit aka gasless approval.
     * @dev Modifier updatedReward is being used to update reward earning of caller.
     * @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 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.
     * @dev Modifier updatedReward is being used to update reward earning of caller.
     * 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.
     * @dev Modifier updatedReward is being used to update reward earning of caller.
     * 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 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 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 VUSDC is VTokenBase {
    constructor(address _controller)
        public
        VTokenBase("vUSDC Pool", "vUSDC", 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"}]

6101006040523480156200001257600080fd5b5060405162003da038038062003da0833981810160405260208110156200003857600080fd5b5051604080518082018252600a8152691d9554d110c8141bdbdb60b21b602082810191825283518085019094526005845264765553444360d81b90840152815191929173a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48918591859185918591859185918591620000ad916003916200031f565b508051620000c39060049060208401906200031f565b50506005805460ff191660121790555060016006556001600160601b0319606083811b821660805282901b1660c05260408051630fab4d2560e01b81529051469173d57b41649f822c51a73c44ba0b3da4a880af0029916000918391630fab4d259160048082019260209290919082900301818787803b1580156200014757600080fd5b505af11580156200015c573d6000803e3d6000fd5b505050506040513d60208110156200017357600080fd5b505160408051632f2ff15d60e01b81527f679f35d3aa86a98333c7fc7439a0bc12a13be742ae62a4c1cc3820782a2e11a660048201526001600160a01b038781166024830152915192935090831691632f2ff15d9160448082019260009290919082900301818387803b158015620001ea57600080fd5b505af1158015620001ff573d6000803e3d6000fd5b50505050606090811b6001600160601b03191660a0908152875160209889012060408051808201825260018152603160f81b908b015280517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818c0152808201929092527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc693820193909352608081019490945230848201528151808503909101815260c0909301905250805194019390932060e0525050506001600160a01b03811662000314576040805162461bcd60e51b815260206004820152601a60248201527f436f6e74726f6c6c65722061646472657373206973207a65726f000000000000604482015290519081900360640190fd5b5050505050620003bb565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200036257805160ff191683800117855562000392565b8280016001018555821562000392579182015b828111156200039257825182559160200191906001019062000375565b50620003a0929150620003a4565b5090565b5b80821115620003a05760008155600101620003a5565b60805160601c60a05160601c60c05160601c60e0516139156200048b6000398061181f52806119f752508061099252806109fe5280610c015280610e055280610f35528061105152806112cd528061133952806116b2528061198a5280611a3f5280611aa95280611b2c528061250e52806126bb5280612c3d5280612ddd52806133c15250806111c25280611a1b525080610aa45280610d1f52806113df52806116125280611a7452806125a952806127d0528061286352806129475280613081528061326352506139156000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c806397a5af5511610146578063d505accf116100c3578063f6ecd3d511610087578063f6ecd3d5146106f8578063f77c479114610700578063fb589de214610708578063fc0c546a14610725578063fc0e74d11461072d578063fcfff16f146107355761025e565b8063d505accf14610643578063d9fe3eae14610694578063dd62ed3e146106ba578063e941fa78146106e8578063f698da25146106f05761025e565b8063b6b55f251161010a578063b6b55f25146105d5578063b8cb343d146105f2578063c415b95c146105fa578063ce27b9031461061e578063d4c3eea01461063b5761025e565b806397a5af55146104b557806399b71d5c146104d2578063a457c2d7146104da578063a9059cbb14610506578063b33fcc7a146105325761025e565b80633d68175c116101df5780636a630559116101a35780636a6305591461044957806370a08231146104515780637d7c2a1c146104775780637ecebe001461047f5780638456cb59146104a557806395d89b41146104ad5761025e565b80633d68175c146103f15780633f4ba83a146103f95780634938649a146104015780634a970be7146104095780635c975abb146104415761025e565b80632e1a7d4d116102265780632e1a7d4d1461037857806330adf81f14610397578063313ce5671461039f578063330b8b71146103bd57806339509351146103c55761025e565b806306fdde0314610263578063095ea7b3146102e057806318160ddd1461032057806320606b701461033a57806323b872dd14610342575b600080fd5b61026b61073d565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a557818101518382015260200161028d565b50505050905090810190601f1680156102d25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61030c600480360360408110156102f657600080fd5b506001600160a01b0381351690602001356107d4565b604080519115158252519081900360200190f35b6103286107f2565b60408051918252519081900360200190f35b6103286107f8565b61030c6004803603606081101561035857600080fd5b506001600160a01b0381358116916020810135909116906040013561081c565b6103956004803603602081101561038e57600080fd5b50356108a3565b005b610328610952565b6103a7610976565b6040805160ff9092168252519081900360200190f35b61039561097f565b61030c600480360360408110156103db57600080fd5b506001600160a01b038135169060200135610b4a565b610328610b98565b610395610bee565b61030c610c73565b610395600480360360a081101561041f57600080fd5b5080359060208101359060ff6040820135169060608101359060800135610c82565b61030c610df2565b610328610e00565b6103286004803603602081101561046757600080fd5b50356001600160a01b0316610f12565b610395610f31565b6103286004803603602081101561049557600080fd5b50356001600160a01b031661102c565b61039561103e565b61026b6110c1565b610395600480360360208110156104cb57600080fd5b5035611122565b6103956112ba565b61030c600480360360408110156104f057600080fd5b506001600160a01b038135169060200135611448565b61030c6004803603604081101561051c57600080fd5b506001600160a01b0381351690602001356114b0565b61030c6004803603602081101561054857600080fd5b81019060208101813564010000000081111561056357600080fd5b82018360208201111561057557600080fd5b8035906020019184602083028401116401000000008311171561059757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506114c4945050505050565b610395600480360360208110156105eb57600080fd5b503561156a565b61032861160e565b6106026116ae565b604080516001600160a01b039092168252519081900360200190f35b6103286004803603602081101561063457600080fd5b503561171d565b61032861172e565b610395600480360360e081101561065957600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611749565b610395600480360360208110156106aa57600080fd5b50356001600160a01b0316611952565b610328600480360360408110156106d057600080fd5b506001600160a01b038135811691602001351661195b565b610328611986565b6103286119f5565b610602611a19565b610602611a3d565b6103286004803603602081101561071e57600080fd5b5035611a61565b610602611a72565b610395611a96565b610395611b19565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107c95780601f1061079e576101008083540402835291602001916107c9565b820191906000526020600020905b8154815290600101906020018083116107ac57829003601f168201915b505050505090505b90565b60006107e86107e1611b9c565b8484611ba0565b5060015b92915050565b60025490565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b6000610829848484611c8c565b61089984610835611b9c565b610894856040518060600160405280602881526020016137a9602891396001600160a01b038a16600090815260016020526040812090610873611b9c565b6001600160a01b031681526020810191909152604001600020549190611de7565b611ba0565b5060019392505050565b600260065414156108e9576040805162461bcd60e51b815260206004820152601f60248201526000805160206136fe833981519152604482015290519081900360640190fd5b600260065560055462010000900460ff1615610941576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b61094a81611e7e565b506001600655565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b610987611b9c565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146109fa576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610a6957600080fd5b505afa158015610a7d573d6000803e3d6000fd5b505050506040513d6020811015610a9357600080fd5b50519050610acc6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016826000611fc6565b610b47816000836001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b0b57600080fd5b505afa158015610b1f573d6000803e3d6000fd5b505050506040513d6020811015610b3557600080fd5b50516001600160a01b03169190611fc6565b50565b60006107e8610b57611b9c565b846108948560016000610b68611b9c565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906120de565b6000610ba26107f2565b610bbe57610bb7670de0b6b3a7640000611a61565b90506107d1565b610be9610bc96107f2565b610be3670de0b6b3a7640000610bdd61172e565b9061213f565b90612198565b905090565b610bf6611b9c565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610c69576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b610c716121da565b565b60055462010000900460ff1681565b60026006541415610cc8576040805162461bcd60e51b815260206004820152601f60248201526000805160206136fe833981519152604482015290519081900360640190fd5b6002600655600554610100900460ff1615610d1d576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d505accf610d54611b9c565b604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152306024830152604482018990526064820188905260ff8716608483015260a4820186905260c482018590525160e480830192600092919082900301818387803b158015610dc557600080fd5b505af1158015610dd9573d6000803e3d6000fd5b50505050610de6856122d1565b50506001600655505050565b600554610100900460ff1681565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e7057600080fd5b505afa158015610e84573d6000803e3d6000fd5b505050506040513d6020811015610e9a57600080fd5b505160408051632b448a0960e11b815290519192506001600160a01b03831691635689141291600480820192602092909190829003018186803b158015610ee057600080fd5b505afa158015610ef4573d6000803e3d6000fd5b505050506040513d6020811015610f0a57600080fd5b505191505090565b6001600160a01b0381166000908152602081905260409020545b919050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610fa057600080fd5b505afa158015610fb4573d6000803e3d6000fd5b505050506040513d6020811015610fca57600080fd5b505160408051631f5f0a8760e21b815290519192506001600160a01b03831691637d7c2a1c9160048082019260009290919082900301818387803b15801561101157600080fd5b505af1158015611025573d6000803e3d6000fd5b5050505050565b60076020526000908152604090205481565b611046611b9c565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146110b9576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b610c716123ad565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107c95780601f1061079e576101008083540402835291602001916107c9565b60026006541415611168576040805162461bcd60e51b815260206004820152601f60248201526000805160206136fe833981519152604482015290519081900360640190fd5b600260065560055462010000900460ff16156111c0576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c2bc2efc6111f7611b9c565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561123457600080fd5b505afa158015611248573d6000803e3d6000fd5b505050506040513d602081101561125e57600080fd5b50516112b1576040805162461bcd60e51b815260206004820152601a60248201527f4e6f742061207768697465206c69737465642061646472657373000000000000604482015290519081900360640190fd5b61094a81612435565b6112c2611b9c565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614611335576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156113a457600080fd5b505afa1580156113b8573d6000803e3d6000fd5b505050506040513d60208110156113ce57600080fd5b505190506114086001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001682600019611fc6565b610b4781600019836001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b0b57600080fd5b60006107e8611455611b9c565b84610894856040518060600160405280602581526020016138bb602591396001600061147f611b9c565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611de7565b60006107e86114bd611b9c565b8484611c8c565b6000805b82518110156107e857600060608483815181106114e157fe5b6020026020010151901c905060008483815181106114fb57fe5b60200260200101516bffffffffffffffffffffffff16905061151d82826114b0565b611560576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b50506001016114c8565b600260065414156115b0576040805162461bcd60e51b815260206004820152601f60248201526000805160206136fe833981519152604482015290519081900360640190fd5b6002600655600554610100900460ff1615611605576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61094a816122d1565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561167d57600080fd5b505afa158015611691573d6000803e3d6000fd5b505050506040513d60208110156116a757600080fd5b5051905090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a06e01ba306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561167d57600080fd5b60006107ec8264e8d4a5100061213f565b6000610be961173b61160e565b611743610e00565b906120de565b42841015611788576040805162461bcd60e51b8152602060048201526007602482015266115e1c1a5c995960ca1b604482015290519081900360640190fd5b6001600160a01b0380881660008181526007602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958c166060860152608085018b905260a085019590955260c08085018a90528151808603909101815260e08501825280519083012061190160f01b6101008601527f00000000000000000000000000000000000000000000000000000000000000006101028601526101228086019190915281518086039091018152610142850180835281519184019190912090849052610162850180835281905260ff89166101828601526101a285018890526101c285018790529051909492936101e28082019392601f1981019281900390910190855afa1580156118c1573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906118f75750886001600160a01b0316816001600160a01b0316145b61193c576040805162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b604482015290519081900360640190fd5b611947898989611ba0565b505050505050505050565b610b478161250a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631ac3ddeb306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561167d57600080fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006107ec8264e8d4a51000612198565b7f000000000000000000000000000000000000000000000000000000000000000081565b611a9e611b9c565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614611b11576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b610c71612b16565b611b21611b9c565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614611b94576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b610c71612bae565b3390565b6001600160a01b038316611be55760405162461bcd60e51b81526004018080602001828103825260248152602001806138376024913960400191505060405180910390fd5b6001600160a01b038216611c2a5760405162461bcd60e51b81526004018080602001828103825260228152602001806137406022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611cd15760405162461bcd60e51b81526004018080602001828103825260258152602001806138126025913960400191505060405180910390fd5b6001600160a01b038216611d165760405162461bcd60e51b81526004018080602001828103825260238152602001806136db6023913960400191505060405180910390fd5b611d21838383612c39565b611d5e81604051806060016040528060268152602001613762602691396001600160a01b0386166000908152602081905260409020549190611de7565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611d8d90826120de565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611e765760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e3b578181015183820152602001611e23565b50505050905090810190601f168015611e685780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60055462010000900460ff1615611ed1576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b80611f10576040805162461bcd60e51b815260206004820152600a6024820152690736861726520697320360b41b604482015290519081900360640190fd5b611f1981612dd9565b6000611f2482612ed5565b90506000611f55611f50611f366107f2565b610be3611f49611f4461172e565b61171d565b869061213f565b611a61565b9050611f68611f62611b9c565b83612f2e565b611f718161302a565b611f79611b9c565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688483604051808381526020018281526020019250505060405180910390a2505050565b80158061204c575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561201e57600080fd5b505afa158015612032573d6000803e3d6000fd5b505050506040513d602081101561204857600080fd5b5051155b6120875760405162461bcd60e51b81526004018080602001828103825260368152602001806138856036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526120d99084906130ac565b505050565b600082820183811015612138576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008261214e575060006107ec565b8282028284828161215b57fe5b04146121385760405162461bcd60e51b81526004018080602001828103825260218152602001806137886021913960400191505060405180910390fd5b600061213883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061315d565b600554610100900460ff1661222d576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b60055462010000900460ff1615612280576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b6005805461ff00191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6122b4611b9c565b604080516001600160a01b039092168252519081900360200190a1565b600554610100900460ff1615612321576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600061233461232f8361171d565b6131c2565b905061233f8261324e565b61235061234a611b9c565b8261328b565b61235982610b47565b612361611b9c565b6001600160a01b03167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a158284604051808381526020018281526020019250505060405180910390a25050565b600554610100900460ff16156123fd576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6005805461ff0019166101001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586122b4611b9c565b80612487576040805162461bcd60e51b815260206004820152601f60248201527f5769746864726177206d7573742062652067726561746572207468616e203000604482015290519081900360640190fd5b61249081612dd9565b60006124a0611f50611f366107f2565b90506124ad611f62611b9c565b6124b68161302a565b6124be611b9c565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688383604051808381526020018281526020019250505060405180910390a25050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561257957600080fd5b505afa15801561258d573d6000803e3d6000fd5b505050506040513d60208110156125a357600080fd5b505190507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116908316148015906125ed57506001600160a01b0382163014155b801561266f5750806001600160a01b031663440d7248836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561264157600080fd5b505afa158015612655573d6000803e3d6000fd5b505050506040513d602081101561266b57600080fd5b5051155b6126b7576040805162461bcd60e51b815260206004820152601460248201527304e6f7420616c6c6f77656420746f2073776565760641b604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663735de9f76040518163ffffffff1660e01b815260040160206040518083038186803b15801561271257600080fd5b505afa158015612726573d6000803e3d6000fd5b505050506040513d602081101561273c57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038616916370a08231916024808301926020929190829003018186803b15801561278a57600080fd5b505afa15801561279e573d6000803e3d6000fd5b505050506040513d60208110156127b457600080fd5b505190506127cc6001600160a01b0385168383611fc6565b60607f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc214156128b4576040805160028082526060820183529091602083019080368337019050509050848160008151811061284157fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061288f57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050612994565b60408051600380825260808201909252906020820160608036833701905050905084816000815181106128e357fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160018151811061292557fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160028151811061297357fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b826001600160a01b03166338ed1739836001843042601e016040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015612a1c578181015183820152602001612a04565b505050509050019650505050505050600060405180830381600087803b158015612a4557600080fd5b505af1158015612a59573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612a8257600080fd5b8101908080516040519392919084640100000000821115612aa257600080fd5b908301906020820185811115612ab757600080fd5b8251866020820283011164010000000082111715612ad457600080fd5b82525081516020918201928201910280838360005b83811015612b01578181015183820152602001612ae9565b50505050905001604052505050505050505050565b60055462010000900460ff1615612b69576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b6005805461ff001962ff0000199091166201000017166101001790557f28b4c24cb1012c094cd2f59f98e89d791973295f8fda6eaa118022d6d318960a6122b4611b9c565b60055462010000900460ff16612c04576040805162461bcd60e51b81526020600482015260166024820152752830bab9b0b136329d103737ba1039b43aba3237bbb760511b604482015290519081900360640190fd5b6005805462ff0000191690557fece7583a70a505ef0e36d4dec768f5ae597713e09c26011022599ee01abdabfc6122b4611b9c565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663dd5aba4b306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612ca857600080fd5b505afa158015612cbc573d6000803e3d6000fd5b505050506040513d6020811015612cd257600080fd5b505190506001600160a01b03811615612dd3576001600160a01b03841615612d5c57806001600160a01b031663632447c9856040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015612d4357600080fd5b505af1158015612d57573d6000803e3d6000fd5b505050505b6001600160a01b03831615612dd357806001600160a01b031663632447c9846040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015612dba57600080fd5b505af1158015612dce573d6000803e3d6000fd5b505050505b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612e4857600080fd5b505afa158015612e5c573d6000803e3d6000fd5b505050506040513d6020811015612e7257600080fd5b50516040805163419f775360e01b815290519192506001600160a01b0383169163419f77539160048082019260009290919082900301818387803b158015612eb957600080fd5b505af1158015612ecd573d6000803e3d6000fd5b505050505050565b6000612edf611986565b15612f2a576000612efd670de0b6b3a7640000610be3611f49611986565b9050612f09838261337b565b9150612f24612f16611b9c565b612f1e6116ae565b83611c8c565b50610f2c565b5090565b6001600160a01b038216612f735760405162461bcd60e51b81526004018080602001828103825260218152602001806137f16021913960400191505060405180910390fd5b612f7f82600083612c39565b612fbc8160405180606001604052806022815260200161371e602291396001600160a01b0385166000908152602081905260409020549190611de7565b6001600160a01b038316600090815260208190526040902055600254612fe2908261337b565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600061303461160e565b90508181101561306c5761305061304b838361337b565b6133bd565b61305861160e565b90508181106130675781613069565b805b91505b6130a8613077611b9c565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690846134a4565b5050565b6060613101826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166134f69092919063ffffffff16565b8051909150156120d95780806020019051602081101561312057600080fd5b50516120d95760405162461bcd60e51b815260040180806020018281038252602a81526020018061385b602a913960400191505060405180910390fd5b600081836131ac5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611e3b578181015183820152602001611e23565b5060008385816131b857fe5b0495945050505050565b600081613204576040805162461bcd60e51b815260206004820152600b60248201526a0616d6f756e7420697320360ac1b604482015290519081900360640190fd5b600061320e6107f2565b9050600061321d611f4461172e565b9050600082158061322c575081155b6132435761323e82610be3878661213f565b613245565b845b95945050505050565b610b47613259611b9c565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690308461350d565b6001600160a01b0382166132e6576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6132f260008383612c39565b6002546132ff90826120de565b6002556001600160a01b03821660009081526020819052604090205461332590826120de565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600061213883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611de7565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561342c57600080fd5b505afa158015613440573d6000803e3d6000fd5b505050506040513d602081101561345657600080fd5b505160408051632e1a7d4d60e01b81526004810185905290519192506001600160a01b03831691632e1a7d4d9160248082019260009290919082900301818387803b158015612eb957600080fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526120d99084906130ac565b60606135058484600085613567565b949350505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612dd39085906130ac565b6060613572856136d4565b6135c3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106136025780518252601f1990920191602091820191016135e3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613664576040519150601f19603f3d011682016040523d82523d6000602084013e613669565b606091505b5091509150811561367d5791506135059050565b80511561368d5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611e3b578181015183820152602001611e23565b3b15159056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636543616c6c6572206973206e6f742074686520636f6e74726f6c6c65720000000045524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c5e1c2805c53829cbdfc761bfaf462462dfb4184ce14f8a33965e9ebbfcba34e64736f6c634300060c0033000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd0217

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025e5760003560e01c806397a5af5511610146578063d505accf116100c3578063f6ecd3d511610087578063f6ecd3d5146106f8578063f77c479114610700578063fb589de214610708578063fc0c546a14610725578063fc0e74d11461072d578063fcfff16f146107355761025e565b8063d505accf14610643578063d9fe3eae14610694578063dd62ed3e146106ba578063e941fa78146106e8578063f698da25146106f05761025e565b8063b6b55f251161010a578063b6b55f25146105d5578063b8cb343d146105f2578063c415b95c146105fa578063ce27b9031461061e578063d4c3eea01461063b5761025e565b806397a5af55146104b557806399b71d5c146104d2578063a457c2d7146104da578063a9059cbb14610506578063b33fcc7a146105325761025e565b80633d68175c116101df5780636a630559116101a35780636a6305591461044957806370a08231146104515780637d7c2a1c146104775780637ecebe001461047f5780638456cb59146104a557806395d89b41146104ad5761025e565b80633d68175c146103f15780633f4ba83a146103f95780634938649a146104015780634a970be7146104095780635c975abb146104415761025e565b80632e1a7d4d116102265780632e1a7d4d1461037857806330adf81f14610397578063313ce5671461039f578063330b8b71146103bd57806339509351146103c55761025e565b806306fdde0314610263578063095ea7b3146102e057806318160ddd1461032057806320606b701461033a57806323b872dd14610342575b600080fd5b61026b61073d565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a557818101518382015260200161028d565b50505050905090810190601f1680156102d25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61030c600480360360408110156102f657600080fd5b506001600160a01b0381351690602001356107d4565b604080519115158252519081900360200190f35b6103286107f2565b60408051918252519081900360200190f35b6103286107f8565b61030c6004803603606081101561035857600080fd5b506001600160a01b0381358116916020810135909116906040013561081c565b6103956004803603602081101561038e57600080fd5b50356108a3565b005b610328610952565b6103a7610976565b6040805160ff9092168252519081900360200190f35b61039561097f565b61030c600480360360408110156103db57600080fd5b506001600160a01b038135169060200135610b4a565b610328610b98565b610395610bee565b61030c610c73565b610395600480360360a081101561041f57600080fd5b5080359060208101359060ff6040820135169060608101359060800135610c82565b61030c610df2565b610328610e00565b6103286004803603602081101561046757600080fd5b50356001600160a01b0316610f12565b610395610f31565b6103286004803603602081101561049557600080fd5b50356001600160a01b031661102c565b61039561103e565b61026b6110c1565b610395600480360360208110156104cb57600080fd5b5035611122565b6103956112ba565b61030c600480360360408110156104f057600080fd5b506001600160a01b038135169060200135611448565b61030c6004803603604081101561051c57600080fd5b506001600160a01b0381351690602001356114b0565b61030c6004803603602081101561054857600080fd5b81019060208101813564010000000081111561056357600080fd5b82018360208201111561057557600080fd5b8035906020019184602083028401116401000000008311171561059757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506114c4945050505050565b610395600480360360208110156105eb57600080fd5b503561156a565b61032861160e565b6106026116ae565b604080516001600160a01b039092168252519081900360200190f35b6103286004803603602081101561063457600080fd5b503561171d565b61032861172e565b610395600480360360e081101561065957600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611749565b610395600480360360208110156106aa57600080fd5b50356001600160a01b0316611952565b610328600480360360408110156106d057600080fd5b506001600160a01b038135811691602001351661195b565b610328611986565b6103286119f5565b610602611a19565b610602611a3d565b6103286004803603602081101561071e57600080fd5b5035611a61565b610602611a72565b610395611a96565b610395611b19565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107c95780601f1061079e576101008083540402835291602001916107c9565b820191906000526020600020905b8154815290600101906020018083116107ac57829003601f168201915b505050505090505b90565b60006107e86107e1611b9c565b8484611ba0565b5060015b92915050565b60025490565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b6000610829848484611c8c565b61089984610835611b9c565b610894856040518060600160405280602881526020016137a9602891396001600160a01b038a16600090815260016020526040812090610873611b9c565b6001600160a01b031681526020810191909152604001600020549190611de7565b611ba0565b5060019392505050565b600260065414156108e9576040805162461bcd60e51b815260206004820152601f60248201526000805160206136fe833981519152604482015290519081900360640190fd5b600260065560055462010000900460ff1615610941576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b61094a81611e7e565b506001600655565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b610987611b9c565b6001600160a01b03167f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316146109fa576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610a6957600080fd5b505afa158015610a7d573d6000803e3d6000fd5b505050506040513d6020811015610a9357600080fd5b50519050610acc6001600160a01b037f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4816826000611fc6565b610b47816000836001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b0b57600080fd5b505afa158015610b1f573d6000803e3d6000fd5b505050506040513d6020811015610b3557600080fd5b50516001600160a01b03169190611fc6565b50565b60006107e8610b57611b9c565b846108948560016000610b68611b9c565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906120de565b6000610ba26107f2565b610bbe57610bb7670de0b6b3a7640000611a61565b90506107d1565b610be9610bc96107f2565b610be3670de0b6b3a7640000610bdd61172e565b9061213f565b90612198565b905090565b610bf6611b9c565b6001600160a01b03167f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031614610c69576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b610c716121da565b565b60055462010000900460ff1681565b60026006541415610cc8576040805162461bcd60e51b815260206004820152601f60248201526000805160206136fe833981519152604482015290519081900360640190fd5b6002600655600554610100900460ff1615610d1d576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b031663d505accf610d54611b9c565b604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152306024830152604482018990526064820188905260ff8716608483015260a4820186905260c482018590525160e480830192600092919082900301818387803b158015610dc557600080fd5b505af1158015610dd9573d6000803e3d6000fd5b50505050610de6856122d1565b50506001600655505050565b600554610100900460ff1681565b6000807f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e7057600080fd5b505afa158015610e84573d6000803e3d6000fd5b505050506040513d6020811015610e9a57600080fd5b505160408051632b448a0960e11b815290519192506001600160a01b03831691635689141291600480820192602092909190829003018186803b158015610ee057600080fd5b505afa158015610ef4573d6000803e3d6000fd5b505050506040513d6020811015610f0a57600080fd5b505191505090565b6001600160a01b0381166000908152602081905260409020545b919050565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610fa057600080fd5b505afa158015610fb4573d6000803e3d6000fd5b505050506040513d6020811015610fca57600080fd5b505160408051631f5f0a8760e21b815290519192506001600160a01b03831691637d7c2a1c9160048082019260009290919082900301818387803b15801561101157600080fd5b505af1158015611025573d6000803e3d6000fd5b5050505050565b60076020526000908152604090205481565b611046611b9c565b6001600160a01b03167f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316146110b9576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b610c716123ad565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107c95780601f1061079e576101008083540402835291602001916107c9565b60026006541415611168576040805162461bcd60e51b815260206004820152601f60248201526000805160206136fe833981519152604482015290519081900360640190fd5b600260065560055462010000900460ff16156111c0576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b7f0000000000000000000000004b7dcdd319310e65e972d25b077d1aefff20113c6001600160a01b031663c2bc2efc6111f7611b9c565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561123457600080fd5b505afa158015611248573d6000803e3d6000fd5b505050506040513d602081101561125e57600080fd5b50516112b1576040805162461bcd60e51b815260206004820152601a60248201527f4e6f742061207768697465206c69737465642061646472657373000000000000604482015290519081900360640190fd5b61094a81612435565b6112c2611b9c565b6001600160a01b03167f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031614611335576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156113a457600080fd5b505afa1580156113b8573d6000803e3d6000fd5b505050506040513d60208110156113ce57600080fd5b505190506114086001600160a01b037f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb481682600019611fc6565b610b4781600019836001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b0b57600080fd5b60006107e8611455611b9c565b84610894856040518060600160405280602581526020016138bb602591396001600061147f611b9c565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611de7565b60006107e86114bd611b9c565b8484611c8c565b6000805b82518110156107e857600060608483815181106114e157fe5b6020026020010151901c905060008483815181106114fb57fe5b60200260200101516bffffffffffffffffffffffff16905061151d82826114b0565b611560576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b50506001016114c8565b600260065414156115b0576040805162461bcd60e51b815260206004820152601f60248201526000805160206136fe833981519152604482015290519081900360640190fd5b6002600655600554610100900460ff1615611605576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61094a816122d1565b60007f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561167d57600080fd5b505afa158015611691573d6000803e3d6000fd5b505050506040513d60208110156116a757600080fd5b5051905090565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663a06e01ba306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561167d57600080fd5b60006107ec8264e8d4a5100061213f565b6000610be961173b61160e565b611743610e00565b906120de565b42841015611788576040805162461bcd60e51b8152602060048201526007602482015266115e1c1a5c995960ca1b604482015290519081900360640190fd5b6001600160a01b0380881660008181526007602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958c166060860152608085018b905260a085019590955260c08085018a90528151808603909101815260e08501825280519083012061190160f01b6101008601527f0b634af2b382acc88121353c69643a8262ff4d888057984be283ed210b5fb97f6101028601526101228086019190915281518086039091018152610142850180835281519184019190912090849052610162850180835281905260ff89166101828601526101a285018890526101c285018790529051909492936101e28082019392601f1981019281900390910190855afa1580156118c1573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906118f75750886001600160a01b0316816001600160a01b0316145b61193c576040805162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b604482015290519081900360640190fd5b611947898989611ba0565b505050505050505050565b610b478161250a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316631ac3ddeb306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561167d57600080fd5b7f0b634af2b382acc88121353c69643a8262ff4d888057984be283ed210b5fb97f81565b7f0000000000000000000000004b7dcdd319310e65e972d25b077d1aefff20113c81565b7f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd021781565b60006107ec8264e8d4a51000612198565b7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b611a9e611b9c565b6001600160a01b03167f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031614611b11576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b610c71612b16565b611b21611b9c565b6001600160a01b03167f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031614611b94576040805162461bcd60e51b815260206004820152601c60248201526000805160206137d1833981519152604482015290519081900360640190fd5b610c71612bae565b3390565b6001600160a01b038316611be55760405162461bcd60e51b81526004018080602001828103825260248152602001806138376024913960400191505060405180910390fd5b6001600160a01b038216611c2a5760405162461bcd60e51b81526004018080602001828103825260228152602001806137406022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611cd15760405162461bcd60e51b81526004018080602001828103825260258152602001806138126025913960400191505060405180910390fd5b6001600160a01b038216611d165760405162461bcd60e51b81526004018080602001828103825260238152602001806136db6023913960400191505060405180910390fd5b611d21838383612c39565b611d5e81604051806060016040528060268152602001613762602691396001600160a01b0386166000908152602081905260409020549190611de7565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611d8d90826120de565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611e765760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e3b578181015183820152602001611e23565b50505050905090810190601f168015611e685780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60055462010000900460ff1615611ed1576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b80611f10576040805162461bcd60e51b815260206004820152600a6024820152690736861726520697320360b41b604482015290519081900360640190fd5b611f1981612dd9565b6000611f2482612ed5565b90506000611f55611f50611f366107f2565b610be3611f49611f4461172e565b61171d565b869061213f565b611a61565b9050611f68611f62611b9c565b83612f2e565b611f718161302a565b611f79611b9c565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688483604051808381526020018281526020019250505060405180910390a2505050565b80158061204c575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561201e57600080fd5b505afa158015612032573d6000803e3d6000fd5b505050506040513d602081101561204857600080fd5b5051155b6120875760405162461bcd60e51b81526004018080602001828103825260368152602001806138856036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526120d99084906130ac565b505050565b600082820183811015612138576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008261214e575060006107ec565b8282028284828161215b57fe5b04146121385760405162461bcd60e51b81526004018080602001828103825260218152602001806137886021913960400191505060405180910390fd5b600061213883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061315d565b600554610100900460ff1661222d576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b60055462010000900460ff1615612280576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b6005805461ff00191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6122b4611b9c565b604080516001600160a01b039092168252519081900360200190a1565b600554610100900460ff1615612321576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600061233461232f8361171d565b6131c2565b905061233f8261324e565b61235061234a611b9c565b8261328b565b61235982610b47565b612361611b9c565b6001600160a01b03167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a158284604051808381526020018281526020019250505060405180910390a25050565b600554610100900460ff16156123fd576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6005805461ff0019166101001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586122b4611b9c565b80612487576040805162461bcd60e51b815260206004820152601f60248201527f5769746864726177206d7573742062652067726561746572207468616e203000604482015290519081900360640190fd5b61249081612dd9565b60006124a0611f50611f366107f2565b90506124ad611f62611b9c565b6124b68161302a565b6124be611b9c565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688383604051808381526020018281526020019250505060405180910390a25050565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561257957600080fd5b505afa15801561258d573d6000803e3d6000fd5b505050506040513d60208110156125a357600080fd5b505190507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b03908116908316148015906125ed57506001600160a01b0382163014155b801561266f5750806001600160a01b031663440d7248836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561264157600080fd5b505afa158015612655573d6000803e3d6000fd5b505050506040513d602081101561266b57600080fd5b5051155b6126b7576040805162461bcd60e51b815260206004820152601460248201527304e6f7420616c6c6f77656420746f2073776565760641b604482015290519081900360640190fd5b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663735de9f76040518163ffffffff1660e01b815260040160206040518083038186803b15801561271257600080fd5b505afa158015612726573d6000803e3d6000fd5b505050506040513d602081101561273c57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038616916370a08231916024808301926020929190829003018186803b15801561278a57600080fd5b505afa15801561279e573d6000803e3d6000fd5b505050506040513d60208110156127b457600080fd5b505190506127cc6001600160a01b0385168383611fc6565b60607f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b031673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc214156128b4576040805160028082526060820183529091602083019080368337019050509050848160008151811061284157fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb488160018151811061288f57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050612994565b60408051600380825260808201909252906020820160608036833701905050905084816000815181106128e357fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160018151811061292557fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb488160028151811061297357fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b826001600160a01b03166338ed1739836001843042601e016040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015612a1c578181015183820152602001612a04565b505050509050019650505050505050600060405180830381600087803b158015612a4557600080fd5b505af1158015612a59573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612a8257600080fd5b8101908080516040519392919084640100000000821115612aa257600080fd5b908301906020820185811115612ab757600080fd5b8251866020820283011164010000000082111715612ad457600080fd5b82525081516020918201928201910280838360005b83811015612b01578181015183820152602001612ae9565b50505050905001604052505050505050505050565b60055462010000900460ff1615612b69576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b6005805461ff001962ff0000199091166201000017166101001790557f28b4c24cb1012c094cd2f59f98e89d791973295f8fda6eaa118022d6d318960a6122b4611b9c565b60055462010000900460ff16612c04576040805162461bcd60e51b81526020600482015260166024820152752830bab9b0b136329d103737ba1039b43aba3237bbb760511b604482015290519081900360640190fd5b6005805462ff0000191690557fece7583a70a505ef0e36d4dec768f5ae597713e09c26011022599ee01abdabfc6122b4611b9c565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663dd5aba4b306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612ca857600080fd5b505afa158015612cbc573d6000803e3d6000fd5b505050506040513d6020811015612cd257600080fd5b505190506001600160a01b03811615612dd3576001600160a01b03841615612d5c57806001600160a01b031663632447c9856040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015612d4357600080fd5b505af1158015612d57573d6000803e3d6000fd5b505050505b6001600160a01b03831615612dd357806001600160a01b031663632447c9846040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015612dba57600080fd5b505af1158015612dce573d6000803e3d6000fd5b505050505b50505050565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612e4857600080fd5b505afa158015612e5c573d6000803e3d6000fd5b505050506040513d6020811015612e7257600080fd5b50516040805163419f775360e01b815290519192506001600160a01b0383169163419f77539160048082019260009290919082900301818387803b158015612eb957600080fd5b505af1158015612ecd573d6000803e3d6000fd5b505050505050565b6000612edf611986565b15612f2a576000612efd670de0b6b3a7640000610be3611f49611986565b9050612f09838261337b565b9150612f24612f16611b9c565b612f1e6116ae565b83611c8c565b50610f2c565b5090565b6001600160a01b038216612f735760405162461bcd60e51b81526004018080602001828103825260218152602001806137f16021913960400191505060405180910390fd5b612f7f82600083612c39565b612fbc8160405180606001604052806022815260200161371e602291396001600160a01b0385166000908152602081905260409020549190611de7565b6001600160a01b038316600090815260208190526040902055600254612fe2908261337b565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600061303461160e565b90508181101561306c5761305061304b838361337b565b6133bd565b61305861160e565b90508181106130675781613069565b805b91505b6130a8613077611b9c565b6001600160a01b037f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb481690846134a4565b5050565b6060613101826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166134f69092919063ffffffff16565b8051909150156120d95780806020019051602081101561312057600080fd5b50516120d95760405162461bcd60e51b815260040180806020018281038252602a81526020018061385b602a913960400191505060405180910390fd5b600081836131ac5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611e3b578181015183820152602001611e23565b5060008385816131b857fe5b0495945050505050565b600081613204576040805162461bcd60e51b815260206004820152600b60248201526a0616d6f756e7420697320360ac1b604482015290519081900360640190fd5b600061320e6107f2565b9050600061321d611f4461172e565b9050600082158061322c575081155b6132435761323e82610be3878661213f565b613245565b845b95945050505050565b610b47613259611b9c565b6001600160a01b037f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb481690308461350d565b6001600160a01b0382166132e6576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6132f260008383612c39565b6002546132ff90826120de565b6002556001600160a01b03821660009081526020819052604090205461332590826120de565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600061213883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611de7565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561342c57600080fd5b505afa158015613440573d6000803e3d6000fd5b505050506040513d602081101561345657600080fd5b505160408051632e1a7d4d60e01b81526004810185905290519192506001600160a01b03831691632e1a7d4d9160248082019260009290919082900301818387803b158015612eb957600080fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526120d99084906130ac565b60606135058484600085613567565b949350505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612dd39085906130ac565b6060613572856136d4565b6135c3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106136025780518252601f1990920191602091820191016135e3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613664576040519150601f19603f3d011682016040523d82523d6000602084013e613669565b606091505b5091509150811561367d5791506135059050565b80511561368d5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611e3b578181015183820152602001611e23565b3b15159056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636543616c6c6572206973206e6f742074686520636f6e74726f6c6c65720000000045524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c5e1c2805c53829cbdfc761bfaf462462dfb4184ce14f8a33965e9ebbfcba34e64736f6c634300060c0033

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

60705:585: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;43010:116::-;;;;;;;;;;;;;;;;-1:-1:-1;43010:116:0;;:::i;:::-;;40036:170;;;:::i;18363:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;57113:241;;;:::i;20915:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20915:218:0;;;;;;;;:::i;46000:214::-;;;:::i;56439:72::-;;;:::i;33103:26::-;;;:::i;42248:316::-;;;;;;;;;;;;;;;;-1:-1:-1;42248:316:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;33078:18::-;;;:::i;57987:186::-;;;:::i;18674:119::-;;;;;;;;;;;;;;;;-1:-1:-1;18674:119:0;-1:-1:-1;;;;;18674:119:0;;:::i;57541:154::-;;;:::i;40325:41::-;;;;;;;;;;;;;;;;-1:-1:-1;40325:41:0;-1:-1:-1;;;;;40325:41:0;;:::i;56363:68::-;;;:::i;17638:87::-;;;:::i;43604:221::-;;;;;;;;;;;;;;;;-1:-1:-1;43604:221:0;;:::i;56760:266::-;;;:::i;21636:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21636:269:0;;;;;;;;:::i;19006:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19006:175:0;;;;;;;;:::i;44063:332::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44063:332:0;;-1:-1:-1;44063:332:0;;-1:-1:-1;;;;;44063:332:0:i;41695:112::-;;;;;;;;;;;;;;;;-1:-1:-1;41695:112:0;;:::i;46896:116::-;;;:::i;46672:126::-;;;:::i;:::-;;;;-1:-1:-1;;;;;46672:126:0;;;;;;;;;;;;;;60971:120;;;;;;;;;;;;;;;;-1:-1:-1;60971:120:0;;:::i;58260:118::-;;;:::i;44882:995::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44882:995:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;57830:91::-;;;;;;;;;;;;;;;;-1:-1:-1;57830:91:0;-1:-1:-1;;;;;57830:91:0;;:::i;19244:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19244:151:0;;;;;;;;;;:::i;47400:124::-;;;:::i;40215:40::-;;;:::i;39618:45::-;;;:::i;39670:39::-;;;:::i;61165:122::-;;;;;;;;;;;;;;;;-1:-1:-1;61165:122:0;;:::i;39582:29::-;;;:::i;56519:74::-;;;:::i;56601: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;43010: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;;43101:17:::2;43111:6;43101:9;:17::i;:::-;-1:-1:-1::0;31673:1:0;32635:7;:22;43010:116::o;40036:170::-;40087:119;40036:170;:::o;18363:83::-;18429:9;;;;18363:83;:::o;57113:241::-;56290:12;:10;:12::i;:::-;-1:-1:-1;;;;;56267:35:0;56275:10;-1:-1:-1;;;;;56267:35:0;;56259:76;;;;;-1:-1:-1;;;56259:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;56259:76:0;;;;;;;;;;;;;;;57181:16:::1;57200:10;-1:-1:-1::0;;;;;57200:19:0::1;;57228:4;57200:34;;;;;;;;;;;;;-1:-1:-1::0;;;;;57200:34:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;57200:34:0;;-1:-1:-1;57245:30:0::1;-1:-1:-1::0;;;;;57245:5:0::1;:17;57200:34:::0;57273:1:::1;57245:17;:30::i;:::-;57286:60;57334:8;57344:1;57303:8;-1:-1:-1::0;;;;;57293:25:0::1;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;57293:27:0;-1:-1:-1;;;;;57286:47:0::1;::::0;:60;:47:::1;:60::i;:::-;56346:1;57113: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;46000:214::-;46051:7;46075:13;:11;:13::i;:::-;46071:77;;46117:19;46131:4;46117:13;:19::i;:::-;46110:26;;;;46071:77;46165:41;46192:13;:11;:13::i;:::-;46165:22;46182:4;46165:12;:10;:12::i;:::-;:16;;:22::i;:::-;:26;;:41::i;:::-;46158:48;;46000:214;:::o;56439:72::-;56290:12;:10;:12::i;:::-;-1:-1:-1;;;;;56267:35:0;56275:10;-1:-1:-1;;;;;56267:35:0;;56259:76;;;;;-1:-1:-1;;;56259:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;56259:76:0;;;;;;;;;;;;;;;56493:10:::1;:8;:10::i;:::-;56439:72::o:0;33103:26::-;;;;;;;;;:::o;42248:316::-;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;;42459:5:::2;-1:-1:-1::0;;;;;42439:34:0::2;;42474:12;:10;:12::i;:::-;42439:90;::::0;;-1:-1:-1;;;;;;42439:90:0::2;::::0;;;;;;-1:-1:-1;;;;;42439:90:0;;::::2;;::::0;::::2;::::0;42496:4:::2;42439:90:::0;;;;;;;;;;;;;;;;::::2;::::0;::::2;::::0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;42439:90:0;;;;;;;-1:-1:-1;42439:90:0;;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;42540:16;42549:6;42540:8;:16::i;:::-;-1:-1:-1::0;;31673:1:0;32635:7;:22;-1:-1:-1;;;42248:316:0:o;33078:18::-;;;;;;;;;:::o;57987:186::-;58039:7;58059:18;58090:10;-1:-1:-1;;;;;58090:19:0;;58118:4;58090:34;;;;;;;;;;;;;-1:-1:-1;;;;;58090:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58090:34:0;58143:22;;;-1:-1:-1;;;58143:22:0;;;;58090:34;;-1:-1:-1;;;;;;58143:20:0;;;;;:22;;;;;58090:34;;58143:22;;;;;;;;:20;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58143:22:0;;-1:-1:-1;;57987:186:0;:::o;18674:119::-;-1:-1:-1;;;;;18767:18:0;;18740:7;18767:18;;;;;;;;;;;18674:119;;;;:::o;57541:154::-;57590:18;57621:10;-1:-1:-1;;;;;57621:19:0;;57649:4;57621:34;;;;;;;;;;;;;-1:-1:-1;;;;;57621:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57621:34:0;57667:20;;;-1:-1:-1;;;57667:20:0;;;;57621:34;;-1:-1:-1;;;;;;57667:18:0;;;;;:20;;;;;;;;;;;;;;;;:18;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57541:154;:::o;40325:41::-;;;;;;;;;;;;;:::o;56363:68::-;56290:12;:10;:12::i;:::-;-1:-1:-1;;;;;56267:35:0;56275:10;-1:-1:-1;;;;;56267:35:0;;56259:76;;;;;-1:-1:-1;;;56259:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;56259:76:0;;;;;;;;;;;;;;;56415: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;;;;;;;;;;;;;;;;;;;;;;;;43604: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;;43713:12:::2;-1:-1:-1::0;;;;;43713:16:0::2;;43730:12;:10;:12::i;:::-;43713:30;;;;;;;;;;;;;-1:-1:-1::0;;;;;43713:30:0::2;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;43713:30:0;43705:74:::2;;;::::0;;-1:-1:-1;;;43705:74:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;43790:27;43810:6;43790:19;:27::i;56760:266::-:0;56290:12;:10;:12::i;:::-;-1:-1:-1;;;;;56267:35:0;56275:10;-1:-1:-1;;;;;56267:35:0;;56259:76;;;;;-1:-1:-1;;;56259:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;56259:76:0;;;;;;;;;;;;;;;56827:16:::1;56846:10;-1:-1:-1::0;;;;;56846:19:0::1;;56874:4;56846:34;;;;;;;;;;;;;-1:-1:-1::0;;;;;56846:34:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;56846:34:0;;-1:-1:-1;56891:43:0::1;-1:-1:-1::0;;;;;56891:5:0::1;:17;56846:34:::0;-1:-1:-1;;56891:17:0::1;:43::i;:::-;56945:73;56993:8;-1:-1:-1::0;;56962:8:0::1;-1:-1:-1::0;;;;;56952: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;44063:332::-;44127:4;;44144:222;44168:4;:11;44164:1;:15;44144:222;;;44201:9;44232:2;44221:4;44226:1;44221:7;;;;;;;;;;;;;;:13;;44201:34;;44250:14;44267:4;44272:1;44267:7;;;;;;;;;;;;;;44278:13;44267:25;44250:42;;44315:19;44324:1;44327:6;44315:8;:19::i;:::-;44307:47;;;;;-1:-1:-1;;;44307:47:0;;;;;;;;;;;;-1:-1:-1;;;44307:47:0;;;;;;;;;;;;;;;-1:-1:-1;;44181:3:0;;44144:222;;41695: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;;41783:16:::2;41792:6;41783:8;:16::i;46896:116::-:0;46947:7;46974:5;-1:-1:-1;;;;;46974:15:0;;46998:4;46974:30;;;;;;;;;;;;;-1:-1:-1;;;;;46974:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46974:30:0;;-1:-1:-1;46896:116:0;:::o;46672:126::-;46725:7;46752:10;-1:-1:-1;;;;;46752:23:0;;46784:4;46752:38;;;;;;;;;;;;;-1:-1:-1;;;;;46752:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;60971:120;61038:7;61065:18;:6;61076;61065:10;:18::i;58260:118::-;58312:7;58339:31;58357:12;:10;:12::i;:::-;58339:13;:11;:13::i;:::-;:17;;:31::i;44882:995::-;45105:15;45093:8;:27;;45085:47;;;;;-1:-1:-1;;;45085:47:0;;;;;;;;;;;;-1:-1:-1;;;45085:47:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;45545:13:0;;;45143:14;45545:13;;;:6;:13;;;;;;;;:15;;;;;;;;;45347:279;;40087:119;45347:279;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45311:338;;;;;;-1:-1:-1;;;45201:467:0;;;;45273:15;45201:467;;;;;;;;;;;;;;;;;;;;;;;;;;;;45173:510;;;;;;;;;45714:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45173:510;;45143:14;;45714:26;;;;;45545:13;-1:-1:-1;;45714:26:0;;;;;;;;;;45545:15;45714:26;;;;;;;;;;;;;;;-1:-1:-1;;45714:26:0;;-1:-1:-1;;45714:26:0;;;-1:-1:-1;;;;;;;45759:23:0;;;;;;:45;;;45799:5;-1:-1:-1;;;;;45786:18:0;:9;-1:-1:-1;;;;;45786:18:0;;45759:45;45751:75;;;;;-1:-1:-1;;;45751:75:0;;;;;;;;;;;;-1:-1:-1;;;45751:75:0;;;;;;;;;;;;;;;45837:32;45846:5;45853:7;45862:6;45837:8;:32::i;:::-;44882:995;;;;;;;;;:::o;57830:91::-;57894:19;57906:6;57894:11;:19::i;19244:151::-;-1:-1:-1;;;;;19360:18:0;;;19333:7;19360:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19244:151::o;47400:124::-;47452:7;47479:10;-1:-1:-1;;;;;47479:22:0;;47510:4;47479:37;;;;;;;;;;;;;-1:-1:-1;;;;;47479:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;40215:40;;;:::o;39618:45::-;;;:::o;39670:39::-;;;:::o;61165:122::-;61234:7;61261:18;:6;61272;61261:10;:18::i;39582:29::-;;;:::o;56519:74::-;56290:12;:10;:12::i;:::-;-1:-1:-1;;;;;56267:35:0;56275:10;-1:-1:-1;;;;;56267:35:0;;56259:76;;;;;-1:-1:-1;;;56259:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;56259:76:0;;;;;;;;;;;;;;;56574:11:::1;:9;:11::i;56601:66::-:0;56290:12;:10;:12::i;:::-;-1:-1:-1;;;;;56267:35:0;56275:10;-1:-1:-1;;;;;56267:35:0;;56259:76;;;;;-1:-1:-1;;;56259:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;56259:76:0;;;;;;;;;;;;;;;56652: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;50879:454::-;33383:14;;;;;;;33382:15;33374:46;;;;;-1:-1:-1;;;33374:46:0;;;;;;;;;;;;-1:-1:-1;;;33374:46:0;;;;;;;;;;;;;;;50958:11;50950:34:::1;;;::::0;;-1:-1:-1;;;50950:34:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50950:34:0;;;;;;;;;;;;;::::1;;50995:22;51010:6;50995:14;:22::i;:::-;51028;51053:18;51064:6;51053:10;:18::i;:::-;51028:43;;51082:14;51112:79;51126:64;51176:13;:11;:13::i;:::-;51126:45;51145:25;51157:12;:10;:12::i;:::-;51145:11;:25::i;:::-;51126:14:::0;;:18:::1;:45::i;:64::-;51112:13;:79::i;:::-;51082:109;;51204:35;51210:12;:10;:12::i;:::-;51224:14;51204:5;:35::i;:::-;51250:21;51264:6;51250:13;:21::i;:::-;51296:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;51287:38:0::1;;51310:6;51318;51287:38;;;;;;;;;;;;;;;;;;;;;;;;33431:1;;50879: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;49478:286::-;33183:6;;;;;;;33182:7;33174:36;;;;;-1:-1:-1;;;33174:36:0;;;;;;;;;;;;-1:-1:-1;;;33174:36:0;;;;;;;;;;;;;;;49546:14:::1;49563:37;49580:19;49592:6;49580:11;:19::i;:::-;49563:16;:37::i;:::-;49546:54;;49611:22;49626:6;49611:14;:22::i;:::-;49644:27;49650:12;:10;:12::i;:::-;49664:6;49644:5;:27::i;:::-;49682:21;49696:6;49682:13;:21::i;:::-;49727:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;49719:37:0::1;;49741:6;49749;49719:37;;;;;;;;;;;;;;;;;;;;;;;;33221:1;49478: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;51411:384::-:0;51484:11;51476:55;;;;;-1:-1:-1;;;51476:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;51542:22;51557:6;51542:14;:22::i;:::-;51575:14;51592:71;51606:56;51648:13;:11;:13::i;51592:71::-;51575:88;;51674:27;51680:12;:10;:12::i;51674:27::-;51712:21;51726:6;51712:13;:21::i;:::-;51758:12;:10;:12::i;:::-;-1:-1:-1;;;;;51749:38:0;;51772:6;51780;51749:38;;;;;;;;;;;;;;;;;;;;;;;;51411:384;;:::o;59645:947::-;59701:18;59732:10;-1:-1:-1;;;;;59732:19:0;;59760:4;59732:34;;;;;;;;;;;;;-1:-1:-1;;;;;59732:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59732:34:0;;-1:-1:-1;59817:5:0;-1:-1:-1;;;;;59800:23:0;;;;;;;;;;:49;;-1:-1:-1;;;;;;59827:22:0;;59844:4;59827:22;;59800:49;:85;;;;;59854:8;-1:-1:-1;;;;;59854:24:0;;59879:5;59854:31;;;;;;;;;;;;;-1:-1:-1;;;;;59854:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59854:31:0;59853:32;59800:85;59778:155;;;;;-1:-1:-1;;;59778:155:0;;;;;;;;;;;;-1:-1:-1;;;59778:155:0;;;;;;;;;;;;;;;59944:32;59998:10;-1:-1:-1;;;;;59998:24:0;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59998:26:0;60050:38;;;-1:-1:-1;;;60050:38:0;;60082:4;60050:38;;;;;;59998:26;;-1:-1:-1;60036:11:0;;-1:-1:-1;;;;;60050:23:0;;;;;:38;;;;;59998:26;;60050:38;;;;;;;:23;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60050:38:0;;-1:-1:-1;60099:54:0;-1:-1:-1;;;;;60099:25:0;;60133:13;60050:38;60099:25;:54::i;:::-;60164:21;60208:5;-1:-1:-1;;;;;60200:22:0;55889:42;60200:22;60196:301;;;60246:16;;;60260:1;60246:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60246:16:0;60239:23;;60287:5;60277:4;60282:1;60277:7;;;;;;;;;;;;;:15;-1:-1:-1;;;;;60277:15:0;;;-1:-1:-1;;;;;60277:15:0;;;;;60325:5;60307:4;60312:1;60307:7;;;;;;;;;;;;;:24;-1:-1:-1;;;;;60307:24:0;;;-1:-1:-1;;;;;60307:24:0;;;;;60196:301;;;60371:16;;;60385:1;60371:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60371:16:0;60364:23;;60412:5;60402:4;60407:1;60402:7;;;;;;;;;;;;;:15;-1:-1:-1;;;;;60402:15:0;;;-1:-1:-1;;;;;60402:15:0;;;;;55889:42;60432:4;60437:1;60432:7;;;;;;;;;;;;;:14;-1:-1:-1;;;;;60432:14:0;;;-1:-1:-1;;;;;60432:14:0;;;;;60479:5;60461:4;60466:1;60461:7;;;;;;;;;;;;;:24;-1:-1:-1;;;;;60461:24:0;;;-1:-1:-1;;;;;60461:24:0;;;;;60196:301;60507:13;-1:-1:-1;;;;;60507:38:0;;60546:3;60551:1;60554:4;60568;60575:3;60581:2;60575:8;60507:77;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;60507:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;60507:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60507:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59645: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;50298:491::-:0;50439:19;50461:10;-1:-1:-1;;;;;50461:22:0;;50492:4;50461:37;;;;;;;;;;;;;-1:-1:-1;;;;;50461:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50461:37:0;;-1:-1:-1;;;;;;50513:25:0;;;50509:273;;-1:-1:-1;;;;;50559:18:0;;;50555:103;;50611:11;-1:-1:-1;;;;;50598:38:0;;50637:4;50598:44;;;;;;;;;;;;;-1:-1:-1;;;;;50598:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50555:103;-1:-1:-1;;;;;50676:16:0;;;50672:99;;50726:11;-1:-1:-1;;;;;50713:38:0;;50752:2;50713:42;;;;;;;;;;;;;-1:-1:-1;;;;;50713:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50672:99;50298:491;;;;:::o;59101:201::-;59192:18;59223:10;-1:-1:-1;;;;;59223:19:0;;59251:4;59223:34;;;;;;;;;;;;;-1:-1:-1;;;;;59223:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59223:34:0;59269:25;;;-1:-1:-1;;;59269:25:0;;;;59223:34;;-1:-1:-1;;;;;;59269:23:0;;;;;:25;;;;;;;;;;;;;;;;:23;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59101:201;;:::o;49853:364::-;49907:23;49947:13;:11;:13::i;:::-;:18;49943:267;;49982:12;49997:35;50027:4;49997:25;50008:13;:11;:13::i;49997:35::-;49982:50;-1:-1:-1;50065:16:0;:6;49982:50;50065:10;:16::i;:::-;50047:34;;50096:45;50106:12;:10;:12::i;:::-;50120:14;:12;:14::i;:::-;50136:4;50096:9;:45::i;:::-;49943:267;;;;-1:-1:-1;50192:6:0;49853: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;58557:383::-;58626:19;58648:12;:10;:12::i;:::-;58626:34;;58689:7;58675:11;:21;58671:210;;;58713:45;58733:24;:7;58745:11;58733;:24::i;:::-;58713:19;:45::i;:::-;58787:12;:10;:12::i;:::-;58773:26;;58838:7;58824:11;:21;:45;;58862:7;58824:45;;;58848:11;58824:45;58814:55;;58671:210;58891:41;58910:12;:10;:12::i;:::-;-1:-1:-1;;;;;58891:5:0;:18;;58924:7;58891:18;:41::i;:::-;58557: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;48974:426::-;49039:7;49067:11;49059:35;;;;;-1:-1:-1;;;49059:35:0;;;;;;;;;;;;-1:-1:-1;;;49059:35:0;;;;;;;;;;;;;;;49107:20;49130:13;:11;:13::i;:::-;49107:36;;49154:19;49176:25;49188:12;:10;:12::i;49176:25::-;49154:47;-1:-1:-1;49212:14:0;49243:17;;;:37;;-1:-1:-1;49264:16:0;;49243:37;49242:126;;49327:41;49356:11;49327:24;:6;49338:12;49327:10;:24::i;:41::-;49242:126;;;49301:6;49242:126;49212:156;48974:426;-1:-1:-1;;;;;48974:426:0:o;59310:136::-;59379:59;59402:12;:10;:12::i;:::-;-1:-1:-1;;;;;59379:5:0;:22;;59424:4;59431:6;59379: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;59454:183::-;59527:18;59558:10;-1:-1:-1;;;;;59558:19:0;;59586:4;59558:34;;;;;;;;;;;;;-1:-1:-1;;;;;59558:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59558:34:0;59604:25;;;-1:-1:-1;;;59604:25:0;;;;;;;;;;59558:34;;-1:-1:-1;;;;;;59604:17:0;;;;;:25;;;;;-1:-1:-1;;59604:25:0;;;;;;;;-1:-1:-1;59604: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://c5e1c2805c53829cbdfc761bfaf462462dfb4184ce14f8a33965e9ebbfcba34e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.