ETH Price: $3,487.86 (+2.94%)
Gas: 2 Gwei

Token

Staked CvxCrv (stkCvxCrv)
 

Overview

Max Total Supply

276,601,100.461619922412169147 stkCvxCrv

Holders

3,059 ( 0.098%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
winsheng.eth
Balance
22.272102006695267617 stkCvxCrv

Value
$0.00
0x4d31f5e7b5b28876b1e65d7e30591d5a13d70311
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
CvxCrvStakingWrapper

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 2023-01-20
*/

// File: contracts\interfaces\IRewardStaking.sol

// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

interface IRewardStaking {
    function stakeFor(address, uint256) external;
    function stake( uint256) external;
    function withdraw(uint256 amount, bool claim) external;
    function withdrawAndUnwrap(uint256 amount, bool claim) external;
    function earned(address account) external view returns (uint256);
    function getReward() external;
    function getReward(address _account, bool _claimExtras) external;
    function extraRewardsLength() external view returns (uint256);
    function extraRewards(uint256 _pid) external view returns (address);
    function rewardToken() external view returns (address);
    function balanceOf(address _account) external view returns (uint256);
    function rewardRate() external view returns(uint256);
    function totalSupply() external view returns(uint256);
}

// File: contracts\interfaces\IConvexDeposits.sol

pragma solidity 0.6.12;

interface IConvexDeposits {
    function deposit(uint256 _pid, uint256 _amount, bool _stake) external returns(bool);
    function deposit(uint256 _amount, bool _lock, address _stakeAddress) external;
}

// File: contracts\interfaces\IRewardHook.sol


pragma solidity 0.6.12;

interface IRewardHook {
    function onRewardClaim() external;
}

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


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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\token\ERC20\IERC20.sol


pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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


pragma solidity >=0.6.2 <0.8.0;

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

        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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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


pragma solidity >=0.6.0 <0.8.0;



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

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

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

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

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

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

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

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

// File: @openzeppelin\contracts\utils\Context.sol


pragma solidity >=0.6.0 <0.8.0;

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

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

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


pragma solidity >=0.6.0 <0.8.0;



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

    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 virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 virtual returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 virtual {
        _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\utils\ReentrancyGuard.sol


pragma solidity >=0.6.0 <0.8.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: contracts\wrappers\CvxCrvStakingWrapper.sol

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
//Wrapper for staked cvxcrv that allows other incentives and user reward weighting

//Based on Curve.fi's gauge wrapper implementations at https://github.com/curvefi/curve-dao-contracts/tree/master/contracts/gauges/wrappers
contract CvxCrvStakingWrapper is ERC20, ReentrancyGuard {
    using SafeERC20
    for IERC20;
    using SafeMath
    for uint256;

    struct EarnedData {
        address token;
        uint256 amount;
    }

    struct RewardType {
        address reward_token;
        uint8 reward_group;
        uint128 reward_integral;
        uint128 reward_remaining;
        mapping(address => uint256) reward_integral_for;
        mapping(address => uint256) claimable_reward;
    }

    //constants/immutables
    address public constant crvDepositor = address(0x8014595F2AB54cD7c604B00E9fb932176fDc86Ae);
    address public constant cvxCrvStaking = address(0x3Fe65692bfCD0e6CF84cB1E7d24108E434A7587e);
    address public constant crv = address(0xD533a949740bb3306d119CC777fa900bA034cd52);
    address public constant cvx = address(0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B);
    address public constant cvxCrv = address(0x62B9c7356A2Dc64a1969e19C23e4f579F9810Aa7);
    address public constant threeCrv = address(0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490);
    address public constant treasury = address(0x1389388d01708118b497f59521f6943Be2541bb7);
    uint256 private constant WEIGHT_PRECISION = 10000;
    uint256 private constant MAX_REWARD_COUNT = 10;

    //rewards
    RewardType[] public rewards;
    mapping(address => uint256) public registeredRewards;
    address public rewardHook;
    mapping (address => uint256) public userRewardWeight;
    uint256 public supplyWeight;

    //management
    bool public isShutdown;
    address public owner;

    event Deposited(address indexed _user, address indexed _account, uint256 _amount, bool _isCrv);
    event Withdrawn(address indexed _user, uint256 _amount);
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    event RewardInvalidated(address _rewardToken);
    event RewardGroupSet(address _rewardToken, uint256 _rewardGroup);
    event HookSet(address _rewardToken);
    event IsShutdown();
    event RewardPaid(address indexed _user, address indexed _token, uint256 _amount, address _receiver);

    constructor() public
        ERC20(
            "Staked CvxCrv",
            "stkCvxCrv"
        ){

        owner = address(0xa3C5A1e09150B75ff251c1a7815A07182c3de2FB); //default to convex multisig
        emit OwnershipTransferred(address(0), owner);

        addRewards();
        setApprovals();

        //preset hook
        rewardHook = address(0x723f9Aa67FDD9B0e375eF8553eB2AFC28eCD4a96);
        emit HookSet(rewardHook);
    }


    function decimals() public view override returns (uint8) {
        return 18;
    }

     modifier onlyOwner() {
        require(owner == msg.sender, "Ownable: caller is not the owner");
        _;
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
    }

    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(owner, address(0));
        owner = address(0);
    }

    function shutdown() external onlyOwner nonReentrant{
        isShutdown = true;
        emit IsShutdown();
    }

    function reclaim() external onlyOwner nonReentrant{
        require(isShutdown,"!shutdown");

        //reclaim extra staked cvxcrv tokens and return to treasury if this wrapper is shutdown
        //in order that the extra staking weight can be migrated
        uint256 extraTokens = IRewardStaking(cvxCrvStaking).balanceOf(address(this)) - totalSupply();
        IRewardStaking(cvxCrvStaking).withdraw(extraTokens, false);
        IERC20(cvxCrv).safeTransfer(treasury, extraTokens);
    }

    function setApprovals() public {
        IERC20(crv).safeApprove(crvDepositor, 0);
        IERC20(crv).safeApprove(crvDepositor, uint256(-1));
        IERC20(cvxCrv).safeApprove(cvxCrvStaking, 0);
        IERC20(cvxCrv).safeApprove(cvxCrvStaking, uint256(-1));
    }

    function addRewards() internal {

        if (rewards.length == 0) {
            rewards.push(
                RewardType({
                    reward_token: crv,
                    reward_integral: 0,
                    reward_remaining: 0,
                    reward_group: 0
                })
            );
            rewards.push(
                RewardType({
                    reward_token: cvx,
                    reward_integral: 0,
                    reward_remaining: 0,
                    reward_group: 0
                })
            );
            rewards.push(
                RewardType({
                    reward_token: threeCrv,
                    reward_integral: 0,
                    reward_remaining: 0,
                    reward_group: 1
                })
            );
            registeredRewards[crv] = 1; //mark registered at index+1
            registeredRewards[cvx] = 2; //mark registered at index+1
            registeredRewards[threeCrv] = 3; //mark registered at index+1
            //send to self to warmup state
            IERC20(crv).transfer(address(this),0);
            //send to self to warmup state
            IERC20(cvx).transfer(address(this),0);
            //send to self to warmup state
            IERC20(threeCrv).transfer(address(this),0);

            emit RewardGroupSet(crv, 0);
            emit RewardGroupSet(cvx, 0);
            emit RewardGroupSet(threeCrv, 1);
        }
    }

    function addTokenReward(address _token, uint256 _rewardGroup) public onlyOwner nonReentrant{
        require(_token != address(0) && _token != cvxCrvStaking && _token != address(this) && _token != cvxCrv,"invalid address");

        //check if already registered
        if(registeredRewards[_token] == 0){
            //limit reward count
            require(rewards.length < MAX_REWARD_COUNT, "max rewards");
            //new token, add token to list
            rewards.push(
                RewardType({
                    reward_token: _token,
                    reward_integral: 0,
                    reward_remaining: 0,
                    reward_group: _rewardGroup > 0 ? uint8(1) : uint8(0)
                })
            );
            //add to registered map
            registeredRewards[_token] = rewards.length; //mark registered at index+1
            //send to self to warmup state
            IERC20(_token).transfer(address(this),0);   

            emit RewardGroupSet(_token, _rewardGroup);
        }else{
            //get previous used index of given token
            //this ensures that reviving can only be done on the previous used slot
            uint256 index = registeredRewards[_token];
            if(index > 0){
                //index is registeredRewards minus one
                RewardType storage reward = rewards[index-1];
                //check if it was invalidated
                if(reward.reward_token == address(0)){
                    //revive
                    reward.reward_token = _token;
                }
            }
        }
    }

    //allow invalidating a reward if the token causes trouble in calcRewardIntegral
    function invalidateReward(address _token) public onlyOwner {
        uint256 index = registeredRewards[_token];
        if(index > 0){
            //index is registered rewards minus one
            RewardType storage reward = rewards[index-1];
            require(reward.reward_token == _token, "!mismatch");
            //set reward token address to 0, integral calc will now skip
            reward.reward_token = address(0);
            emit RewardInvalidated(_token);
        }
    }

    //set reward group
    function setRewardGroup(address _token, uint256 _rewardGroup) public onlyOwner {
        //checkpoint
        _checkpoint([address(msg.sender),address(0)]);

        uint256 index = registeredRewards[_token];
        if(index > 0){
            //index is registered rewards minus one
            RewardType storage reward = rewards[index-1];
            reward.reward_group = _rewardGroup > 0 ? uint8(1) : uint8(0);
            emit RewardGroupSet(_token, _rewardGroup);
        }
    }

    function setHook(address _hook) external onlyOwner{
        rewardHook = _hook;
        emit HookSet(_hook);
    }

    function rewardLength() external view returns(uint256) {
        return rewards.length;
    }


    function _calcRewardIntegral(uint256 _index, address[2] memory _accounts, uint256[2] memory _balances, uint256 _supply, bool _isClaim) internal{
         RewardType storage reward = rewards[_index];
         //skip invalidated rewards
         //if a reward token starts throwing an error, calcRewardIntegral needs a way to exit
         if(reward.reward_token == address(0)){
            return;
         }

        //get difference in balance and remaining rewards
        //getReward is unguarded so we use reward_remaining to keep track of how much was actually claimed
        uint256 bal = IERC20(reward.reward_token).balanceOf(address(this));
        

        if (bal.sub(reward.reward_remaining) > 0) {
            //adjust supply based on reward group
            if(reward.reward_group == 0){
                //use inverse (supplyWeight can never be more than _supply)
                _supply = (_supply - supplyWeight);
            }else{
                //use supplyWeight
                _supply = supplyWeight;
            }

            if(_supply > 0){
                reward.reward_integral = reward.reward_integral + uint128(bal.sub(reward.reward_remaining).mul(1e20).div(_supply));
            }
        }

        //update user integrals
        for (uint256 u = 0; u < _accounts.length; u++) {
            //do not give rewards to address 0
            if (_accounts[u] == address(0)) continue;
            if(_isClaim && u != 0) continue; //if claiming, only update/claim for first address and use second as forwarding

            //adjust user balance based on reward group
            uint256 userb = _balances[u];
            if(reward.reward_group == 0){
                //use userRewardWeight inverse: weight of 0 should be full reward group 0
                userb = userb * (WEIGHT_PRECISION - userRewardWeight[_accounts[u]]) / WEIGHT_PRECISION;
            }else{
                //use userRewardWeight: weight of 10,000 should be full reward group 1
                userb = userb * userRewardWeight[_accounts[u]] / WEIGHT_PRECISION;
            }

            uint userI = reward.reward_integral_for[_accounts[u]];
            if(_isClaim || userI < reward.reward_integral){
                if(_isClaim){
                    uint256 receiveable = reward.claimable_reward[_accounts[u]].add(userb.mul( uint256(reward.reward_integral).sub(userI)).div(1e20));
                    if(receiveable > 0){
                        reward.claimable_reward[_accounts[u]] = 0;
                        //cheat for gas savings by transfering to the second index in accounts list
                        //if claiming only the 0 index will update so 1 index can hold forwarding info
                        //guaranteed to have an address in u+1 so no need to check
                        IERC20(reward.reward_token).safeTransfer(_accounts[u+1], receiveable);
                        emit RewardPaid(_accounts[u], reward.reward_token, receiveable, _accounts[u+1]);
                        bal = bal.sub(receiveable);
                    }
                }else{
                    reward.claimable_reward[_accounts[u]] = reward.claimable_reward[_accounts[u]].add(userb.mul( uint256(reward.reward_integral).sub(userI)).div(1e20));
                }
                reward.reward_integral_for[_accounts[u]] = reward.reward_integral;
            }
        }

        //update remaining reward here since balance could have changed if claiming
        if(bal != reward.reward_remaining){
            reward.reward_remaining = uint128(bal);
        }
    }

    function _checkpoint(address[2] memory _accounts) internal nonReentrant{

        uint256 supply = totalSupply();
        uint256[2] memory depositedBalance;
        depositedBalance[0] = balanceOf(_accounts[0]);
        depositedBalance[1] = balanceOf(_accounts[1]);
        
        //claim normal cvxcrv staking rewards
        IRewardStaking(cvxCrvStaking).getReward(address(this), true);
        //claim outside staking rewards
        _claimExtras();

        uint256 rewardCount = rewards.length;
        for (uint256 i = 0; i < rewardCount; i++) {
           _calcRewardIntegral(i,_accounts,depositedBalance,supply,false);
        }
    }

    function _checkpointAndClaim(address[2] memory _accounts) internal nonReentrant{

        uint256 supply = totalSupply();
        uint256[2] memory depositedBalance;
        depositedBalance[0] = balanceOf(_accounts[0]); //only do first slot
        
        //claim normal cvxcrv staking rewards
        IRewardStaking(cvxCrvStaking).getReward(address(this), true);
        //claim outside staking rewards
        _claimExtras();

        uint256 rewardCount = rewards.length;
        for (uint256 i = 0; i < rewardCount; i++) {
           _calcRewardIntegral(i,_accounts,depositedBalance,supply,true);
        }
    }

    //claim any rewards not part of the convex pool
    function _claimExtras() internal {
        //claim via hook if exists
        if(rewardHook != address(0)){
            try IRewardHook(rewardHook).onRewardClaim(){
            }catch{}
        }
    }

    function user_checkpoint(address _account) external returns(bool) {
        _checkpoint([_account, address(0)]);
        return true;
    }

    //run earned as a mutable function to claim everything before calculating earned rewards
    function earned(address _account) external returns(EarnedData[] memory claimable) {
        _checkpoint([_account, address(0)]);
        return _earned(_account);
    }

    //because we are doing a mutative earned(), we can just simulate checkpointing a user and looking at recorded claimables
    //thus no need to look at each reward contract's claimable tokens or cvx minting equations etc
    function _earned(address _account) internal view returns(EarnedData[] memory claimable) {
        
        uint256 rewardCount = rewards.length;
        claimable = new EarnedData[](rewardCount);

        for (uint256 i = 0; i < rewardCount; i++) {
            RewardType storage reward = rewards[i];

            //skip invalidated rewards
            if(reward.reward_token == address(0)){
                continue;
            }
    
            claimable[i].amount = reward.claimable_reward[_account];
            claimable[i].token = reward.reward_token;
        }
        return claimable;
    }

    //set a user's reward weight to determine how much of each reward group to receive
    function setRewardWeight(uint256 _weight) public{
        require(_weight <= WEIGHT_PRECISION, "!invalid");

        //checkpoint user
         _checkpoint([address(msg.sender), address(0)]);

        //set user weight and new supply weight
        //supply weight defined as amount of weight for reward group 1
        //..which means reward group 0 will be the inverse (real supply - weight)
        uint256 sweight = supplyWeight;
        //remove old user weight
        sweight -= balanceOf(msg.sender) * userRewardWeight[msg.sender] / WEIGHT_PRECISION;
        //add new user weight
        sweight += balanceOf(msg.sender) * _weight / WEIGHT_PRECISION;
        //store
        supplyWeight = sweight;
        userRewardWeight[msg.sender] = _weight;
    }

    //get user's weighted balance for specified reward group
    function userRewardBalance(address _address, uint256 _rewardGroup) external view returns(uint256){
        uint256 userb = balanceOf(_address);
        if(_rewardGroup == 0){
            //userRewardWeight of 0 should be full weight for reward group 0
            userb = userb * (WEIGHT_PRECISION - userRewardWeight[_address]) / WEIGHT_PRECISION;
        }else{
            // userRewardWeight of 10,000 should be full weight for reward group 1
            userb = userb * userRewardWeight[_address] / WEIGHT_PRECISION;
        }
        return userb;
    }

    //get weighted supply for specified reward group
    function rewardSupply(uint256 _rewardGroup) public view returns(uint256){
        //if group 0, return inverse of supplyWeight
        if(_rewardGroup == 0){
            return (totalSupply() - supplyWeight);
        }

        //else return supplyWeight
        return supplyWeight;
    }

    //claim
    function getReward(address _account) external {
        //claim directly in checkpoint logic to save a bit of gas
        _checkpointAndClaim([_account, _account]);
    }

    //claim and forward
    function getReward(address _account, address _forwardTo) external {
        //if forwarding, require caller is self
        require(msg.sender == _account, "!self");
        //claim directly in checkpoint logic to save a bit of gas
        //pack forwardTo into account array to save gas so that a proxy etc doesnt have to double transfer
        _checkpointAndClaim([_account,_forwardTo]);
    }

    //deposit vanilla crv
    function deposit(uint256 _amount, address _to) public {
        require(!isShutdown, "shutdown");

        //dont need to call checkpoint since _mint() will

        if (_amount > 0) {
            //deposit
            _mint(_to, _amount);
            IERC20(crv).safeTransferFrom(msg.sender, address(this), _amount);
            IConvexDeposits(crvDepositor).deposit(_amount, false, cvxCrvStaking);
        }

        emit Deposited(msg.sender, _to, _amount, true);
    }

    function depositAndSetWeight(uint256 _amount, uint256 _weight) external {
        deposit(_amount, msg.sender);
        setRewardWeight(_weight);
    }

    //stake cvxcrv
    function stake(uint256 _amount, address _to) public {
        require(!isShutdown, "shutdown");

        //dont need to call checkpoint since _mint() will

        if (_amount > 0) {
            //deposit
            _mint(_to, _amount);
            IERC20(cvxCrv).safeTransferFrom(msg.sender, address(this), _amount);
            IRewardStaking(cvxCrvStaking).stake(_amount);
        }

        emit Deposited(msg.sender, _to, _amount, false);
    }

    function stakeAndSetWeight(uint256 _amount, uint256 _weight) external {
        stake(_amount, msg.sender);
        setRewardWeight(_weight);
    }

    //backwards compatibility for other systems (note: amount and address reversed)
    function stakeFor(address _to, uint256 _amount) external {
        stake(_amount, _to);
    }

    //withdraw to convex deposit token
    function withdraw(uint256 _amount) external {
        
        //dont need to call checkpoint since _burn() will

        if (_amount > 0) {
            //withdraw
            _burn(msg.sender, _amount);
            IRewardStaking(cvxCrvStaking).withdraw(_amount, false);
            IERC20(cvxCrv).safeTransfer(msg.sender, _amount);
        }

        emit Withdrawn(msg.sender, _amount);
    }

    function _beforeTokenTransfer(address _from, address _to, uint256 _amount) internal override {
        _checkpoint([_from, _to]);

        if(_from != _to){
            //adjust supply weight assuming post transfer balances
            uint256 sweight = supplyWeight;
            if(_from != address(0)){
                sweight -= balanceOf(_from) * userRewardWeight[_from] / WEIGHT_PRECISION;
                sweight += balanceOf(_from).sub(_amount) * userRewardWeight[_from] / WEIGHT_PRECISION;
            }
            if(_to != address(0)){
                sweight -= balanceOf(_to) * userRewardWeight[_to] / WEIGHT_PRECISION;
                sweight += balanceOf(_to).add(_amount) * userRewardWeight[_to] / WEIGHT_PRECISION;
            }

            //write new supply weight
            supplyWeight = sweight;
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"_user","type":"address"},{"indexed":true,"internalType":"address","name":"_account","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"_isCrv","type":"bool"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_rewardToken","type":"address"}],"name":"HookSet","type":"event"},{"anonymous":false,"inputs":[],"name":"IsShutdown","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_rewardToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"_rewardGroup","type":"uint256"}],"name":"RewardGroupSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_rewardToken","type":"address"}],"name":"RewardInvalidated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"_receiver","type":"address"}],"name":"RewardPaid","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":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_rewardGroup","type":"uint256"}],"name":"addTokenReward","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":[],"name":"crv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crvDepositor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvx","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxCrv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxCrvStaking","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_weight","type":"uint256"}],"name":"depositAndSetWeight","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"earned","outputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct CvxCrvStakingWrapper.EarnedData[]","name":"claimable","type":"tuple[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"address","name":"_forwardTo","type":"address"}],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getReward","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":"_token","type":"address"}],"name":"invalidateReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isShutdown","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reclaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"registeredRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardHook","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardGroup","type":"uint256"}],"name":"rewardSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewards","outputs":[{"internalType":"address","name":"reward_token","type":"address"},{"internalType":"uint8","name":"reward_group","type":"uint8"},{"internalType":"uint128","name":"reward_integral","type":"uint128"},{"internalType":"uint128","name":"reward_remaining","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setApprovals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_hook","type":"address"}],"name":"setHook","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_rewardGroup","type":"uint256"}],"name":"setRewardGroup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_weight","type":"uint256"}],"name":"setRewardWeight","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shutdown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_weight","type":"uint256"}],"name":"stakeAndSetWeight","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stakeFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyWeight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"threeCrv","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_rewardGroup","type":"uint256"}],"name":"userRewardBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardWeight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"user_checkpoint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604080518082018252600d81526c29ba30b5b2b21021bb3c21b93b60991b60208083019182528351808501909452600984526839ba35a1bb3c21b93b60b91b908401528151919291620000689160039162000c17565b5080516200007e90600490602084019062000c17565b50506005805460ff19166012179055506001600655600c805474a3c5a1e09150b75ff251c1a7815a07182c3de2fb00610100600160a81b031990911617908190556040516101009091046001600160a01b0316906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36200010462000181565b6200010e62000835565b600980546001600160a01b03191673723f9aa67fdd9b0e375ef8553eb2afc28ecd4a9617908190556040517f4eab7b127c764308788622363ad3e9532de3dfba7845bd4f84c125a22544255a9162000173916001600160a01b03919091169062000d0c565b60405180910390a162000edf565b600754620008335760076040518060800160405280600080516020620043048339815191526001600160a01b03168152602001600060ff16815260200160006001600160801b0316815260200160006001600160801b0316815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160010160006101000a8154816001600160801b0302191690836001600160801b0316021790555060608201518160010160106101000a8154816001600160801b0302191690836001600160801b03160217905550505060076040518060800160405280734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b03168152602001600060ff16815260200160006001600160801b0316815260200160006001600160801b0316815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160010160006101000a8154816001600160801b0302191690836001600160801b0316021790555060608201518160010160106101000a8154816001600160801b0302191690836001600160801b03160217905550505060076040518060800160405280736c3f90f043a72fa612cbac8115ee7e52bde6e4906001600160a01b03168152602001600160ff16815260200160006001600160801b0316815260200160006001600160801b0316815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160010160006101000a8154816001600160801b0302191690836001600160801b0316021790555060608201518160010160106101000a8154816001600160801b0302191690836001600160801b031602179055505050600160086000600080516020620043048339815191526001600160a01b03166001600160a01b0316815260200190815260200160002081905550600260086000734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b03166001600160a01b0316815260200190815260200160002081905550600360086000736c3f90f043a72fa612cbac8115ee7e52bde6e4906001600160a01b03166001600160a01b0316815260200190815260200160002081905550600080516020620043048339815191526001600160a01b031663a9059cbb3060006040518363ffffffff1660e01b8152600401620005fd92919062000d3a565b602060405180830381600087803b1580156200061857600080fd5b505af11580156200062d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000653919062000cb3565b5060405163a9059cbb60e01b8152734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b9063a9059cbb906200069090309060009060040162000d3a565b602060405180830381600087803b158015620006ab57600080fd5b505af1158015620006c0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006e6919062000cb3565b5060405163a9059cbb60e01b8152736c3f90f043a72fa612cbac8115ee7e52bde6e4909063a9059cbb906200072390309060009060040162000d3a565b602060405180830381600087803b1580156200073e57600080fd5b505af115801562000753573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000779919062000cb3565b50600080516020620042e4833981519152600080516020620043048339815191526000604051620007ac92919062000d3a565b60405180910390a1600080516020620042e4833981519152734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6000604051620007eb92919062000d3a565b60405180910390a1600080516020620042e4833981519152736c3f90f043a72fa612cbac8115ee7e52bde6e49060016040516200082a92919062000d3a565b60405180910390a15b565b6200087260008051602062004304833981519152738014595f2ab54cd7c604b00e9fb932176fdc86ae600062000935602090811b6200190c17901c565b620008b060008051602062004304833981519152738014595f2ab54cd7c604b00e9fb932176fdc86ae60001962000935602090811b6200190c17901c565b620008f27362b9c7356a2dc64a1969e19c23e4f579f9810aa7733fe65692bfcd0e6cf84cb1e7d24108e434a7587e600062000935602090811b6200190c17901c565b620008337362b9c7356a2dc64a1969e19c23e4f579f9810aa7733fe65692bfcd0e6cf84cb1e7d24108e434a7587e60001962000935602090811b6200190c17901c565b801580620009c45750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906200096e903090869060040162000d20565b60206040518083038186803b1580156200098757600080fd5b505afa1580156200099c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009c2919062000cd5565b155b620009ec5760405162461bcd60e51b8152600401620009e39062000e4f565b60405180910390fd5b62000a478363095ea7b360e01b848460405160240162000a0e92919062000d3a565b60408051808303601f190181529190526020810180516001600160e01b0319939093166001600160e01b039384161790529062000a4c16565b505050565b606062000aa8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031662000ae860201b62001a06179092919060201c565b80519091501562000a47578080602001905181019062000ac9919062000cb3565b62000a475760405162461bcd60e51b8152600401620009e39062000e05565b606062000af9848460008562000b03565b90505b9392505050565b60608247101562000b285760405162461bcd60e51b8152600401620009e39062000d88565b62000b338562000bd3565b62000b525760405162461bcd60e51b8152600401620009e39062000dce565b60006060866001600160a01b0316858760405162000b71919062000cee565b60006040518083038185875af1925050503d806000811462000bb0576040519150601f19603f3d011682016040523d82523d6000602084013e62000bb5565b606091505b50909250905062000bc882828662000bd9565b979650505050505050565b3b151590565b6060831562000bea57508162000afc565b82511562000bfb5782518084602001fd5b8160405162461bcd60e51b8152600401620009e3919062000d53565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000c5a57805160ff191683800117855562000c8a565b8280016001018555821562000c8a579182015b8281111562000c8a57825182559160200191906001019062000c6d565b5062000c9892915062000c9c565b5090565b5b8082111562000c98576000815560010162000c9d565b60006020828403121562000cc5578081fd5b8151801515811462000afc578182fd5b60006020828403121562000ce7578081fd5b5051919050565b6000825162000d0281846020870162000eac565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b03929092168252602082015260400190565b600060208252825180602084015262000d7481604085016020870162000eac565b601f01601f19169190910160400192915050565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606082015260800190565b60005b8381101562000ec957818101518382015260200162000eaf565b8381111562000ed9576000848401525b50505050565b6133f58062000eef6000396000f3fe608060405234801561001057600080fd5b506004361061029f5760003560e01c80636e553f6511610167578063b95c5746116100ce578063e5f5d1e711610087578063e5f5d1e71461054a578063f2fde38b1461055d578063f301af4214610570578063f8112eed14610593578063fc0e74d1146105a6578063ff833485146105ae5761029f565b8063b95c5746146104ee578063bf86d690146104f6578063c00007b0146104fe578063c15f5f8d14610511578063d24d0e7514610524578063dd62ed3e146105375761029f565b80638757b15b116101205780638757b15b146104a85780638da5cb5b146104b0578063923c1d61146104b857806395d89b41146104c0578063a457c2d7146104c8578063a9059cbb146104db5761029f565b80636e553f651461045757806370a082311461046a578063715018a61461047d5780637acb77571461048557806380e9071b1461049857806382480df9146104a05761029f565b8063395093511161020b5780634b820093116101c45780634b820093146104065780634cc36d7d1461041957806355f4f1b91461042c57806361d027b3146104345780636a4874a11461043c5780636b091695146104445761029f565b806339509351146103aa5780633ac64c44146103bd5780633dfd3873146103d057806343ade58c146103e357806344214ecf146103eb57806345eea434146103f35761029f565b8063218358be1161025d578063218358be1461034157806323b872dd146103545780632da9a694146103675780632e1a7d4d1461036f5780632ee4090814610382578063313ce567146103955761029f565b80628cc262146102a457806301c15e62146102cd57806304bd0f97146102e257806306fdde03146102f7578063095ea7b31461030c57806318160ddd1461032c575b600080fd5b6102b76102b2366004612aa0565b6105c1565b6040516102c49190612cc4565b60405180910390f35b6102d56105fb565b6040516102c49190612c09565b6102f56102f0366004612b2f565b610613565b005b6102ff610955565b6040516102c49190612d27565b61031f61031a366004612b2f565b6109eb565b6040516102c49190612d1c565b610334610a09565b6040516102c4919061328c565b61033461034f366004612aa0565b610a0f565b61031f610362366004612aef565b610a21565b6102d5610aa9565b6102f561037d366004612b79565b610ac1565b6102f5610390366004612b2f565b610ba3565b61039d610bb1565b6040516102c491906132db565b61031f6103b8366004612b2f565b610bb6565b6102f56103cb366004612b2f565b610c04565b6102f56103de366004612aa0565b610cfe565b610334610d83565b6102d5610d89565b6102f5610401366004612bcc565b610d98565b61031f610414366004612aa0565b610dab565b610334610427366004612b79565b610ddc565b6102d5610dfe565b6102d5610e16565b6102d5610e2e565b6102f5610452366004612abb565b610e46565b6102f5610465366004612ba9565b610e95565b610334610478366004612aa0565b610fbd565b6102f5610fd8565b6102f5610493366004612ba9565b611057565b6102f561115a565b6102d5611313565b6102f561132b565b6102d56113ff565b6102d5611413565b6102ff61142b565b61031f6104d6366004612b2f565b61148c565b61031f6104e9366004612b2f565b6114f4565b610334611508565b61031f61150e565b6102f561050c366004612aa0565b611517565b6102f561051f366004612b79565b61153f565b6102f5610532366004612bcc565b6115d5565b610334610545366004612abb565b6115df565b610334610558366004612b2f565b61160a565b6102f561056b366004612aa0565b61166c565b61058361057e366004612b79565b611728565b6040516102c49493929190612c8f565b6102f56105a1366004612aa0565b61177c565b6102f5611866565b6103346105bc366004612aa0565b6118fa565b604080518082019091526001600160a01b0382168152600060208201526060906105ea90611a1d565b6105f382611b20565b90505b919050565b733fe65692bfcd0e6cf84cb1e7d24108e434a7587e81565b600c5461010090046001600160a01b0316331461064b5760405162461bcd60e51b815260040161064290612fe4565b60405180910390fd5b6002600654141561066e5760405162461bcd60e51b8152600401610642906131c8565b60026006556001600160a01b038216158015906106a857506001600160a01b038216733fe65692bfcd0e6cf84cb1e7d24108e434a7587e14155b80156106bd57506001600160a01b0382163014155b80156106e657506001600160a01b0382167362b9c7356a2dc64a1969e19c23e4f579f9810aa714155b6107025760405162461bcd60e51b815260040161064290612f55565b6001600160a01b0382166000908152600860205260409020546108db57600754600a116107415760405162461bcd60e51b815260040161064290612f7e565b60076040518060800160405280846001600160a01b031681526020016000841161076c57600061076f565b60015b60ff9081168252600060208084018290526040938401829052855460018082018855968352818320865160049283029091018054888501516001600160a01b03199091166001600160a01b039384161760ff60a01b1916600160a01b9190971602959095178555868601519490970180546060909701516001600160801b03199097166001600160801b03958616178516600160801b959097169490940295909517909255600754948716808252600890925282812094909455905163a9059cbb60e01b8152909263a9059cbb9261084a9230929101612c76565b602060405180830381600087803b15801561086457600080fd5b505af1158015610878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089c9190612b59565b507fe9409046cfa68a2df832d20ddc242d03d31adb5e8b75912402649d20f79ada5a82826040516108ce929190612c76565b60405180910390a161094c565b6001600160a01b038216600090815260086020526040902054801561094a5760006007600183038154811061090c57fe5b6000918252602090912060049091020180549091506001600160a01b03166109485780546001600160a01b0319166001600160a01b0385161781555b505b505b50506001600655565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109e15780601f106109b6576101008083540402835291602001916109e1565b820191906000526020600020905b8154815290600101906020018083116109c457829003601f168201915b5050505050905090565b60006109ff6109f8611c38565b8484611c3c565b5060015b92915050565b60025490565b600a6020526000908152604090205481565b6000610a2e848484611cf0565b610a9e84610a3a611c38565b610a9985604051806060016040528060288152602001613373602891396001600160a01b038a16600090815260016020526040812090610a78611c38565b6001600160a01b031681526020810191909152604001600020549190611e05565b611c3c565b5060015b9392505050565b736c3f90f043a72fa612cbac8115ee7e52bde6e49081565b8015610b5f57610ad13382611e31565b604051631c683a1b60e11b8152733fe65692bfcd0e6cf84cb1e7d24108e434a7587e906338d0743690610b0b9084906000906004016132ac565b600060405180830381600087803b158015610b2557600080fd5b505af1158015610b39573d6000803e3d6000fd5b50610b5f92507362b9c7356a2dc64a1969e19c23e4f579f9810aa7915033905083611f07565b336001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d582604051610b98919061328c565b60405180910390a250565b610bad8183611057565b5050565b601290565b60006109ff610bc3611c38565b84610a998560016000610bd4611c38565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611f26565b600c5461010090046001600160a01b03163314610c335760405162461bcd60e51b815260040161064290612fe4565b6040805180820190915233815260006020820152610c5090611a1d565b6001600160a01b0382166000908152600860205260409020548015610cf957600060076001830381548110610c8157fe5b9060005260206000209060040201905060008311610ca0576000610ca3565b60015b815460ff91909116600160a01b0260ff60a01b199091161781556040517fe9409046cfa68a2df832d20ddc242d03d31adb5e8b75912402649d20f79ada5a90610cef9086908690612c76565b60405180910390a1505b505050565b600c5461010090046001600160a01b03163314610d2d5760405162461bcd60e51b815260040161064290612fe4565b600980546001600160a01b0319166001600160a01b0383161790556040517f4eab7b127c764308788622363ad3e9532de3dfba7845bd4f84c125a22544255a90610d78908390612c09565b60405180910390a150565b600b5481565b6009546001600160a01b031681565b610da28233611057565b610bad8161153f565b604080518082019091526001600160a01b038216815260006020820181905290610dd490611a1d565b506001919050565b600081610df657600b54610dee610a09565b0390506105f6565b5050600b5490565b738014595f2ab54cd7c604b00e9fb932176fdc86ae81565b731389388d01708118b497f59521f6943be2541bb781565b73d533a949740bb3306d119cc777fa900ba034cd5281565b336001600160a01b03831614610e6e5760405162461bcd60e51b815260040161064290613019565b604080518082019091526001600160a01b03808416825282166020820152610bad90611f4b565b600c5460ff1615610eb85760405162461bcd60e51b8152600401610642906130be565b8115610f6b57610ec8818361202c565b610ee873d533a949740bb3306d119cc777fa900ba034cd523330856120e0565b60405163203b5c7960e21b8152738014595f2ab54cd7c604b00e9fb932176fdc86ae906380ed71e490610f38908590600090733fe65692bfcd0e6cf84cb1e7d24108e434a7587e906004016132bc565b600060405180830381600087803b158015610f5257600080fd5b505af1158015610f66573d6000803e3d6000fd5b505050505b806001600160a01b0316336001600160a01b03167fb32af138549e2a71563d1f2b1f7f0a139b3cdbc83d877d13603de1c3c5fd487a846001604051610fb19291906132ac565b60405180910390a35050565b6001600160a01b031660009081526020819052604090205490565b600c5461010090046001600160a01b031633146110075760405162461bcd60e51b815260040161064290612fe4565b600c5460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c8054610100600160a81b0319169055565b600c5460ff161561107a5760405162461bcd60e51b8152600401610642906130be565b81156111145761108a818361202c565b6110aa7362b9c7356a2dc64a1969e19c23e4f579f9810aa73330856120e0565b60405163534a7e1d60e11b8152733fe65692bfcd0e6cf84cb1e7d24108e434a7587e9063a694fc3a906110e190859060040161328c565b600060405180830381600087803b1580156110fb57600080fd5b505af115801561110f573d6000803e3d6000fd5b505050505b806001600160a01b0316336001600160a01b03167fb32af138549e2a71563d1f2b1f7f0a139b3cdbc83d877d13603de1c3c5fd487a846000604051610fb19291906132ac565b600c5461010090046001600160a01b031633146111895760405162461bcd60e51b815260040161064290612fe4565b600260065414156111ac5760405162461bcd60e51b8152600401610642906131c8565b6002600655600c5460ff166111d35760405162461bcd60e51b815260040161064290612e7e565b60006111dd610a09565b6040516370a0823160e01b8152733fe65692bfcd0e6cf84cb1e7d24108e434a7587e906370a0823190611214903090600401612c09565b60206040518083038186803b15801561122c57600080fd5b505afa158015611240573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112649190612b91565b604051631c683a1b60e11b81529190039150733fe65692bfcd0e6cf84cb1e7d24108e434a7587e906338d07436906112a39084906000906004016132ac565b600060405180830381600087803b1580156112bd57600080fd5b505af11580156112d1573d6000803e3d6000fd5b5061130b92507362b9c7356a2dc64a1969e19c23e4f579f9810aa79150731389388d01708118b497f59521f6943be2541bb7905083611f07565b506001600655565b7362b9c7356a2dc64a1969e19c23e4f579f9810aa781565b61135f73d533a949740bb3306d119cc777fa900ba034cd52738014595f2ab54cd7c604b00e9fb932176fdc86ae600061190c565b61139473d533a949740bb3306d119cc777fa900ba034cd52738014595f2ab54cd7c604b00e9fb932176fdc86ae60001961190c565b6113c87362b9c7356a2dc64a1969e19c23e4f579f9810aa7733fe65692bfcd0e6cf84cb1e7d24108e434a7587e600061190c565b6113fd7362b9c7356a2dc64a1969e19c23e4f579f9810aa7733fe65692bfcd0e6cf84cb1e7d24108e434a7587e60001961190c565b565b600c5461010090046001600160a01b031681565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109e15780601f106109b6576101008083540402835291602001916109e1565b60006109ff611499611c38565b84610a998560405180606001604052806025815260200161339b60259139600160006114c3611c38565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611e05565b60006109ff611501611c38565b8484611cf0565b60075490565b600c5460ff1681565b604080518082019091526001600160a01b038216808252602082015261153c90611f4b565b50565b6127108111156115615760405162461bcd60e51b815260040161064290612d9d565b604080518082019091523381526000602082015261157e90611a1d565b600b54336000818152600a60205260409020546127109161159e90610fbd565b02816115a657fe5b049003612710826115b633610fbd565b02816115be57fe5b0401600b55336000908152600a6020526040902055565b610da28233610e95565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008061161684610fbd565b905082611646576001600160a01b0384166000908152600a60205260409020546127109081038202049050610aa2565b6001600160a01b0384166000908152600a60205260409020546127109102049392505050565b600c5461010090046001600160a01b0316331461169b5760405162461bcd60e51b815260040161064290612fe4565b6001600160a01b0381166116c15760405162461bcd60e51b815260040161064290612dbf565b600c546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6007818154811061173557fe5b6000918252602090912060049091020180546001909101546001600160a01b0382169250600160a01b90910460ff16906001600160801b0380821691600160801b90041684565b600c5461010090046001600160a01b031633146117ab5760405162461bcd60e51b815260040161064290612fe4565b6001600160a01b0381166000908152600860205260409020548015610bad576000600760018303815481106117dc57fe5b6000918252602090912060049091020180549091506001600160a01b0384811691161461181b5760405162461bcd60e51b81526004016106429061315b565b80546001600160a01b03191681556040517f646cfe9445aed85f4853d501d1924d2bdabb1bbf12531df29f929f07ba4169e090611859908590612c09565b60405180910390a1505050565b600c5461010090046001600160a01b031633146118955760405162461bcd60e51b815260040161064290612fe4565b600260065414156118b85760405162461bcd60e51b8152600401610642906131c8565b6002600655600c805460ff191660011790556040517f361d247eba080b8e386d859fc8a7154ea306639ee8264e5fc705e470c064d00690600090a16001600655565b60086020526000908152604090205481565b8015806119945750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906119429030908690600401612c1d565b60206040518083038186803b15801561195a57600080fd5b505afa15801561196e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119929190612b91565b155b6119b05760405162461bcd60e51b8152600401610642906131ff565b610cf98363095ea7b360e01b84846040516024016119cf929190612c76565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612107565b6060611a158484600085612196565b949350505050565b60026006541415611a405760405162461bcd60e51b8152600401610642906131c8565b60026006556000611a4f610a09565b9050611a59612a54565b611a6a8360005b6020020151610fbd565b8152611a77836001611a60565b6020820152604051637050ccd960e01b8152733fe65692bfcd0e6cf84cb1e7d24108e434a7587e90637050ccd990611ab6903090600190600401612c5b565b600060405180830381600087803b158015611ad057600080fd5b505af1158015611ae4573d6000803e3d6000fd5b50505050611af0612257565b60075460005b81811015611b1457611b0c8186858760006122d2565b600101611af6565b50506001600655505050565b6007546060908067ffffffffffffffff81118015611b3d57600080fd5b50604051908082528060200260200182016040528015611b7757816020015b611b64612a72565b815260200190600190039081611b5c5790505b50915060005b81811015611c3157600060078281548110611b9457fe5b6000918252602090912060049091020180549091506001600160a01b0316611bbc5750611c29565b6001600160a01b03851660009081526003820160205260409020548451859084908110611be557fe5b6020908102919091018101510152805484516001600160a01b0390911690859084908110611c0f57fe5b60209081029190910101516001600160a01b039091169052505b600101611b7d565b5050919050565b3390565b6001600160a01b038316611c625760405162461bcd60e51b8152600401610642906130e0565b6001600160a01b038216611c885760405162461bcd60e51b815260040161064290612e05565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611ce390859061328c565b60405180910390a3505050565b6001600160a01b038316611d165760405162461bcd60e51b815260040161064290613079565b6001600160a01b038216611d3c5760405162461bcd60e51b815260040161064290612d5a565b611d47838383612838565b611d848160405180606001604052806026815260200161334d602691396001600160a01b0386166000908152602081905260409020549190611e05565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611db39082611f26565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611ce390859061328c565b60008184841115611e295760405162461bcd60e51b81526004016106429190612d27565b505050900390565b6001600160a01b038216611e575760405162461bcd60e51b815260040161064290613038565b611e6382600083612838565b611ea08160405180606001604052806022815260200161332b602291396001600160a01b0385166000908152602081905260409020549190611e05565b6001600160a01b038316600090815260208190526040902055600254611ec69082612981565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610fb190859061328c565b610cf98363a9059cbb60e01b84846040516024016119cf929190612c76565b600082820183811015610aa25760405162461bcd60e51b815260040161064290612e47565b60026006541415611f6e5760405162461bcd60e51b8152600401610642906131c8565b60026006556000611f7d610a09565b9050611f87612a54565b611f92836000611a60565b8152604051637050ccd960e01b8152733fe65692bfcd0e6cf84cb1e7d24108e434a7587e90637050ccd990611fce903090600190600401612c5b565b600060405180830381600087803b158015611fe857600080fd5b505af1158015611ffc573d6000803e3d6000fd5b50505050612008612257565b60075460005b81811015611b14576120248186858760016122d2565b60010161200e565b6001600160a01b0382166120525760405162461bcd60e51b815260040161064290613255565b61205e60008383612838565b60025461206b9082611f26565b6002556001600160a01b0382166000908152602081905260409020546120919082611f26565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610fb190859061328c565b612101846323b872dd60e01b8585856040516024016119cf93929190612c37565b50505050565b606061215c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611a069092919063ffffffff16565b805190915015610cf9578080602001905181019061217a9190612b59565b610cf95760405162461bcd60e51b81526004016106429061317e565b6060824710156121b85760405162461bcd60e51b815260040161064290612ed8565b6121c1856129a9565b6121dd5760405162461bcd60e51b815260040161064290613124565b60006060866001600160a01b031685876040516121fa9190612bed565b60006040518083038185875af1925050503d8060008114612237576040519150601f19603f3d011682016040523d82523d6000602084013e61223c565b606091505b509150915061224c8282866129af565b979650505050505050565b6009546001600160a01b0316156113fd57600960009054906101000a90046001600160a01b03166001600160a01b0316632663fcfc6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156122b857600080fd5b505af19250505080156122c9575060015b6113fd576113fd565b6000600786815481106122e157fe5b6000918252602090912060049091020180549091506001600160a01b03166123095750612831565b80546040516370a0823160e01b81526000916001600160a01b0316906370a0823190612339903090600401612c09565b60206040518083038186803b15801561235157600080fd5b505afa158015612365573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123899190612b91565b60018301549091506000906123af908390600160801b90046001600160801b0316612981565b1115612446578154600160a01b900460ff166123d157600b54840393506123d7565b600b5493505b831561244657600182015461241e9085906124189068056bc75e2d6310000090612412908690600160801b90046001600160801b0316612981565b906129e8565b90612a22565b6001830180546001600160801b031981166001600160801b0391821693909301169190911790555b60005b60028110156127f557600087826002811061246057fe5b60200201516001600160a01b03161415612479576127ed565b83801561248557508015155b1561248f576127ed565b600086826002811061249d57fe5b60200201518454909150600160a01b900460ff1661250357612710600a60008a85600281106124c857fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002054612710038202816124fb57fe5b049050612549565b612710600a60008a856002811061251657fe5b60200201516001600160a01b03166001600160a01b031681526020019081526020016000205482028161254557fe5b0490505b60008460020160008a856002811061255d57fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020549050858061259d575060018501546001600160801b031681105b156127ea578515612719576001850154600090612627906125e19068056bc75e2d6310000090612418906125da906001600160801b031687612981565b87906129e8565b8760030160008d88600281106125f357fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002054611f2690919063ffffffff16565b905080156127135760008660030160008c876002811061264357fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055506126958a856001016002811061267e57fe5b602002015187546001600160a01b03169083611f07565b85546001600160a01b03168a85600281106126ac57fe5b60200201516001600160a01b03167f7fe1dfb5fd2a01640e1b559e082ce63e369d4d61e01dc0caec9521e55a8d1e4f838d88600101600281106126eb57fe5b60200201516040516126fe929190613295565b60405180910390a36127108582612981565b94505b5061279d565b60018501546127619061274f9068056bc75e2d631000009061241890612748906001600160801b031686612981565b86906129e8565b8660030160008c87600281106125f357fe5b8560030160008b866002811061277357fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b60018501546001600160801b03166002808701906000908c90879081106127c057fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b50505b600101612449565b506001820154600160801b90046001600160801b0316811461282e576001820180546001600160801b03808416600160801b0291161790555b50505b5050505050565b604080518082019091526001600160a01b0380851682528316602082015261285f90611a1d565b816001600160a01b0316836001600160a01b031614610cf957600b546001600160a01b038416156128fa576001600160a01b0384166000908152600a6020526040902054612710906128b086610fbd565b02816128b857fe5b6001600160a01b0386166000908152600a602052604090205491900490910390612710906128ef846128e988610fbd565b90612981565b02816128f757fe5b04015b6001600160a01b03831615612979576001600160a01b0383166000908152600a60205260409020546127109061292f85610fbd565b028161293757fe5b6001600160a01b0385166000908152600a6020526040902054919004909103906127109061296e8461296887610fbd565b90611f26565b028161297657fe5b04015b600b55505050565b6000828211156129a35760405162461bcd60e51b815260040161064290612ea1565b50900390565b3b151590565b606083156129be575081610aa2565b8251156129ce5782518084602001fd5b8160405162461bcd60e51b81526004016106429190612d27565b6000826129f757506000610a03565b82820282848281612a0457fe5b0414610aa25760405162461bcd60e51b815260040161064290612fa3565b6000808211612a435760405162461bcd60e51b815260040161064290612f1e565b818381612a4c57fe5b049392505050565b60405180604001604052806002906020820280368337509192915050565b604080518082019091526000808252602082015290565b80356001600160a01b0381168114610a0357600080fd5b600060208284031215612ab1578081fd5b610aa28383612a89565b60008060408385031215612acd578081fd5b612ad78484612a89565b9150612ae68460208501612a89565b90509250929050565b600080600060608486031215612b03578081fd5b8335612b0e81613315565b92506020840135612b1e81613315565b929592945050506040919091013590565b60008060408385031215612b41578182fd5b612b4b8484612a89565b946020939093013593505050565b600060208284031215612b6a578081fd5b81518015158114610aa2578182fd5b600060208284031215612b8a578081fd5b5035919050565b600060208284031215612ba2578081fd5b5051919050565b60008060408385031215612bbb578182fd5b82359150612ae68460208501612a89565b60008060408385031215612bde578182fd5b50508035926020909101359150565b60008251612bff8184602087016132e9565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0394909416845260ff9290921660208401526001600160801b03908116604084015216606082015260800190565b602080825282518282018190526000919060409081850190868401855b82811015612d0f57815180516001600160a01b03168552860151868501529284019290850190600101612ce1565b5091979650505050505050565b901515815260200190565b6000602082528251806020840152612d468160408501602087016132e9565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b602080825260089082015267085a5b9d985b1a5960c21b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526009908201526810b9b43aba3237bbb760b91b604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252600f908201526e696e76616c6964206164647265737360881b604082015260600190565b6020808252600b908201526a6d6178207265776172647360a81b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526005908201526410b9b2b63360d91b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526008908201526739b43aba3237bbb760c11b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b602080825260099082015268042dad2e6dac2e8c6d60bb1b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9182526001600160a01b0316602082015260400190565b9182521515602082015260400190565b92835290151560208301526001600160a01b0316604082015260600190565b60ff91909116815260200190565b60005b838110156133045781810151838201526020016132ec565b838111156121015750506000910152565b6001600160a01b038116811461153c57600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b3b91a72b01863ec72246c0f565d6cd1b406b1ff4dbfcd27a58cb5819e42dec964736f6c634300060c0033e9409046cfa68a2df832d20ddc242d03d31adb5e8b75912402649d20f79ada5a000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061029f5760003560e01c80636e553f6511610167578063b95c5746116100ce578063e5f5d1e711610087578063e5f5d1e71461054a578063f2fde38b1461055d578063f301af4214610570578063f8112eed14610593578063fc0e74d1146105a6578063ff833485146105ae5761029f565b8063b95c5746146104ee578063bf86d690146104f6578063c00007b0146104fe578063c15f5f8d14610511578063d24d0e7514610524578063dd62ed3e146105375761029f565b80638757b15b116101205780638757b15b146104a85780638da5cb5b146104b0578063923c1d61146104b857806395d89b41146104c0578063a457c2d7146104c8578063a9059cbb146104db5761029f565b80636e553f651461045757806370a082311461046a578063715018a61461047d5780637acb77571461048557806380e9071b1461049857806382480df9146104a05761029f565b8063395093511161020b5780634b820093116101c45780634b820093146104065780634cc36d7d1461041957806355f4f1b91461042c57806361d027b3146104345780636a4874a11461043c5780636b091695146104445761029f565b806339509351146103aa5780633ac64c44146103bd5780633dfd3873146103d057806343ade58c146103e357806344214ecf146103eb57806345eea434146103f35761029f565b8063218358be1161025d578063218358be1461034157806323b872dd146103545780632da9a694146103675780632e1a7d4d1461036f5780632ee4090814610382578063313ce567146103955761029f565b80628cc262146102a457806301c15e62146102cd57806304bd0f97146102e257806306fdde03146102f7578063095ea7b31461030c57806318160ddd1461032c575b600080fd5b6102b76102b2366004612aa0565b6105c1565b6040516102c49190612cc4565b60405180910390f35b6102d56105fb565b6040516102c49190612c09565b6102f56102f0366004612b2f565b610613565b005b6102ff610955565b6040516102c49190612d27565b61031f61031a366004612b2f565b6109eb565b6040516102c49190612d1c565b610334610a09565b6040516102c4919061328c565b61033461034f366004612aa0565b610a0f565b61031f610362366004612aef565b610a21565b6102d5610aa9565b6102f561037d366004612b79565b610ac1565b6102f5610390366004612b2f565b610ba3565b61039d610bb1565b6040516102c491906132db565b61031f6103b8366004612b2f565b610bb6565b6102f56103cb366004612b2f565b610c04565b6102f56103de366004612aa0565b610cfe565b610334610d83565b6102d5610d89565b6102f5610401366004612bcc565b610d98565b61031f610414366004612aa0565b610dab565b610334610427366004612b79565b610ddc565b6102d5610dfe565b6102d5610e16565b6102d5610e2e565b6102f5610452366004612abb565b610e46565b6102f5610465366004612ba9565b610e95565b610334610478366004612aa0565b610fbd565b6102f5610fd8565b6102f5610493366004612ba9565b611057565b6102f561115a565b6102d5611313565b6102f561132b565b6102d56113ff565b6102d5611413565b6102ff61142b565b61031f6104d6366004612b2f565b61148c565b61031f6104e9366004612b2f565b6114f4565b610334611508565b61031f61150e565b6102f561050c366004612aa0565b611517565b6102f561051f366004612b79565b61153f565b6102f5610532366004612bcc565b6115d5565b610334610545366004612abb565b6115df565b610334610558366004612b2f565b61160a565b6102f561056b366004612aa0565b61166c565b61058361057e366004612b79565b611728565b6040516102c49493929190612c8f565b6102f56105a1366004612aa0565b61177c565b6102f5611866565b6103346105bc366004612aa0565b6118fa565b604080518082019091526001600160a01b0382168152600060208201526060906105ea90611a1d565b6105f382611b20565b90505b919050565b733fe65692bfcd0e6cf84cb1e7d24108e434a7587e81565b600c5461010090046001600160a01b0316331461064b5760405162461bcd60e51b815260040161064290612fe4565b60405180910390fd5b6002600654141561066e5760405162461bcd60e51b8152600401610642906131c8565b60026006556001600160a01b038216158015906106a857506001600160a01b038216733fe65692bfcd0e6cf84cb1e7d24108e434a7587e14155b80156106bd57506001600160a01b0382163014155b80156106e657506001600160a01b0382167362b9c7356a2dc64a1969e19c23e4f579f9810aa714155b6107025760405162461bcd60e51b815260040161064290612f55565b6001600160a01b0382166000908152600860205260409020546108db57600754600a116107415760405162461bcd60e51b815260040161064290612f7e565b60076040518060800160405280846001600160a01b031681526020016000841161076c57600061076f565b60015b60ff9081168252600060208084018290526040938401829052855460018082018855968352818320865160049283029091018054888501516001600160a01b03199091166001600160a01b039384161760ff60a01b1916600160a01b9190971602959095178555868601519490970180546060909701516001600160801b03199097166001600160801b03958616178516600160801b959097169490940295909517909255600754948716808252600890925282812094909455905163a9059cbb60e01b8152909263a9059cbb9261084a9230929101612c76565b602060405180830381600087803b15801561086457600080fd5b505af1158015610878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089c9190612b59565b507fe9409046cfa68a2df832d20ddc242d03d31adb5e8b75912402649d20f79ada5a82826040516108ce929190612c76565b60405180910390a161094c565b6001600160a01b038216600090815260086020526040902054801561094a5760006007600183038154811061090c57fe5b6000918252602090912060049091020180549091506001600160a01b03166109485780546001600160a01b0319166001600160a01b0385161781555b505b505b50506001600655565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109e15780601f106109b6576101008083540402835291602001916109e1565b820191906000526020600020905b8154815290600101906020018083116109c457829003601f168201915b5050505050905090565b60006109ff6109f8611c38565b8484611c3c565b5060015b92915050565b60025490565b600a6020526000908152604090205481565b6000610a2e848484611cf0565b610a9e84610a3a611c38565b610a9985604051806060016040528060288152602001613373602891396001600160a01b038a16600090815260016020526040812090610a78611c38565b6001600160a01b031681526020810191909152604001600020549190611e05565b611c3c565b5060015b9392505050565b736c3f90f043a72fa612cbac8115ee7e52bde6e49081565b8015610b5f57610ad13382611e31565b604051631c683a1b60e11b8152733fe65692bfcd0e6cf84cb1e7d24108e434a7587e906338d0743690610b0b9084906000906004016132ac565b600060405180830381600087803b158015610b2557600080fd5b505af1158015610b39573d6000803e3d6000fd5b50610b5f92507362b9c7356a2dc64a1969e19c23e4f579f9810aa7915033905083611f07565b336001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d582604051610b98919061328c565b60405180910390a250565b610bad8183611057565b5050565b601290565b60006109ff610bc3611c38565b84610a998560016000610bd4611c38565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611f26565b600c5461010090046001600160a01b03163314610c335760405162461bcd60e51b815260040161064290612fe4565b6040805180820190915233815260006020820152610c5090611a1d565b6001600160a01b0382166000908152600860205260409020548015610cf957600060076001830381548110610c8157fe5b9060005260206000209060040201905060008311610ca0576000610ca3565b60015b815460ff91909116600160a01b0260ff60a01b199091161781556040517fe9409046cfa68a2df832d20ddc242d03d31adb5e8b75912402649d20f79ada5a90610cef9086908690612c76565b60405180910390a1505b505050565b600c5461010090046001600160a01b03163314610d2d5760405162461bcd60e51b815260040161064290612fe4565b600980546001600160a01b0319166001600160a01b0383161790556040517f4eab7b127c764308788622363ad3e9532de3dfba7845bd4f84c125a22544255a90610d78908390612c09565b60405180910390a150565b600b5481565b6009546001600160a01b031681565b610da28233611057565b610bad8161153f565b604080518082019091526001600160a01b038216815260006020820181905290610dd490611a1d565b506001919050565b600081610df657600b54610dee610a09565b0390506105f6565b5050600b5490565b738014595f2ab54cd7c604b00e9fb932176fdc86ae81565b731389388d01708118b497f59521f6943be2541bb781565b73d533a949740bb3306d119cc777fa900ba034cd5281565b336001600160a01b03831614610e6e5760405162461bcd60e51b815260040161064290613019565b604080518082019091526001600160a01b03808416825282166020820152610bad90611f4b565b600c5460ff1615610eb85760405162461bcd60e51b8152600401610642906130be565b8115610f6b57610ec8818361202c565b610ee873d533a949740bb3306d119cc777fa900ba034cd523330856120e0565b60405163203b5c7960e21b8152738014595f2ab54cd7c604b00e9fb932176fdc86ae906380ed71e490610f38908590600090733fe65692bfcd0e6cf84cb1e7d24108e434a7587e906004016132bc565b600060405180830381600087803b158015610f5257600080fd5b505af1158015610f66573d6000803e3d6000fd5b505050505b806001600160a01b0316336001600160a01b03167fb32af138549e2a71563d1f2b1f7f0a139b3cdbc83d877d13603de1c3c5fd487a846001604051610fb19291906132ac565b60405180910390a35050565b6001600160a01b031660009081526020819052604090205490565b600c5461010090046001600160a01b031633146110075760405162461bcd60e51b815260040161064290612fe4565b600c5460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c8054610100600160a81b0319169055565b600c5460ff161561107a5760405162461bcd60e51b8152600401610642906130be565b81156111145761108a818361202c565b6110aa7362b9c7356a2dc64a1969e19c23e4f579f9810aa73330856120e0565b60405163534a7e1d60e11b8152733fe65692bfcd0e6cf84cb1e7d24108e434a7587e9063a694fc3a906110e190859060040161328c565b600060405180830381600087803b1580156110fb57600080fd5b505af115801561110f573d6000803e3d6000fd5b505050505b806001600160a01b0316336001600160a01b03167fb32af138549e2a71563d1f2b1f7f0a139b3cdbc83d877d13603de1c3c5fd487a846000604051610fb19291906132ac565b600c5461010090046001600160a01b031633146111895760405162461bcd60e51b815260040161064290612fe4565b600260065414156111ac5760405162461bcd60e51b8152600401610642906131c8565b6002600655600c5460ff166111d35760405162461bcd60e51b815260040161064290612e7e565b60006111dd610a09565b6040516370a0823160e01b8152733fe65692bfcd0e6cf84cb1e7d24108e434a7587e906370a0823190611214903090600401612c09565b60206040518083038186803b15801561122c57600080fd5b505afa158015611240573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112649190612b91565b604051631c683a1b60e11b81529190039150733fe65692bfcd0e6cf84cb1e7d24108e434a7587e906338d07436906112a39084906000906004016132ac565b600060405180830381600087803b1580156112bd57600080fd5b505af11580156112d1573d6000803e3d6000fd5b5061130b92507362b9c7356a2dc64a1969e19c23e4f579f9810aa79150731389388d01708118b497f59521f6943be2541bb7905083611f07565b506001600655565b7362b9c7356a2dc64a1969e19c23e4f579f9810aa781565b61135f73d533a949740bb3306d119cc777fa900ba034cd52738014595f2ab54cd7c604b00e9fb932176fdc86ae600061190c565b61139473d533a949740bb3306d119cc777fa900ba034cd52738014595f2ab54cd7c604b00e9fb932176fdc86ae60001961190c565b6113c87362b9c7356a2dc64a1969e19c23e4f579f9810aa7733fe65692bfcd0e6cf84cb1e7d24108e434a7587e600061190c565b6113fd7362b9c7356a2dc64a1969e19c23e4f579f9810aa7733fe65692bfcd0e6cf84cb1e7d24108e434a7587e60001961190c565b565b600c5461010090046001600160a01b031681565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109e15780601f106109b6576101008083540402835291602001916109e1565b60006109ff611499611c38565b84610a998560405180606001604052806025815260200161339b60259139600160006114c3611c38565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611e05565b60006109ff611501611c38565b8484611cf0565b60075490565b600c5460ff1681565b604080518082019091526001600160a01b038216808252602082015261153c90611f4b565b50565b6127108111156115615760405162461bcd60e51b815260040161064290612d9d565b604080518082019091523381526000602082015261157e90611a1d565b600b54336000818152600a60205260409020546127109161159e90610fbd565b02816115a657fe5b049003612710826115b633610fbd565b02816115be57fe5b0401600b55336000908152600a6020526040902055565b610da28233610e95565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008061161684610fbd565b905082611646576001600160a01b0384166000908152600a60205260409020546127109081038202049050610aa2565b6001600160a01b0384166000908152600a60205260409020546127109102049392505050565b600c5461010090046001600160a01b0316331461169b5760405162461bcd60e51b815260040161064290612fe4565b6001600160a01b0381166116c15760405162461bcd60e51b815260040161064290612dbf565b600c546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6007818154811061173557fe5b6000918252602090912060049091020180546001909101546001600160a01b0382169250600160a01b90910460ff16906001600160801b0380821691600160801b90041684565b600c5461010090046001600160a01b031633146117ab5760405162461bcd60e51b815260040161064290612fe4565b6001600160a01b0381166000908152600860205260409020548015610bad576000600760018303815481106117dc57fe5b6000918252602090912060049091020180549091506001600160a01b0384811691161461181b5760405162461bcd60e51b81526004016106429061315b565b80546001600160a01b03191681556040517f646cfe9445aed85f4853d501d1924d2bdabb1bbf12531df29f929f07ba4169e090611859908590612c09565b60405180910390a1505050565b600c5461010090046001600160a01b031633146118955760405162461bcd60e51b815260040161064290612fe4565b600260065414156118b85760405162461bcd60e51b8152600401610642906131c8565b6002600655600c805460ff191660011790556040517f361d247eba080b8e386d859fc8a7154ea306639ee8264e5fc705e470c064d00690600090a16001600655565b60086020526000908152604090205481565b8015806119945750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906119429030908690600401612c1d565b60206040518083038186803b15801561195a57600080fd5b505afa15801561196e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119929190612b91565b155b6119b05760405162461bcd60e51b8152600401610642906131ff565b610cf98363095ea7b360e01b84846040516024016119cf929190612c76565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612107565b6060611a158484600085612196565b949350505050565b60026006541415611a405760405162461bcd60e51b8152600401610642906131c8565b60026006556000611a4f610a09565b9050611a59612a54565b611a6a8360005b6020020151610fbd565b8152611a77836001611a60565b6020820152604051637050ccd960e01b8152733fe65692bfcd0e6cf84cb1e7d24108e434a7587e90637050ccd990611ab6903090600190600401612c5b565b600060405180830381600087803b158015611ad057600080fd5b505af1158015611ae4573d6000803e3d6000fd5b50505050611af0612257565b60075460005b81811015611b1457611b0c8186858760006122d2565b600101611af6565b50506001600655505050565b6007546060908067ffffffffffffffff81118015611b3d57600080fd5b50604051908082528060200260200182016040528015611b7757816020015b611b64612a72565b815260200190600190039081611b5c5790505b50915060005b81811015611c3157600060078281548110611b9457fe5b6000918252602090912060049091020180549091506001600160a01b0316611bbc5750611c29565b6001600160a01b03851660009081526003820160205260409020548451859084908110611be557fe5b6020908102919091018101510152805484516001600160a01b0390911690859084908110611c0f57fe5b60209081029190910101516001600160a01b039091169052505b600101611b7d565b5050919050565b3390565b6001600160a01b038316611c625760405162461bcd60e51b8152600401610642906130e0565b6001600160a01b038216611c885760405162461bcd60e51b815260040161064290612e05565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611ce390859061328c565b60405180910390a3505050565b6001600160a01b038316611d165760405162461bcd60e51b815260040161064290613079565b6001600160a01b038216611d3c5760405162461bcd60e51b815260040161064290612d5a565b611d47838383612838565b611d848160405180606001604052806026815260200161334d602691396001600160a01b0386166000908152602081905260409020549190611e05565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611db39082611f26565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611ce390859061328c565b60008184841115611e295760405162461bcd60e51b81526004016106429190612d27565b505050900390565b6001600160a01b038216611e575760405162461bcd60e51b815260040161064290613038565b611e6382600083612838565b611ea08160405180606001604052806022815260200161332b602291396001600160a01b0385166000908152602081905260409020549190611e05565b6001600160a01b038316600090815260208190526040902055600254611ec69082612981565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610fb190859061328c565b610cf98363a9059cbb60e01b84846040516024016119cf929190612c76565b600082820183811015610aa25760405162461bcd60e51b815260040161064290612e47565b60026006541415611f6e5760405162461bcd60e51b8152600401610642906131c8565b60026006556000611f7d610a09565b9050611f87612a54565b611f92836000611a60565b8152604051637050ccd960e01b8152733fe65692bfcd0e6cf84cb1e7d24108e434a7587e90637050ccd990611fce903090600190600401612c5b565b600060405180830381600087803b158015611fe857600080fd5b505af1158015611ffc573d6000803e3d6000fd5b50505050612008612257565b60075460005b81811015611b14576120248186858760016122d2565b60010161200e565b6001600160a01b0382166120525760405162461bcd60e51b815260040161064290613255565b61205e60008383612838565b60025461206b9082611f26565b6002556001600160a01b0382166000908152602081905260409020546120919082611f26565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610fb190859061328c565b612101846323b872dd60e01b8585856040516024016119cf93929190612c37565b50505050565b606061215c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611a069092919063ffffffff16565b805190915015610cf9578080602001905181019061217a9190612b59565b610cf95760405162461bcd60e51b81526004016106429061317e565b6060824710156121b85760405162461bcd60e51b815260040161064290612ed8565b6121c1856129a9565b6121dd5760405162461bcd60e51b815260040161064290613124565b60006060866001600160a01b031685876040516121fa9190612bed565b60006040518083038185875af1925050503d8060008114612237576040519150601f19603f3d011682016040523d82523d6000602084013e61223c565b606091505b509150915061224c8282866129af565b979650505050505050565b6009546001600160a01b0316156113fd57600960009054906101000a90046001600160a01b03166001600160a01b0316632663fcfc6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156122b857600080fd5b505af19250505080156122c9575060015b6113fd576113fd565b6000600786815481106122e157fe5b6000918252602090912060049091020180549091506001600160a01b03166123095750612831565b80546040516370a0823160e01b81526000916001600160a01b0316906370a0823190612339903090600401612c09565b60206040518083038186803b15801561235157600080fd5b505afa158015612365573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123899190612b91565b60018301549091506000906123af908390600160801b90046001600160801b0316612981565b1115612446578154600160a01b900460ff166123d157600b54840393506123d7565b600b5493505b831561244657600182015461241e9085906124189068056bc75e2d6310000090612412908690600160801b90046001600160801b0316612981565b906129e8565b90612a22565b6001830180546001600160801b031981166001600160801b0391821693909301169190911790555b60005b60028110156127f557600087826002811061246057fe5b60200201516001600160a01b03161415612479576127ed565b83801561248557508015155b1561248f576127ed565b600086826002811061249d57fe5b60200201518454909150600160a01b900460ff1661250357612710600a60008a85600281106124c857fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002054612710038202816124fb57fe5b049050612549565b612710600a60008a856002811061251657fe5b60200201516001600160a01b03166001600160a01b031681526020019081526020016000205482028161254557fe5b0490505b60008460020160008a856002811061255d57fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020549050858061259d575060018501546001600160801b031681105b156127ea578515612719576001850154600090612627906125e19068056bc75e2d6310000090612418906125da906001600160801b031687612981565b87906129e8565b8760030160008d88600281106125f357fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002054611f2690919063ffffffff16565b905080156127135760008660030160008c876002811061264357fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055506126958a856001016002811061267e57fe5b602002015187546001600160a01b03169083611f07565b85546001600160a01b03168a85600281106126ac57fe5b60200201516001600160a01b03167f7fe1dfb5fd2a01640e1b559e082ce63e369d4d61e01dc0caec9521e55a8d1e4f838d88600101600281106126eb57fe5b60200201516040516126fe929190613295565b60405180910390a36127108582612981565b94505b5061279d565b60018501546127619061274f9068056bc75e2d631000009061241890612748906001600160801b031686612981565b86906129e8565b8660030160008c87600281106125f357fe5b8560030160008b866002811061277357fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b60018501546001600160801b03166002808701906000908c90879081106127c057fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b50505b600101612449565b506001820154600160801b90046001600160801b0316811461282e576001820180546001600160801b03808416600160801b0291161790555b50505b5050505050565b604080518082019091526001600160a01b0380851682528316602082015261285f90611a1d565b816001600160a01b0316836001600160a01b031614610cf957600b546001600160a01b038416156128fa576001600160a01b0384166000908152600a6020526040902054612710906128b086610fbd565b02816128b857fe5b6001600160a01b0386166000908152600a602052604090205491900490910390612710906128ef846128e988610fbd565b90612981565b02816128f757fe5b04015b6001600160a01b03831615612979576001600160a01b0383166000908152600a60205260409020546127109061292f85610fbd565b028161293757fe5b6001600160a01b0385166000908152600a6020526040902054919004909103906127109061296e8461296887610fbd565b90611f26565b028161297657fe5b04015b600b55505050565b6000828211156129a35760405162461bcd60e51b815260040161064290612ea1565b50900390565b3b151590565b606083156129be575081610aa2565b8251156129ce5782518084602001fd5b8160405162461bcd60e51b81526004016106429190612d27565b6000826129f757506000610a03565b82820282848281612a0457fe5b0414610aa25760405162461bcd60e51b815260040161064290612fa3565b6000808211612a435760405162461bcd60e51b815260040161064290612f1e565b818381612a4c57fe5b049392505050565b60405180604001604052806002906020820280368337509192915050565b604080518082019091526000808252602082015290565b80356001600160a01b0381168114610a0357600080fd5b600060208284031215612ab1578081fd5b610aa28383612a89565b60008060408385031215612acd578081fd5b612ad78484612a89565b9150612ae68460208501612a89565b90509250929050565b600080600060608486031215612b03578081fd5b8335612b0e81613315565b92506020840135612b1e81613315565b929592945050506040919091013590565b60008060408385031215612b41578182fd5b612b4b8484612a89565b946020939093013593505050565b600060208284031215612b6a578081fd5b81518015158114610aa2578182fd5b600060208284031215612b8a578081fd5b5035919050565b600060208284031215612ba2578081fd5b5051919050565b60008060408385031215612bbb578182fd5b82359150612ae68460208501612a89565b60008060408385031215612bde578182fd5b50508035926020909101359150565b60008251612bff8184602087016132e9565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0394909416845260ff9290921660208401526001600160801b03908116604084015216606082015260800190565b602080825282518282018190526000919060409081850190868401855b82811015612d0f57815180516001600160a01b03168552860151868501529284019290850190600101612ce1565b5091979650505050505050565b901515815260200190565b6000602082528251806020840152612d468160408501602087016132e9565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b602080825260089082015267085a5b9d985b1a5960c21b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526009908201526810b9b43aba3237bbb760b91b604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252600f908201526e696e76616c6964206164647265737360881b604082015260600190565b6020808252600b908201526a6d6178207265776172647360a81b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526005908201526410b9b2b63360d91b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526008908201526739b43aba3237bbb760c11b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b602080825260099082015268042dad2e6dac2e8c6d60bb1b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9182526001600160a01b0316602082015260400190565b9182521515602082015260400190565b92835290151560208301526001600160a01b0316604082015260600190565b60ff91909116815260200190565b60005b838110156133045781810151838201526020016132ec565b838111156121015750506000910152565b6001600160a01b038116811461153c57600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b3b91a72b01863ec72246c0f565d6cd1b406b1ff4dbfcd27a58cb5819e42dec964736f6c634300060c0033

Deployed Bytecode Sourcemap

38488:20461:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52587:171;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;39113:91;;;:::i;:::-;;;;;;;:::i;44129:1630::-;;;;;;:::i;:::-;;:::i;:::-;;26567:91;;;:::i;:::-;;;;;;;:::i;28713:169::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;27666:108::-;;;:::i;:::-;;;;;;;:::i;39915:52::-;;;;;;:::i;:::-;;:::i;29364:321::-;;;;;;:::i;:::-;;:::i;39478:86::-;;;:::i;57677:407::-;;;;;;:::i;:::-;;:::i;57534:95::-;;;;;;:::i;:::-;;:::i;41098:85::-;;;:::i;:::-;;;;;;;:::i;30094:218::-;;;;;;:::i;:::-;;:::i;46382:497::-;;;;;;:::i;:::-;;:::i;46887:117::-;;;;;;:::i;:::-;;:::i;39974:27::-;;;:::i;39883:25::-;;;:::i;57291:150::-;;;;;;:::i;:::-;;:::i;52343:142::-;;;;;;:::i;:::-;;:::i;55184:297::-;;;;;;:::i;:::-;;:::i;39016:90::-;;;:::i;39571:86::-;;;:::i;39211:81::-;;;:::i;55708:402::-;;;;;;:::i;:::-;;:::i;56145:485::-;;;;;;:::i;:::-;;:::i;27837:127::-;;;;;;:::i;:::-;;:::i;41566:146::-;;;:::i;56820:463::-;;;;;;:::i;:::-;;:::i;41843:498::-;;;:::i;39387:84::-;;;:::i;42349:271::-;;;:::i;40057:20::-;;;:::i;39299:81::-;;;:::i;26777:95::-;;;:::i;30815:269::-;;;;;;:::i;:::-;;:::i;28177:175::-;;;;;;:::i;:::-;;:::i;47012:95::-;;;:::i;40028:22::-;;;:::i;55502:173::-;;;;;;:::i;:::-;;:::i;53706:778::-;;;;;;:::i;:::-;;:::i;56638:154::-;;;;;;:::i;:::-;;:::i;28415:151::-;;;;;;:::i;:::-;;:::i;54554:568::-;;;;;;:::i;:::-;;:::i;41316:242::-;;;;;;:::i;:::-;;:::i;39790:27::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;45852:498::-;;;;;;:::i;:::-;;:::i;41720:115::-;;;:::i;39824:52::-;;;;;;:::i;:::-;;:::i;52587:171::-;52680:35;;;;;;;;;-1:-1:-1;;;;;52680:35:0;;;;-1:-1:-1;52680:35:0;;;;52638:29;;52680:35;;:11;:35::i;:::-;52733:17;52741:8;52733:7;:17::i;:::-;52726:24;;52587:171;;;;:::o;39113:91::-;39161:42;39113:91;:::o;44129:1630::-;41232:5;;;;;-1:-1:-1;;;;;41232:5:0;41241:10;41232:19;41224:64;;;;-1:-1:-1;;;41224:64:0;;;;;;;:::i;:::-;;;;;;;;;37190:1:::1;37796:7;;:19;;37788:63;;;;-1:-1:-1::0;;;37788:63:0::1;;;;;;;:::i;:::-;37190:1;37929:7;:18:::0;-1:-1:-1;;;;;44239:20:0;::::2;::::0;;::::2;::::0;:47:::2;;-1:-1:-1::0;;;;;;44263:23:0;::::2;39161:42;44263:23;;44239:47;:74;;;;-1:-1:-1::0;;;;;;44290:23:0;::::2;44308:4;44290:23;;44239:74;:94;;;;-1:-1:-1::0;;;;;;44317:16:0;::::2;39428:42;44317:16;;44239:94;44231:121;;;;-1:-1:-1::0;;;44231:121:0::2;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;44407:25:0;::::2;;::::0;;;:17:::2;:25;::::0;;;;;44404:1348:::2;;44495:7;:14:::0;39764:2:::2;-1:-1:-1::0;44487:57:0::2;;;;-1:-1:-1::0;;;44487:57:0::2;;;;;;;:::i;:::-;44603:7;44634:232;;;;;;;;44682:6;-1:-1:-1::0;;;;;44634:232:0::2;;;;;44823:1;44808:12;:16;:38;;44844:1;44808:38;;;44833:1;44808:38;44634:232;::::0;;::::2;::::0;;44728:1:::2;44634:232;::::0;;::::2;::::0;;;;;;;;;;44603:278;;::::2;::::0;;::::2;::::0;;;;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;;;::::2;::::0;-1:-1:-1;;;;;;44603:278:0;;::::2;-1:-1:-1::0;;;;;44603:278:0;;::::2;;-1:-1:-1::0;;;;44603:278:0::2;-1:-1:-1::0;;;44603:278:0;;;::::2;;::::0;;;::::2;::::0;;;;::::2;::::0;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;-1:-1:-1;;;;;;44603:278:0;;::::2;-1:-1:-1::0;;;;;44603:278:0;;::::2;;::::0;::::2;-1:-1:-1::0;;;44603:278:0;;;::::2;::::0;;;::::2;::::0;;;::::2;::::0;;;44961:7:::2;:14:::0;44933:25;;::::2;::::0;;;:17:::2;:25:::0;;;;;;:42;;;;45063:40;;-1:-1:-1;;;45063:40:0;;44933:25;;45063:23:::2;::::0;:40:::2;::::0;45095:4:::2;::::0;44728:1;45063:40:::2;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;45128:36;45143:6;45151:12;45128:36;;;;;;;:::i;:::-;;;;;;;;44404:1348;;;-1:-1:-1::0;;;;;45350:25:0;::::2;45334:13;45350:25:::0;;;:17:::2;:25;::::0;;;;;45393:9;;45390:351:::2;;45478:25;45506:7;45520:1;45514:5;:7;45506:16;;;;;;;;;::::0;;;::::2;::::0;;;::::2;::::0;;::::2;;45591:19:::0;;45506:16;;-1:-1:-1;;;;;;45591:19:0::2;45588:138;;45678:28:::0;;-1:-1:-1;;;;;;45678:28:0::2;-1:-1:-1::0;;;;;45678:28:0;::::2;;::::0;;45588:138:::2;45390:351;;44404:1348;;-1:-1:-1::0;;37146:1:0::1;38108:7;:22:::0;44129:1630::o;26567:91::-;26645:5;26638:12;;;;;;;;-1:-1:-1;;26638:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26612:13;;26638:12;;26645:5;;26638:12;;26645:5;26638:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26567:91;:::o;28713:169::-;28796:4;28813:39;28822:12;:10;:12::i;:::-;28836:7;28845:6;28813:8;:39::i;:::-;-1:-1:-1;28870:4:0;28713:169;;;;;:::o;27666:108::-;27754:12;;27666:108;:::o;39915:52::-;;;;;;;;;;;;;:::o;29364:321::-;29470:4;29487:36;29497:6;29505:9;29516:6;29487:9;:36::i;:::-;29534:121;29543:6;29551:12;:10;:12::i;:::-;29565:89;29603:6;29565:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29565:19:0;;;;;;:11;:19;;;;;;29585:12;:10;:12::i;:::-;-1:-1:-1;;;;;29565:33:0;;;;;;;;;;;;-1:-1:-1;29565:33:0;;;:89;:37;:89::i;:::-;29534:8;:121::i;:::-;-1:-1:-1;29673:4:0;29364:321;;;;;;:::o;39478:86::-;39521:42;39478:86;:::o;57677:407::-;57807:11;;57803:226;;57859:26;57865:10;57877:7;57859:5;:26::i;:::-;57900:54;;-1:-1:-1;;;57900:54:0;;39161:42;;57900:38;;:54;;57939:7;;57948:5;;57900:54;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57969:48:0;;-1:-1:-1;39428:42:0;;-1:-1:-1;57997:10:0;;-1:-1:-1;58009:7:0;57969:27;:48::i;:::-;58056:10;-1:-1:-1;;;;;58046:30:0;;58068:7;58046:30;;;;;;:::i;:::-;;;;;;;;57677:407;:::o;57534:95::-;57602:19;57608:7;57617:3;57602:5;:19::i;:::-;57534:95;;:::o;41098:85::-;41173:2;41098:85;:::o;30094:218::-;30182:4;30199:83;30208:12;:10;:12::i;:::-;30222:7;30231:50;30270:10;30231:11;:25;30243:12;:10;:12::i;:::-;-1:-1:-1;;;;;30231:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;30231:25:0;;;:34;;;;;;;;;;;:38;:50::i;46382:497::-;41232:5;;;;;-1:-1:-1;;;;;41232:5:0;41241:10;41232:19;41224:64;;;;-1:-1:-1;;;41224:64:0;;;;;;;:::i;:::-;46494:45:::1;::::0;;;;::::1;::::0;;;46515:10:::1;46494:45:::0;;-1:-1:-1;46494:45:0::1;::::0;::::1;::::0;::::1;::::0;:11:::1;:45::i;:::-;-1:-1:-1::0;;;;;46568:25:0;::::1;46552:13;46568:25:::0;;;:17:::1;:25;::::0;;;;;46607:9;;46604:268:::1;;46685:25;46713:7;46727:1;46721:5;:7;46713:16;;;;;;;;;;;;;;;;;;46685:44;;46781:1;46766:12;:16;:38;;46802:1;46766:38;;;46791:1;46766:38;46744:60:::0;;::::1;::::0;;;::::1;-1:-1:-1::0;;;46744:60:0::1;-1:-1:-1::0;;;;46744:60:0;;::::1;;::::0;;46824:36:::1;::::0;::::1;::::0;::::1;::::0;46839:6;;46847:12;;46824:36:::1;:::i;:::-;;;;;;;;46604:268;;41299:1;46382:497:::0;;:::o;46887:117::-;41232:5;;;;;-1:-1:-1;;;;;41232:5:0;41241:10;41232:19;41224:64;;;;-1:-1:-1;;;41224:64:0;;;;;;;:::i;:::-;46948:10:::1;:18:::0;;-1:-1:-1;;;;;;46948:18:0::1;-1:-1:-1::0;;;;;46948:18:0;::::1;;::::0;;46982:14:::1;::::0;::::1;::::0;::::1;::::0;46948:18;;46982:14:::1;:::i;:::-;;;;;;;;46887:117:::0;:::o;39974:27::-;;;;:::o;39883:25::-;;;-1:-1:-1;;;;;39883:25:0;;:::o;57291:150::-;57372:26;57378:7;57387:10;57372:5;:26::i;:::-;57409:24;57425:7;57409:15;:24::i;52343:142::-;52420:35;;;;;;;;;-1:-1:-1;;;;;52420:35:0;;;;52403:4;52420:35;;;;;;52403:4;52420:35;;:11;:35::i;:::-;-1:-1:-1;52473:4:0;52343:142;;;:::o;55184:297::-;55248:7;55324:17;55321:85;;55381:12;;55365:13;:11;:13::i;:::-;:28;55357:37;;;;55321:85;-1:-1:-1;;55461:12:0;;;55184:297::o;39016:90::-;39063:42;39016:90;:::o;39571:86::-;39614:42;39571:86;:::o;39211:81::-;39249:42;39211:81;:::o;55708:402::-;55842:10;-1:-1:-1;;;;;55842:22:0;;;55834:40;;;;-1:-1:-1;;;55834:40:0;;;;;;;:::i;:::-;56060:42;;;;;;;;;-1:-1:-1;;;;;56060:42:0;;;;;;;;;;;;;:19;:42::i;56145:485::-;56219:10;;;;56218:11;56210:32;;;;-1:-1:-1;;;56210:32:0;;;;;;;:::i;:::-;56320:11;;56316:248;;56371:19;56377:3;56382:7;56371:5;:19::i;:::-;56405:64;39249:42;56434:10;56454:4;56461:7;56405:28;:64::i;:::-;56484:68;;-1:-1:-1;;;56484:68:0;;39063:42;;56484:37;;:68;;56522:7;;56531:5;;39161:42;;56484:68;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56316:248;56603:3;-1:-1:-1;;;;;56581:41:0;56591:10;-1:-1:-1;;;;;56581:41:0;;56608:7;56617:4;56581:41;;;;;;;:::i;:::-;;;;;;;;56145:485;;:::o;27837:127::-;-1:-1:-1;;;;;27938:18:0;27911:7;27938:18;;;;;;;;;;;;27837:127::o;41566:146::-;41232:5;;;;;-1:-1:-1;;;;;41232:5:0;41241:10;41232:19;41224:64;;;;-1:-1:-1;;;41224:64:0;;;;;;;:::i;:::-;41657:5:::1;::::0;41636:39:::1;::::0;41672:1:::1;::::0;41657:5:::1;::::0;::::1;-1:-1:-1::0;;;;;41657:5:0::1;::::0;41636:39:::1;::::0;41672:1;;41636:39:::1;41686:5;:18:::0;;-1:-1:-1;;;;;;41686:18:0::1;::::0;;41566:146::o;56820:463::-;56892:10;;;;56891:11;56883:32;;;;-1:-1:-1;;;56883:32:0;;;;;;;:::i;:::-;56993:11;;56989:227;;57044:19;57050:3;57055:7;57044:5;:19::i;:::-;57078:67;39428:42;57110:10;57130:4;57137:7;57078:31;:67::i;:::-;57160:44;;-1:-1:-1;;;57160:44:0;;39161:42;;57160:35;;:44;;57196:7;;57160:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56989:227;57255:3;-1:-1:-1;;;;;57233:42:0;57243:10;-1:-1:-1;;;;;57233:42:0;;57260:7;57269:5;57233:42;;;;;;;:::i;41843:498::-;41232:5;;;;;-1:-1:-1;;;;;41232:5:0;41241:10;41232:19;41224:64;;;;-1:-1:-1;;;41224:64:0;;;;;;;:::i;:::-;37190:1:::1;37796:7;;:19;;37788:63;;;;-1:-1:-1::0;;;37788:63:0::1;;;;;;;:::i;:::-;37190:1;37929:7;:18:::0;41912:10:::2;::::0;::::2;;41904:31;;;;-1:-1:-1::0;;;41904:31:0::2;;;;;;;:::i;:::-;42111:19;42190:13;:11;:13::i;:::-;42133:54;::::0;-1:-1:-1;;;42133:54:0;;39161:42:::2;::::0;42133:39:::2;::::0;:54:::2;::::0;42181:4:::2;::::0;42133:54:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;42214:58;::::0;-1:-1:-1;;;42214:58:0;;42133:70;;::::2;::::0;-1:-1:-1;39161:42:0::2;::::0;42214:38:::2;::::0;:58:::2;::::0;42133:70;;42266:5:::2;::::0;42214:58:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;42283:50:0::2;::::0;-1:-1:-1;39428:42:0::2;::::0;-1:-1:-1;39614:42:0::2;::::0;-1:-1:-1;42321:11:0;42283:27:::2;:50::i;:::-;-1:-1:-1::0;37146:1:0::1;38108:7;:22:::0;41843:498::o;39387:84::-;39428:42;39387:84;:::o;42349:271::-;42391:40;39249:42;39063;42429:1;42391:23;:40::i;:::-;42442:50;39249:42;39063;-1:-1:-1;;42442:23:0;:50::i;:::-;42503:44;39428:42;39161;42545:1;42503:26;:44::i;:::-;42558:54;39428:42;39161;-1:-1:-1;;42558:26:0;:54::i;:::-;42349:271::o;40057:20::-;;;;;;-1:-1:-1;;;;;40057:20:0;;:::o;39299:81::-;39337:42;39299:81;:::o;26777:95::-;26857:7;26850:14;;;;;;;;-1:-1:-1;;26850:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26824:13;;26850:14;;26857:7;;26850:14;;26857:7;26850:14;;;;;;;;;;;;;;;;;;;;;;;;30815:269;30908:4;30925:129;30934:12;:10;:12::i;:::-;30948:7;30957:96;30996:15;30957:96;;;;;;;;;;;;;;;;;:11;:25;30969:12;:10;:12::i;:::-;-1:-1:-1;;;;;30957:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;30957:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;28177:175::-;28263:4;28280:42;28290:12;:10;:12::i;:::-;28304:9;28315:6;28280:9;:42::i;47012:95::-;47085:7;:14;47012:95;:::o;40028:22::-;;;;;;:::o;55502:173::-;55626:41;;;;;;;;;-1:-1:-1;;;;;55626:41:0;;;;;;;;;;;:19;:41::i;:::-;55502:173;:::o;53706:778::-;39708:5;53773:7;:27;;53765:48;;;;-1:-1:-1;;;53765:48:0;;;;;;;:::i;:::-;53854:46;;;;;;;;;53875:10;53854:46;;-1:-1:-1;53854:46:0;;;;;;:11;:46::i;:::-;54135:12;;54244:10;54117:15;54227:28;;;:16;:28;;;;;;39708:5;;54203:21;;:9;:21::i;:::-;:52;:71;;;;;;54192:82;;39708:5;54351:7;54327:21;54337:10;54327:9;:21::i;:::-;:31;:50;;;;;;54316:61;54405:12;:22;54455:10;54438:28;;;;:16;:28;;;;;:38;53706:778::o;56638:154::-;56721:28;56729:7;56738:10;56721:7;:28::i;28415:151::-;-1:-1:-1;;;;;28531:18:0;;;28504:7;28531:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;28415:151::o;54554:568::-;54643:7;54662:13;54678:19;54688:8;54678:9;:19::i;:::-;54662:35;-1:-1:-1;54711:17:0;54708:384;;-1:-1:-1;;;;;54858:26:0;;;;;;:16;:26;;;;;;39708:5;;54839:45;;54830:55;;:74;54822:82;;54708:384;;;-1:-1:-1;;;;;55035:26:0;;;;;;:16;:26;;;;;;39708:5;55027:34;;:53;55109:5;54554:568;-1:-1:-1;;;54554:568:0:o;41316:242::-;41232:5;;;;;-1:-1:-1;;;;;41232:5:0;41241:10;41232:19;41224:64;;;;-1:-1:-1;;;41224:64:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;41405:22:0;::::1;41397:73;;;;-1:-1:-1::0;;;41397:73:0::1;;;;;;;:::i;:::-;41507:5;::::0;41486:37:::1;::::0;-1:-1:-1;;;;;41486:37:0;;::::1;::::0;41507:5:::1;::::0;::::1;;::::0;41486:37:::1;::::0;;;::::1;41534:5;:16:::0;;-1:-1:-1;;;;;41534:16:0;;::::1;;;-1:-1:-1::0;;;;;;41534:16:0;;::::1;::::0;;;::::1;::::0;;41316:242::o;39790:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39790:27:0;;;-1:-1:-1;;;;39790:27:0;;;;;;-1:-1:-1;;;;;39790:27:0;;;;-1:-1:-1;;;39790:27:0;;;;:::o;45852:498::-;41232:5;;;;;-1:-1:-1;;;;;41232:5:0;41241:10;41232:19;41224:64;;;;-1:-1:-1;;;41224:64:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45938:25:0;::::1;45922:13;45938:25:::0;;;:17:::1;:25;::::0;;;;;45977:9;;45974:369:::1;;46055:25;46083:7;46097:1;46091:5;:7;46083:16;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;46122:19:::0;;46083:16;;-1:-1:-1;;;;;;46122:29:0;;::::1;:19:::0;::::1;:29;46114:51;;;;-1:-1:-1::0;;;46114:51:0::1;;;;;;;:::i;:::-;46254:32:::0;;-1:-1:-1;;;;;;46254:32:0::1;::::0;;46306:25:::1;::::0;::::1;::::0;::::1;::::0;46324:6;;46306:25:::1;:::i;:::-;;;;;;;;45974:369;41299:1;45852:498:::0;:::o;41720:115::-;41232:5;;;;;-1:-1:-1;;;;;41232:5:0;41241:10;41232:19;41224:64;;;;-1:-1:-1;;;41224:64:0;;;;;;;:::i;:::-;37190:1:::1;37796:7;;:19;;37788:63;;;;-1:-1:-1::0;;;37788:63:0::1;;;;;;;:::i;:::-;37190:1;37929:7;:18:::0;41782:10:::2;:17:::0;;-1:-1:-1;;41782:17:0::2;41795:4;41782:17;::::0;;41815:12:::2;::::0;::::2;::::0;41782:10:::2;::::0;41815:12:::2;37146:1:::1;38108:7;:22:::0;41720:115::o;39824:52::-;;;;;;;;;;;;;:::o;21001:622::-;21371:10;;;21370:62;;-1:-1:-1;21387:39:0;;-1:-1:-1;;;21387:39:0;;-1:-1:-1;;;;;21387:15:0;;;;;:39;;21411:4;;21418:7;;21387:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;21370:62;21362:152;;;;-1:-1:-1;;;21362:152:0;;;;;;;:::i;:::-;21525:90;21545:5;21575:22;;;21599:7;21608:5;21552:62;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;21552:62:0;;;;;;;;;;;;;;-1:-1:-1;;;;;21552:62:0;-1:-1:-1;;;;;;21552:62:0;;;;;;;;;;21525:19;:90::i;15339:195::-;15442:12;15474:52;15496:6;15504:4;15510:1;15513:12;15474:21;:52::i;:::-;15467:59;15339:195;-1:-1:-1;;;;15339:195:0:o;50763:662::-;37190:1;37796:7;;:19;;37788:63;;;;-1:-1:-1;;;37788:63:0;;;;;;;:::i;:::-;37190:1;37929:7;:18;50847:14:::1;50864:13;:11;:13::i;:::-;50847:30;;50888:34;;:::i;:::-;50955:23;50965:9:::0;50975:1:::1;50965:12;;;;;50955:9;:23::i;:::-;50933:45:::0;;51011:23:::1;51021:9:::0;51031:1:::1;51021:12;::::0;51011:23:::1;50989:19;::::0;::::1;:45:::0;51102:60:::1;::::0;-1:-1:-1;;;51102:60:0;;39161:42:::1;::::0;51102:39:::1;::::0;:60:::1;::::0;51150:4:::1;::::0;51006:1:::1;::::0;51102:60:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;51214:14;:12;:14::i;:::-;51263:7;:14:::0;51241:19:::1;51288:130;51312:11;51308:1;:15;51288:130;;;51344:62;51364:1;51366:9;51376:16;51393:6;51400:5;51344:19;:62::i;:::-;51325:3;;51288:130;;;-1:-1:-1::0;;37146:1:0;38108:7;:22;-1:-1:-1;;;50763:662:0:o;52992:618::-;53123:7;:14;53049:29;;53123:14;53160:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;53148:41;;53207:9;53202:374;53226:11;53222:1;:15;53202:374;;;53259:25;53287:7;53295:1;53287:10;;;;;;;;;;;;;;;;;;;;;53357:19;;53287:10;;-1:-1:-1;;;;;;53357:19:0;53354:80;;53410:8;;;53354:80;-1:-1:-1;;;;;53476:33:0;;;;;;:23;;;:33;;;;;;53454:12;;:9;;53464:1;;53454:12;;;;;;;;;;;;;;;;;:19;:55;53545:19;;53524:12;;-1:-1:-1;;;;;53545:19:0;;;;53524:9;;53534:1;;53524:12;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53524:40:0;;;;;-1:-1:-1;53202:374:0;53239:3;;53202:374;;;;53586:16;52992:618;;;:::o;24049:106::-;24137:10;24049:106;:::o;33962:346::-;-1:-1:-1;;;;;34064:19:0;;34056:68;;;;-1:-1:-1;;;34056:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;34143:21:0;;34135:68;;;;-1:-1:-1;;;34135:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;34216:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;34268:32;;;;;34246:6;;34268:32;:::i;:::-;;;;;;;;33962:346;;;:::o;31574:539::-;-1:-1:-1;;;;;31680:20:0;;31672:70;;;;-1:-1:-1;;;31672:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;31761:23:0;;31753:71;;;;-1:-1:-1;;;31753:71:0;;;;;;;:::i;:::-;31837:47;31858:6;31866:9;31877:6;31837:20;:47::i;:::-;31917:71;31939:6;31917:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31917:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;31897:17:0;;;:9;:17;;;;;;;;;;;:91;;;;32022:20;;;;;;;:32;;32047:6;32022:24;:32::i;:::-;-1:-1:-1;;;;;31999:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;32070:35;;;;;;;;;;32098:6;;32070:35;:::i;7000:166::-;7086:7;7122:12;7114:6;;;;7106:29;;;;-1:-1:-1;;;7106:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;7153:5:0;;;7000:166::o;33106:418::-;-1:-1:-1;;;;;33190:21:0;;33182:67;;;;-1:-1:-1;;;33182:67:0;;;;;;;:::i;:::-;33262:49;33283:7;33300:1;33304:6;33262:20;:49::i;:::-;33345:68;33368:6;33345:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33345:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;33324:18:0;;:9;:18;;;;;;;;;;:89;33439:12;;:24;;33456:6;33439:16;:24::i;:::-;33424:12;:39;33479:37;;33505:1;;-1:-1:-1;;;;;33479:37:0;;;;;;;33509:6;;33479:37;:::i;20342:177::-;20425:86;20445:5;20475:23;;;20500:2;20504:5;20452:58;;;;;;;;;:::i;4173:179::-;4231:7;4263:5;;;4287:6;;;;4279:46;;;;-1:-1:-1;;;4279:46:0;;;;;;;:::i;51433:634::-;37190:1;37796:7;;:19;;37788:63;;;;-1:-1:-1;;;37788:63:0;;;;;;;:::i;:::-;37190:1;37929:7;:18;51525:14:::1;51542:13;:11;:13::i;:::-;51525:30;;51566:34;;:::i;:::-;51633:23;51643:9:::0;51653:1:::1;51643:12;::::0;51633:23:::1;51611:45:::0;;51745:60:::1;::::0;-1:-1:-1;;;51745:60:0;;39161:42:::1;::::0;51745:39:::1;::::0;:60:::1;::::0;51793:4:::1;::::0;51800::::1;::::0;51745:60:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;51857:14;:12;:14::i;:::-;51906:7;:14:::0;51884:19:::1;51931:129;51955:11;51951:1;:15;51931:129;;;51987:61;52007:1;52009:9;52019:16;52036:6;52043:4;51987:19;:61::i;:::-;51968:3;;51931:129;;32395:378:::0;-1:-1:-1;;;;;32479:21:0;;32471:65;;;;-1:-1:-1;;;32471:65:0;;;;;;;:::i;:::-;32549:49;32578:1;32582:7;32591:6;32549:20;:49::i;:::-;32626:12;;:24;;32643:6;32626:16;:24::i;:::-;32611:12;:39;-1:-1:-1;;;;;32682:18:0;;:9;:18;;;;;;;;;;;:30;;32705:6;32682:22;:30::i;:::-;-1:-1:-1;;;;;32661:18:0;;:9;:18;;;;;;;;;;;:51;;;;32728:37;;32661:18;;:9;32728:37;;;;32758:6;;32728:37;:::i;20527:205::-;20628:96;20648:5;20678:27;;;20707:4;20713:2;20717:5;20655:68;;;;;;;;;;:::i;20628:96::-;20527:205;;;;:::o;22647:761::-;23071:23;23097:69;23125:4;23097:69;;;;;;;;;;;;;;;;;23105:5;-1:-1:-1;;;;;23097:27:0;;;:69;;;;;:::i;:::-;23181:17;;23071:95;;-1:-1:-1;23181:21:0;23177:224;;23323:10;23312:30;;;;;;;;;;;;:::i;:::-;23304:85;;;;-1:-1:-1;;;23304:85:0;;;;;;;:::i;16391:530::-;16518:12;16576:5;16551:21;:30;;16543:81;;;;-1:-1:-1;;;16543:81:0;;;;;;;:::i;:::-;16643:18;16654:6;16643:10;:18::i;:::-;16635:60;;;;-1:-1:-1;;;16635:60:0;;;;;;;:::i;:::-;16769:12;16783:23;16810:6;-1:-1:-1;;;;;16810:11:0;16830:5;16838:4;16810:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16768:75;;;;16861:52;16879:7;16888:10;16900:12;16861:17;:52::i;:::-;16854:59;16391:530;-1:-1:-1;;;;;;;16391:530:0:o;52128:207::-;52211:10;;-1:-1:-1;;;;;52211:10:0;:24;52208:120;;52267:10;;;;;;;;;-1:-1:-1;;;;;52267:10:0;-1:-1:-1;;;;;52255:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52251:66;;;;47117:3638;47272:25;47300:7;47308:6;47300:15;;;;;;;;;;;;;;;;;;;;;47462:19;;47300:15;;-1:-1:-1;;;;;;47462:19:0;47459:71;;47511:7;;;47459:71;47730:19;;47723:52;;-1:-1:-1;;;47723:52:0;;47709:11;;-1:-1:-1;;;;;47730:19:0;;47723:37;;:52;;47769:4;;47723:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47810:23;;;;47709:66;;-1:-1:-1;47837:1:0;;47802:32;;47709:66;;-1:-1:-1;;;47810:23:0;;-1:-1:-1;;;;;47810:23:0;47802:7;:32::i;:::-;:36;47798:570;;;47909:19;;-1:-1:-1;;;47909:19:0;;;;47906:271;;48051:12;;48041:7;:22;48030:34;;47906:271;;;48149:12;;48139:22;;47906:271;48196:11;;48193:164;;48293:23;;;;48285:55;;48332:7;;48285:42;;48322:4;;48285:32;;:3;;-1:-1:-1;;;48293:23:0;;-1:-1:-1;;;;;48293:23:0;48285:7;:32::i;:::-;:36;;:42::i;:::-;:46;;:55::i;:::-;48252:22;;;;;-1:-1:-1;;;;;;48227:114:0;;-1:-1:-1;;;;;48252:22:0;;;:89;;;;48227:114;;;;;;;48193:164;48418:9;48413:2139;48437:16;48433:1;:20;48413:2139;;;48551:1;48527:9;48537:1;48527:12;;;;;;;;;;;-1:-1:-1;;;;;48527:26:0;;48523:40;;;48555:8;;48523:40;48581:8;:18;;;;-1:-1:-1;48593:6:0;;;48581:18;48578:31;;;48601:8;;48578:31;48763:13;48779:9;48789:1;48779:12;;;;;;;;;;;48809:19;;48779:12;;-1:-1:-1;;;;48809:19:0;;;;48806:432;;39708:5;48980:16;:30;48997:9;49007:1;48997:12;;;;;;;;;;;-1:-1:-1;;;;;48980:30:0;-1:-1:-1;;;;;48980:30:0;;;;;;;;;;;;;39708:5;48961:49;48952:5;:59;:78;;;;;;48944:86;;48806:432;;;39708:5;49173:16;:30;49190:9;49200:1;49190:12;;;;;;;;;;;-1:-1:-1;;;;;49173:30:0;-1:-1:-1;;;;;49173:30:0;;;;;;;;;;;;;49165:5;:38;:57;;;;;;49157:65;;48806:432;49254:10;49267:6;:26;;:40;49294:9;49304:1;49294:12;;;;;;;;;;;-1:-1:-1;;;;;49267:40:0;-1:-1:-1;;;;;49267:40:0;;;;;;;;;;;;;49254:53;;49325:8;:42;;;-1:-1:-1;49345:22:0;;;;-1:-1:-1;;;;;49345:22:0;49337:30;;49325:42;49322:1219;;;49390:8;49387:1055;;;49505:22;;;;49422:19;;49444:107;;49486:64;;49545:4;;49486:54;;49497:42;;-1:-1:-1;;;;;49505:22:0;49533:5;49497:35;:42::i;:::-;49486:5;;:9;:54::i;:64::-;49444:6;:23;;:37;49468:9;49478:1;49468:12;;;;;;;;;;;-1:-1:-1;;;;;49444:37:0;-1:-1:-1;;;;;49444:37:0;;;;;;;;;;;;;:41;;:107;;;;:::i;:::-;49422:129;-1:-1:-1;49577:15:0;;49574:655;;49660:1;49620:6;:23;;:37;49644:9;49654:1;49644:12;;;;;;;;;;;-1:-1:-1;;;;;49620:37:0;-1:-1:-1;;;;;49620:37:0;;;;;;;;;;;;:41;;;;49977:69;50018:9;50028:1;50030;50028:3;50018:14;;;;;;;;;;;49984:19;;-1:-1:-1;;;;;49984:19:0;;50034:11;49977:40;:69::i;:::-;50103:19;;-1:-1:-1;;;;;50103:19:0;50089:9;50099:1;50089:12;;;;;;;;;;;-1:-1:-1;;;;;50078:74:0;;50124:11;50137:9;50147:1;50149;50147:3;50137:14;;;;;;;;;;;50078:74;;;;;;;:::i;:::-;;;;;;;;50185:20;:3;50193:11;50185:7;:20::i;:::-;50179:26;;49574:655;49387:1055;;;;50376:22;;;;50315:107;;50357:64;;50416:4;;50357:54;;50368:42;;-1:-1:-1;;;;;50376:22:0;50404:5;50368:35;:42::i;:::-;50357:5;;:9;:54::i;:64::-;50315:6;:23;;:37;50339:9;50349:1;50339:12;;;;;;50315:107;50275:6;:23;;:37;50299:9;50309:1;50299:12;;;;;;;;;;;-1:-1:-1;;;;;50275:37:0;-1:-1:-1;;;;;50275:37:0;;;;;;;;;;;;:147;;;;49387:1055;50503:22;;;;-1:-1:-1;;;;;50503:22:0;50460:26;;;;;50503:22;;50487:9;;50497:1;;50487:12;;;;;;;;;;-1:-1:-1;;;;;50460:40:0;-1:-1:-1;;;;;50460:40:0;;;;;;;;;;;;:65;;;;49322:1219;48413:2139;;;48455:3;;48413:2139;;;-1:-1:-1;50659:23:0;;;;-1:-1:-1;;;50659:23:0;;-1:-1:-1;;;;;50659:23:0;50652:30;;50649:99;;50698:23;;;:38;;-1:-1:-1;;;;;50698:38:0;;;-1:-1:-1;;;50698:38:0;;;;;;50649:99;47117:3638;;;;;;;;:::o;58092:854::-;58196:25;;;;;;;;;-1:-1:-1;;;;;58196:25:0;;;;;;;;;;;;;:11;:25::i;:::-;58246:3;-1:-1:-1;;;;;58237:12:0;:5;-1:-1:-1;;;;;58237:12:0;;58234:705;;58351:12;;-1:-1:-1;;;;;58381:19:0;;;58378:234;;-1:-1:-1;;;;;58450:23:0;;;;;;:16;:23;;;;;;39708:5;;58431:16;58467:5;58431:9;:16::i;:::-;:42;:61;;;;;-1:-1:-1;;;;;58554:23:0;;;;;;:16;:23;;;;;;58431:61;;;58420:72;;;;39708:5;;58522:29;58543:7;58522:16;58571:5;58522:9;:16::i;:::-;:20;;:29::i;:::-;:55;:74;;;;;;58511:85;58378:234;-1:-1:-1;;;;;58629:17:0;;;58626:224;;-1:-1:-1;;;;;58694:21:0;;;;;;:16;:21;;;;;;39708:5;;58677:14;58711:3;58677:9;:14::i;:::-;:38;:57;;;;;-1:-1:-1;;;;;58794:21:0;;;;;;:16;:21;;;;;;58677:57;;;58666:68;;;;39708:5;;58764:27;58783:7;58764:14;58811:3;58764:9;:14::i;:::-;:18;;:27::i;:::-;:51;:70;;;;;;58753:81;58626:224;58905:12;:22;58092:854;;;:::o;4635:158::-;4693:7;4726:1;4721;:6;;4713:49;;;;-1:-1:-1;;;4713:49:0;;;;;;;:::i;:::-;-1:-1:-1;4780:5:0;;;4635:158::o;12421:422::-;12788:20;12827:8;;;12421:422::o;18931:742::-;19046:12;19075:7;19071:595;;;-1:-1:-1;19106:10:0;19099:17;;19071:595;19220:17;;:21;19216:439;;19483:10;19477:17;19544:15;19531:10;19527:2;19523:19;19516:44;19431:148;19626:12;19619:20;;-1:-1:-1;;;19619:20:0;;;;;;;;:::i;5052:220::-;5110:7;5134:6;5130:20;;-1:-1:-1;5149:1:0;5142:8;;5130:20;5173:5;;;5177:1;5173;:5;:1;5197:5;;;;;:10;5189:56;;;;-1:-1:-1;;;5189:56:0;;;;;;;:::i;5750:153::-;5808:7;5840:1;5836;:5;5828:44;;;;-1:-1:-1;;;5828:44:0;;;;;;;:::i;:::-;5894:1;5890;:5;;;;;;;5750:153;-1:-1:-1;;;5750:153:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;5:130::-;72:20;;-1:-1;;;;;32835:54;;33632:35;;33622:2;;33681:1;;33671:12;555:241;;659:2;647:9;638:7;634:23;630:32;627:2;;;-1:-1;;665:12;627:2;727:53;772:7;748:22;727:53;:::i;803:366::-;;;924:2;912:9;903:7;899:23;895:32;892:2;;;-1:-1;;930:12;892:2;992:53;1037:7;1013:22;992:53;:::i;:::-;982:63;;1100:53;1145:7;1082:2;1125:9;1121:22;1100:53;:::i;:::-;1090:63;;886:283;;;;;:::o;1176:491::-;;;;1314:2;1302:9;1293:7;1289:23;1285:32;1282:2;;;-1:-1;;1320:12;1282:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;1372:63;-1:-1;1472:2;1511:22;;72:20;97:33;72:20;97:33;:::i;:::-;1276:391;;1480:63;;-1:-1;;;1580:2;1619:22;;;;344:20;;1276:391::o;1674:366::-;;;1795:2;1783:9;1774:7;1770:23;1766:32;1763:2;;;-1:-1;;1801:12;1763:2;1863:53;1908:7;1884:22;1863:53;:::i;:::-;1853:63;1953:2;1992:22;;;;344:20;;-1:-1;;;1757:283::o;2047:257::-;;2159:2;2147:9;2138:7;2134:23;2130:32;2127:2;;;-1:-1;;2165:12;2127:2;223:6;217:13;33778:5;32627:13;32620:21;33756:5;33753:32;33743:2;;-1:-1;;33789:12;2311:241;;2415:2;2403:9;2394:7;2390:23;2386:32;2383:2;;;-1:-1;;2421:12;2383:2;-1:-1;344:20;;2377:175;-1:-1;2377:175::o;2559:263::-;;2674:2;2662:9;2653:7;2649:23;2645:32;2642:2;;;-1:-1;;2680:12;2642:2;-1:-1;492:13;;2636:186;-1:-1;2636:186::o;2829:366::-;;;2950:2;2938:9;2929:7;2925:23;2921:32;2918:2;;;-1:-1;;2956:12;2918:2;357:6;344:20;3008:63;;3126:53;3171:7;3108:2;3151:9;3147:22;3126:53;:::i;3202:366::-;;;3323:2;3311:9;3302:7;3298:23;3294:32;3291:2;;;-1:-1;;3329:12;3291:2;-1:-1;;344:20;;;3481:2;3520:22;;;344:20;;-1:-1;3285:283::o;15556:271::-;;5385:5;31482:12;5496:52;5541:6;5536:3;5529:4;5522:5;5518:16;5496:52;:::i;:::-;5560:16;;;;;15690:137;-1:-1;;15690:137::o;15834:222::-;-1:-1;;;;;32835:54;;;;3930:37;;15961:2;15946:18;;15932:124::o;16063:333::-;-1:-1;;;;;32835:54;;;3930:37;;32835:54;;16382:2;16367:18;;3930:37;16218:2;16203:18;;16189:207::o;16403:444::-;-1:-1;;;;;32835:54;;;3930:37;;32835:54;;;;16750:2;16735:18;;3930:37;16833:2;16818:18;;15273:37;;;;16586:2;16571:18;;16557:290::o;16854:321::-;-1:-1;;;;;32835:54;;;;3930:37;;32627:13;32620:21;17161:2;17146:18;;5179:34;17003:2;16988:18;;16974:201::o;17182:349::-;-1:-1;;;;;32835:54;;;;3930:37;;17517:2;17502:18;;5667:58;17345:2;17330:18;;17316:215::o;17878:548::-;-1:-1;;;;;32835:54;;;;3930:37;;33051:4;33040:16;;;;18246:2;18231:18;;15509:35;-1:-1;;;;;32715:46;;;18329:2;18314:18;;15163:37;32715:46;18412:2;18397:18;;15163:37;18085:3;18070:19;;18056:370::o;18433:482::-;18666:2;18680:47;;;31482:12;;18651:18;;;32070:19;;;18433:482;;18666:2;32110:14;;;;;;31308;;;18433:482;4740:344;4765:6;4762:1;4759:13;4740:344;;;4826:13;;14816:23;;-1:-1;;;;;32835:54;3930:37;;14978:16;;14972:23;15049:14;;;15273:37;3841:14;;;;31897;;;;32846:42;4780:9;4740:344;;;-1:-1;18733:172;;18637:278;-1:-1;;;;;;;18637:278::o;18922:210::-;32627:13;;32620:21;5179:34;;19043:2;19028:18;;19014:118::o;19139:310::-;;19286:2;19307:17;19300:47;5882:5;31482:12;32082:6;19286:2;19275:9;19271:18;32070:19;5976:52;6021:6;32110:14;19275:9;32110:14;19286:2;6002:5;5998:16;5976:52;:::i;:::-;33552:7;33536:14;-1:-1;;33532:28;6040:39;;;;32110:14;6040:39;;19257:192;-1:-1;;19257:192::o;19456:416::-;19656:2;19670:47;;;6316:2;19641:18;;;32070:19;6352:34;32110:14;;;6332:55;-1:-1;;;6407:12;;;6400:27;6446:12;;;19627:245::o;19879:416::-;20079:2;20093:47;;;6697:1;20064:18;;;32070:19;-1:-1;;;32110:14;;;6712:31;6762:12;;;20050:245::o;20302:416::-;20502:2;20516:47;;;7013:2;20487:18;;;32070:19;7049:34;32110:14;;;7029:55;-1:-1;;;7104:12;;;7097:30;7146:12;;;20473:245::o;20725:416::-;20925:2;20939:47;;;7397:2;20910:18;;;32070:19;7433:34;32110:14;;;7413:55;-1:-1;;;7488:12;;;7481:26;7526:12;;;20896:245::o;21148:416::-;21348:2;21362:47;;;7777:2;21333:18;;;32070:19;7813:29;32110:14;;;7793:50;7862:12;;;21319:245::o;21571:416::-;21771:2;21785:47;;;8113:1;21756:18;;;32070:19;-1:-1;;;32110:14;;;8128:32;8179:12;;;21742:245::o;21994:416::-;22194:2;22208:47;;;8430:2;22179:18;;;32070:19;8466:32;32110:14;;;8446:53;8518:12;;;22165:245::o;22417:416::-;22617:2;22631:47;;;8769:2;22602:18;;;32070:19;8805:34;32110:14;;;8785:55;-1:-1;;;8860:12;;;8853:30;8902:12;;;22588:245::o;22840:416::-;23040:2;23054:47;;;9153:2;23025:18;;;32070:19;9189:28;32110:14;;;9169:49;9237:12;;;23011:245::o;23263:416::-;23463:2;23477:47;;;9488:2;23448:18;;;32070:19;-1:-1;;;32110:14;;;9504:38;9561:12;;;23434:245::o;23686:416::-;23886:2;23900:47;;;9812:2;23871:18;;;32070:19;-1:-1;;;32110:14;;;9828:34;9881:12;;;23857:245::o;24109:416::-;24309:2;24323:47;;;10132:2;24294:18;;;32070:19;10168:34;32110:14;;;10148:55;-1:-1;;;10223:12;;;10216:25;10260:12;;;24280:245::o;24532:416::-;24732:2;24746:47;;;24717:18;;;32070:19;10547:34;32110:14;;;10527:55;10601:12;;;24703:245::o;24955:416::-;25155:2;25169:47;;;10852:1;25140:18;;;32070:19;-1:-1;;;32110:14;;;10867:28;10914:12;;;25126:245::o;25378:416::-;25578:2;25592:47;;;11165:2;25563:18;;;32070:19;11201:34;32110:14;;;11181:55;-1:-1;;;11256:12;;;11249:25;11293:12;;;25549:245::o;25801:416::-;26001:2;26015:47;;;11544:2;25986:18;;;32070:19;11580:34;32110:14;;;11560:55;-1:-1;;;11635:12;;;11628:29;11676:12;;;25972:245::o;26224:416::-;26424:2;26438:47;;;11927:1;26409:18;;;32070:19;-1:-1;;;32110:14;;;11942:31;11992:12;;;26395:245::o;26647:416::-;26847:2;26861:47;;;12243:2;26832:18;;;32070:19;12279:34;32110:14;;;12259:55;-1:-1;;;12334:12;;;12327:28;12374:12;;;26818:245::o;27070:416::-;27270:2;27284:47;;;12625:2;27255:18;;;32070:19;12661:31;32110:14;;;12641:52;12712:12;;;27241:245::o;27493:416::-;27693:2;27707:47;;;12963:1;27678:18;;;32070:19;-1:-1;;;32110:14;;;12978:32;13029:12;;;27664:245::o;27916:416::-;28116:2;28130:47;;;13280:2;28101:18;;;32070:19;13316:34;32110:14;;;13296:55;-1:-1;;;13371:12;;;13364:34;13417:12;;;28087:245::o;28339:416::-;28539:2;28553:47;;;13668:2;28524:18;;;32070:19;13704:33;32110:14;;;13684:54;13757:12;;;28510:245::o;28762:416::-;28962:2;28976:47;;;14008:2;28947:18;;;32070:19;14044:34;32110:14;;;14024:55;-1:-1;;;14099:12;;;14092:46;14157:12;;;28933:245::o;29185:416::-;29385:2;29399:47;;;14408:2;29370:18;;;32070:19;14444:33;32110:14;;;14424:54;14497:12;;;29356:245::o;29608:222::-;15273:37;;;29735:2;29720:18;;29706:124::o;29837:333::-;15273:37;;;-1:-1;;;;;32835:54;30156:2;30141:18;;3930:37;29992:2;29977:18;;29963:207::o;30177:321::-;15273:37;;;32627:13;32620:21;30484:2;30469:18;;5179:34;30326:2;30311:18;;30297:201::o;30505:432::-;15273:37;;;32627:13;;32620:21;30840:2;30825:18;;5179:34;-1:-1;;;;;32835:54;30923:2;30908:18;;3930:37;30682:2;30667:18;;30653:284::o;30944:214::-;33051:4;33040:16;;;;15509:35;;31067:2;31052:18;;31038:120::o;33192:268::-;33257:1;33264:101;33278:6;33275:1;33272:13;33264:101;;;33345:11;;;33339:18;33326:11;;;33319:39;33300:2;33293:10;33264:101;;;33380:6;33377:1;33374:13;33371:2;;;-1:-1;;33257:1;33427:16;;33420:27;33241:219::o;33573:117::-;-1:-1;;;;;32835:54;;33632:35;;33622:2;;33681:1;;33671:12

Swarm Source

ipfs://b3b91a72b01863ec72246c0f565d6cd1b406b1ff4dbfcd27a58cb5819e42dec9
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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