ETH Price: $3,258.79 (-9.40%)
Gas: 37 Gwei

Token

Value Liquidity (VALUE)
 

Overview

Max Total Supply

4,910,614.566313829606423598 VALUE

Holders

5,694 (0.00%)

Total Transfers

-

Market

Price

$0.04 @ 0.000014 ETH (-0.07%)

Onchain Market Cap

$218,902.20

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Value DeFi protocol is a platform and suite of products that aim to bring fairness, true value, and innovation to Decentralized Finance.

Market

Volume (24H):$0.00
Market Capitalization:$0.00
Circulating Supply:0.00 VALUE
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ValueLiquidityToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-09-15
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

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

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

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

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

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

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

/**
 * @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: contracts/VALUE/ValueLiquidityToken.sol

/**
 * @notice Value Liquidity (VALUE) with Governance Alpha
 */
contract ValueLiquidityToken is ERC20 {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    IERC20 public yfv;

    address public governance;
    uint256 public cap;
    uint256 public yfvLockedBalance;
    mapping(address => bool) public minters;

    event Deposit(address indexed dst, uint amount);
    event Withdrawal(address indexed src, uint amount);

    constructor (IERC20 _yfv, uint256 _cap) public ERC20("Value Liquidity", "VALUE") {
        governance = msg.sender;
        yfv = _yfv;
        cap = _cap;
    }

    function mint(address _to, uint256 _amount) public {
        require(msg.sender == governance || minters[msg.sender], "!governance && !minter");
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    function burn(uint256 _amount) public {
        _burn(msg.sender, _amount);
        _moveDelegates(_delegates[msg.sender], address(0), _amount);
    }

    function burnFrom(address _account, uint256 _amount) public {
        uint256 decreasedAllowance = allowance(_account, msg.sender).sub(_amount, "ERC20: burn amount exceeds allowance");
        _approve(_account, msg.sender, decreasedAllowance);
        _burn(_account, _amount);
        _moveDelegates(_delegates[_account], address(0), _amount);
    }

    function setGovernance(address _governance) public {
        require(msg.sender == governance, "!governance");
        governance = _governance;
    }

    function addMinter(address _minter) public {
        require(msg.sender == governance, "!governance");
        minters[_minter] = true;
    }

    function removeMinter(address _minter) public {
        require(msg.sender == governance, "!governance");
        minters[_minter] = false;
    }

    function setCap(uint256 _cap) public {
        require(msg.sender == governance, "!governance");
        require(_cap.add(yfvLockedBalance) >= totalSupply(), "_cap (plus yfvLockedBalance) is below current supply");
        cap = _cap;
    }

    function deposit(uint256 _amount) public {
        yfv.safeTransferFrom(msg.sender, address(this), _amount);
        yfvLockedBalance = yfvLockedBalance.add(_amount);
        _mint(msg.sender, _amount);
        _moveDelegates(address(0), _delegates[msg.sender], _amount);
        Deposit(msg.sender, _amount);
    }

    function withdraw(uint256 _amount) public {
        yfvLockedBalance = yfvLockedBalance.sub(_amount, "There is not enough locked YFV to withdraw");
        yfv.safeTransfer(msg.sender, _amount);
        _burn(msg.sender, _amount);
        _moveDelegates(_delegates[msg.sender], address(0), _amount);
        Withdrawal(msg.sender, _amount);
    }

    // This function allows governance to take unsupported tokens out of the contract.
    // This is in an effort to make someone whole, should they seriously mess up.
    // There is no guarantee governance will vote to return these.
    // It also allows for removal of airdropped tokens.
    function governanceRecoverUnsupported(IERC20 _token, address _to, uint256 _amount) external {
        require(msg.sender == governance, "!governance");
        if (_token == yfv) {
            uint256 yfvBalance = yfv.balanceOf(address(this));
            require(_amount <= yfvBalance.sub(yfvLockedBalance), "cant withdraw more then stuck amount");
        }
        _token.safeTransfer(_to, _amount);
    }

    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - minted tokens must not cause the total supply to go over the cap.
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        if (from == address(0)) {// When minting tokens
            require(totalSupply().add(amount) <= cap.add(yfvLockedBalance), "ERC20Capped: cap exceeded");
        }
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    /// @dev A record of each accounts delegate
    mapping(address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping(address => mapping(uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping(address => uint32) public numCheckpoints;

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

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping(address => uint) public nonces;

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
    external
    view
    returns (address)
    {
        return _delegates[delegator];
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry 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 delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "VALUE::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "VALUE::delegateBySig: invalid nonce");
        require(now <= expiry, "VALUE::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "VALUE::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying VALUEs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "VALUE::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2 ** 32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly {chainId := chainid()}
        return chainId;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_yfv","type":"address"},{"internalType":"uint256","name":"_cap","type":"uint256"}],"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":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","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":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","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":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cap","type":"uint256"}],"name":"setCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"yfv","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"yfvLockedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200276f3803806200276f833981810160405260408110156200003757600080fd5b508051602091820151604080518082018252600f81526e56616c7565204c697175696469747960881b8186019081528251808401909352600583526456414c554560d81b958301959095528051939492939092620000999160039190620000ff565b508051620000af906004906020840190620000ff565b505060058054600680546001600160a01b031916331790556001600160a01b039490941661010002610100600160a81b031960ff199095166012179490941693909317909255600755506200019b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200014257805160ff191683800117855562000172565b8280016001018555821562000172579182015b828111156200017257825182559160200191906001019062000155565b506200018092915062000184565b5090565b5b8082111562000180576000815560010162000185565b6125c480620001ab6000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c806370a0823111610125578063ab033ea9116100ad578063dd62ed3e1161007c578063dd62ed3e146106cc578063e7a324dc146106fa578063f1127ed814610702578063f46eccc414610754578063f6383b2c1461077a5761021c565b8063ab033ea91461061c578063b4b5ea5714610642578063b6b55f2514610668578063c3cda520146106855761021c565b80637ecebe00116100f45780637ecebe001461057057806395d89b4114610596578063983b2d561461059e578063a457c2d7146105c4578063a9059cbb146105f05761021c565b806370a08231146104ea5780637318a73014610510578063782d6fe11461051857806379cc6790146105445761021c565b806339509351116101a857806347786d371161017757806347786d371461041e578063587cde1e1461043b5780635aa6e6751461047d5780635c19a95c146104855780636fcfff45146104ab5761021c565b806339509351146103a157806340c10f19146103cd57806342966c68146103f957806344f5e54e146104165761021c565b806323b872dd116101ef57806323b872dd146103005780632e1a7d4d146103365780633092afd514610355578063313ce5671461037b578063355274ea146103995761021c565b806306fdde0314610221578063095ea7b31461029e57806318160ddd146102de57806320606b70146102f8575b600080fd5b6102296107b0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026357818101518382015260200161024b565b50505050905090810190601f1680156102905780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ca600480360360408110156102b457600080fd5b506001600160a01b038135169060200135610846565b604080519115158252519081900360200190f35b6102e6610864565b60408051918252519081900360200190f35b6102e661086a565b6102ca6004803603606081101561031657600080fd5b506001600160a01b0381358116916020810135909116906040013561088e565b6103536004803603602081101561034c57600080fd5b5035610915565b005b6103536004803603602081101561036b57600080fd5b50356001600160a01b03166109c4565b610383610a32565b6040805160ff9092168252519081900360200190f35b6102e6610a3b565b6102ca600480360360408110156103b757600080fd5b506001600160a01b038135169060200135610a41565b610353600480360360408110156103e357600080fd5b506001600160a01b038135169060200135610a8f565b6103536004803603602081101561040f57600080fd5b5035610b34565b6102e6610b67565b6103536004803603602081101561043457600080fd5b5035610b6d565b6104616004803603602081101561045157600080fd5b50356001600160a01b0316610c12565b604080516001600160a01b039092168252519081900360200190f35b610461610c30565b6103536004803603602081101561049b57600080fd5b50356001600160a01b0316610c3f565b6104d1600480360360208110156104c157600080fd5b50356001600160a01b0316610c49565b6040805163ffffffff9092168252519081900360200190f35b6102e66004803603602081101561050057600080fd5b50356001600160a01b0316610c61565b610461610c7c565b6102e66004803603604081101561052e57600080fd5b506001600160a01b038135169060200135610c90565b6103536004803603604081101561055a57600080fd5b506001600160a01b038135169060200135610e98565b6102e66004803603602081101561058657600080fd5b50356001600160a01b0316610f0a565b610229610f1c565b610353600480360360208110156105b457600080fd5b50356001600160a01b0316610f7d565b6102ca600480360360408110156105da57600080fd5b506001600160a01b038135169060200135610fee565b6102ca6004803603604081101561060657600080fd5b506001600160a01b038135169060200135611056565b6103536004803603602081101561063257600080fd5b50356001600160a01b031661106a565b6102e66004803603602081101561065857600080fd5b50356001600160a01b03166110d9565b6103536004803603602081101561067e57600080fd5b503561113d565b610353600480360360c081101561069b57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a001356111d1565b6102e6600480360360408110156106e257600080fd5b506001600160a01b0381358116916020013516611444565b6102e661146f565b6107346004803603604081101561071857600080fd5b5080356001600160a01b0316906020013563ffffffff16611493565b6040805163ffffffff909316835260208301919091528051918290030190f35b6102ca6004803603602081101561076a57600080fd5b50356001600160a01b03166114c0565b6103536004803603606081101561079057600080fd5b506001600160a01b038135811691602081013590911690604001356114d5565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561083c5780601f106108115761010080835404028352916020019161083c565b820191906000526020600020905b81548152906001019060200180831161081f57829003601f168201915b5050505050905090565b600061085a61085361161e565b8484611622565b5060015b92915050565b60025490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b600061089b84848461170e565b61090b846108a761161e565b6109068560405180606001604052806028815260200161241c602891396001600160a01b038a166000908152600160205260408120906108e561161e565b6001600160a01b031681526020810191909152604001600020549190611869565b611622565b5060019392505050565b61093c816040518060600160405280602a81526020016123be602a91396008549190611869565b60085560055461095b9061010090046001600160a01b03163383611900565b6109653382611952565b336000908152600a602052604081205461098b916001600160a01b039091169083611a4e565b60408051828152905133917f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65919081900360200190a250565b6006546001600160a01b03163314610a11576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19169055565b60055460ff1690565b60075481565b600061085a610a4e61161e565b846109068560016000610a5f61161e565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611b8b565b6006546001600160a01b0316331480610ab757503360009081526009602052604090205460ff165b610b01576040805162461bcd60e51b815260206004820152601660248201527510b3b7bb32b93730b731b29013131010b6b4b73a32b960511b604482015290519081900360640190fd5b610b0b8282611be5565b6001600160a01b038083166000908152600a6020526040812054610b30921683611a4e565b5050565b610b3e3382611952565b336000908152600a6020526040812054610b64916001600160a01b039091169083611a4e565b50565b60085481565b6006546001600160a01b03163314610bba576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b610bc2610864565b600854610bd0908390611b8b565b1015610c0d5760405162461bcd60e51b81526004018080602001828103825260348152602001806123e86034913960400191505060405180910390fd5b600755565b6001600160a01b039081166000908152600a60205260409020541690565b6006546001600160a01b031681565b610b643382611cd5565b600c6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b60055461010090046001600160a01b031681565b6000438210610cd05760405162461bcd60e51b815260040180806020018281038252602881526020018061236f6028913960400191505060405180910390fd5b6001600160a01b0383166000908152600c602052604090205463ffffffff1680610cfe57600091505061085e565b6001600160a01b0384166000908152600b6020908152604080832063ffffffff600019860181168552925290912054168310610d6d576001600160a01b0384166000908152600b602090815260408083206000199490940163ffffffff1683529290522060010154905061085e565b6001600160a01b0384166000908152600b6020908152604080832083805290915290205463ffffffff16831015610da857600091505061085e565b600060001982015b8163ffffffff168163ffffffff161115610e6157600282820363ffffffff16048103610dda612295565b506001600160a01b0387166000908152600b6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610e3c5760200151945061085e9350505050565b805163ffffffff16871115610e5357819350610e5a565b6001820392505b5050610db0565b506001600160a01b0385166000908152600b6020908152604080832063ffffffff9094168352929052206001015491505092915050565b6000610ec88260405180606001604052806024815260200161244460249139610ec18633611444565b9190611869565b9050610ed5833383611622565b610edf8383611952565b6001600160a01b038084166000908152600a6020526040812054610f0592169084611a4e565b505050565b600d6020526000908152604090205481565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561083c5780601f106108115761010080835404028352916020019161083c565b6006546001600160a01b03163314610fca576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b600061085a610ffb61161e565b846109068560405180606001604052806025815260200161256a602591396001600061102561161e565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611869565b600061085a61106361161e565b848461170e565b6006546001600160a01b031633146110b7576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152600c602052604081205463ffffffff1680611104576000611136565b6001600160a01b0383166000908152600b6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60055461115a9061010090046001600160a01b0316333084611d6a565b6008546111679082611b8b565b6008556111743382611be5565b336000908152600a602052604081205461119891906001600160a01b031683611a4e565b60408051828152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a250565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666111fc6107b0565b8051906020012061120b611dc4565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa15801561133e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166113905760405162461bcd60e51b81526004018080602001828103825260278152602001806124d26027913960400191505060405180910390fd5b6001600160a01b0381166000908152600d6020526040902080546001810190915589146113ee5760405162461bcd60e51b81526004018080602001828103825260238152602001806125476023913960400191505060405180910390fd5b8742111561142d5760405162461bcd60e51b81526004018080602001828103825260278152602001806123976027913960400191505060405180910390fd5b611437818b611cd5565b505050505b505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600b6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b60096020526000908152604090205460ff1681565b6006546001600160a01b03163314611522576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6005546001600160a01b0384811661010090920416141561160a57600554604080516370a0823160e01b8152306004820152905160009261010090046001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561158d57600080fd5b505afa1580156115a1573d6000803e3d6000fd5b505050506040513d60208110156115b757600080fd5b50516008549091506115ca908290611dc8565b8211156116085760405162461bcd60e51b81526004018080602001828103825260248152602001806124f96024913960400191505060405180910390fd5b505b610f056001600160a01b0384168383611900565b3390565b6001600160a01b0383166116675760405162461bcd60e51b81526004018080602001828103825260248152602001806124ae6024913960400191505060405180910390fd5b6001600160a01b0382166116ac5760405162461bcd60e51b81526004018080602001828103825260228152602001806122f26022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166117535760405162461bcd60e51b81526004018080602001828103825260258152602001806124896025913960400191505060405180910390fd5b6001600160a01b0382166117985760405162461bcd60e51b81526004018080602001828103825260238152602001806122ad6023913960400191505060405180910390fd5b6117a3838383611e0a565b6117e081604051806060016040528060268152602001612349602691396001600160a01b0386166000908152602081905260409020549190611869565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461180f9082611b8b565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156118f85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156118bd5781810151838201526020016118a5565b50505050905090810190601f1680156118ea5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f05908490611e97565b6001600160a01b0382166119975760405162461bcd60e51b81526004018080602001828103825260218152602001806124686021913960400191505060405180910390fd5b6119a382600083611e0a565b6119e0816040518060600160405280602281526020016122d0602291396001600160a01b0385166000908152602081905260409020549190611869565b6001600160a01b038316600090815260208190526040902055600254611a069082611dc8565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b816001600160a01b0316836001600160a01b031614158015611a705750600081115b15610f05576001600160a01b03831615611b02576001600160a01b0383166000908152600c602052604081205463ffffffff169081611ab0576000611ae2565b6001600160a01b0385166000908152600b6020908152604080832063ffffffff60001987011684529091529020600101545b90506000611af08285611dc8565b9050611afe86848484611f48565b5050505b6001600160a01b03821615610f05576001600160a01b0382166000908152600c602052604081205463ffffffff169081611b3d576000611b6f565b6001600160a01b0384166000908152600b6020908152604080832063ffffffff60001987011684529091529020600101545b90506000611b7d8285611b8b565b905061143c85848484611f48565b600082820183811015611136576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216611c40576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611c4c60008383611e0a565b600254611c599082611b8b565b6002556001600160a01b038216600090815260208190526040902054611c7f9082611b8b565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038083166000908152600a602052604081205490911690611cfc84610c61565b6001600160a01b038581166000818152600a602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611d64828483611a4e565b50505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611d64908590611e97565b4690565b600061113683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611869565b611e15838383610f05565b6001600160a01b038316610f0557600854600754611e3291611b8b565b611e4482611e3e610864565b90611b8b565b1115610f05576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b6060611eec826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166120ad9092919063ffffffff16565b805190915015610f0557808060200190516020811015611f0b57600080fd5b5051610f055760405162461bcd60e51b815260040180806020018281038252602a81526020018061251d602a913960400191505060405180910390fd5b6000611f6c43604051806060016040528060358152602001612314603591396120c4565b905060008463ffffffff16118015611fb557506001600160a01b0385166000908152600b6020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611ff2576001600160a01b0385166000908152600b6020908152604080832063ffffffff60001989011684529091529020600101829055612063565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600b84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600c9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b60606120bc8484600085612122565b949350505050565b600081640100000000841061211a5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156118bd5781810151838201526020016118a5565b509192915050565b606061212d8561228f565b61217e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106121bd5780518252601f19909201916020918201910161219e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461221f576040519150601f19603f3d011682016040523d82523d6000602084013e612224565b606091505b509150915081156122385791506120bc9050565b8051156122485780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156118bd5781810151838201526020016118a5565b3b151590565b60408051808201909152600080825260208201529056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737356414c55453a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636556414c55453a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656456414c55453a3a64656c656761746542795369673a207369676e617475726520657870697265645468657265206973206e6f7420656e6f756768206c6f636b65642059465620746f2077697468647261775f6361702028706c7573207966764c6f636b656442616c616e6365292069732062656c6f772063757272656e7420737570706c7945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737356414c55453a3a64656c656761746542795369673a20696e76616c6964207369676e617475726563616e74207769746864726177206d6f7265207468656e20737475636b20616d6f756e745361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656456414c55453a3a64656c656761746542795369673a20696e76616c6964206e6f6e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212202cd4da3f12a0beff93962fd942abedf2f20efce5ff12bfa73eb6334d83d130c964736f6c634300060c003300000000000000000000000045f24baeef268bb6d63aee5129015d69702bcdfa00000000000000000000000000000000000000000001f5ddf51ac1d705400000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061021c5760003560e01c806370a0823111610125578063ab033ea9116100ad578063dd62ed3e1161007c578063dd62ed3e146106cc578063e7a324dc146106fa578063f1127ed814610702578063f46eccc414610754578063f6383b2c1461077a5761021c565b8063ab033ea91461061c578063b4b5ea5714610642578063b6b55f2514610668578063c3cda520146106855761021c565b80637ecebe00116100f45780637ecebe001461057057806395d89b4114610596578063983b2d561461059e578063a457c2d7146105c4578063a9059cbb146105f05761021c565b806370a08231146104ea5780637318a73014610510578063782d6fe11461051857806379cc6790146105445761021c565b806339509351116101a857806347786d371161017757806347786d371461041e578063587cde1e1461043b5780635aa6e6751461047d5780635c19a95c146104855780636fcfff45146104ab5761021c565b806339509351146103a157806340c10f19146103cd57806342966c68146103f957806344f5e54e146104165761021c565b806323b872dd116101ef57806323b872dd146103005780632e1a7d4d146103365780633092afd514610355578063313ce5671461037b578063355274ea146103995761021c565b806306fdde0314610221578063095ea7b31461029e57806318160ddd146102de57806320606b70146102f8575b600080fd5b6102296107b0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026357818101518382015260200161024b565b50505050905090810190601f1680156102905780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ca600480360360408110156102b457600080fd5b506001600160a01b038135169060200135610846565b604080519115158252519081900360200190f35b6102e6610864565b60408051918252519081900360200190f35b6102e661086a565b6102ca6004803603606081101561031657600080fd5b506001600160a01b0381358116916020810135909116906040013561088e565b6103536004803603602081101561034c57600080fd5b5035610915565b005b6103536004803603602081101561036b57600080fd5b50356001600160a01b03166109c4565b610383610a32565b6040805160ff9092168252519081900360200190f35b6102e6610a3b565b6102ca600480360360408110156103b757600080fd5b506001600160a01b038135169060200135610a41565b610353600480360360408110156103e357600080fd5b506001600160a01b038135169060200135610a8f565b6103536004803603602081101561040f57600080fd5b5035610b34565b6102e6610b67565b6103536004803603602081101561043457600080fd5b5035610b6d565b6104616004803603602081101561045157600080fd5b50356001600160a01b0316610c12565b604080516001600160a01b039092168252519081900360200190f35b610461610c30565b6103536004803603602081101561049b57600080fd5b50356001600160a01b0316610c3f565b6104d1600480360360208110156104c157600080fd5b50356001600160a01b0316610c49565b6040805163ffffffff9092168252519081900360200190f35b6102e66004803603602081101561050057600080fd5b50356001600160a01b0316610c61565b610461610c7c565b6102e66004803603604081101561052e57600080fd5b506001600160a01b038135169060200135610c90565b6103536004803603604081101561055a57600080fd5b506001600160a01b038135169060200135610e98565b6102e66004803603602081101561058657600080fd5b50356001600160a01b0316610f0a565b610229610f1c565b610353600480360360208110156105b457600080fd5b50356001600160a01b0316610f7d565b6102ca600480360360408110156105da57600080fd5b506001600160a01b038135169060200135610fee565b6102ca6004803603604081101561060657600080fd5b506001600160a01b038135169060200135611056565b6103536004803603602081101561063257600080fd5b50356001600160a01b031661106a565b6102e66004803603602081101561065857600080fd5b50356001600160a01b03166110d9565b6103536004803603602081101561067e57600080fd5b503561113d565b610353600480360360c081101561069b57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a001356111d1565b6102e6600480360360408110156106e257600080fd5b506001600160a01b0381358116916020013516611444565b6102e661146f565b6107346004803603604081101561071857600080fd5b5080356001600160a01b0316906020013563ffffffff16611493565b6040805163ffffffff909316835260208301919091528051918290030190f35b6102ca6004803603602081101561076a57600080fd5b50356001600160a01b03166114c0565b6103536004803603606081101561079057600080fd5b506001600160a01b038135811691602081013590911690604001356114d5565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561083c5780601f106108115761010080835404028352916020019161083c565b820191906000526020600020905b81548152906001019060200180831161081f57829003601f168201915b5050505050905090565b600061085a61085361161e565b8484611622565b5060015b92915050565b60025490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b600061089b84848461170e565b61090b846108a761161e565b6109068560405180606001604052806028815260200161241c602891396001600160a01b038a166000908152600160205260408120906108e561161e565b6001600160a01b031681526020810191909152604001600020549190611869565b611622565b5060019392505050565b61093c816040518060600160405280602a81526020016123be602a91396008549190611869565b60085560055461095b9061010090046001600160a01b03163383611900565b6109653382611952565b336000908152600a602052604081205461098b916001600160a01b039091169083611a4e565b60408051828152905133917f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65919081900360200190a250565b6006546001600160a01b03163314610a11576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19169055565b60055460ff1690565b60075481565b600061085a610a4e61161e565b846109068560016000610a5f61161e565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611b8b565b6006546001600160a01b0316331480610ab757503360009081526009602052604090205460ff165b610b01576040805162461bcd60e51b815260206004820152601660248201527510b3b7bb32b93730b731b29013131010b6b4b73a32b960511b604482015290519081900360640190fd5b610b0b8282611be5565b6001600160a01b038083166000908152600a6020526040812054610b30921683611a4e565b5050565b610b3e3382611952565b336000908152600a6020526040812054610b64916001600160a01b039091169083611a4e565b50565b60085481565b6006546001600160a01b03163314610bba576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b610bc2610864565b600854610bd0908390611b8b565b1015610c0d5760405162461bcd60e51b81526004018080602001828103825260348152602001806123e86034913960400191505060405180910390fd5b600755565b6001600160a01b039081166000908152600a60205260409020541690565b6006546001600160a01b031681565b610b643382611cd5565b600c6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526020819052604090205490565b60055461010090046001600160a01b031681565b6000438210610cd05760405162461bcd60e51b815260040180806020018281038252602881526020018061236f6028913960400191505060405180910390fd5b6001600160a01b0383166000908152600c602052604090205463ffffffff1680610cfe57600091505061085e565b6001600160a01b0384166000908152600b6020908152604080832063ffffffff600019860181168552925290912054168310610d6d576001600160a01b0384166000908152600b602090815260408083206000199490940163ffffffff1683529290522060010154905061085e565b6001600160a01b0384166000908152600b6020908152604080832083805290915290205463ffffffff16831015610da857600091505061085e565b600060001982015b8163ffffffff168163ffffffff161115610e6157600282820363ffffffff16048103610dda612295565b506001600160a01b0387166000908152600b6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610e3c5760200151945061085e9350505050565b805163ffffffff16871115610e5357819350610e5a565b6001820392505b5050610db0565b506001600160a01b0385166000908152600b6020908152604080832063ffffffff9094168352929052206001015491505092915050565b6000610ec88260405180606001604052806024815260200161244460249139610ec18633611444565b9190611869565b9050610ed5833383611622565b610edf8383611952565b6001600160a01b038084166000908152600a6020526040812054610f0592169084611a4e565b505050565b600d6020526000908152604090205481565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561083c5780601f106108115761010080835404028352916020019161083c565b6006546001600160a01b03163314610fca576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b600061085a610ffb61161e565b846109068560405180606001604052806025815260200161256a602591396001600061102561161e565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611869565b600061085a61106361161e565b848461170e565b6006546001600160a01b031633146110b7576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152600c602052604081205463ffffffff1680611104576000611136565b6001600160a01b0383166000908152600b6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60055461115a9061010090046001600160a01b0316333084611d6a565b6008546111679082611b8b565b6008556111743382611be5565b336000908152600a602052604081205461119891906001600160a01b031683611a4e565b60408051828152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a250565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666111fc6107b0565b8051906020012061120b611dc4565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa15801561133e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166113905760405162461bcd60e51b81526004018080602001828103825260278152602001806124d26027913960400191505060405180910390fd5b6001600160a01b0381166000908152600d6020526040902080546001810190915589146113ee5760405162461bcd60e51b81526004018080602001828103825260238152602001806125476023913960400191505060405180910390fd5b8742111561142d5760405162461bcd60e51b81526004018080602001828103825260278152602001806123976027913960400191505060405180910390fd5b611437818b611cd5565b505050505b505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600b6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b60096020526000908152604090205460ff1681565b6006546001600160a01b03163314611522576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6005546001600160a01b0384811661010090920416141561160a57600554604080516370a0823160e01b8152306004820152905160009261010090046001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561158d57600080fd5b505afa1580156115a1573d6000803e3d6000fd5b505050506040513d60208110156115b757600080fd5b50516008549091506115ca908290611dc8565b8211156116085760405162461bcd60e51b81526004018080602001828103825260248152602001806124f96024913960400191505060405180910390fd5b505b610f056001600160a01b0384168383611900565b3390565b6001600160a01b0383166116675760405162461bcd60e51b81526004018080602001828103825260248152602001806124ae6024913960400191505060405180910390fd5b6001600160a01b0382166116ac5760405162461bcd60e51b81526004018080602001828103825260228152602001806122f26022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166117535760405162461bcd60e51b81526004018080602001828103825260258152602001806124896025913960400191505060405180910390fd5b6001600160a01b0382166117985760405162461bcd60e51b81526004018080602001828103825260238152602001806122ad6023913960400191505060405180910390fd5b6117a3838383611e0a565b6117e081604051806060016040528060268152602001612349602691396001600160a01b0386166000908152602081905260409020549190611869565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461180f9082611b8b565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156118f85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156118bd5781810151838201526020016118a5565b50505050905090810190601f1680156118ea5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f05908490611e97565b6001600160a01b0382166119975760405162461bcd60e51b81526004018080602001828103825260218152602001806124686021913960400191505060405180910390fd5b6119a382600083611e0a565b6119e0816040518060600160405280602281526020016122d0602291396001600160a01b0385166000908152602081905260409020549190611869565b6001600160a01b038316600090815260208190526040902055600254611a069082611dc8565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b816001600160a01b0316836001600160a01b031614158015611a705750600081115b15610f05576001600160a01b03831615611b02576001600160a01b0383166000908152600c602052604081205463ffffffff169081611ab0576000611ae2565b6001600160a01b0385166000908152600b6020908152604080832063ffffffff60001987011684529091529020600101545b90506000611af08285611dc8565b9050611afe86848484611f48565b5050505b6001600160a01b03821615610f05576001600160a01b0382166000908152600c602052604081205463ffffffff169081611b3d576000611b6f565b6001600160a01b0384166000908152600b6020908152604080832063ffffffff60001987011684529091529020600101545b90506000611b7d8285611b8b565b905061143c85848484611f48565b600082820183811015611136576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216611c40576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611c4c60008383611e0a565b600254611c599082611b8b565b6002556001600160a01b038216600090815260208190526040902054611c7f9082611b8b565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038083166000908152600a602052604081205490911690611cfc84610c61565b6001600160a01b038581166000818152600a602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611d64828483611a4e565b50505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611d64908590611e97565b4690565b600061113683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611869565b611e15838383610f05565b6001600160a01b038316610f0557600854600754611e3291611b8b565b611e4482611e3e610864565b90611b8b565b1115610f05576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b6060611eec826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166120ad9092919063ffffffff16565b805190915015610f0557808060200190516020811015611f0b57600080fd5b5051610f055760405162461bcd60e51b815260040180806020018281038252602a81526020018061251d602a913960400191505060405180910390fd5b6000611f6c43604051806060016040528060358152602001612314603591396120c4565b905060008463ffffffff16118015611fb557506001600160a01b0385166000908152600b6020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611ff2576001600160a01b0385166000908152600b6020908152604080832063ffffffff60001989011684529091529020600101829055612063565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600b84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600c9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b60606120bc8484600085612122565b949350505050565b600081640100000000841061211a5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156118bd5781810151838201526020016118a5565b509192915050565b606061212d8561228f565b61217e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106121bd5780518252601f19909201916020918201910161219e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461221f576040519150601f19603f3d011682016040523d82523d6000602084013e612224565b606091505b509150915081156122385791506120bc9050565b8051156122485780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156118bd5781810151838201526020016118a5565b3b151590565b60408051808201909152600080825260208201529056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737356414c55453a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636556414c55453a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656456414c55453a3a64656c656761746542795369673a207369676e617475726520657870697265645468657265206973206e6f7420656e6f756768206c6f636b65642059465620746f2077697468647261775f6361702028706c7573207966764c6f636b656442616c616e6365292069732062656c6f772063757272656e7420737570706c7945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737356414c55453a3a64656c656761746542795369673a20696e76616c6964207369676e617475726563616e74207769746864726177206d6f7265207468656e20737475636b20616d6f756e745361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656456414c55453a3a64656c656761746542795369673a20696e76616c6964206e6f6e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212202cd4da3f12a0beff93962fd942abedf2f20efce5ff12bfa73eb6334d83d130c964736f6c634300060c0033

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

00000000000000000000000045f24baeef268bb6d63aee5129015d69702bcdfa00000000000000000000000000000000000000000001f5ddf51ac1d705400000

-----Decoded View---------------
Arg [0] : _yfv (address): 0x45f24BaEef268BB6d63AEe5129015d69702BCDfa
Arg [1] : _cap (uint256): 2370000000000000000000000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000045f24baeef268bb6d63aee5129015d69702bcdfa
Arg [1] : 00000000000000000000000000000000000000000001f5ddf51ac1d705400000


Deployed Bytecode Sourcemap

29933:12574:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17304:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19410:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19410:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;18379:100;;;:::i;:::-;;;;;;;;;;;;;;;;34936:122;;;:::i;20053:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20053:321:0;;;;;;;;;;;;;;;;;:::i;32329:352::-;;;;;;;;;;;;;;;;-1:-1:-1;32329:352:0;;:::i;:::-;;31592:148;;;;;;;;;;;;;;;;-1:-1:-1;31592:148:0;-1:-1:-1;;;;;31592:148:0;;:::i;18231:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30104:18;;;:::i;20783:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20783:218:0;;;;;;;;:::i;30501:245::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30501:245:0;;;;;;;;:::i;30754:153::-;;;;;;;;;;;;;;;;-1:-1:-1;30754:153:0;;:::i;30129:31::-;;;:::i;31748:244::-;;;;;;;;;;;;;;;;-1:-1:-1;31748:244:0;;:::i;35916:137::-;;;;;;;;;;;;;;;;-1:-1:-1;35916:137:0;-1:-1:-1;;;;;35916:137:0;;:::i;:::-;;;;-1:-1:-1;;;;;35916:137:0;;;;;;;;;;;;;;30072:25;;;:::i;36201:104::-;;;;;;;;;;;;;;;;-1:-1:-1;36201:104:0;-1:-1:-1;;;;;36201:104:0;;:::i;34815:48::-;;;;;;;;;;;;;;;;-1:-1:-1;34815:48:0;-1:-1:-1;;;;;34815:48:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;18542:119;;;;;;;;;;;;;;;;-1:-1:-1;18542:119:0;-1:-1:-1;;;;;18542:119:0;;:::i;30046:17::-;;;:::i;38805:1254::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38805:1254:0;;;;;;;;:::i;30915:356::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30915:356:0;;;;;;;;:::i;35350:38::-;;;;;;;;;;;;;;;;-1:-1:-1;35350:38:0;-1:-1:-1;;;;;35350:38:0;;:::i;17506:87::-;;;:::i;31440:144::-;;;;;;;;;;;;;;;;-1:-1:-1;31440:144:0;-1:-1:-1;;;;;31440:144:0;;:::i;21504:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21504:269:0;;;;;;;;:::i;18874:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18874:175:0;;;;;;;;:::i;31279:153::-;;;;;;;;;;;;;;;;-1:-1:-1;31279:153:0;-1:-1:-1;;;;;31279:153:0;;:::i;38119:255::-;;;;;;;;;;;;;;;;-1:-1:-1;38119:255:0;-1:-1:-1;;;;;38119:255:0;;:::i;32000:321::-;;;;;;;;;;;;;;;;-1:-1:-1;32000:321:0;;:::i;36739:1179::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36739:1179:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;19112:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19112:151:0;;;;;;;;;;:::i;35152:117::-;;;:::i;34678:68::-;;;;;;;;;;;;;;;;-1:-1:-1;34678:68:0;;-1:-1:-1;;;;;34678:68:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;30167:39;;;;;;;;;;;;;;;;-1:-1:-1;30167:39:0;-1:-1:-1;;;;;30167:39:0;;:::i;32985:415::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32985:415:0;;;;;;;;;;;;;;;;;:::i;17304:83::-;17374:5;17367:12;;;;;;;;-1:-1:-1;;17367:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17341:13;;17367:12;;17374:5;;17367:12;;17374:5;17367:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17304:83;:::o;19410:169::-;19493:4;19510:39;19519:12;:10;:12::i;:::-;19533:7;19542:6;19510:8;:39::i;:::-;-1:-1:-1;19567:4:0;19410:169;;;;;:::o;18379:100::-;18459:12;;18379:100;:::o;34936:122::-;34978:80;34936:122;:::o;20053:321::-;20159:4;20176:36;20186:6;20194:9;20205:6;20176:9;:36::i;:::-;20223:121;20232:6;20240:12;:10;:12::i;:::-;20254:89;20292:6;20254:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20254:19:0;;;;;;:11;:19;;;;;;20274:12;:10;:12::i;:::-;-1:-1:-1;;;;;20254:33:0;;;;;;;;;;;;-1:-1:-1;20254:33:0;;;:89;:37;:89::i;:::-;20223:8;:121::i;:::-;-1:-1:-1;20362:4:0;20053:321;;;;;:::o;32329:352::-;32401:75;32422:7;32401:75;;;;;;;;;;;;;;;;;:16;;;:75;:20;:75::i;:::-;32382:16;:94;32487:3;;:37;;:3;;;-1:-1:-1;;;;;32487:3:0;32504:10;32516:7;32487:16;:37::i;:::-;32535:26;32541:10;32553:7;32535:5;:26::i;:::-;32598:10;32587:22;;;;:10;:22;;;;;;32572:59;;-1:-1:-1;;;;;32587:22:0;;;;32623:7;32572:14;:59::i;:::-;32642:31;;;;;;;;32653:10;;32642:31;;;;;;;;;;32329:352;:::o;31592:148::-;31671:10;;-1:-1:-1;;;;;31671:10:0;31657;:24;31649:48;;;;;-1:-1:-1;;;31649:48:0;;;;;;;;;;;;-1:-1:-1;;;31649:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;31708:16:0;31727:5;31708:16;;;:7;:16;;;;;:24;;-1:-1:-1;;31708:24:0;;;31592:148::o;18231:83::-;18297:9;;;;18231:83;:::o;30104:18::-;;;;:::o;20783:218::-;20871:4;20888:83;20897:12;:10;:12::i;:::-;20911:7;20920:50;20959:10;20920:11;:25;20932:12;:10;:12::i;:::-;-1:-1:-1;;;;;20920:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;20920:25:0;;;:34;;;;;;;;;;;:38;:50::i;30501:245::-;30585:10;;-1:-1:-1;;;;;30585:10:0;30571;:24;;:47;;-1:-1:-1;30607:10:0;30599:19;;;;:7;:19;;;;;;;;30571:47;30563:82;;;;;-1:-1:-1;;;30563:82:0;;;;;;;;;;;;-1:-1:-1;;;30563:82:0;;;;;;;;;;;;;;;30656:19;30662:3;30667:7;30656:5;:19::i;:::-;-1:-1:-1;;;;;30713:15:0;;;30709:1;30713:15;;;:10;:15;;;;;;30686:52;;30713:15;30730:7;30686:14;:52::i;:::-;30501:245;;:::o;30754:153::-;30803:26;30809:10;30821:7;30803:5;:26::i;:::-;30866:10;30855:22;;;;:10;:22;;;;;;30840:59;;-1:-1:-1;;;;;30855:22:0;;;;30891:7;30840:14;:59::i;:::-;30754:153;:::o;30129:31::-;;;;:::o;31748:244::-;31818:10;;-1:-1:-1;;;;;31818:10:0;31804;:24;31796:48;;;;;-1:-1:-1;;;31796:48:0;;;;;;;;;;;;-1:-1:-1;;;31796:48:0;;;;;;;;;;;;;;;31893:13;:11;:13::i;:::-;31872:16;;31863:26;;:4;;:8;:26::i;:::-;:43;;31855:108;;;;-1:-1:-1;;;31855:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31974:3;:10;31748:244::o;35916:137::-;-1:-1:-1;;;;;36024:21:0;;;35992:7;36024:21;;;:10;:21;;;;;;;;35916:137::o;30072:25::-;;;-1:-1:-1;;;;;30072:25:0;;:::o;36201:104::-;36265:32;36275:10;36287:9;36265;:32::i;34815:48::-;;;;;;;;;;;;;;;:::o;18542:119::-;-1:-1:-1;;;;;18635:18:0;18608:7;18635:18;;;;;;;;;;;;18542:119::o;30046:17::-;;;;;;-1:-1:-1;;;;;30046:17:0;;:::o;38805:1254::-;38913:7;38960:12;38946:11;:26;38938:79;;;;-1:-1:-1;;;38938:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39052:23:0;;39030:19;39052:23;;;:14;:23;;;;;;;;39090:17;39086:58;;39131:1;39124:8;;;;;39086:58;-1:-1:-1;;;;;39204:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;39225:16:0;;39204:38;;;;;;;;;:48;;:63;-1:-1:-1;39200:147:0;;-1:-1:-1;;;;;39291:20:0;;;;;;:11;:20;;;;;;;;-1:-1:-1;;39312:16:0;;;;39291:38;;;;;;;;39327:1;39291:44;;;-1:-1:-1;39284:51:0;;39200:147;-1:-1:-1;;;;;39408:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;39404:88:0;;;39479:1;39472:8;;;;;39404:88;39504:12;-1:-1:-1;;39546:16:0;;39573:428;39588:5;39580:13;;:5;:13;;;39573:428;;;39652:1;39635:13;;;39634:19;;;39626:27;;39695:20;;:::i;:::-;-1:-1:-1;;;;;;39718:20:0;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;39695:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39765:27;;39761:229;;;39820:8;;;;-1:-1:-1;39813:15:0;;-1:-1:-1;;;;39813:15:0;39761:229;39854:12;;:26;;;-1:-1:-1;39850:140:0;;;39909:6;39901:14;;39850:140;;;39973:1;39964:6;:10;39956:18;;39850:140;39573:428;;;;;-1:-1:-1;;;;;;40018:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;38805:1254:0;;;;:::o;30915:356::-;30986:26;31015:84;31051:7;31015:84;;;;;;;;;;;;;;;;;:31;31025:8;31035:10;31015:9;:31::i;:::-;:35;:84;:35;:84::i;:::-;30986:113;;31110:50;31119:8;31129:10;31141:18;31110:8;:50::i;:::-;31171:24;31177:8;31187:7;31171:5;:24::i;:::-;-1:-1:-1;;;;;31221:20:0;;;;;;;:10;:20;;;;;;31206:57;;31221:20;;31255:7;31206:14;:57::i;:::-;30915:356;;;:::o;35350:38::-;;;;;;;;;;;;;:::o;17506:87::-;17578:7;17571:14;;;;;;;;-1:-1:-1;;17571:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17545:13;;17571:14;;17578:7;;17571:14;;17578:7;17571:14;;;;;;;;;;;;;;;;;;;;;;;;31440:144;31516:10;;-1:-1:-1;;;;;31516:10:0;31502;:24;31494:48;;;;;-1:-1:-1;;;31494:48:0;;;;;;;;;;;;-1:-1:-1;;;31494:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;31553:16:0;;;;;:7;:16;;;;;:23;;-1:-1:-1;;31553:23:0;31572:4;31553:23;;;31440:144::o;21504:269::-;21597:4;21614:129;21623:12;:10;:12::i;:::-;21637:7;21646:96;21685:15;21646:96;;;;;;;;;;;;;;;;;:11;:25;21658:12;:10;:12::i;:::-;-1:-1:-1;;;;;21646:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21646:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;18874:175::-;18960:4;18977:42;18987:12;:10;:12::i;:::-;19001:9;19012:6;18977:9;:42::i;31279:153::-;31363:10;;-1:-1:-1;;;;;31363:10:0;31349;:24;31341:48;;;;;-1:-1:-1;;;31341:48:0;;;;;;;;;;;;-1:-1:-1;;;31341:48:0;;;;;;;;;;;;;;;31400:10;:24;;-1:-1:-1;;;;;;31400:24:0;-1:-1:-1;;;;;31400:24:0;;;;;;;;;;31279:153::o;38119:255::-;-1:-1:-1;;;;;38258:23:0;;38211:7;38258:23;;;:14;:23;;;;;;;;38299:16;:67;;38365:1;38299:67;;;-1:-1:-1;;;;;38318:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;38339:16:0;;38318:38;;;;;;;;38354:1;38318:44;;38299:67;38292:74;38119:255;-1:-1:-1;;;38119:255:0:o;32000:321::-;32052:3;;:56;;:3;;;-1:-1:-1;;;;;32052:3:0;32073:10;32093:4;32100:7;32052:20;:56::i;:::-;32138:16;;:29;;32159:7;32138:20;:29::i;:::-;32119:16;:48;32178:26;32184:10;32196:7;32178:5;:26::i;:::-;32253:10;32238:1;32242:22;;;:10;:22;;;;;;32215:59;;32238:1;-1:-1:-1;;;;;32242:22:0;32266:7;32215:14;:59::i;:::-;32285:28;;;;;;;;32293:10;;32285:28;;;;;;;;;;32000:321;:::o;36739:1179::-;36932:23;34978:80;37061:6;:4;:6::i;:::-;37045:24;;;;;;37088:12;:10;:12::i;:::-;36982:165;;;;;;;;;;;;;;;;;;;;;;;;;37127:4;36982:165;;;;;;;;;;;;;;;;;;;;;;;36958:200;;;;;;35198:71;37216:140;;;;-1:-1:-1;;;;;37216:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37192:175;;;;;;-1:-1:-1;;;37421:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37397:158;;;;;;;;;-1:-1:-1;37586:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36958:200;;-1:-1:-1;37192:175:0;;37397:158;;-1:-1:-1;;37586:26:0;;;;;;;-1:-1:-1;;37586:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37586:26:0;;-1:-1:-1;;37586:26:0;;;-1:-1:-1;;;;;;;37631:23:0;;37623:75;;;;-1:-1:-1;;;37623:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37726:17:0;;;;;;:6;:17;;;;;:19;;;;;;;;37717:28;;37709:76;;;;-1:-1:-1;;;37709:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37811:6;37804:3;:13;;37796:65;;;;-1:-1:-1;;;37796:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37879:31;37889:9;37900;37879;:31::i;:::-;37872:38;;;;36739:1179;;;;;;;:::o;19112:151::-;-1:-1:-1;;;;;19228:18:0;;;19201:7;19228:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19112:151::o;35152:117::-;35198:71;35152:117;:::o;34678:68::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30167:39::-;;;;;;;;;;;;;;;:::o;32985:415::-;33110:10;;-1:-1:-1;;;;;33110:10:0;33096;:24;33088:48;;;;;-1:-1:-1;;;33088:48:0;;;;;;;;;;;;-1:-1:-1;;;33088:48:0;;;;;;;;;;;;;;;33161:3;;-1:-1:-1;;;;;33151:13:0;;;33161:3;;;;;33151:13;33147:202;;;33202:3;;:28;;;-1:-1:-1;;;33202:28:0;;33224:4;33202:28;;;;;;-1:-1:-1;;33202:3:0;;;-1:-1:-1;;;;;33202:3:0;;:13;;:28;;;;;;;;;;;;;;:3;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33202:28:0;33279:16;;33202:28;;-1:-1:-1;33264:32:0;;33202:28;;33264:14;:32::i;:::-;33253:7;:43;;33245:92;;;;-1:-1:-1;;;33245:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33147:202;;33359:33;-1:-1:-1;;;;;33359:19:0;;33379:3;33384:7;33359:19;:33::i;657:106::-;745:10;657:106;:::o;24649:346::-;-1:-1:-1;;;;;24751:19:0;;24743:68;;;;-1:-1:-1;;;24743:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24830:21:0;;24822:68;;;;-1:-1:-1;;;24822:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24903:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;24955:32;;;;;;;;;;;;;;;;;24649:346;;;:::o;22263:539::-;-1:-1:-1;;;;;22369:20:0;;22361:70;;;;-1:-1:-1;;;22361:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22450:23:0;;22442:71;;;;-1:-1:-1;;;22442:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22526:47;22547:6;22555:9;22566:6;22526:20;:47::i;:::-;22606:71;22628:6;22606:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22606:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;22586:17:0;;;:9;:17;;;;;;;;;;;:91;;;;22711:20;;;;;;;:32;;22736:6;22711:24;:32::i;:::-;-1:-1:-1;;;;;22688:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;22759:35;;;;;;;22688:20;;22759:35;;;;;;;;;;;;;22263:539;;;:::o;5580:192::-;5666:7;5702:12;5694:6;;;;5686:29;;;;-1:-1:-1;;;5686:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5738:5:0;;;5580:192::o;26740:177::-;26850:58;;;-1:-1:-1;;;;;26850:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26850:58:0;-1:-1:-1;;;26850:58:0;;;26823:86;;26843:5;;26823:19;:86::i;23793:418::-;-1:-1:-1;;;;;23877:21:0;;23869:67;;;;-1:-1:-1;;;23869:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23949:49;23970:7;23987:1;23991:6;23949:20;:49::i;:::-;24032:68;24055:6;24032:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24032:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;24011:18:0;;:9;:18;;;;;;;;;;:89;24126:12;;:24;;24143:6;24126:16;:24::i;:::-;24111:12;:39;24166:37;;;;;;;;24192:1;;-1:-1:-1;;;;;24166:37:0;;;;;;;;;;;;23793:418;;:::o;40514:947::-;40620:6;-1:-1:-1;;;;;40610:16:0;:6;-1:-1:-1;;;;;40610:16:0;;;:30;;;;;40639:1;40630:6;:10;40610:30;40606:848;;;-1:-1:-1;;;;;40661:20:0;;;40657:385;;-1:-1:-1;;;;;40769:22:0;;40750:16;40769:22;;;:14;:22;;;;;;;;;40830:13;:60;;40889:1;40830:60;;;-1:-1:-1;;;;;40846:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;40866:13:0;;40846:34;;;;;;;;40878:1;40846:40;;40830:60;40810:80;-1:-1:-1;40909:17:0;40929:21;40810:80;40943:6;40929:13;:21::i;:::-;40909:41;;40969:57;40986:6;40994:9;41005;41016;40969:16;:57::i;:::-;40657:385;;;;-1:-1:-1;;;;;41062:20:0;;;41058:385;;-1:-1:-1;;;;;41170:22:0;;41151:16;41170:22;;;:14;:22;;;;;;;;;41231:13;:60;;41290:1;41231:60;;;-1:-1:-1;;;;;41247:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;41267:13:0;;41247:34;;;;;;;;41279:1;41247:40;;41231:60;41211:80;-1:-1:-1;41310:17:0;41330:21;41211:80;41344:6;41330:13;:21::i;:::-;41310:41;;41370:57;41387:6;41395:9;41406;41417;41370:16;:57::i;4677:181::-;4735:7;4767:5;;;4791:6;;;;4783:46;;;;;-1:-1:-1;;;4783:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;23083:378;-1:-1:-1;;;;;23167:21:0;;23159:65;;;;;-1:-1:-1;;;23159:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23237:49;23266:1;23270:7;23279:6;23237:20;:49::i;:::-;23314:12;;:24;;23331:6;23314:16;:24::i;:::-;23299:12;:39;-1:-1:-1;;;;;23370:18:0;;:9;:18;;;;;;;;;;;:30;;23393:6;23370:22;:30::i;:::-;-1:-1:-1;;;;;23349:18:0;;:9;:18;;;;;;;;;;;:51;;;;23416:37;;;;;;;23349:18;;:9;;23416:37;;;;;;;;;;23083:378;;:::o;40067:439::-;-1:-1:-1;;;;;40184:21:0;;;40158:23;40184:21;;;:10;:21;;;;;;;;;;40243:20;40195:9;40243;:20::i;:::-;-1:-1:-1;;;;;40320:21:0;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;40320:33:0;;;;;;;;;;40371:54;;40216:47;;-1:-1:-1;40320:33:0;40371:54;;;;;;40320:21;40371:54;40438:60;40453:15;40470:9;40481:16;40438:14;:60::i;:::-;40067:439;;;;:::o;26925:205::-;27053:68;;;-1:-1:-1;;;;;27053:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27053:68:0;-1:-1:-1;;;27053:68:0;;;27026:96;;27046:5;;27026:19;:96::i;42353:151::-;42462:9;42353:151;:::o;5141:136::-;5199:7;5226:43;5230:1;5233;5226:43;;;;;;;;;;;;;;;;;:3;:43::i;33587:338::-;33696:44;33723:4;33729:2;33733:6;33696:26;:44::i;:::-;-1:-1:-1;;;;;33757:18:0;;33753:165;;33859:16;;33851:3;;:25;;:7;:25::i;:::-;33822;33840:6;33822:13;:11;:13::i;:::-;:17;;:25::i;:::-;:54;;33814:92;;;;;-1:-1:-1;;;33814:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;29045:761;29469:23;29495:69;29523:4;29495:69;;;;;;;;;;;;;;;;;29503:5;-1:-1:-1;;;;;29495:27:0;;;:69;;;;;:::i;:::-;29579:17;;29469:95;;-1:-1:-1;29579:21:0;29575:224;;29721:10;29710:30;;;;;;;;;;;;;;;-1:-1:-1;29710:30:0;29702:85;;;;-1:-1:-1;;;29702:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41469:705;41648:18;41669:77;41676:12;41669:77;;;;;;;;;;;;;;;;;:6;:77::i;:::-;41648:98;;41778:1;41763:12;:16;;;:85;;;;-1:-1:-1;;;;;;41783:22:0;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;41806:16:0;;41783:40;;;;;;;;;:50;:65;;;:50;;:65;41763:85;41759:339;;;-1:-1:-1;;;;;41865:22:0;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;41888:16:0;;41865:40;;;;;;;;41903:1;41865:46;:57;;;41759:339;;;41994:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41955:22:0;;-1:-1:-1;41955:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;-1:-1:-1;;41955:72:0;;;;;;;;;;;;;42042:25;;;:14;:25;;;;;;:44;;42070:16;;;42042:44;;;;;;;;;;41759:339;42115:51;;;;;;;;;;;;;;-1:-1:-1;;;;;42115:51:0;;;;;;;;;;;41469:705;;;;;:::o;12790:196::-;12893:12;12925:53;12948:6;12956:4;12962:1;12965:12;12925:22;:53::i;:::-;12918:60;12790:196;-1:-1:-1;;;;12790:196:0:o;42182:163::-;42257:6;42297:12;42288:7;42284:11;;42276:34;;;;-1:-1:-1;;;42276:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42335:1:0;;42182:163;-1:-1:-1;;42182:163:0:o;14167:979::-;14297:12;14330:18;14341:6;14330:10;:18::i;:::-;14322:60;;;;;-1:-1:-1;;;14322:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14456:12;14470:23;14497:6;-1:-1:-1;;;;;14497:11:0;14517:8;14528:4;14497:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14497:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14455:78;;;;14548:7;14544:595;;;14579:10;-1:-1:-1;14572:17:0;;-1:-1:-1;14572:17:0;14544:595;14693:17;;:21;14689:439;;14956:10;14950:17;15017:15;15004:10;15000:2;14996:19;14989:44;14904:148;15092:20;;-1:-1:-1;;;15092:20:0;;;;;;;;;;;;;;;;;15099:12;;15092:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9872:422;10239:20;10278:8;;;9872:422::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://2cd4da3f12a0beff93962fd942abedf2f20efce5ff12bfa73eb6334d83d130c9
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.