ETH Price: $3,159.37 (+1.99%)

Token

vLINK Pool (vLINK)
 

Overview

Max Total Supply

4,028.521815394276295964 vLINK

Holders

137

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000000000000000001 vLINK

Value
$0.00
0x223809E09ec28C28219769C3FF05c790c213152C
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
VLINK

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT

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

pragma solidity ^0.6.0;

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

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

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

pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

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



pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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



pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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



pragma solidity ^0.6.0;





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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity ^0.6.0;




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

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

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

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

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

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

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

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

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



pragma solidity ^0.6.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: contracts/Pausable.sol



pragma solidity 0.6.12;


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

    bool public paused;
    bool public stopEverything;

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

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

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

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

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

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

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

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



pragma solidity 0.6.12;

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

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

    function founderFee() external view returns (uint256);

    function founderVault() external view returns (address);

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

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

    function pools() external view returns (address);

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

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

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

    function treasuryPool() external view returns (address);

    function uniswapRouter() external view returns (address);

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

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



pragma solidity 0.6.12;


interface IVesperPool is IERC20 {
    function approveToken() external;

    function deposit() external payable;

    function deposit(uint256) external;

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

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

    function rebalance() external;

    function resetApproval() external;

    function sweepErc20(address) external;

    function withdraw(uint256) external;

    function withdrawETH(uint256) external;

    function withdrawByStrategy(uint256) external;

    function feeCollector() external view returns (address);

    function getPricePerShare() external view returns (uint256);

    function token() external view returns (address);

    function tokensHere() external view returns (uint256);

    function totalValue() external view returns (uint256);

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

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



pragma solidity 0.6.12;

interface IPoolRewards {
    function notifyRewardAmount(uint256) external;

    function claimReward(address) external;

    function updateReward(address) external;

    function rewardForDuration() external view returns (uint256);

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

    function pool() external view returns (address);

    function lastTimeRewardApplicable() external view returns (uint256);

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

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



pragma solidity ^0.6.6;

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity ^0.6.6;


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

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

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

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

    function grantRole(bytes32 role, address account) external;

    function revokeRole(bytes32 role, address account) external;

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

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



pragma solidity ^0.6.6;

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

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

    function listCount() external view returns (uint256);

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

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

// File: contracts/pools/PoolShareToken.sol



pragma solidity 0.6.12;










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

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

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

    bytes32 public immutable domainSeparator;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity 0.6.12;

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

    function 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), 0);
        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/VLINK.sol



pragma solidity 0.6.12;


//solhint-disable no-empty-blocks
contract VLINK is VTokenBase {
    constructor(address _controller)
        public
        VTokenBase("vLINK Pool", "vLINK", 0x514910771AF9Ca656af840dff83E8264EcF986CA, _controller)
    {}
}

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":"amount","type":"uint256"}],"name":"convertFrom18","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","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"}]

6101006040523480156200001257600080fd5b5060405162003d7138038062003d71833981810160405260208110156200003857600080fd5b5051604080518082018252600a8152691d93125392c8141bdbdb60b21b602082810191825283518085019094526005845264764c494e4b60d81b90840152815191929173514910771af9ca656af840dff83e8264ecf986ca918591859185918591859185918591620000ad916003916200031f565b508051620000c39060049060208401906200031f565b50506005805460ff191660121790555060016006556001600160601b0319606083811b821660805282901b1660c05260408051630fab4d2560e01b81529051469173d57b41649f822c51a73c44ba0b3da4a880af0029916000918391630fab4d259160048082019260209290919082900301818787803b1580156200014757600080fd5b505af11580156200015c573d6000803e3d6000fd5b505050506040513d60208110156200017357600080fd5b505160408051632f2ff15d60e01b81527f679f35d3aa86a98333c7fc7439a0bc12a13be742ae62a4c1cc3820782a2e11a660048201526001600160a01b038781166024830152915192935090831691632f2ff15d9160448082019260009290919082900301818387803b158015620001ea57600080fd5b505af1158015620001ff573d6000803e3d6000fd5b50505050606090811b6001600160601b03191660a0908152875160209889012060408051808201825260018152603160f81b908b015280517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818c0152808201929092527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc693820193909352608081019490945230848201528151808503909101815260c0909301905250805194019390932060e0525050506001600160a01b03811662000314576040805162461bcd60e51b815260206004820152601a60248201527f436f6e74726f6c6c65722061646472657373206973207a65726f000000000000604482015290519081900360640190fd5b5050505050620003bb565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200036257805160ff191683800117855562000392565b8280016001018555821562000392579182015b828111156200039257825182559160200191906001019062000375565b50620003a0929150620003a4565b5090565b5b80821115620003a05760008155600101620003a5565b60805160601c60a05160601c60c05160601c60e0516138e66200048b600039806117f152806119c952508061097552806109e15280610be45280610de85280610f18528061103452806112b0528061131c5280611695528061195c5280611a115280611a6a5280611aed52806124ca52806126775280612c0e5280612dae52806133925250806111a552806119ed525080610a875280610d0252806113c252806115f55280611a35528061256552806127a1528061283452806129185280613052528061323452506138e66000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c806397a5af5511610146578063d505accf116100c3578063f6ecd3d511610087578063f6ecd3d5146106f8578063f77c479114610700578063fb589de21461061e578063fc0c546a14610708578063fc0e74d114610710578063fcfff16f146107185761025e565b8063d505accf14610643578063d9fe3eae14610694578063dd62ed3e146106ba578063e941fa78146106e8578063f698da25146106f05761025e565b8063b6b55f251161010a578063b6b55f25146105d5578063b8cb343d146105f2578063c415b95c146105fa578063ce27b9031461061e578063d4c3eea01461063b5761025e565b806397a5af55146104b557806399b71d5c146104d2578063a457c2d7146104da578063a9059cbb14610506578063b33fcc7a146105325761025e565b80633d68175c116101df5780636a630559116101a35780636a6305591461044957806370a08231146104515780637d7c2a1c146104775780637ecebe001461047f5780638456cb59146104a557806395d89b41146104ad5761025e565b80633d68175c146103f15780633f4ba83a146103f95780634938649a146104015780634a970be7146104095780635c975abb146104415761025e565b80632e1a7d4d116102265780632e1a7d4d1461037857806330adf81f14610397578063313ce5671461039f578063330b8b71146103bd57806339509351146103c55761025e565b806306fdde0314610263578063095ea7b3146102e057806318160ddd1461032057806320606b701461033a57806323b872dd14610342575b600080fd5b61026b610720565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a557818101518382015260200161028d565b50505050905090810190601f1680156102d25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61030c600480360360408110156102f657600080fd5b506001600160a01b0381351690602001356107b7565b604080519115158252519081900360200190f35b6103286107d5565b60408051918252519081900360200190f35b6103286107db565b61030c6004803603606081101561035857600080fd5b506001600160a01b038135811691602081013590911690604001356107ff565b6103956004803603602081101561038e57600080fd5b5035610886565b005b610328610935565b6103a7610959565b6040805160ff9092168252519081900360200190f35b610395610962565b61030c600480360360408110156103db57600080fd5b506001600160a01b038135169060200135610b2d565b610328610b7b565b610395610bd1565b61030c610c56565b610395600480360360a081101561041f57600080fd5b5080359060208101359060ff6040820135169060608101359060800135610c65565b61030c610dd5565b610328610de3565b6103286004803603602081101561046757600080fd5b50356001600160a01b0316610ef5565b610395610f14565b6103286004803603602081101561049557600080fd5b50356001600160a01b031661100f565b610395611021565b61026b6110a4565b610395600480360360208110156104cb57600080fd5b5035611105565b61039561129d565b61030c600480360360408110156104f057600080fd5b506001600160a01b03813516906020013561142b565b61030c6004803603604081101561051c57600080fd5b506001600160a01b038135169060200135611493565b61030c6004803603602081101561054857600080fd5b81019060208101813564010000000081111561056357600080fd5b82018360208201111561057557600080fd5b8035906020019184602083028401116401000000008311171561059757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506114a7945050505050565b610395600480360360208110156105eb57600080fd5b503561154d565b6103286115f1565b610602611691565b604080516001600160a01b039092168252519081900360200190f35b6103286004803603602081101561063457600080fd5b50356107b4565b610328611700565b610395600480360360e081101561065957600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c0013561171b565b610395600480360360208110156106aa57600080fd5b50356001600160a01b0316611924565b610328600480360360408110156106d057600080fd5b506001600160a01b038135811691602001351661192d565b610328611958565b6103286119c7565b6106026119eb565b610602611a0f565b610602611a33565b610395611a57565b610395611ada565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107ac5780601f10610781576101008083540402835291602001916107ac565b820191906000526020600020905b81548152906001019060200180831161078f57829003601f168201915b505050505090505b90565b60006107cb6107c4611b5d565b8484611b61565b5060015b92915050565b60025490565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b600061080c848484611c4d565b61087c84610818611b5d565b6108778560405180606001604052806028815260200161377a602891396001600160a01b038a16600090815260016020526040812090610856611b5d565b6001600160a01b031681526020810191909152604001600020549190611da8565b611b61565b5060019392505050565b600260065414156108cc576040805162461bcd60e51b815260206004820152601f60248201526000805160206136cf833981519152604482015290519081900360640190fd5b600260065560055462010000900460ff1615610924576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b61092d81611e3f565b506001600655565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b61096a611b5d565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146109dd576040805162461bcd60e51b815260206004820152601c60248201526000805160206137a2833981519152604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610a4c57600080fd5b505afa158015610a60573d6000803e3d6000fd5b505050506040513d6020811015610a7657600080fd5b50519050610aaf6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016826000611f82565b610b2a816000836001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aee57600080fd5b505afa158015610b02573d6000803e3d6000fd5b505050506040513d6020811015610b1857600080fd5b50516001600160a01b03169190611f82565b50565b60006107cb610b3a611b5d565b846108778560016000610b4b611b5d565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061209a565b6000610b856107d5565b610ba157610b9a670de0b6b3a76400006107b4565b90506107b4565b610bcc610bac6107d5565b610bc6670de0b6b3a7640000610bc0611700565b906120fb565b90612154565b905090565b610bd9611b5d565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610c4c576040805162461bcd60e51b815260206004820152601c60248201526000805160206137a2833981519152604482015290519081900360640190fd5b610c54612196565b565b60055462010000900460ff1681565b60026006541415610cab576040805162461bcd60e51b815260206004820152601f60248201526000805160206136cf833981519152604482015290519081900360640190fd5b6002600655600554610100900460ff1615610d00576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d505accf610d37611b5d565b604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152306024830152604482018990526064820188905260ff8716608483015260a4820186905260c482018590525160e480830192600092919082900301818387803b158015610da857600080fd5b505af1158015610dbc573d6000803e3d6000fd5b50505050610dc98561228d565b50506001600655505050565b600554610100900460ff1681565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e5357600080fd5b505afa158015610e67573d6000803e3d6000fd5b505050506040513d6020811015610e7d57600080fd5b505160408051632b448a0960e11b815290519192506001600160a01b03831691635689141291600480820192602092909190829003018186803b158015610ec357600080fd5b505afa158015610ed7573d6000803e3d6000fd5b505050506040513d6020811015610eed57600080fd5b505191505090565b6001600160a01b0381166000908152602081905260409020545b919050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610f8357600080fd5b505afa158015610f97573d6000803e3d6000fd5b505050506040513d6020811015610fad57600080fd5b505160408051631f5f0a8760e21b815290519192506001600160a01b03831691637d7c2a1c9160048082019260009290919082900301818387803b158015610ff457600080fd5b505af1158015611008573d6000803e3d6000fd5b5050505050565b60076020526000908152604090205481565b611029611b5d565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161461109c576040805162461bcd60e51b815260206004820152601c60248201526000805160206137a2833981519152604482015290519081900360640190fd5b610c54612369565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107ac5780601f10610781576101008083540402835291602001916107ac565b6002600654141561114b576040805162461bcd60e51b815260206004820152601f60248201526000805160206136cf833981519152604482015290519081900360640190fd5b600260065560055462010000900460ff16156111a3576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c2bc2efc6111da611b5d565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561121757600080fd5b505afa15801561122b573d6000803e3d6000fd5b505050506040513d602081101561124157600080fd5b5051611294576040805162461bcd60e51b815260206004820152601a60248201527f4e6f742061207768697465206c69737465642061646472657373000000000000604482015290519081900360640190fd5b61092d816123f1565b6112a5611b5d565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614611318576040805162461bcd60e51b815260206004820152601c60248201526000805160206137a2833981519152604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561138757600080fd5b505afa15801561139b573d6000803e3d6000fd5b505050506040513d60208110156113b157600080fd5b505190506113eb6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001682600019611f82565b610b2a81600019836001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aee57600080fd5b60006107cb611438611b5d565b846108778560405180606001604052806025815260200161388c6025913960016000611462611b5d565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611da8565b60006107cb6114a0611b5d565b8484611c4d565b6000805b82518110156107cb57600060608483815181106114c457fe5b6020026020010151901c905060008483815181106114de57fe5b60200260200101516bffffffffffffffffffffffff1690506115008282611493565b611543576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b50506001016114ab565b60026006541415611593576040805162461bcd60e51b815260206004820152601f60248201526000805160206136cf833981519152604482015290519081900360640190fd5b6002600655600554610100900460ff16156115e8576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61092d8161228d565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561166057600080fd5b505afa158015611674573d6000803e3d6000fd5b505050506040513d602081101561168a57600080fd5b5051905090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a06e01ba306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561166057600080fd5b6000610bcc61170d6115f1565b611715610de3565b9061209a565b4284101561175a576040805162461bcd60e51b8152602060048201526007602482015266115e1c1a5c995960ca1b604482015290519081900360640190fd5b6001600160a01b0380881660008181526007602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958c166060860152608085018b905260a085019590955260c08085018a90528151808603909101815260e08501825280519083012061190160f01b6101008601527f00000000000000000000000000000000000000000000000000000000000000006101028601526101228086019190915281518086039091018152610142850180835281519184019190912090849052610162850180835281905260ff89166101828601526101a285018890526101c285018790529051909492936101e28082019392601f1981019281900390910190855afa158015611893573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906118c95750886001600160a01b0316816001600160a01b0316145b61190e576040805162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b604482015290519081900360640190fd5b611919898989611b61565b505050505050505050565b610b2a816124c6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631ac3ddeb306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561166057600080fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b611a5f611b5d565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614611ad2576040805162461bcd60e51b815260206004820152601c60248201526000805160206137a2833981519152604482015290519081900360640190fd5b610c54612ae7565b611ae2611b5d565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614611b55576040805162461bcd60e51b815260206004820152601c60248201526000805160206137a2833981519152604482015290519081900360640190fd5b610c54612b7f565b3390565b6001600160a01b038316611ba65760405162461bcd60e51b81526004018080602001828103825260248152602001806138086024913960400191505060405180910390fd5b6001600160a01b038216611beb5760405162461bcd60e51b81526004018080602001828103825260228152602001806137116022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611c925760405162461bcd60e51b81526004018080602001828103825260258152602001806137e36025913960400191505060405180910390fd5b6001600160a01b038216611cd75760405162461bcd60e51b81526004018080602001828103825260238152602001806136ac6023913960400191505060405180910390fd5b611ce2838383612c0a565b611d1f81604051806060016040528060268152602001613733602691396001600160a01b0386166000908152602081905260409020549190611da8565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611d4e908261209a565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611e375760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611dfc578181015183820152602001611de4565b50505050905090810190601f168015611e295780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60055462010000900460ff1615611e92576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b80611ed1576040805162461bcd60e51b815260206004820152600a6024820152690736861726520697320360b41b604482015290519081900360640190fd5b611eda81612daa565b6000611ee582612ea6565b90506000611f11611f05611ef76107d5565b610bc6611f0a611f05611700565b6107b4565b86906120fb565b9050611f24611f1e611b5d565b83612eff565b611f2d81612ffb565b611f35611b5d565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688483604051808381526020018281526020019250505060405180910390a2505050565b801580612008575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611fda57600080fd5b505afa158015611fee573d6000803e3d6000fd5b505050506040513d602081101561200457600080fd5b5051155b6120435760405162461bcd60e51b81526004018080602001828103825260368152602001806138566036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261209590849061307d565b505050565b6000828201838110156120f4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008261210a575060006107cf565b8282028284828161211757fe5b04146120f45760405162461bcd60e51b81526004018080602001828103825260218152602001806137596021913960400191505060405180910390fd5b60006120f483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061312e565b600554610100900460ff166121e9576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b60055462010000900460ff161561223c576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b6005805461ff00191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612270611b5d565b604080516001600160a01b039092168252519081900360200190a1565b600554610100900460ff16156122dd576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60006122f06122eb836107b4565b613193565b90506122fb8261321f565b61230c612306611b5d565b8261325c565b61231582610b2a565b61231d611b5d565b6001600160a01b03167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a158284604051808381526020018281526020019250505060405180910390a25050565b600554610100900460ff16156123b9576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6005805461ff0019166101001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612270611b5d565b80612443576040805162461bcd60e51b815260206004820152601f60248201527f5769746864726177206d7573742062652067726561746572207468616e203000604482015290519081900360640190fd5b61244c81612daa565b600061245c611f05611ef76107d5565b9050612469611f1e611b5d565b61247281612ffb565b61247a611b5d565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688383604051808381526020018281526020019250505060405180910390a25050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561253557600080fd5b505afa158015612549573d6000803e3d6000fd5b505050506040513d602081101561255f57600080fd5b505190507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03908116908316148015906125a957506001600160a01b0382163014155b801561262b5750806001600160a01b031663440d7248836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156125fd57600080fd5b505afa158015612611573d6000803e3d6000fd5b505050506040513d602081101561262757600080fd5b5051155b612673576040805162461bcd60e51b815260206004820152601460248201527304e6f7420616c6c6f77656420746f2073776565760641b604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663735de9f76040518163ffffffff1660e01b815260040160206040518083038186803b1580156126ce57600080fd5b505afa1580156126e2573d6000803e3d6000fd5b505050506040513d60208110156126f857600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038616916370a08231916024808301926020929190829003018186803b15801561274657600080fd5b505afa15801561275a573d6000803e3d6000fd5b505050506040513d602081101561277057600080fd5b505190506127896001600160a01b038516836000611f82565b61279d6001600160a01b0385168383611f82565b60607f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21415612885576040805160028082526060820183529091602083019080368337019050509050848160008151811061281257fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061286057fe5b60200260200101906001600160a01b031690816001600160a01b031681525050612965565b60408051600380825260808201909252906020820160608036833701905050905084816000815181106128b457fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816001815181106128f657fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160028151811061294457fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b826001600160a01b03166338ed1739836001843042601e016040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156129ed5781810151838201526020016129d5565b505050509050019650505050505050600060405180830381600087803b158015612a1657600080fd5b505af1158015612a2a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612a5357600080fd5b8101908080516040519392919084640100000000821115612a7357600080fd5b908301906020820185811115612a8857600080fd5b8251866020820283011164010000000082111715612aa557600080fd5b82525081516020918201928201910280838360005b83811015612ad2578181015183820152602001612aba565b50505050905001604052505050505050505050565b60055462010000900460ff1615612b3a576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b6005805461ff001962ff0000199091166201000017166101001790557f28b4c24cb1012c094cd2f59f98e89d791973295f8fda6eaa118022d6d318960a612270611b5d565b60055462010000900460ff16612bd5576040805162461bcd60e51b81526020600482015260166024820152752830bab9b0b136329d103737ba1039b43aba3237bbb760511b604482015290519081900360640190fd5b6005805462ff0000191690557fece7583a70a505ef0e36d4dec768f5ae597713e09c26011022599ee01abdabfc612270611b5d565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663dd5aba4b306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612c7957600080fd5b505afa158015612c8d573d6000803e3d6000fd5b505050506040513d6020811015612ca357600080fd5b505190506001600160a01b03811615612da4576001600160a01b03841615612d2d57806001600160a01b031663632447c9856040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015612d1457600080fd5b505af1158015612d28573d6000803e3d6000fd5b505050505b6001600160a01b03831615612da457806001600160a01b031663632447c9846040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015612d8b57600080fd5b505af1158015612d9f573d6000803e3d6000fd5b505050505b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612e1957600080fd5b505afa158015612e2d573d6000803e3d6000fd5b505050506040513d6020811015612e4357600080fd5b50516040805163419f775360e01b815290519192506001600160a01b0383169163419f77539160048082019260009290919082900301818387803b158015612e8a57600080fd5b505af1158015612e9e573d6000803e3d6000fd5b505050505050565b6000612eb0611958565b15612efb576000612ece670de0b6b3a7640000610bc6611f0a611958565b9050612eda838261334c565b9150612ef5612ee7611b5d565b612eef611691565b83611c4d565b50610f0f565b5090565b6001600160a01b038216612f445760405162461bcd60e51b81526004018080602001828103825260218152602001806137c26021913960400191505060405180910390fd5b612f5082600083612c0a565b612f8d816040518060600160405280602281526020016136ef602291396001600160a01b0385166000908152602081905260409020549190611da8565b6001600160a01b038316600090815260208190526040902055600254612fb3908261334c565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006130056115f1565b90508181101561303d5761302161301c838361334c565b61338e565b6130296115f1565b9050818110613038578161303a565b805b91505b613079613048611b5d565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169084613475565b5050565b60606130d2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166134c79092919063ffffffff16565b805190915015612095578080602001905160208110156130f157600080fd5b50516120955760405162461bcd60e51b815260040180806020018281038252602a81526020018061382c602a913960400191505060405180910390fd5b6000818361317d5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611dfc578181015183820152602001611de4565b50600083858161318957fe5b0495945050505050565b6000816131d5576040805162461bcd60e51b815260206004820152600b60248201526a0616d6f756e7420697320360ac1b604482015290519081900360640190fd5b60006131df6107d5565b905060006131ee611f05611700565b905060008215806131fd575081155b6132145761320f82610bc687866120fb565b613216565b845b95945050505050565b610b2a61322a611b5d565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169030846134de565b6001600160a01b0382166132b7576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6132c360008383612c0a565b6002546132d0908261209a565b6002556001600160a01b0382166000908152602081905260409020546132f6908261209a565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60006120f483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611da8565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156133fd57600080fd5b505afa158015613411573d6000803e3d6000fd5b505050506040513d602081101561342757600080fd5b505160408051632e1a7d4d60e01b81526004810185905290519192506001600160a01b03831691632e1a7d4d9160248082019260009290919082900301818387803b158015612e8a57600080fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261209590849061307d565b60606134d68484600085613538565b949350505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612da490859061307d565b6060613543856136a5565b613594576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106135d35780518252601f1990920191602091820191016135b4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613635576040519150601f19603f3d011682016040523d82523d6000602084013e61363a565b606091505b5091509150811561364e5791506134d69050565b80511561365e5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611dfc578181015183820152602001611de4565b3b15159056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636543616c6c6572206973206e6f742074686520636f6e74726f6c6c65720000000045524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122081fe5bc2e35a760b7f94bc1539af5866d55b6e5de89ec1822e59a695f1e5a04c64736f6c634300060c0033000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd0217

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025e5760003560e01c806397a5af5511610146578063d505accf116100c3578063f6ecd3d511610087578063f6ecd3d5146106f8578063f77c479114610700578063fb589de21461061e578063fc0c546a14610708578063fc0e74d114610710578063fcfff16f146107185761025e565b8063d505accf14610643578063d9fe3eae14610694578063dd62ed3e146106ba578063e941fa78146106e8578063f698da25146106f05761025e565b8063b6b55f251161010a578063b6b55f25146105d5578063b8cb343d146105f2578063c415b95c146105fa578063ce27b9031461061e578063d4c3eea01461063b5761025e565b806397a5af55146104b557806399b71d5c146104d2578063a457c2d7146104da578063a9059cbb14610506578063b33fcc7a146105325761025e565b80633d68175c116101df5780636a630559116101a35780636a6305591461044957806370a08231146104515780637d7c2a1c146104775780637ecebe001461047f5780638456cb59146104a557806395d89b41146104ad5761025e565b80633d68175c146103f15780633f4ba83a146103f95780634938649a146104015780634a970be7146104095780635c975abb146104415761025e565b80632e1a7d4d116102265780632e1a7d4d1461037857806330adf81f14610397578063313ce5671461039f578063330b8b71146103bd57806339509351146103c55761025e565b806306fdde0314610263578063095ea7b3146102e057806318160ddd1461032057806320606b701461033a57806323b872dd14610342575b600080fd5b61026b610720565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a557818101518382015260200161028d565b50505050905090810190601f1680156102d25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61030c600480360360408110156102f657600080fd5b506001600160a01b0381351690602001356107b7565b604080519115158252519081900360200190f35b6103286107d5565b60408051918252519081900360200190f35b6103286107db565b61030c6004803603606081101561035857600080fd5b506001600160a01b038135811691602081013590911690604001356107ff565b6103956004803603602081101561038e57600080fd5b5035610886565b005b610328610935565b6103a7610959565b6040805160ff9092168252519081900360200190f35b610395610962565b61030c600480360360408110156103db57600080fd5b506001600160a01b038135169060200135610b2d565b610328610b7b565b610395610bd1565b61030c610c56565b610395600480360360a081101561041f57600080fd5b5080359060208101359060ff6040820135169060608101359060800135610c65565b61030c610dd5565b610328610de3565b6103286004803603602081101561046757600080fd5b50356001600160a01b0316610ef5565b610395610f14565b6103286004803603602081101561049557600080fd5b50356001600160a01b031661100f565b610395611021565b61026b6110a4565b610395600480360360208110156104cb57600080fd5b5035611105565b61039561129d565b61030c600480360360408110156104f057600080fd5b506001600160a01b03813516906020013561142b565b61030c6004803603604081101561051c57600080fd5b506001600160a01b038135169060200135611493565b61030c6004803603602081101561054857600080fd5b81019060208101813564010000000081111561056357600080fd5b82018360208201111561057557600080fd5b8035906020019184602083028401116401000000008311171561059757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506114a7945050505050565b610395600480360360208110156105eb57600080fd5b503561154d565b6103286115f1565b610602611691565b604080516001600160a01b039092168252519081900360200190f35b6103286004803603602081101561063457600080fd5b50356107b4565b610328611700565b610395600480360360e081101561065957600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c0013561171b565b610395600480360360208110156106aa57600080fd5b50356001600160a01b0316611924565b610328600480360360408110156106d057600080fd5b506001600160a01b038135811691602001351661192d565b610328611958565b6103286119c7565b6106026119eb565b610602611a0f565b610602611a33565b610395611a57565b610395611ada565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107ac5780601f10610781576101008083540402835291602001916107ac565b820191906000526020600020905b81548152906001019060200180831161078f57829003601f168201915b505050505090505b90565b60006107cb6107c4611b5d565b8484611b61565b5060015b92915050565b60025490565b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b600061080c848484611c4d565b61087c84610818611b5d565b6108778560405180606001604052806028815260200161377a602891396001600160a01b038a16600090815260016020526040812090610856611b5d565b6001600160a01b031681526020810191909152604001600020549190611da8565b611b61565b5060019392505050565b600260065414156108cc576040805162461bcd60e51b815260206004820152601f60248201526000805160206136cf833981519152604482015290519081900360640190fd5b600260065560055462010000900460ff1615610924576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b61092d81611e3f565b506001600655565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b61096a611b5d565b6001600160a01b03167f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316146109dd576040805162461bcd60e51b815260206004820152601c60248201526000805160206137a2833981519152604482015290519081900360640190fd5b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610a4c57600080fd5b505afa158015610a60573d6000803e3d6000fd5b505050506040513d6020811015610a7657600080fd5b50519050610aaf6001600160a01b037f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca16826000611f82565b610b2a816000836001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aee57600080fd5b505afa158015610b02573d6000803e3d6000fd5b505050506040513d6020811015610b1857600080fd5b50516001600160a01b03169190611f82565b50565b60006107cb610b3a611b5d565b846108778560016000610b4b611b5d565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061209a565b6000610b856107d5565b610ba157610b9a670de0b6b3a76400006107b4565b90506107b4565b610bcc610bac6107d5565b610bc6670de0b6b3a7640000610bc0611700565b906120fb565b90612154565b905090565b610bd9611b5d565b6001600160a01b03167f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031614610c4c576040805162461bcd60e51b815260206004820152601c60248201526000805160206137a2833981519152604482015290519081900360640190fd5b610c54612196565b565b60055462010000900460ff1681565b60026006541415610cab576040805162461bcd60e51b815260206004820152601f60248201526000805160206136cf833981519152604482015290519081900360640190fd5b6002600655600554610100900460ff1615610d00576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b7f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b031663d505accf610d37611b5d565b604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152306024830152604482018990526064820188905260ff8716608483015260a4820186905260c482018590525160e480830192600092919082900301818387803b158015610da857600080fd5b505af1158015610dbc573d6000803e3d6000fd5b50505050610dc98561228d565b50506001600655505050565b600554610100900460ff1681565b6000807f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e5357600080fd5b505afa158015610e67573d6000803e3d6000fd5b505050506040513d6020811015610e7d57600080fd5b505160408051632b448a0960e11b815290519192506001600160a01b03831691635689141291600480820192602092909190829003018186803b158015610ec357600080fd5b505afa158015610ed7573d6000803e3d6000fd5b505050506040513d6020811015610eed57600080fd5b505191505090565b6001600160a01b0381166000908152602081905260409020545b919050565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610f8357600080fd5b505afa158015610f97573d6000803e3d6000fd5b505050506040513d6020811015610fad57600080fd5b505160408051631f5f0a8760e21b815290519192506001600160a01b03831691637d7c2a1c9160048082019260009290919082900301818387803b158015610ff457600080fd5b505af1158015611008573d6000803e3d6000fd5b5050505050565b60076020526000908152604090205481565b611029611b5d565b6001600160a01b03167f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b03161461109c576040805162461bcd60e51b815260206004820152601c60248201526000805160206137a2833981519152604482015290519081900360640190fd5b610c54612369565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107ac5780601f10610781576101008083540402835291602001916107ac565b6002600654141561114b576040805162461bcd60e51b815260206004820152601f60248201526000805160206136cf833981519152604482015290519081900360640190fd5b600260065560055462010000900460ff16156111a3576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b7f000000000000000000000000ef6fbb51dbdf0b8921587bba31ef245a60f1ea2c6001600160a01b031663c2bc2efc6111da611b5d565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561121757600080fd5b505afa15801561122b573d6000803e3d6000fd5b505050506040513d602081101561124157600080fd5b5051611294576040805162461bcd60e51b815260206004820152601a60248201527f4e6f742061207768697465206c69737465642061646472657373000000000000604482015290519081900360640190fd5b61092d816123f1565b6112a5611b5d565b6001600160a01b03167f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031614611318576040805162461bcd60e51b815260206004820152601c60248201526000805160206137a2833981519152604482015290519081900360640190fd5b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561138757600080fd5b505afa15801561139b573d6000803e3d6000fd5b505050506040513d60208110156113b157600080fd5b505190506113eb6001600160a01b037f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca1682600019611f82565b610b2a81600019836001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aee57600080fd5b60006107cb611438611b5d565b846108778560405180606001604052806025815260200161388c6025913960016000611462611b5d565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611da8565b60006107cb6114a0611b5d565b8484611c4d565b6000805b82518110156107cb57600060608483815181106114c457fe5b6020026020010151901c905060008483815181106114de57fe5b60200260200101516bffffffffffffffffffffffff1690506115008282611493565b611543576040805162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b50506001016114ab565b60026006541415611593576040805162461bcd60e51b815260206004820152601f60248201526000805160206136cf833981519152604482015290519081900360640190fd5b6002600655600554610100900460ff16156115e8576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61092d8161228d565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561166057600080fd5b505afa158015611674573d6000803e3d6000fd5b505050506040513d602081101561168a57600080fd5b5051905090565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663a06e01ba306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561166057600080fd5b6000610bcc61170d6115f1565b611715610de3565b9061209a565b4284101561175a576040805162461bcd60e51b8152602060048201526007602482015266115e1c1a5c995960ca1b604482015290519081900360640190fd5b6001600160a01b0380881660008181526007602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958c166060860152608085018b905260a085019590955260c08085018a90528151808603909101815260e08501825280519083012061190160f01b6101008601527f9cb3e59f7a779ab28a7c07dd686b598cc436511268ccee4061ff2707e6dac60d6101028601526101228086019190915281518086039091018152610142850180835281519184019190912090849052610162850180835281905260ff89166101828601526101a285018890526101c285018790529051909492936101e28082019392601f1981019281900390910190855afa158015611893573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906118c95750886001600160a01b0316816001600160a01b0316145b61190e576040805162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b604482015290519081900360640190fd5b611919898989611b61565b505050505050505050565b610b2a816124c6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b0316631ac3ddeb306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561166057600080fd5b7f9cb3e59f7a779ab28a7c07dd686b598cc436511268ccee4061ff2707e6dac60d81565b7f000000000000000000000000ef6fbb51dbdf0b8921587bba31ef245a60f1ea2c81565b7f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd021781565b7f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca81565b611a5f611b5d565b6001600160a01b03167f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031614611ad2576040805162461bcd60e51b815260206004820152601c60248201526000805160206137a2833981519152604482015290519081900360640190fd5b610c54612ae7565b611ae2611b5d565b6001600160a01b03167f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031614611b55576040805162461bcd60e51b815260206004820152601c60248201526000805160206137a2833981519152604482015290519081900360640190fd5b610c54612b7f565b3390565b6001600160a01b038316611ba65760405162461bcd60e51b81526004018080602001828103825260248152602001806138086024913960400191505060405180910390fd5b6001600160a01b038216611beb5760405162461bcd60e51b81526004018080602001828103825260228152602001806137116022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316611c925760405162461bcd60e51b81526004018080602001828103825260258152602001806137e36025913960400191505060405180910390fd5b6001600160a01b038216611cd75760405162461bcd60e51b81526004018080602001828103825260238152602001806136ac6023913960400191505060405180910390fd5b611ce2838383612c0a565b611d1f81604051806060016040528060268152602001613733602691396001600160a01b0386166000908152602081905260409020549190611da8565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611d4e908261209a565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611e375760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611dfc578181015183820152602001611de4565b50505050905090810190601f168015611e295780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60055462010000900460ff1615611e92576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b80611ed1576040805162461bcd60e51b815260206004820152600a6024820152690736861726520697320360b41b604482015290519081900360640190fd5b611eda81612daa565b6000611ee582612ea6565b90506000611f11611f05611ef76107d5565b610bc6611f0a611f05611700565b6107b4565b86906120fb565b9050611f24611f1e611b5d565b83612eff565b611f2d81612ffb565b611f35611b5d565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688483604051808381526020018281526020019250505060405180910390a2505050565b801580612008575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611fda57600080fd5b505afa158015611fee573d6000803e3d6000fd5b505050506040513d602081101561200457600080fd5b5051155b6120435760405162461bcd60e51b81526004018080602001828103825260368152602001806138566036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261209590849061307d565b505050565b6000828201838110156120f4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008261210a575060006107cf565b8282028284828161211757fe5b04146120f45760405162461bcd60e51b81526004018080602001828103825260218152602001806137596021913960400191505060405180910390fd5b60006120f483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061312e565b600554610100900460ff166121e9576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b60055462010000900460ff161561223c576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b6005805461ff00191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612270611b5d565b604080516001600160a01b039092168252519081900360200190a1565b600554610100900460ff16156122dd576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60006122f06122eb836107b4565b613193565b90506122fb8261321f565b61230c612306611b5d565b8261325c565b61231582610b2a565b61231d611b5d565b6001600160a01b03167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a158284604051808381526020018281526020019250505060405180910390a25050565b600554610100900460ff16156123b9576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6005805461ff0019166101001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612270611b5d565b80612443576040805162461bcd60e51b815260206004820152601f60248201527f5769746864726177206d7573742062652067726561746572207468616e203000604482015290519081900360640190fd5b61244c81612daa565b600061245c611f05611ef76107d5565b9050612469611f1e611b5d565b61247281612ffb565b61247a611b5d565b6001600160a01b03167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688383604051808381526020018281526020019250505060405180910390a25050565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561253557600080fd5b505afa158015612549573d6000803e3d6000fd5b505050506040513d602081101561255f57600080fd5b505190507f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b03908116908316148015906125a957506001600160a01b0382163014155b801561262b5750806001600160a01b031663440d7248836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156125fd57600080fd5b505afa158015612611573d6000803e3d6000fd5b505050506040513d602081101561262757600080fd5b5051155b612673576040805162461bcd60e51b815260206004820152601460248201527304e6f7420616c6c6f77656420746f2073776565760641b604482015290519081900360640190fd5b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663735de9f76040518163ffffffff1660e01b815260040160206040518083038186803b1580156126ce57600080fd5b505afa1580156126e2573d6000803e3d6000fd5b505050506040513d60208110156126f857600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038616916370a08231916024808301926020929190829003018186803b15801561274657600080fd5b505afa15801561275a573d6000803e3d6000fd5b505050506040513d602081101561277057600080fd5b505190506127896001600160a01b038516836000611f82565b61279d6001600160a01b0385168383611f82565b60607f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b031673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21415612885576040805160028082526060820183529091602083019080368337019050509050848160008151811061281257fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca8160018151811061286057fe5b60200260200101906001600160a01b031690816001600160a01b031681525050612965565b60408051600380825260808201909252906020820160608036833701905050905084816000815181106128b457fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816001815181106128f657fe5b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca8160028151811061294457fe5b60200260200101906001600160a01b031690816001600160a01b0316815250505b826001600160a01b03166338ed1739836001843042601e016040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156129ed5781810151838201526020016129d5565b505050509050019650505050505050600060405180830381600087803b158015612a1657600080fd5b505af1158015612a2a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015612a5357600080fd5b8101908080516040519392919084640100000000821115612a7357600080fd5b908301906020820185811115612a8857600080fd5b8251866020820283011164010000000082111715612aa557600080fd5b82525081516020918201928201910280838360005b83811015612ad2578181015183820152602001612aba565b50505050905001604052505050505050505050565b60055462010000900460ff1615612b3a576040805162461bcd60e51b81526020600482015260126024820152712830bab9b0b136329d1039b43aba3237bbb760711b604482015290519081900360640190fd5b6005805461ff001962ff0000199091166201000017166101001790557f28b4c24cb1012c094cd2f59f98e89d791973295f8fda6eaa118022d6d318960a612270611b5d565b60055462010000900460ff16612bd5576040805162461bcd60e51b81526020600482015260166024820152752830bab9b0b136329d103737ba1039b43aba3237bbb760511b604482015290519081900360640190fd5b6005805462ff0000191690557fece7583a70a505ef0e36d4dec768f5ae597713e09c26011022599ee01abdabfc612270611b5d565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663dd5aba4b306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612c7957600080fd5b505afa158015612c8d573d6000803e3d6000fd5b505050506040513d6020811015612ca357600080fd5b505190506001600160a01b03811615612da4576001600160a01b03841615612d2d57806001600160a01b031663632447c9856040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015612d1457600080fd5b505af1158015612d28573d6000803e3d6000fd5b505050505b6001600160a01b03831615612da457806001600160a01b031663632447c9846040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b158015612d8b57600080fd5b505af1158015612d9f573d6000803e3d6000fd5b505050505b50505050565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612e1957600080fd5b505afa158015612e2d573d6000803e3d6000fd5b505050506040513d6020811015612e4357600080fd5b50516040805163419f775360e01b815290519192506001600160a01b0383169163419f77539160048082019260009290919082900301818387803b158015612e8a57600080fd5b505af1158015612e9e573d6000803e3d6000fd5b505050505050565b6000612eb0611958565b15612efb576000612ece670de0b6b3a7640000610bc6611f0a611958565b9050612eda838261334c565b9150612ef5612ee7611b5d565b612eef611691565b83611c4d565b50610f0f565b5090565b6001600160a01b038216612f445760405162461bcd60e51b81526004018080602001828103825260218152602001806137c26021913960400191505060405180910390fd5b612f5082600083612c0a565b612f8d816040518060600160405280602281526020016136ef602291396001600160a01b0385166000908152602081905260409020549190611da8565b6001600160a01b038316600090815260208190526040902055600254612fb3908261334c565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006130056115f1565b90508181101561303d5761302161301c838361334c565b61338e565b6130296115f1565b9050818110613038578161303a565b805b91505b613079613048611b5d565b6001600160a01b037f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca169084613475565b5050565b60606130d2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166134c79092919063ffffffff16565b805190915015612095578080602001905160208110156130f157600080fd5b50516120955760405162461bcd60e51b815260040180806020018281038252602a81526020018061382c602a913960400191505060405180910390fd5b6000818361317d5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611dfc578181015183820152602001611de4565b50600083858161318957fe5b0495945050505050565b6000816131d5576040805162461bcd60e51b815260206004820152600b60248201526a0616d6f756e7420697320360ac1b604482015290519081900360640190fd5b60006131df6107d5565b905060006131ee611f05611700565b905060008215806131fd575081155b6132145761320f82610bc687866120fb565b613216565b845b95945050505050565b610b2a61322a611b5d565b6001600160a01b037f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca169030846134de565b6001600160a01b0382166132b7576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6132c360008383612c0a565b6002546132d0908261209a565b6002556001600160a01b0382166000908152602081905260409020546132f6908261209a565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60006120f483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611da8565b60007f000000000000000000000000a4f1671d3aee73c05b552d57f2d16d3cfcbd02176001600160a01b031663228bfd9f306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156133fd57600080fd5b505afa158015613411573d6000803e3d6000fd5b505050506040513d602081101561342757600080fd5b505160408051632e1a7d4d60e01b81526004810185905290519192506001600160a01b03831691632e1a7d4d9160248082019260009290919082900301818387803b158015612e8a57600080fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261209590849061307d565b60606134d68484600085613538565b949350505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612da490859061307d565b6060613543856136a5565b613594576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106135d35780518252601f1990920191602091820191016135b4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613635576040519150601f19603f3d011682016040523d82523d6000602084013e61363a565b606091505b5091509150811561364e5791506134d69050565b80511561365e5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611dfc578181015183820152602001611de4565b3b15159056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636543616c6c6572206973206e6f742074686520636f6e74726f6c6c65720000000045524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122081fe5bc2e35a760b7f94bc1539af5866d55b6e5de89ec1822e59a695f1e5a04c64736f6c634300060c0033

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

60380:195:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17432:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19538:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19538:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;18507:100;;;:::i;:::-;;;;;;;;;;;;;;;;39775:170;;;:::i;20181:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20181:321:0;;;;;;;;;;;;;;;;;:::i;42756:116::-;;;;;;;;;;;;;;;;-1:-1:-1;42756:116:0;;:::i;:::-;;40032:170;;;:::i;18359:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;56725:241;;;:::i;20911:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20911:218:0;;;;;;;;:::i;45660:214::-;;;:::i;56051:72::-;;;:::i;33099:26::-;;;:::i;42072:324::-;;;;;;;;;;;;;;;;-1:-1:-1;42072:324:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;33074:18::-;;;:::i;57599:186::-;;;:::i;18670:119::-;;;;;;;;;;;;;;;;-1:-1:-1;18670:119:0;-1:-1:-1;;;;;18670:119:0;;:::i;57153:154::-;;;:::i;40321:41::-;;;;;;;;;;;;;;;;-1:-1:-1;40321:41:0;-1:-1:-1;;;;;40321:41:0;;:::i;55975:68::-;;;:::i;17634:87::-;;;:::i;43264:221::-;;;;;;;;;;;;;;;;-1:-1:-1;43264:221:0;;:::i;56372:266::-;;;:::i;21632:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21632:269:0;;;;;;;;:::i;19002:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19002:175:0;;;;;;;;:::i;43723:332::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43723:332:0;;-1:-1:-1;43723:332:0;;-1:-1:-1;;;;;43723:332:0:i;41605:112::-;;;;;;;;;;;;;;;;-1:-1:-1;41605:112:0;;:::i;46556:116::-;;;:::i;46332:126::-;;;:::i;:::-;;;;-1:-1:-1;;;;;46332:126:0;;;;;;;;;;;;;;45971:107;;;;;;;;;;;;;;;;-1:-1:-1;45971:107:0;;:::i;57872:118::-;;;:::i;44542:995::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44542:995:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;57442:91::-;;;;;;;;;;;;;;;;-1:-1:-1;57442:91:0;-1:-1:-1;;;;;57442:91:0;;:::i;19240:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19240:151:0;;;;;;;;;;:::i;47060:124::-;;;:::i;40211:40::-;;;:::i;39614:45::-;;;:::i;39666:39::-;;;:::i;39578:29::-;;;:::i;56131:74::-;;;:::i;56213:66::-;;;:::i;17432:83::-;17502:5;17495:12;;;;;;;;-1:-1:-1;;17495:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17469:13;;17495:12;;17502:5;;17495:12;;17502:5;17495:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17432:83;;:::o;19538:169::-;19621:4;19638:39;19647:12;:10;:12::i;:::-;19661:7;19670:6;19638:8;:39::i;:::-;-1:-1:-1;19695:4:0;19538:169;;;;;:::o;18507:100::-;18587:12;;18507:100;:::o;39775:170::-;39826:119;39775:170;:::o;20181:321::-;20287:4;20304:36;20314:6;20322:9;20333:6;20304:9;:36::i;:::-;20351:121;20360:6;20368:12;:10;:12::i;:::-;20382:89;20420:6;20382:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20382:19:0;;;;;;:11;:19;;;;;;20402:12;:10;:12::i;:::-;-1:-1:-1;;;;;20382:33:0;;;;;;;;;;;;-1:-1:-1;20382:33:0;;;:89;:37;:89::i;:::-;20351:8;:121::i;:::-;-1:-1:-1;20490:4:0;20181:321;;;;;:::o;42756:116::-;31713:1;32319:7;;:19;;32311:63;;;;;-1:-1:-1;;;32311:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32311:63:0;;;;;;;;;;;;;;;31713:1;32452:7;:18;33379:14:::1;::::0;;;::::1;;;33378:15;33370:46;;;::::0;;-1:-1:-1;;;33370:46:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33370:46:0;;;;;;;;;;;;;::::1;;42847:17:::2;42857:6;42847:9;:17::i;:::-;-1:-1:-1::0;31669:1:0;32631:7;:22;42756:116::o;40032:170::-;40083:119;40032:170;:::o;18359:83::-;18425:9;;;;18359:83;:::o;56725:241::-;55902:12;:10;:12::i;:::-;-1:-1:-1;;;;;55879:35:0;55887:10;-1:-1:-1;;;;;55879:35:0;;55871:76;;;;;-1:-1:-1;;;55871:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;55871:76:0;;;;;;;;;;;;;;;56793:16:::1;56812:10;-1:-1:-1::0;;;;;56812:19:0::1;;56840:4;56812:34;;;;;;;;;;;;;-1:-1:-1::0;;;;;56812:34:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;56812:34:0;;-1:-1:-1;56857:30:0::1;-1:-1:-1::0;;;;;56857:5:0::1;:17;56812:34:::0;56885:1:::1;56857:17;:30::i;:::-;56898:60;56946:8;56956:1;56915:8;-1:-1:-1::0;;;;;56905:25:0::1;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;56905:27:0;-1:-1:-1;;;;;56898:47:0::1;::::0;:60;:47:::1;:60::i;:::-;55958:1;56725:241::o:0;20911:218::-;20999:4;21016:83;21025:12;:10;:12::i;:::-;21039:7;21048:50;21087:10;21048:11;:25;21060:12;:10;:12::i;:::-;-1:-1:-1;;;;;21048:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21048:25:0;;;:34;;;;;;;;;;;:38;:50::i;45660:214::-;45711:7;45735:13;:11;:13::i;:::-;45731:77;;45777:19;45791:4;45777:13;:19::i;:::-;45770:26;;;;45731:77;45825:41;45852:13;:11;:13::i;:::-;45825:22;45842:4;45825:12;:10;:12::i;:::-;:16;;:22::i;:::-;:26;;:41::i;:::-;45818:48;;45660:214;:::o;56051:72::-;55902:12;:10;:12::i;:::-;-1:-1:-1;;;;;55879:35:0;55887:10;-1:-1:-1;;;;;55879:35:0;;55871:76;;;;;-1:-1:-1;;;55871:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;55871:76:0;;;;;;;;;;;;;;;56105:10:::1;:8;:10::i;:::-;56051:72::o:0;33099:26::-;;;;;;;;;:::o;42072:324::-;31713:1;32319:7;;:19;;32311:63;;;;;-1:-1:-1;;;32311:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32311:63:0;;;;;;;;;;;;;;;31713:1;32452:7;:18;33179:6:::1;::::0;::::1;::::0;::::1;;;33178:7;33170:36;;;::::0;;-1:-1:-1;;;33170:36:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33170:36:0;;;;;;;;;;;;;::::1;;42291:5:::2;-1:-1:-1::0;;;;;42271:34:0::2;;42306:12;:10;:12::i;:::-;42271:90;::::0;;-1:-1:-1;;;;;;42271:90:0::2;::::0;;;;;;-1:-1:-1;;;;;42271:90:0;;::::2;;::::0;::::2;::::0;42328:4:::2;42271:90:::0;;;;;;;;;;;;;;;;::::2;::::0;::::2;::::0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;42271:90:0;;;;;;;-1:-1:-1;42271:90:0;;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;42372:16;42381:6;42372:8;:16::i;:::-;-1:-1:-1::0;;31669:1:0;32631:7;:22;-1:-1:-1;;;42072:324:0:o;33074:18::-;;;;;;;;;:::o;57599:186::-;57651:7;57671:18;57702:10;-1:-1:-1;;;;;57702:19:0;;57730:4;57702:34;;;;;;;;;;;;;-1:-1:-1;;;;;57702:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57702:34:0;57755:22;;;-1:-1:-1;;;57755:22:0;;;;57702:34;;-1:-1:-1;;;;;;57755:20:0;;;;;:22;;;;;57702:34;;57755:22;;;;;;;;:20;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57755:22:0;;-1:-1:-1;;57599:186:0;:::o;18670:119::-;-1:-1:-1;;;;;18763:18:0;;18736:7;18763:18;;;;;;;;;;;18670:119;;;;:::o;57153:154::-;57202:18;57233:10;-1:-1:-1;;;;;57233:19:0;;57261:4;57233:34;;;;;;;;;;;;;-1:-1:-1;;;;;57233:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57233:34:0;57279:20;;;-1:-1:-1;;;57279:20:0;;;;57233:34;;-1:-1:-1;;;;;;57279:18:0;;;;;:20;;;;;;;;;;;;;;;;:18;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57153:154;:::o;40321:41::-;;;;;;;;;;;;;:::o;55975:68::-;55902:12;:10;:12::i;:::-;-1:-1:-1;;;;;55879:35:0;55887:10;-1:-1:-1;;;;;55879:35:0;;55871:76;;;;;-1:-1:-1;;;55871:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;55871:76:0;;;;;;;;;;;;;;;56027:8:::1;:6;:8::i;17634:87::-:0;17706:7;17699:14;;;;;;;;-1:-1:-1;;17699:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17673:13;;17699:14;;17706:7;;17699:14;;17706:7;17699:14;;;;;;;;;;;;;;;;;;;;;;;;43264:221;31713:1;32319:7;;:19;;32311:63;;;;;-1:-1:-1;;;32311:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32311:63:0;;;;;;;;;;;;;;;31713:1;32452:7;:18;33379:14:::1;::::0;;;::::1;;;33378:15;33370:46;;;::::0;;-1:-1:-1;;;33370:46:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33370:46:0;;;;;;;;;;;;;::::1;;43373:12:::2;-1:-1:-1::0;;;;;43373:16:0::2;;43390:12;:10;:12::i;:::-;43373:30;;;;;;;;;;;;;-1:-1:-1::0;;;;;43373:30:0::2;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;43373:30:0;43365:74:::2;;;::::0;;-1:-1:-1;;;43365:74:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;43450:27;43470:6;43450:19;:27::i;56372:266::-:0;55902:12;:10;:12::i;:::-;-1:-1:-1;;;;;55879:35:0;55887:10;-1:-1:-1;;;;;55879:35:0;;55871:76;;;;;-1:-1:-1;;;55871:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;55871:76:0;;;;;;;;;;;;;;;56439:16:::1;56458:10;-1:-1:-1::0;;;;;56458:19:0::1;;56486:4;56458:34;;;;;;;;;;;;;-1:-1:-1::0;;;;;56458:34:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;56458:34:0;;-1:-1:-1;56503:43:0::1;-1:-1:-1::0;;;;;56503:5:0::1;:17;56458:34:::0;-1:-1:-1;;56503:17:0::1;:43::i;:::-;56557:73;56605:8;-1:-1:-1::0;;56574:8:0::1;-1:-1:-1::0;;;;;56564:25:0::1;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;21632:269:::0;21725:4;21742:129;21751:12;:10;:12::i;:::-;21765:7;21774:96;21813:15;21774:96;;;;;;;;;;;;;;;;;:11;:25;21786:12;:10;:12::i;:::-;-1:-1:-1;;;;;21774:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21774:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;19002:175::-;19088:4;19105:42;19115:12;:10;:12::i;:::-;19129:9;19140:6;19105:9;:42::i;43723:332::-;43787:4;;43804:222;43828:4;:11;43824:1;:15;43804:222;;;43861:9;43892:2;43881:4;43886:1;43881:7;;;;;;;;;;;;;;:13;;43861:34;;43910:14;43927:4;43932:1;43927:7;;;;;;;;;;;;;;43938:13;43927:25;43910:42;;43975:19;43984:1;43987:6;43975:8;:19::i;:::-;43967:47;;;;;-1:-1:-1;;;43967:47:0;;;;;;;;;;;;-1:-1:-1;;;43967:47:0;;;;;;;;;;;;;;;-1:-1:-1;;43841:3:0;;43804:222;;41605:112;31713:1;32319:7;;:19;;32311:63;;;;;-1:-1:-1;;;32311:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;32311:63:0;;;;;;;;;;;;;;;31713:1;32452:7;:18;33179:6:::1;::::0;::::1;::::0;::::1;;;33178:7;33170:36;;;::::0;;-1:-1:-1;;;33170:36:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33170:36:0;;;;;;;;;;;;;::::1;;41693:16:::2;41702:6;41693:8;:16::i;46556:116::-:0;46607:7;46634:5;-1:-1:-1;;;;;46634:15:0;;46658:4;46634:30;;;;;;;;;;;;;-1:-1:-1;;;;;46634:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46634:30:0;;-1:-1:-1;46556:116:0;:::o;46332:126::-;46385:7;46412:10;-1:-1:-1;;;;;46412:23:0;;46444:4;46412:38;;;;;;;;;;;;;-1:-1:-1;;;;;46412:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;57872:118;57924:7;57951:31;57969:12;:10;:12::i;:::-;57951:13;:11;:13::i;:::-;:17;;:31::i;44542:995::-;44765:15;44753:8;:27;;44745:47;;;;;-1:-1:-1;;;44745:47:0;;;;;;;;;;;;-1:-1:-1;;;44745:47:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;45205:13:0;;;44803:14;45205:13;;;:6;:13;;;;;;;;:15;;;;;;;;;45007:279;;40083:119;45007:279;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44971:338;;;;;;-1:-1:-1;;;44861:467:0;;;;44933:15;44861:467;;;;;;;;;;;;;;;;;;;;;;;;;;;;44833:510;;;;;;;;;45374:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44833:510;;44803:14;;45374:26;;;;;45205:13;-1:-1:-1;;45374:26:0;;;;;;;;;;45205:15;45374:26;;;;;;;;;;;;;;;-1:-1:-1;;45374:26:0;;-1:-1:-1;;45374:26:0;;;-1:-1:-1;;;;;;;45419:23:0;;;;;;:45;;;45459:5;-1:-1:-1;;;;;45446:18:0;:9;-1:-1:-1;;;;;45446:18:0;;45419:45;45411:75;;;;;-1:-1:-1;;;45411:75:0;;;;;;;;;;;;-1:-1:-1;;;45411:75:0;;;;;;;;;;;;;;;45497:32;45506:5;45513:7;45522:6;45497:8;:32::i;:::-;44542:995;;;;;;;;;:::o;57442:91::-;57506:19;57518:6;57506:11;:19::i;19240:151::-;-1:-1:-1;;;;;19356:18:0;;;19329:7;19356:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19240:151::o;47060:124::-;47112:7;47139:10;-1:-1:-1;;;;;47139:22:0;;47170:4;47139:37;;;;;;;;;;;;;-1:-1:-1;;;;;47139:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;40211:40;;;:::o;39614:45::-;;;:::o;39666:39::-;;;:::o;39578:29::-;;;:::o;56131:74::-;55902:12;:10;:12::i;:::-;-1:-1:-1;;;;;55879:35:0;55887:10;-1:-1:-1;;;;;55879:35:0;;55871:76;;;;;-1:-1:-1;;;55871:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;55871:76:0;;;;;;;;;;;;;;;56186:11:::1;:9;:11::i;56213:66::-:0;55902:12;:10;:12::i;:::-;-1:-1:-1;;;;;55879:35:0;55887:10;-1:-1:-1;;;;;55879:35:0;;55871:76;;;;;-1:-1:-1;;;55871:76:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;55871:76:0;;;;;;;;;;;;;;;56264:7:::1;:5;:7::i;657:106::-:0;745:10;657:106;:::o;24777:346::-;-1:-1:-1;;;;;24879:19:0;;24871:68;;;;-1:-1:-1;;;24871:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24958:21:0;;24950:68;;;;-1:-1:-1;;;24950:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25031:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25083:32;;;;;;;;;;;;;;;;;24777:346;;;:::o;22391:539::-;-1:-1:-1;;;;;22497:20:0;;22489:70;;;;-1:-1:-1;;;22489:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22578:23:0;;22570:71;;;;-1:-1:-1;;;22570:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22654:47;22675:6;22683:9;22694:6;22654:20;:47::i;:::-;22734:71;22756:6;22734:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22734:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;22714:17:0;;;:9;:17;;;;;;;;;;;:91;;;;22839:20;;;;;;;:32;;22864:6;22839:24;:32::i;:::-;-1:-1:-1;;;;;22816:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;22887:35;;;;;;;22816:20;;22887:35;;;;;;;;;;;;;22391:539;;;:::o;5638:192::-;5724:7;5760:12;5752:6;;;;5744:29;;;;-1:-1:-1;;;5744:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5796:5:0;;;5638:192::o;50547:454::-;33379:14;;;;;;;33378:15;33370:46;;;;;-1:-1:-1;;;33370:46:0;;;;;;;;;;;;-1:-1:-1;;;33370:46:0;;;;;;;;;;;;;;;50626:11;50618:34:::1;;;::::0;;-1:-1:-1;;;50618:34:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50618:34:0;;;;;;;;;;;;;::::1;;50663:22;50678:6;50663:14;:22::i;:::-;50696;50721:18;50732:6;50721:10;:18::i;:::-;50696:43;;50750:14;50780:79;50794:64;50844:13;:11;:13::i;:::-;50794:45;50813:25;50825:12;:10;:12::i;:::-;50813:11;:25::i;:::-;50794:14:::0;;:18:::1;:45::i;50780:79::-;50750:109;;50872:35;50878:12;:10;:12::i;:::-;50892:14;50872:5;:35::i;:::-;50918:21;50932:6;50918:13;:21::i;:::-;50964:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;50955:38:0::1;;50978:6;50986;50955:38;;;;;;;;;;;;;;;;;;;;;;;;33427:1;;50547:454:::0;:::o;27564:622::-;27934:10;;;27933:62;;-1:-1:-1;27950:39:0;;;-1:-1:-1;;;27950:39:0;;27974:4;27950:39;;;;-1:-1:-1;;;;;27950:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27950:39:0;:44;27933:62;27925:152;;;;-1:-1:-1;;;27925:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28115:62;;;-1:-1:-1;;;;;28115:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28115:62:0;-1:-1:-1;;;28115:62:0;;;28088:90;;28108:5;;28088:19;:90::i;:::-;27564:622;;;:::o;4735:181::-;4793:7;4825:5;;;4849:6;;;;4841:46;;;;;-1:-1:-1;;;4841:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4907:1;4735:181;-1:-1:-1;;;4735:181:0:o;6089:471::-;6147:7;6392:6;6388:47;;-1:-1:-1;6422:1:0;6415:8;;6388:47;6459:5;;;6463:1;6459;:5;:1;6483:5;;;;;:10;6475:56;;;;-1:-1:-1;;;6475:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7036:132;7094:7;7121:39;7125:1;7128;7121:39;;;;;;;;;;;;;;;;;:3;:39::i;33843:135::-;33273:6;;;;;;;33265:39;;;;;-1:-1:-1;;;33265:39:0;;;;;;;;;;;;-1:-1:-1;;;33265:39:0;;;;;;;;;;;;;;;33379:14:::1;::::0;;;::::1;;;33378:15;33370:46;;;::::0;;-1:-1:-1;;;33370:46:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33370:46:0;;;;;;;;;;;;;::::1;;33918:6:::2;:14:::0;;-1:-1:-1;;33918:14:0::2;::::0;;33948:22:::2;33957:12;:10;:12::i;:::-;33948:22;::::0;;-1:-1:-1;;;;;33948:22:0;;::::2;::::0;;;;;;;::::2;::::0;;::::2;33843:135::o:0;49138:286::-;33179:6;;;;;;;33178:7;33170:36;;;;;-1:-1:-1;;;33170:36:0;;;;;;;;;;;;-1:-1:-1;;;33170:36:0;;;;;;;;;;;;;;;49206:14:::1;49223:37;49240:19;49252:6;49240:11;:19::i;:::-;49223:16;:37::i;:::-;49206:54;;49271:22;49286:6;49271:14;:22::i;:::-;49304:27;49310:12;:10;:12::i;:::-;49324:6;49304:5;:27::i;:::-;49342:21;49356:6;49342:13;:21::i;:::-;49387:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;49379:37:0::1;;49401:6;49409;49379:37;;;;;;;;;;;;;;;;;;;;;;;;33217:1;49138:286:::0;:::o;33624:117::-;33179:6;;;;;;;33178:7;33170:36;;;;;-1:-1:-1;;;33170:36:0;;;;;;;;;;;;-1:-1:-1;;;33170:36:0;;;;;;;;;;;;;;;33684:6:::1;:13:::0;;-1:-1:-1;;33684:13:0::1;;;::::0;;33713:20:::1;33720:12;:10;:12::i;51079:384::-:0;51152:11;51144:55;;;;;-1:-1:-1;;;51144:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;51210:22;51225:6;51210:14;:22::i;:::-;51243:14;51260:71;51274:56;51316:13;:11;:13::i;51260:71::-;51243:88;;51342:27;51348:12;:10;:12::i;51342:27::-;51380:21;51394:6;51380:13;:21::i;:::-;51426:12;:10;:12::i;:::-;-1:-1:-1;;;;;51417:38:0;;51440:6;51448;51417:38;;;;;;;;;;;;;;;;;;;;;;;;51079:384;;:::o;59257:1010::-;59313:18;59344:10;-1:-1:-1;;;;;59344:19:0;;59372:4;59344:34;;;;;;;;;;;;;-1:-1:-1;;;;;59344:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59344:34:0;;-1:-1:-1;59429:5:0;-1:-1:-1;;;;;59412:23:0;;;;;;;;;;:49;;-1:-1:-1;;;;;;59439:22:0;;59456:4;59439:22;;59412:49;:85;;;;;59466:8;-1:-1:-1;;;;;59466:24:0;;59491:5;59466:31;;;;;;;;;;;;;-1:-1:-1;;;;;59466:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59466:31:0;59465:32;59412:85;59390:155;;;;;-1:-1:-1;;;59390:155:0;;;;;;;;;;;;-1:-1:-1;;;59390:155:0;;;;;;;;;;;;;;;59556:32;59610:10;-1:-1:-1;;;;;59610:24:0;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59610:26:0;59662:38;;;-1:-1:-1;;;59662:38:0;;59694:4;59662:38;;;;;;59610:26;;-1:-1:-1;59648:11:0;;-1:-1:-1;;;;;59662:23:0;;;;;:38;;;;;59610:26;;59662:38;;;;;;;:23;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59662:38:0;;-1:-1:-1;59711:52:0;-1:-1:-1;;;;;59711:25:0;;59745:13;59761:1;59711:25;:52::i;:::-;59774:54;-1:-1:-1;;;;;59774:25:0;;59808:13;59824:3;59774:25;:54::i;:::-;59839:21;59883:5;-1:-1:-1;;;;;59875:22:0;55501:42;59875:22;59871:301;;;59921:16;;;59935:1;59921:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59921:16:0;59914:23;;59962:5;59952:4;59957:1;59952:7;;;;;;;;;;;;;:15;-1:-1:-1;;;;;59952:15:0;;;-1:-1:-1;;;;;59952:15:0;;;;;60000:5;59982:4;59987:1;59982:7;;;;;;;;;;;;;:24;-1:-1:-1;;;;;59982:24:0;;;-1:-1:-1;;;;;59982:24:0;;;;;59871:301;;;60046:16;;;60060:1;60046:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60046:16:0;60039:23;;60087:5;60077:4;60082:1;60077:7;;;;;;;;;;;;;:15;-1:-1:-1;;;;;60077:15:0;;;-1:-1:-1;;;;;60077:15:0;;;;;55501:42;60107:4;60112:1;60107:7;;;;;;;;;;;;;:14;-1:-1:-1;;;;;60107:14:0;;;-1:-1:-1;;;;;60107:14:0;;;;;60154:5;60136:4;60141:1;60136:7;;;;;;;;;;;;;:24;-1:-1:-1;;;;;60136:24:0;;;-1:-1:-1;;;;;60136:24:0;;;;;59871:301;60182:13;-1:-1:-1;;;;;60182:38:0;;60221:3;60226:1;60229:4;60243;60250:3;60256:2;60250:8;60182:77;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;60182:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;60182:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60182:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59257:1010;;;;;:::o;34055:156::-;33379:14;;;;;;;33378:15;33370:46;;;;;-1:-1:-1;;;33370:46:0;;;;;;;;;;;;-1:-1:-1;;;33370:46:0;;;;;;;;;;;;;;;34120:14:::1;:21:::0;;-1:-1:-1;;;;34120:21:0;;::::1;::::0;::::1;34152:13;34120:21;34152:13;::::0;;34181:22:::1;34190:12;:10;:12::i;34292:122::-:0;33487:14;;;;;;;33479:49;;;;;-1:-1:-1;;;33479:49:0;;;;;;;;;;;;-1:-1:-1;;;33479:49:0;;;;;;;;;;;;;;;34350:14:::1;:22:::0;;-1:-1:-1;;34350:22:0::1;::::0;;34388:18:::1;34393:12;:10;:12::i;49958:499::-:0;50107:19;50129:10;-1:-1:-1;;;;;50129:22:0;;50160:4;50129:37;;;;;;;;;;;;;-1:-1:-1;;;;;50129:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50129:37:0;;-1:-1:-1;;;;;;50181:25:0;;;50177:273;;-1:-1:-1;;;;;50227:18:0;;;50223:103;;50279:11;-1:-1:-1;;;;;50266:38:0;;50305:4;50266:44;;;;;;;;;;;;;-1:-1:-1;;;;;50266:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50223:103;-1:-1:-1;;;;;50344:16:0;;;50340:99;;50394:11;-1:-1:-1;;;;;50381:38:0;;50420:2;50381:42;;;;;;;;;;;;;-1:-1:-1;;;;;50381:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50340:99;49958:499;;;;:::o;58713:201::-;58804:18;58835:10;-1:-1:-1;;;;;58835:19:0;;58863:4;58835:34;;;;;;;;;;;;;-1:-1:-1;;;;;58835:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58835:34:0;58881:25;;;-1:-1:-1;;;58881:25:0;;;;58835:34;;-1:-1:-1;;;;;;58881:23:0;;;;;:25;;;;;;;;;;;;;;;;:23;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58713:201;;:::o;49513:364::-;49567:23;49607:13;:11;:13::i;:::-;:18;49603:267;;49642:12;49657:35;49687:4;49657:25;49668:13;:11;:13::i;49657:35::-;49642:50;-1:-1:-1;49725:16:0;:6;49642:50;49725:10;:16::i;:::-;49707:34;;49756:45;49766:12;:10;:12::i;:::-;49780:14;:12;:14::i;:::-;49796:4;49756:9;:45::i;:::-;49603:267;;;;-1:-1:-1;49852:6:0;49513:364::o;23921:418::-;-1:-1:-1;;;;;24005:21:0;;23997:67;;;;-1:-1:-1;;;23997:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24077:49;24098:7;24115:1;24119:6;24077:20;:49::i;:::-;24160:68;24183:6;24160:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24160:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;24139:18:0;;:9;:18;;;;;;;;;;:89;24254:12;;:24;;24271:6;24254:16;:24::i;:::-;24239:12;:39;24294:37;;;;;;;;24320:1;;-1:-1:-1;;;;;24294:37:0;;;;;;;;;;;;23921:418;;:::o;58169:383::-;58238:19;58260:12;:10;:12::i;:::-;58238:34;;58301:7;58287:11;:21;58283:210;;;58325:45;58345:24;:7;58357:11;58345;:24::i;:::-;58325:19;:45::i;:::-;58399:12;:10;:12::i;:::-;58385:26;;58450:7;58436:11;:21;:45;;58474:7;58436:45;;;58460:11;58436:45;58426:55;;58283:210;58503:41;58522:12;:10;:12::i;:::-;-1:-1:-1;;;;;58503:5:0;:18;;58536:7;58503:18;:41::i;:::-;58169:383;;:::o;29210:761::-;29634:23;29660:69;29688:4;29660:69;;;;;;;;;;;;;;;;;29668:5;-1:-1:-1;;;;;29660:27:0;;;:69;;;;;:::i;:::-;29744:17;;29634:95;;-1:-1:-1;29744:21:0;29740:224;;29886:10;29875:30;;;;;;;;;;;;;;;-1:-1:-1;29875:30:0;29867:85;;;;-1:-1:-1;;;29867:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7664:278;7750:7;7785:12;7778:5;7770:28;;;;-1:-1:-1;;;7770:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7809:9;7825:1;7821;:5;;;;;;;7664:278;-1:-1:-1;;;;;7664:278:0:o;48634:426::-;48699:7;48727:11;48719:35;;;;;-1:-1:-1;;;48719:35:0;;;;;;;;;;;;-1:-1:-1;;;48719:35:0;;;;;;;;;;;;;;;48767:20;48790:13;:11;:13::i;:::-;48767:36;;48814:19;48836:25;48848:12;:10;:12::i;48836:25::-;48814:47;-1:-1:-1;48872:14:0;48903:17;;;:37;;-1:-1:-1;48924:16:0;;48903:37;48902:126;;48987:41;49016:11;48987:24;:6;48998:12;48987:10;:24::i;:41::-;48902:126;;;48961:6;48902:126;48872:156;48634:426;-1:-1:-1;;;;;48634:426:0:o;58922:136::-;58991:59;59014:12;:10;:12::i;:::-;-1:-1:-1;;;;;58991:5:0;:22;;59036:4;59043:6;58991:22;:59::i;23211:378::-;-1:-1:-1;;;;;23295:21:0;;23287:65;;;;;-1:-1:-1;;;23287:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23365:49;23394:1;23398:7;23407:6;23365:20;:49::i;:::-;23442:12;;:24;;23459:6;23442:16;:24::i;:::-;23427:12;:39;-1:-1:-1;;;;;23498:18:0;;:9;:18;;;;;;;;;;;:30;;23521:6;23498:22;:30::i;:::-;-1:-1:-1;;;;;23477:18:0;;:9;:18;;;;;;;;;;;:51;;;;23544:37;;;;;;;23477:18;;:9;;23544:37;;;;;;;;;;23211:378;;:::o;5199:136::-;5257:7;5284:43;5288:1;5291;5284:43;;;;;;;;;;;;;;;;;:3;:43::i;59066:183::-;59139:18;59170:10;-1:-1:-1;;;;;59170:19:0;;59198:4;59170:34;;;;;;;;;;;;;-1:-1:-1;;;;;59170:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59170:34:0;59216:25;;;-1:-1:-1;;;59216:25:0;;;;;;;;;;59170:34;;-1:-1:-1;;;;;;59216:17:0;;;;;:25;;;;;-1:-1:-1;;59216:25:0;;;;;;;;-1:-1:-1;59216:17:0;:25;;;;;;;;;;26905:177;27015:58;;;-1:-1:-1;;;;;27015:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27015:58:0;-1:-1:-1;;;27015:58:0;;;26988:86;;27008:5;;26988:19;:86::i;12879:196::-;12982:12;13014:53;13037:6;13045:4;13051:1;13054:12;13014:22;:53::i;:::-;13007:60;12879:196;-1:-1:-1;;;;12879:196:0:o;27090:205::-;27218:68;;;-1:-1:-1;;;;;27218:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27218:68:0;-1:-1:-1;;;27218:68:0;;;27191:96;;27211:5;;27191:19;:96::i;14256:979::-;14386:12;14419:18;14430:6;14419:10;:18::i;:::-;14411:60;;;;;-1:-1:-1;;;14411:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14545:12;14559:23;14586:6;-1:-1:-1;;;;;14586:11:0;14606:8;14617:4;14586:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14586:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14544:78;;;;14637:7;14633:595;;;14668:10;-1:-1:-1;14661:17:0;;-1:-1:-1;14661:17:0;14633:595;14782:17;;:21;14778:439;;15045:10;15039:17;15106:15;15093:10;15089:2;15085:19;15078:44;14993:148;15181:20;;-1:-1:-1;;;15181:20:0;;;;;;;;;;;;;;;;;15188:12;;15181:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9961:422;10328:20;10367:8;;;9961:422::o

Swarm Source

ipfs://81fe5bc2e35a760b7f94bc1539af5866d55b6e5de89ec1822e59a695f1e5a04c
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.