ETH Price: $3,302.46 (-3.17%)
Gas: 9 Gwei

Token

OnChainPolitics (OCP)
 

Overview

Max Total Supply

1,000,000,000 OCP

Holders

163

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.87267604208552727 OCP

Value
$0.00
0xba87c685401d1052f9a8cfe6004941f03d4564a8
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:
OnChainPolitics

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead 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, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 default value returned by this function, unless
     * it's overridden.
     *
     * 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 override returns (uint8) {
        return 18;
    }

    /**
     * @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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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:
     *
     * - `account` 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 += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(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);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 2 of 13 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 3 of 13 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 4 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool);
}

File 5 of 13 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/IERC20Permit.sol";
import "../../../utils/Address.sol";

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

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    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'
        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));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @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).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // 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 cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

File 6 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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://consensys.net/diligence/blog/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.8.0/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");

        (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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 7 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 8 of 13 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;

interface IUniswapV2Factory {
  function createPair(
    address tokenA,
    address tokenB
  ) external returns (address pair);

  function getPair(
    address tokenA,
    address tokenB
  ) external view returns (address pair);
}

File 9 of 13 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;

interface IUniswapV2Router02 {
  function factory() external view returns (address);

  function WETH() external view returns (address);

  function addLiquidityETH(
    address token,
    uint256 amountTokenDesired,
    uint256 amountTokenMin,
    uint256 amountETHMin,
    address to,
    uint256 deadline
  )
    external
    payable
    returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);

  function removeLiquidityETH(
    address token,
    uint256 liquidity,
    uint256 amountTokenMin,
    uint256 amountETHMin,
    address to,
    uint256 deadline
  ) external returns (uint256 amountToken, uint256 amountETH);

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

File 10 of 13 : PoolAddress.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Provides functions for deriving a pool address from the factory, tokens, and the fee
library PoolAddress {
  bytes32 internal constant POOL_INIT_CODE_HASH =
    0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54;

  /// @notice The identifying key of the pool
  struct PoolKey {
    address token0;
    address token1;
    uint24 fee;
  }

  /// @notice Returns PoolKey: the ordered tokens with the matched fee levels
  /// @param tokenA The first token of a pool, unsorted
  /// @param tokenB The second token of a pool, unsorted
  /// @param fee The fee level of the pool
  /// @return Poolkey The pool details with ordered token0 and token1 assignments
  function getPoolKey(
    address tokenA,
    address tokenB,
    uint24 fee
  ) internal pure returns (PoolKey memory) {
    if (tokenA > tokenB) (tokenA, tokenB) = (tokenB, tokenA);
    return PoolKey({ token0: tokenA, token1: tokenB, fee: fee });
  }

  /// @notice Deterministically computes the pool address given the factory and PoolKey
  /// @param factory The Uniswap V3 factory contract address
  /// @param key The PoolKey
  /// @return pool The contract address of the V3 pool
  function computeAddress(
    address factory,
    PoolKey memory key
  ) internal pure returns (address pool) {
    require(key.token0 < key.token1);
    pool = address(
      uint160(
        uint256(
          keccak256(
            abi.encodePacked(
              hex'ff',
              factory,
              keccak256(abi.encode(key.token0, key.token1, key.fee)),
              POOL_INIT_CODE_HASH
            )
          )
        )
      )
    );
  }
}

File 11 of 13 : OnChainPolitics.sol
// https://onchainpolitics.com
// https://x.com/OnChainPolitics
// https://t.me/OnChainPolitics
//
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import './interfaces/IUniswapV2Factory.sol';
import './interfaces/IUniswapV2Router02.sol';
import './libraries/PoolAddress.sol';
import './Rewards.sol';
import './WrappedTokenWithRewards.sol';

contract OnChainPolitics is ERC20 {
  using SafeERC20 for IERC20;

  address immutable V2_ROUTER;
  address immutable V3_FACTORY;
  address immutable WETH9;

  Rewards public rewards;
  address public multisig;

  mapping(address => bool) public wrappers;
  mapping(address => bool) _excluded;
  address _v2Pool;
  bool _swapping;
  bool _swapTaxOn = true;

  event CreateWrapped(address _newToken, string _name, string _symbol);

  modifier noSwapTax() {
    _swapTaxOn = false;
    _;
    _swapTaxOn = true;
  }

  modifier onlyMultisig() {
    require(_msgSender() == multisig, 'AUTH');
    _;
  }

  constructor(
    address _multisig,
    address _v2Router,
    address _v3Factory
  ) ERC20('OnChainPolitics', 'OCP') {
    multisig = _multisig;
    V2_ROUTER = _v2Router;
    V3_FACTORY = _v3Factory;
    WETH9 = IUniswapV2Router02(V2_ROUTER).WETH();

    rewards = new Rewards(address(this));
    _v2Pool = IUniswapV2Factory(IUniswapV2Router02(V2_ROUTER).factory())
      .createPair(address(this), WETH9);

    _excluded[address(0)] = true;
    _excluded[address(this)] = true;
    _excluded[address(0xdead)] = true;
    _excluded[_v2Pool] = true;
    _excluded[_v3Pool(500)] = true;
    _excluded[_v3Pool(3000)] = true;
    _excluded[_v3Pool(10000)] = true;

    _mint(_msgSender(), 1_000_000_000 * 10 ** 18);
  }

  function createWrapped(
    string memory _name,
    string memory _symbol
  ) external onlyMultisig {
    WrappedTokenWithRewards _newToken = new WrappedTokenWithRewards(
      _name,
      _symbol,
      address(this)
    );
    wrappers[address(_newToken)] = true;
    emit CreateWrapped(address(_newToken), _name, _symbol);
  }

  function setMultisig(address _multisig) external onlyMultisig {
    multisig = _multisig;
  }

  function transferFrom(
    address _from,
    address _to,
    uint256 _amount
  ) public virtual override returns (bool) {
    if (wrappers[_msgSender()]) {
      _transfer(_from, _to, _amount);
      return true;
    }
    return super.transferFrom(_from, _to, _amount);
  }

  function addLiquidityETH(
    uint256 _tokens,
    uint256 _slippage // 10 == 1%, 100 == 10%, 1000 == 100%
  ) external payable noSwapTax {
    uint256 _lpETH = msg.value;
    require(_tokens > 0 && _lpETH > 0, 'LPFUNDS');

    uint256 _tokensBefore = balanceOf(address(this));
    uint256 _ethBefore = address(this).balance - _lpETH;

    _transfer(_msgSender(), address(this), _tokens);
    _approve(address(this), V2_ROUTER, _tokens);
    IUniswapV2Router02(V2_ROUTER).addLiquidityETH{ value: _lpETH }(
      address(this),
      _tokens,
      (_tokens * (1000 - _slippage)) / 1000,
      (_lpETH * (1000 - _slippage)) / 1000,
      _msgSender(),
      block.timestamp
    );
    if (balanceOf(address(this)) > _tokensBefore) {
      _transfer(
        address(this),
        _msgSender(),
        balanceOf(address(this)) - _tokensBefore
      );
    }
    if (address(this).balance > _ethBefore) {
      (bool _refund, ) = payable(_msgSender()).call{
        value: address(this).balance - _ethBefore
      }('');
      require(_refund, 'ETHREFUND');
    }
  }

  function removeLiquidityETH(
    uint256 _lpTokens,
    uint256 _minTokens, // 0 means 100% slippage
    uint256 _minETH // 0 means 100% slippage
  ) external noSwapTax {
    _lpTokens = _lpTokens == 0
      ? IERC20(_v2Pool).balanceOf(_msgSender())
      : _lpTokens;
    require(_lpTokens > 0, 'LPREMOVE');

    uint256 _lpBalBefore = IERC20(_v2Pool).balanceOf(address(this));
    IERC20(_v2Pool).safeTransferFrom(_msgSender(), address(this), _lpTokens);
    IERC20(_v2Pool).approve(V2_ROUTER, _lpTokens);
    IUniswapV2Router02(V2_ROUTER).removeLiquidityETH(
      address(this),
      _lpTokens,
      _minTokens,
      _minETH,
      _msgSender(),
      block.timestamp
    );
    if (IERC20(_v2Pool).balanceOf(address(this)) > _lpBalBefore) {
      IERC20(_v2Pool).safeTransfer(
        _msgSender(),
        IERC20(_v2Pool).balanceOf(address(this)) - _lpBalBefore
      );
    }
  }

  function _transfer(
    address _from,
    address _to,
    uint256 _amount
  ) internal virtual override {
    bool _buying = _from == _v2Pool && _to != V2_ROUTER;
    bool _selling = _to == _v2Pool;
    uint256 _tax = 0;
    if (_swapTaxOn) {
      uint256 _bal = balanceOf(address(this));
      uint256 _min = (totalSupply() * 5) / 100000; // 0.005%
      if (!_swapping && _from != _v2Pool && _bal >= _min) {
        _swapping = true;
        _swap(_bal >= _min * 10 ? _min * 10 : _min);
        _swapping = false;
      }
      if (!_swapping && (_buying || _selling)) {
        _tax = (_amount * 142069) / 10000000; // 1.42069%
        super._transfer(_from, address(this), _tax);
      }
    }
    super._transfer(_from, _to, _amount - _tax);
  }

  function _swap(uint256 _amount) internal {
    address[] memory path = new address[](2);
    path[0] = address(this);
    path[1] = WETH9;
    _approve(address(this), V2_ROUTER, _amount);
    IUniswapV2Router02(V2_ROUTER)
      .swapExactTokensForETHSupportingFeeOnTransferTokens(
        _amount,
        0,
        path,
        multisig,
        block.timestamp
      );
  }

  function _v3Pool(uint24 _poolFee) internal view returns (address) {
    (address _token0, address _token1) = _lpTokensOrdered();
    PoolAddress.PoolKey memory _key = PoolAddress.PoolKey({
      token0: _token0,
      token1: _token1,
      fee: _poolFee
    });
    return PoolAddress.computeAddress(V3_FACTORY, _key);
  }

  function _lpTokensOrdered() internal view returns (address, address) {
    return
      WETH9 < address(this) ? (WETH9, address(this)) : (address(this), WETH9);
  }

  function _afterTokenTransfer(
    address _from,
    address _to,
    uint256 _amount
  ) internal override {
    if (!_excluded[_from]) {
      try rewards.setShare(_from, _amount, true) {} catch {}
    }
    if (!_excluded[_to]) {
      try rewards.setShare(_to, _amount, false) {} catch {}
    }
  }
}

File 12 of 13 : Rewards.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

import '@openzeppelin/contracts/utils/Context.sol';

contract Rewards is Context {
  uint256 constant PRECISION = 10 ** 36;
  address public trackingToken;
  uint256 public totalUsers;
  uint256 public totalShares;
  struct Reward {
    uint256 excluded;
    uint256 realized;
  }
  mapping(address => uint256) public shares;
  mapping(address => Reward) public rewards;

  uint256 _rewardsPerShare;
  uint256 public totalDistributed;
  uint256 public totalDeposited;

  event AddShares(address indexed user, uint256 amount);
  event RemoveShares(address indexed user, uint256 amount);
  event ClaimReward(address user);
  event DistributeReward(address indexed user, uint256 amount);
  event DepositRewards(address indexed user, uint256 amountTokens);

  modifier onlyTrackingToken() {
    require(_msgSender() == trackingToken, 'TOKEN');
    _;
  }

  constructor(address _trackingToken) {
    trackingToken = _trackingToken;
  }

  function setShare(
    address _wallet,
    uint256 _balanceUpdate,
    bool _removing
  ) public onlyTrackingToken {
    _setShare(_wallet, _balanceUpdate, _removing);
  }

  function _setShare(
    address _wallet,
    uint256 _balanceUpdate,
    bool _removing
  ) internal {
    if (_removing) {
      _removeShares(_wallet, _balanceUpdate);
      emit RemoveShares(_wallet, _balanceUpdate);
    } else {
      _addShares(_wallet, _balanceUpdate);
      emit AddShares(_wallet, _balanceUpdate);
    }
  }

  function _addShares(address _wallet, uint256 _amount) private {
    if (shares[_wallet] > 0) {
      _distributeReward(_wallet);
    }
    uint256 sharesBefore = shares[_wallet];
    totalShares += _amount;
    shares[_wallet] += _amount;
    if (sharesBefore == 0 && shares[_wallet] > 0) {
      totalUsers++;
    }
    rewards[_wallet].excluded = _cumulativeRewards(shares[_wallet]);
  }

  function _removeShares(address _wallet, uint256 _amount) private {
    require(shares[_wallet] > 0 && _amount <= shares[_wallet], 'REMOVE');
    _distributeReward(_wallet);
    totalShares -= _amount;
    shares[_wallet] -= _amount;
    if (shares[_wallet] == 0) {
      totalUsers--;
    }
    rewards[_wallet].excluded = _cumulativeRewards(shares[_wallet]);
  }

  function depositRewards() external payable {
    _depositRewards(msg.value);
  }

  function _depositRewards(uint256 _amount) internal {
    require(_amount > 0, 'DEPOSIT0');
    require(totalShares > 0, 'DEPOSIT1');
    totalDeposited += _amount;
    _rewardsPerShare += (PRECISION * _amount) / totalShares;
    emit DepositRewards(_msgSender(), _amount);
  }

  function _distributeReward(address _wallet) internal {
    if (shares[_wallet] == 0) {
      return;
    }
    uint256 amount = getUnpaid(_wallet);
    rewards[_wallet].realized += amount;
    rewards[_wallet].excluded = _cumulativeRewards(shares[_wallet]);
    if (amount > 0) {
      totalDistributed += amount;
      uint256 _balBefore = address(this).balance;
      (bool success, ) = payable(_wallet).call{ value: amount }('');
      require(success, 'DIST0');
      require(address(this).balance >= _balBefore - amount, 'DIST1');
      emit DistributeReward(_wallet, amount);
    }
  }

  function claimReward() external {
    _distributeReward(_msgSender());
    emit ClaimReward(_msgSender());
  }

  function getUnpaid(address _wallet) public view returns (uint256) {
    if (shares[_wallet] == 0) {
      return 0;
    }
    uint256 earnedRewards = _cumulativeRewards(shares[_wallet]);
    uint256 rewardsExcluded = rewards[_wallet].excluded;
    if (earnedRewards <= rewardsExcluded) {
      return 0;
    }
    return earnedRewards - rewardsExcluded;
  }

  function _cumulativeRewards(uint256 _share) internal view returns (uint256) {
    return (_share * _rewardsPerShare) / PRECISION;
  }

  receive() external payable {
    _depositRewards(msg.value);
  }
}

File 13 of 13 : WrappedTokenWithRewards.sol
// https://onchainpolitics.com
// https://twitter.com/OnChainPolitics
// https://t.me/OnChainPolitics
//
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import './Rewards.sol';

contract WrappedTokenWithRewards is ERC20 {
  using SafeERC20 for IERC20;

  address public wrappedToken;
  Rewards public rewards;

  constructor(
    string memory _name,
    string memory _symbol,
    address _wrappedToken
  ) ERC20(_name, _symbol) {
    wrappedToken = _wrappedToken;
    rewards = new Rewards(address(this));
  }

  function deposit(uint256 _amount) external {
    _mint(_msgSender(), _amount);
    IERC20(wrappedToken).safeTransferFrom(_msgSender(), address(this), _amount);
  }

  function withdraw(uint256 _amount) external {
    _burn(_msgSender(), _amount);
    IERC20(wrappedToken).safeTransfer(_msgSender(), _amount);
  }

  function _afterTokenTransfer(
    address _from,
    address _to,
    uint256 _amount
  ) internal override {
    try rewards.setShare(_from, _amount, true) {} catch {}
    try rewards.setShare(_to, _amount, false) {} catch {}
  }
}

Settings
{
  "metadata": {
    "bytecodeHash": "none"
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_multisig","type":"address"},{"internalType":"address","name":"_v2Router","type":"address"},{"internalType":"address","name":"_v3Factory","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_newToken","type":"address"},{"indexed":false,"internalType":"string","name":"_name","type":"string"},{"indexed":false,"internalType":"string","name":"_symbol","type":"string"}],"name":"CreateWrapped","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"},{"inputs":[{"internalType":"uint256","name":"_tokens","type":"uint256"},{"internalType":"uint256","name":"_slippage","type":"uint256"}],"name":"addLiquidityETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"createWrapped","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"multisig","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lpTokens","type":"uint256"},{"internalType":"uint256","name":"_minTokens","type":"uint256"},{"internalType":"uint256","name":"_minETH","type":"uint256"}],"name":"removeLiquidityETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewards","outputs":[{"internalType":"contract Rewards","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_multisig","type":"address"}],"name":"setMultisig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wrappers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60e06040526009805460ff60a81b1916600160a81b17905534801562000023575f80fd5b5060405162004f2038038062004f208339810160408190526200004691620007a5565b6040518060400160405280600f81526020016e4f6e436861696e506f6c697469637360881b8152506040518060400160405280600381526020016204f43560ec1b81525081600390816200009b91906200088b565b506004620000aa82826200088b565b5050600680546001600160a01b0319166001600160a01b0386811691909117909155838116608081905290831660a052604080516315ab88c960e31b8152905191925063ad5c46489160048083019260209291908290030181865afa15801562000116573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200013c919062000953565b6001600160a01b031660c052604051309062000158906200077b565b6001600160a01b039091168152602001604051809103905ff08015801562000182573d5f803e3d5ffd5b5060055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506080516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001e7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200020d919062000953565b60c0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303815f875af11580156200025c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000282919062000953565b600980546001600160a01b0319166001600160a01b03928316178155600860208190527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c7805460ff199081166001908117909255305f908152604080822080548416851790557f046fee3d77c34a6c5e10c3be6dc4b132c30449dbf4f0bc07684896dd09334299805484168517905594549095168552928420805490931681179092559091620003346101f4620003fd565b6001600160a01b0316815260208101919091526040015f908120805460ff19169215159290921790915560019060089062000371610bb8620003fd565b6001600160a01b0316815260208101919091526040015f908120805460ff191692151592909217909155600190600890620003ae612710620003fd565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055620003f4620003e13390565b6b033b2e3c9fd0803ce800000062000460565b5050506200099c565b5f80806200040a62000531565b915091505f6040518060600160405280846001600160a01b03168152602001836001600160a01b031681526020018662ffffff1681525090506200045760a051826200056660201b60201c565b95945050505050565b6001600160a01b038216620004bb5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f828254620004ce919062000976565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36200052d5f838362000665565b5050565b5f80306001600160a01b031660c0516001600160a01b03161062000559573060c0516200055e565b60c051305b915091509091565b5f81602001516001600160a01b0316825f01516001600160a01b0316106200058c575f80fd5b815160208084015160408086015181516001600160a01b0395861681860152949092168482015262ffffff90911660608085019190915281518085038201815260808501909252815191909201207fff0000000000000000000000000000000000000000000000000000000000000060a08401529085901b6001600160601b03191660a183015260b58201527fe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b5460d582015260f50160408051601f1981840301815291905280516020909101209392505050565b505050565b6001600160a01b0383165f9081526008602052604090205460ff16620006ec576005546040516329cc05cf60e01b81526001600160a01b0385811660048301526024820184905260016044830152909116906329cc05cf906064015f604051808303815f87803b158015620006d8575f80fd5b505af1925050508015620006ea575060015b505b6001600160a01b0382165f9081526008602052604090205460ff1662000660576005546040516329cc05cf60e01b81526001600160a01b038481166004830152602482018490525f6044830152909116906329cc05cf906064015f604051808303815f87803b1580156200075e575f80fd5b505af192505050801562000770575060015b156200066057505050565b610aba806200446683390190565b80516001600160a01b0381168114620007a0575f80fd5b919050565b5f805f60608486031215620007b8575f80fd5b620007c38462000789565b9250620007d36020850162000789565b9150620007e36040850162000789565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200081557607f821691505b6020821081036200083457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000660575f81815260208120601f850160051c81016020861015620008625750805b601f850160051c820191505b8181101562000883578281556001016200086e565b505050505050565b81516001600160401b03811115620008a757620008a7620007ec565b620008bf81620008b8845462000800565b846200083a565b602080601f831160018114620008f5575f8415620008dd5750858301515b5f19600386901b1c1916600185901b17855562000883565b5f85815260208120601f198616915b82811015620009255788860151825594840194600190910190840162000904565b50858210156200094357878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f6020828403121562000964575f80fd5b6200096f8262000789565b9392505050565b808201808211156200099657634e487b7160e01b5f52601160045260245ffd5b92915050565b60805160a05160c051613a78620009ee5f395f61117001525f50505f8181610765015281816107f101528181610a2401528181610a5401528181610eb2015281816111cc015261120c0152613a785ff3fe6080604052600436106200011b575f3560e01c806370a08231116200009e578063a457c2d7116200006a578063a457c2d71462000313578063a9059cbb1462000337578063b41e991a146200035b578063dd62ed3e146200038d578063f3283fba14620003b1575f80fd5b806370a08231146200028c5780638ffc80a114620002c457806395d89b4114620002db5780639ec5a89414620002f2575f80fd5b806323b872dd11620000ea57806323b872dd14620001c9578063313ce56714620001ed57806339509351146200020a5780634783c35b146200022e5780634b9ce62c1462000268575f80fd5b806306fdde03146200011f578063095ea7b3146200014e5780631782a219146200018357806318160ddd14620001a9575b5f80fd5b3480156200012b575f80fd5b5062000136620003d5565b60405162000145919062001821565b60405180910390f35b3480156200015a575f80fd5b50620001726200016c36600462001851565b6200046d565b604051901515815260200162000145565b3480156200018f575f80fd5b50620001a7620001a136600462001921565b62000488565b005b348015620001b5575f80fd5b506002545b60405190815260200162000145565b348015620001d5575f80fd5b5062000172620001e736600462001988565b62000582565b348015620001f9575f80fd5b506040516012815260200162000145565b34801562000216575f80fd5b50620001726200022836600462001851565b620005c7565b3480156200023a575f80fd5b506006546200024f906001600160a01b031681565b6040516001600160a01b03909116815260200162000145565b34801562000274575f80fd5b50620001a762000286366004620019c6565b620005ee565b34801562000298575f80fd5b50620001ba620002aa366004620019f0565b6001600160a01b03165f9081526020819052604090205490565b620001a7620002d536600462001a0c565b6200099d565b348015620002e7575f80fd5b506200013662000c29565b348015620002fe575f80fd5b506005546200024f906001600160a01b031681565b3480156200031f575f80fd5b50620001726200033136600462001851565b62000c3a565b34801562000343575f80fd5b50620001726200035536600462001851565b62000cc5565b34801562000367575f80fd5b506200017262000379366004620019f0565b60076020525f908152604090205460ff1681565b34801562000399575f80fd5b50620001ba620003ab36600462001a2d565b62000cd4565b348015620003bd575f80fd5b50620001a7620003cf366004620019f0565b62000cfe565b606060038054620003e69062001a63565b80601f0160208091040260200160405190810160405280929190818152602001828054620004149062001a63565b8015620004635780601f10620004395761010080835404028352916020019162000463565b820191905f5260205f20905b8154815290600101906020018083116200044557829003601f168201915b5050505050905090565b5f336200047c81858562000d6e565b60019150505b92915050565b6006546001600160a01b0316336001600160a01b031614620004df5760405162461bcd60e51b8152600401620004d690602080825260049082015263082aaa8960e31b604082015260600190565b60405180910390fd5b5f828230604051620004f190620017c2565b620004ff9392919062001a9d565b604051809103905ff08015801562000519573d5f803e3d5ffd5b506001600160a01b0381165f9081526007602052604090819020805460ff19166001179055519091507f63944ae9ec1b4ef11e4c0757567d5776b93b5e6cfee5083a4ab0ae1f14d21e0790620005759083908690869062001ade565b60405180910390a1505050565b335f9081526007602052604081205460ff1615620005b057620005a784848462000e95565b506001620005c0565b620005bd84848462001052565b90505b9392505050565b5f336200047c818585620005dc838362000cd4565b620005e8919062001b35565b62000d6e565b6009805460ff60a81b19169055821562000609578262000684565b6009546001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa1580156200065e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000684919062001b4b565b92505f8311620006c25760405162461bcd60e51b81526020600482015260086024820152674c5052454d4f564560c01b6044820152606401620004d6565b6009546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa15801562000709573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200072f919062001b4b565b90506200074b336009546001600160a01b03169030876200106e565b60095460405163095ea7b360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018790529091169063095ea7b3906044016020604051808303815f875af1158015620007bc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620007e2919062001b63565b50604051629d473b60e21b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906302751cec906200083a9030908890889088903390429060040162001b84565b60408051808303815f875af115801562000856573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200087c919062001bbf565b50506009546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa158015620008c5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620008eb919062001b4b565b1115620009845762000984336009546040516370a0823160e01b815230600482015284916001600160a01b0316906370a0823190602401602060405180830381865afa1580156200093e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000964919062001b4b565b62000970919062001be2565b6009546001600160a01b03169190620010e1565b50506009805460ff60a81b1916600160a81b1790555050565b6009805460ff60a81b19169055348215801590620009ba57505f81115b620009f25760405162461bcd60e51b81526020600482015260076024820152664c5046554e445360c81b6044820152606401620004d6565b305f908152602081905260408120549062000a0e834762001be2565b905062000a1d33308762000e95565b62000a4a307f00000000000000000000000000000000000000000000000000000000000000008762000d6e565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663f305d7198430886103e862000a8b8a8262001be2565b62000a97908c62001bf8565b62000aa3919062001c12565b6103e862000ab28b8262001be2565b62000abe908b62001bf8565b62000aca919062001c12565b33426040518863ffffffff1660e01b815260040162000aef9695949392919062001b84565b60606040518083038185885af115801562000b0c573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019062000b33919062001c32565b5050305f90815260208190526040902054839150111562000b775762000b773033305f90815260208190526040902054859062000b71919062001be2565b62000e95565b8047111562000c0f575f3362000b8e834762001be2565b6040515f81818185875af1925050503d805f811462000bc9576040519150601f19603f3d011682016040523d82523d5f602084013e62000bce565b606091505b505090508062000c0d5760405162461bcd60e51b815260206004820152600960248201526811551214915195539160ba1b6044820152606401620004d6565b505b50506009805460ff60a81b1916600160a81b179055505050565b606060048054620003e69062001a63565b5f338162000c49828662000cd4565b90508381101562000cab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401620004d6565b62000cba828686840362000d6e565b506001949350505050565b5f336200047c81858562000e95565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6006546001600160a01b0316336001600160a01b03161462000d4c5760405162461bcd60e51b8152600401620004d690602080825260049082015263082aaa8960e31b604082015260600190565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03831662000dd25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620004d6565b6001600160a01b03821662000e355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620004d6565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6009545f906001600160a01b03858116911614801562000ee757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614155b6009549091506001600160a01b0380821690851614905f90600160a81b900460ff16156200103257305f9081526020819052604081205490505f620186a062000f2f60025490565b62000f3c90600562001bf8565b62000f48919062001c12565b600954909150600160a01b900460ff1615801562000f7457506009546001600160a01b03898116911614155b801562000f815750808210155b1562000fdb576009805460ff60a01b1916600160a01b17905562000fcd62000fab82600a62001bf8565b83101562000fba578162001118565b62000fc782600a62001bf8565b62001118565b6009805460ff60a01b191690555b600954600160a01b900460ff1615801562000ffb5750848062000ffb5750835b156200102f5762989680620010148762022af562001bf8565b62001020919062001c12565b92506200102f8830856200127a565b50505b6200104a868662001044848862001be2565b6200127a565b505050505050565b5f33620010618582856200142a565b62000cba85858562000e95565b6040516001600160a01b0380851660248301528316604482015260648101829052620010db9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152620014a3565b50505050565b6040516001600160a01b0383166024820152604481018290526200111390849063a9059cbb60e01b90606401620010a3565b505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106200114e576200114e62001c5e565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110620011a557620011a562001c5e565b60200260200101906001600160a01b031690816001600160a01b031681525050620011f2307f00000000000000000000000000000000000000000000000000000000000000008462000d6e565b60065460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac947926200124f9287925f9288929190911690429060040162001c72565b5f604051808303815f87803b15801562001267575f80fd5b505af11580156200104a573d5f803e3d5ffd5b6001600160a01b038316620012e05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401620004d6565b6001600160a01b038216620013445760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401620004d6565b6001600160a01b0383165f9081526020819052604090205481811015620013bd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401620004d6565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3620010db8484846200157d565b5f62001437848462000cd4565b90505f198114620010db5781811015620014945760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401620004d6565b620010db848484840362000d6e565b5f620014f9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620016939092919063ffffffff16565b905080515f14806200151c5750808060200190518101906200151c919062001b63565b620011135760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401620004d6565b6001600160a01b0383165f9081526008602052604090205460ff1662001604576005546040516329cc05cf60e01b81526001600160a01b0385811660048301526024820184905260016044830152909116906329cc05cf906064015f604051808303815f87803b158015620015f0575f80fd5b505af192505050801562001602575060015b505b6001600160a01b0382165f9081526008602052604090205460ff1662001113576005546040516329cc05cf60e01b81526001600160a01b038481166004830152602482018490525f6044830152909116906329cc05cf906064015f604051808303815f87803b15801562001676575f80fd5b505af192505050801562001688575060015b156200111357505050565b6060620005bd84845f85855f80866001600160a01b03168587604051620016bb919062001ce3565b5f6040518083038185875af1925050503d805f8114620016f7576040519150601f19603f3d011682016040523d82523d5f602084013e620016fc565b606091505b50915091506200170f878383876200171c565b925050505b949350505050565b606083156200178f5782515f0362001787576001600160a01b0385163b620017875760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620004d6565b508162001714565b620017148383815115620017a65781518083602001fd5b8060405162461bcd60e51b8152600401620004d6919062001821565b611d6b8062001d0183390190565b5f5b83811015620017ec578181015183820152602001620017d2565b50505f910152565b5f81518084526200180d816020860160208601620017d0565b601f01601f19169290920160200192915050565b602081525f620005c06020830184620017f4565b80356001600160a01b03811681146200184c575f80fd5b919050565b5f806040838503121562001863575f80fd5b6200186e8362001835565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112620018a0575f80fd5b813567ffffffffffffffff80821115620018be57620018be6200187c565b604051601f8301601f19908116603f01168101908282118183101715620018e957620018e96200187c565b8160405283815286602085880101111562001902575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f806040838503121562001933575f80fd5b823567ffffffffffffffff808211156200194b575f80fd5b620019598683870162001890565b935060208501359150808211156200196f575f80fd5b506200197e8582860162001890565b9150509250929050565b5f805f606084860312156200199b575f80fd5b620019a68462001835565b9250620019b66020850162001835565b9150604084013590509250925092565b5f805f60608486031215620019d9575f80fd5b505081359360208301359350604090920135919050565b5f6020828403121562001a01575f80fd5b620005c08262001835565b5f806040838503121562001a1e575f80fd5b50508035926020909101359150565b5f806040838503121562001a3f575f80fd5b62001a4a8362001835565b915062001a5a6020840162001835565b90509250929050565b600181811c9082168062001a7857607f821691505b60208210810362001a9757634e487b7160e01b5f52602260045260245ffd5b50919050565b606081525f62001ab16060830186620017f4565b828103602084015262001ac58186620017f4565b91505060018060a01b0383166040830152949350505050565b6001600160a01b03841681526060602082018190525f9062001b0390830185620017f4565b828103604084015262001b178185620017f4565b9695505050505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111562000482576200048262001b21565b5f6020828403121562001b5c575f80fd5b5051919050565b5f6020828403121562001b74575f80fd5b81518015158114620005c0575f80fd5b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b5f806040838503121562001bd1575f80fd5b505080516020909101519092909150565b8181038181111562000482576200048262001b21565b808202811582820484141762000482576200048262001b21565b5f8262001c2d57634e487b7160e01b5f52601260045260245ffd5b500490565b5f805f6060848603121562001c45575f80fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101562001cc25784516001600160a01b03168352938301939183019160010162001c9b565b50506001600160a01b03969096166060850152505050608001529392505050565b5f825162001cf6818460208701620017d0565b919091019291505056fe608060405234801562000010575f80fd5b5060405162001d6b38038062001d6b8339810160408190526200003391620001a1565b82826003620000438382620002b4565b506004620000528282620002b4565b5050600580546001600160a01b0319166001600160a01b0384161790555060405130906200008090620000d5565b6001600160a01b039091168152602001604051809103905ff080158015620000aa573d5f803e3d5ffd5b50600680546001600160a01b0319166001600160a01b0392909216919091179055506200037c915050565b610aba80620012b183390190565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000107575f80fd5b81516001600160401b0380821115620001245762000124620000e3565b604051601f8301601f19908116603f011681019082821181831017156200014f576200014f620000e3565b816040528381526020925086838588010111156200016b575f80fd5b5f91505b838210156200018e57858201830151818301840152908201906200016f565b5f93810190920192909252949350505050565b5f805f60608486031215620001b4575f80fd5b83516001600160401b0380821115620001cb575f80fd5b620001d987838801620000f7565b94506020860151915080821115620001ef575f80fd5b50620001fe86828701620000f7565b604086015190935090506001600160a01b03811681146200021d575f80fd5b809150509250925092565b600181811c908216806200023d57607f821691505b6020821081036200025c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620002af575f81815260208120601f850160051c810160208610156200028a5750805b601f850160051c820191505b81811015620002ab5782815560010162000296565b5050505b505050565b81516001600160401b03811115620002d057620002d0620000e3565b620002e881620002e1845462000228565b8462000262565b602080601f8311600181146200031e575f8415620003065750858301515b5f19600386901b1c1916600185901b178555620002ab565b5f85815260208120601f198616915b828110156200034e578886015182559484019460019091019084016200032d565b50858210156200036c57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b610f27806200038a5f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806370a0823111610093578063a457c2d711610063578063a457c2d7146101ff578063a9059cbb14610212578063b6b55f2514610225578063dd62ed3e14610238575f80fd5b806370a082311461019157806395d89b41146101b9578063996c6cc3146101c15780639ec5a894146101ec575f80fd5b806323b872dd116100ce57806323b872dd146101475780632e1a7d4d1461015a578063313ce5671461016f578063395093511461017e575f80fd5b806306fdde03146100f4578063095ea7b31461011257806318160ddd14610135575b5f80fd5b6100fc61024b565b6040516101099190610d73565b60405180910390f35b610125610120366004610dc0565b6102db565b6040519015158152602001610109565b6002545b604051908152602001610109565b610125610155366004610de8565b6102f4565b61016d610168366004610e21565b610317565b005b60405160128152602001610109565b61012561018c366004610dc0565b61033b565b61013961019f366004610e38565b6001600160a01b03165f9081526020819052604090205490565b6100fc61035c565b6005546101d4906001600160a01b031681565b6040516001600160a01b039091168152602001610109565b6006546101d4906001600160a01b031681565b61012561020d366004610dc0565b61036b565b610125610220366004610dc0565b6103ea565b61016d610233366004610e21565b6103f7565b610139610246366004610e58565b610419565b60606003805461025a90610e89565b80601f016020809104026020016040519081016040528092919081815260200182805461028690610e89565b80156102d15780601f106102a8576101008083540402835291602001916102d1565b820191905f5260205f20905b8154815290600101906020018083116102b457829003601f168201915b5050505050905090565b5f336102e8818585610443565b60019150505b92915050565b5f33610301858285610566565b61030c8585856105de565b506001949350505050565b6103213382610786565b610338336005546001600160a01b031690836108c1565b50565b5f336102e881858561034d8383610419565b6103579190610ec1565b610443565b60606004805461025a90610e89565b5f33816103788286610419565b9050838110156103dd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61030c8286868403610443565b5f336102e88185856105de565b6104013382610924565b610338336005546001600160a01b03169030846109ec565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166104a55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103d4565b6001600160a01b0382166105065760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103d4565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6105718484610419565b90505f1981146105d857818110156105cb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103d4565b6105d88484848403610443565b50505050565b6001600160a01b0383166106425760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103d4565b6001600160a01b0382166106a45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103d4565b6001600160a01b0383165f908152602081905260409020548181101561071b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103d4565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36105d8848484610a24565b6001600160a01b0382166107e65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103d4565b6001600160a01b0382165f90815260208190526040902054818110156108595760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103d4565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36108bc835f84610a24565b505050565b6040516001600160a01b0383166024820152604481018290526108bc90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610af4565b6001600160a01b03821661097a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103d4565b8060025f82825461098b9190610ec1565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36109e85f8383610a24565b5050565b6040516001600160a01b03808516602483015283166044820152606481018290526105d89085906323b872dd60e01b906084016108ed565b6006546040516329cc05cf60e01b81526001600160a01b0385811660048301526024820184905260016044830152909116906329cc05cf906064015f604051808303815f87803b158015610a76575f80fd5b505af1925050508015610a87575060015b506006546040516329cc05cf60e01b81526001600160a01b038481166004830152602482018490525f6044830152909116906329cc05cf906064015f604051808303815f87803b158015610ad9575f80fd5b505af1925050508015610aea575060015b156108bc57505050565b5f610b48826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610bc79092919063ffffffff16565b905080515f1480610b68575080806020019051810190610b689190610ee0565b6108bc5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103d4565b6060610bd584845f85610bdd565b949350505050565b606082471015610c3e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103d4565b5f80866001600160a01b03168587604051610c599190610eff565b5f6040518083038185875af1925050503d805f8114610c93576040519150601f19603f3d011682016040523d82523d5f602084013e610c98565b606091505b5091509150610ca987838387610cb4565b979650505050505050565b60608315610d225782515f03610d1b576001600160a01b0385163b610d1b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103d4565b5081610bd5565b610bd58383815115610d375781518083602001fd5b8060405162461bcd60e51b81526004016103d49190610d73565b5f5b83811015610d6b578181015183820152602001610d53565b50505f910152565b602081525f8251806020840152610d91816040850160208701610d51565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610dbb575f80fd5b919050565b5f8060408385031215610dd1575f80fd5b610dda83610da5565b946020939093013593505050565b5f805f60608486031215610dfa575f80fd5b610e0384610da5565b9250610e1160208501610da5565b9150604084013590509250925092565b5f60208284031215610e31575f80fd5b5035919050565b5f60208284031215610e48575f80fd5b610e5182610da5565b9392505050565b5f8060408385031215610e69575f80fd5b610e7283610da5565b9150610e8060208401610da5565b90509250929050565b600181811c90821680610e9d57607f821691505b602082108103610ebb57634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102ee57634e487b7160e01b5f52601160045260245ffd5b5f60208284031215610ef0575f80fd5b81518015158114610e51575f80fd5b5f8251610f10818460208701610d51565b919091019291505056fea164736f6c6343000815000a608060405234801561000f575f80fd5b50604051610aba380380610aba83398101604081905261002e91610052565b5f80546001600160a01b0319166001600160a01b039290921691909117905561007f565b5f60208284031215610062575f80fd5b81516001600160a01b0381168114610078575f80fd5b9392505050565b610a2e8061008c5f395ff3fe60806040526004361061009d575f3560e01c8063b88a802f11610062578063b88a802f14610166578063bde308181461017a578063bff1f9e1146101b0578063ce7c2ac2146101c5578063efca2eed146101f0578063ff50abdc14610205575f80fd5b80630700037d146100b1578063152111f7146100fd57806329cc05cf146101055780633a98ef391461012457806389d9691714610147575f80fd5b366100ad576100ab3461021a565b005b5f80fd5b3480156100bc575f80fd5b506100e36100cb366004610923565b60046020525f90815260409020805460019091015482565b604080519283526020830191909152015b60405180910390f35b6100ab61031e565b348015610110575f80fd5b506100ab61011f366004610943565b610329565b34801561012f575f80fd5b5061013960025481565b6040519081526020016100f4565b348015610152575f80fd5b50610139610161366004610923565b610383565b348015610171575f80fd5b506100ab610406565b348015610185575f80fd5b505f54610198906001600160a01b031681565b6040516001600160a01b0390911681526020016100f4565b3480156101bb575f80fd5b5061013960015481565b3480156101d0575f80fd5b506101396101df366004610923565b60036020525f908152604090205481565b3480156101fb575f80fd5b5061013960065481565b348015610210575f80fd5b5061013960075481565b5f81116102595760405162461bcd60e51b815260206004820152600860248201526704445504f534954360c41b60448201526064015b60405180910390fd5b5f600254116102955760405162461bcd60e51b81526020600482015260086024820152674445504f5349543160c01b6044820152606401610250565b8060075f8282546102a69190610998565b90915550506002546102c7826ec097ce7bc90715b34b9f10000000006109ab565b6102d191906109c2565b60055f8282546102e19190610998565b909155505060405181815233907fb9ad861b752f80117b35bea6dec99933d8a5ae360f2839ee8784b750d56134099060200160405180910390a250565b6103273461021a565b565b5f546001600160a01b0316336001600160a01b0316146103735760405162461bcd60e51b81526020600482015260056024820152642a27a5a2a760d91b6044820152606401610250565b61037e838383610444565b505050565b6001600160a01b0381165f9081526003602052604081205481036103a857505f919050565b6001600160a01b0382165f908152600360205260408120546103c9906104e1565b6001600160a01b0384165f908152600460205260409020549091508082116103f457505f9392505050565b6103fe81836109e1565b949350505050565b61040f33610510565b6040805133815290517f63e32091e4445d16e29c33a6b264577c2d86694021aa4e6f4dd590048f5792e89181900360200190a1565b801561049c5761045483836106d7565b826001600160a01b03167fae0577e1c96b26fbc0b9df702431f5470979d001d24f136eded791b8b6521d6f8360405161048f91815260200190565b60405180910390a2505050565b6104a68383610807565b826001600160a01b03167fba8f3777cf908803bf1f3dd58e7f4b7d3de4dbe3c234c4ccab0975d98f7cd3888360405161048f91815260200190565b5f6ec097ce7bc90715b34b9f10000000006005548361050091906109ab565b61050a91906109c2565b92915050565b6001600160a01b0381165f9081526003602052604081205490036105315750565b5f61053b82610383565b6001600160a01b0383165f9081526004602052604081206001018054929350839290919061056a908490610998565b90915550506001600160a01b0382165f90815260036020526040902054610590906104e1565b6001600160a01b0383165f9081526004602052604090205580156106d3578060065f8282546105bf9190610998565b909155505060405147905f906001600160a01b0385169084908381818185875af1925050503d805f811461060e576040519150601f19603f3d011682016040523d82523d5f602084013e610613565b606091505b505090508061064c5760405162461bcd60e51b8152602060048201526005602482015264044495354360dc1b6044820152606401610250565b61065683836109e1565b47101561068d5760405162461bcd60e51b8152602060048201526005602482015264444953543160d81b6044820152606401610250565b836001600160a01b03167fe8b160e373db99a103e0a2abfa029b9c3fc8b328984a1ead8a65ae68ae646db7846040516106c891815260200190565b60405180910390a250505b5050565b6001600160a01b0382165f908152600360205260409020541580159061071457506001600160a01b0382165f908152600360205260409020548111155b6107495760405162461bcd60e51b815260206004820152600660248201526552454d4f564560d01b6044820152606401610250565b61075282610510565b8060025f82825461076391906109e1565b90915550506001600160a01b0382165f908152600360205260408120805483929061078f9084906109e1565b90915550506001600160a01b0382165f9081526003602052604081205490036107c75760018054905f6107c1836109f4565b91905055505b6001600160a01b0382165f908152600360205260409020546107e8906104e1565b6001600160a01b039092165f9081526004602052604090209190915550565b6001600160a01b0382165f908152600360205260409020541561082d5761082d82610510565b6001600160a01b0382165f908152600360205260408120546002805491928492610858908490610998565b90915550506001600160a01b0383165f9081526003602052604081208054849290610884908490610998565b9091555050801580156108ad57506001600160a01b0383165f9081526003602052604090205415155b156108c75760018054905f6108c183610a09565b91905055505b6001600160a01b0383165f908152600360205260409020546108e8906104e1565b6001600160a01b039093165f908152600460205260409020929092555050565b80356001600160a01b038116811461091e575f80fd5b919050565b5f60208284031215610933575f80fd5b61093c82610908565b9392505050565b5f805f60608486031215610955575f80fd5b61095e84610908565b92506020840135915060408401358015158114610979575f80fd5b809150509250925092565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561050a5761050a610984565b808202811582820484141761050a5761050a610984565b5f826109dc57634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111561050a5761050a610984565b5f81610a0257610a02610984565b505f190190565b5f60018201610a1a57610a1a610984565b506001019056fea164736f6c6343000815000aa164736f6c6343000815000a608060405234801561000f575f80fd5b50604051610aba380380610aba83398101604081905261002e91610052565b5f80546001600160a01b0319166001600160a01b039290921691909117905561007f565b5f60208284031215610062575f80fd5b81516001600160a01b0381168114610078575f80fd5b9392505050565b610a2e8061008c5f395ff3fe60806040526004361061009d575f3560e01c8063b88a802f11610062578063b88a802f14610166578063bde308181461017a578063bff1f9e1146101b0578063ce7c2ac2146101c5578063efca2eed146101f0578063ff50abdc14610205575f80fd5b80630700037d146100b1578063152111f7146100fd57806329cc05cf146101055780633a98ef391461012457806389d9691714610147575f80fd5b366100ad576100ab3461021a565b005b5f80fd5b3480156100bc575f80fd5b506100e36100cb366004610923565b60046020525f90815260409020805460019091015482565b604080519283526020830191909152015b60405180910390f35b6100ab61031e565b348015610110575f80fd5b506100ab61011f366004610943565b610329565b34801561012f575f80fd5b5061013960025481565b6040519081526020016100f4565b348015610152575f80fd5b50610139610161366004610923565b610383565b348015610171575f80fd5b506100ab610406565b348015610185575f80fd5b505f54610198906001600160a01b031681565b6040516001600160a01b0390911681526020016100f4565b3480156101bb575f80fd5b5061013960015481565b3480156101d0575f80fd5b506101396101df366004610923565b60036020525f908152604090205481565b3480156101fb575f80fd5b5061013960065481565b348015610210575f80fd5b5061013960075481565b5f81116102595760405162461bcd60e51b815260206004820152600860248201526704445504f534954360c41b60448201526064015b60405180910390fd5b5f600254116102955760405162461bcd60e51b81526020600482015260086024820152674445504f5349543160c01b6044820152606401610250565b8060075f8282546102a69190610998565b90915550506002546102c7826ec097ce7bc90715b34b9f10000000006109ab565b6102d191906109c2565b60055f8282546102e19190610998565b909155505060405181815233907fb9ad861b752f80117b35bea6dec99933d8a5ae360f2839ee8784b750d56134099060200160405180910390a250565b6103273461021a565b565b5f546001600160a01b0316336001600160a01b0316146103735760405162461bcd60e51b81526020600482015260056024820152642a27a5a2a760d91b6044820152606401610250565b61037e838383610444565b505050565b6001600160a01b0381165f9081526003602052604081205481036103a857505f919050565b6001600160a01b0382165f908152600360205260408120546103c9906104e1565b6001600160a01b0384165f908152600460205260409020549091508082116103f457505f9392505050565b6103fe81836109e1565b949350505050565b61040f33610510565b6040805133815290517f63e32091e4445d16e29c33a6b264577c2d86694021aa4e6f4dd590048f5792e89181900360200190a1565b801561049c5761045483836106d7565b826001600160a01b03167fae0577e1c96b26fbc0b9df702431f5470979d001d24f136eded791b8b6521d6f8360405161048f91815260200190565b60405180910390a2505050565b6104a68383610807565b826001600160a01b03167fba8f3777cf908803bf1f3dd58e7f4b7d3de4dbe3c234c4ccab0975d98f7cd3888360405161048f91815260200190565b5f6ec097ce7bc90715b34b9f10000000006005548361050091906109ab565b61050a91906109c2565b92915050565b6001600160a01b0381165f9081526003602052604081205490036105315750565b5f61053b82610383565b6001600160a01b0383165f9081526004602052604081206001018054929350839290919061056a908490610998565b90915550506001600160a01b0382165f90815260036020526040902054610590906104e1565b6001600160a01b0383165f9081526004602052604090205580156106d3578060065f8282546105bf9190610998565b909155505060405147905f906001600160a01b0385169084908381818185875af1925050503d805f811461060e576040519150601f19603f3d011682016040523d82523d5f602084013e610613565b606091505b505090508061064c5760405162461bcd60e51b8152602060048201526005602482015264044495354360dc1b6044820152606401610250565b61065683836109e1565b47101561068d5760405162461bcd60e51b8152602060048201526005602482015264444953543160d81b6044820152606401610250565b836001600160a01b03167fe8b160e373db99a103e0a2abfa029b9c3fc8b328984a1ead8a65ae68ae646db7846040516106c891815260200190565b60405180910390a250505b5050565b6001600160a01b0382165f908152600360205260409020541580159061071457506001600160a01b0382165f908152600360205260409020548111155b6107495760405162461bcd60e51b815260206004820152600660248201526552454d4f564560d01b6044820152606401610250565b61075282610510565b8060025f82825461076391906109e1565b90915550506001600160a01b0382165f908152600360205260408120805483929061078f9084906109e1565b90915550506001600160a01b0382165f9081526003602052604081205490036107c75760018054905f6107c1836109f4565b91905055505b6001600160a01b0382165f908152600360205260409020546107e8906104e1565b6001600160a01b039092165f9081526004602052604090209190915550565b6001600160a01b0382165f908152600360205260409020541561082d5761082d82610510565b6001600160a01b0382165f908152600360205260408120546002805491928492610858908490610998565b90915550506001600160a01b0383165f9081526003602052604081208054849290610884908490610998565b9091555050801580156108ad57506001600160a01b0383165f9081526003602052604090205415155b156108c75760018054905f6108c183610a09565b91905055505b6001600160a01b0383165f908152600360205260409020546108e8906104e1565b6001600160a01b039093165f908152600460205260409020929092555050565b80356001600160a01b038116811461091e575f80fd5b919050565b5f60208284031215610933575f80fd5b61093c82610908565b9392505050565b5f805f60608486031215610955575f80fd5b61095e84610908565b92506020840135915060408401358015158114610979575f80fd5b809150509250925092565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561050a5761050a610984565b808202811582820484141761050a5761050a610984565b5f826109dc57634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111561050a5761050a610984565b5f81610a0257610a02610984565b505f190190565b5f60018201610a1a57610a1a610984565b506001019056fea164736f6c6343000815000a000000000000000000000000eaa446e0bae02b681e8d50f4b420650da499e60b0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f984

Deployed Bytecode

0x6080604052600436106200011b575f3560e01c806370a08231116200009e578063a457c2d7116200006a578063a457c2d71462000313578063a9059cbb1462000337578063b41e991a146200035b578063dd62ed3e146200038d578063f3283fba14620003b1575f80fd5b806370a08231146200028c5780638ffc80a114620002c457806395d89b4114620002db5780639ec5a89414620002f2575f80fd5b806323b872dd11620000ea57806323b872dd14620001c9578063313ce56714620001ed57806339509351146200020a5780634783c35b146200022e5780634b9ce62c1462000268575f80fd5b806306fdde03146200011f578063095ea7b3146200014e5780631782a219146200018357806318160ddd14620001a9575b5f80fd5b3480156200012b575f80fd5b5062000136620003d5565b60405162000145919062001821565b60405180910390f35b3480156200015a575f80fd5b50620001726200016c36600462001851565b6200046d565b604051901515815260200162000145565b3480156200018f575f80fd5b50620001a7620001a136600462001921565b62000488565b005b348015620001b5575f80fd5b506002545b60405190815260200162000145565b348015620001d5575f80fd5b5062000172620001e736600462001988565b62000582565b348015620001f9575f80fd5b506040516012815260200162000145565b34801562000216575f80fd5b50620001726200022836600462001851565b620005c7565b3480156200023a575f80fd5b506006546200024f906001600160a01b031681565b6040516001600160a01b03909116815260200162000145565b34801562000274575f80fd5b50620001a762000286366004620019c6565b620005ee565b34801562000298575f80fd5b50620001ba620002aa366004620019f0565b6001600160a01b03165f9081526020819052604090205490565b620001a7620002d536600462001a0c565b6200099d565b348015620002e7575f80fd5b506200013662000c29565b348015620002fe575f80fd5b506005546200024f906001600160a01b031681565b3480156200031f575f80fd5b50620001726200033136600462001851565b62000c3a565b34801562000343575f80fd5b50620001726200035536600462001851565b62000cc5565b34801562000367575f80fd5b506200017262000379366004620019f0565b60076020525f908152604090205460ff1681565b34801562000399575f80fd5b50620001ba620003ab36600462001a2d565b62000cd4565b348015620003bd575f80fd5b50620001a7620003cf366004620019f0565b62000cfe565b606060038054620003e69062001a63565b80601f0160208091040260200160405190810160405280929190818152602001828054620004149062001a63565b8015620004635780601f10620004395761010080835404028352916020019162000463565b820191905f5260205f20905b8154815290600101906020018083116200044557829003601f168201915b5050505050905090565b5f336200047c81858562000d6e565b60019150505b92915050565b6006546001600160a01b0316336001600160a01b031614620004df5760405162461bcd60e51b8152600401620004d690602080825260049082015263082aaa8960e31b604082015260600190565b60405180910390fd5b5f828230604051620004f190620017c2565b620004ff9392919062001a9d565b604051809103905ff08015801562000519573d5f803e3d5ffd5b506001600160a01b0381165f9081526007602052604090819020805460ff19166001179055519091507f63944ae9ec1b4ef11e4c0757567d5776b93b5e6cfee5083a4ab0ae1f14d21e0790620005759083908690869062001ade565b60405180910390a1505050565b335f9081526007602052604081205460ff1615620005b057620005a784848462000e95565b506001620005c0565b620005bd84848462001052565b90505b9392505050565b5f336200047c818585620005dc838362000cd4565b620005e8919062001b35565b62000d6e565b6009805460ff60a81b19169055821562000609578262000684565b6009546001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa1580156200065e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000684919062001b4b565b92505f8311620006c25760405162461bcd60e51b81526020600482015260086024820152674c5052454d4f564560c01b6044820152606401620004d6565b6009546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a0823190602401602060405180830381865afa15801562000709573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200072f919062001b4b565b90506200074b336009546001600160a01b03169030876200106e565b60095460405163095ea7b360e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81166004830152602482018790529091169063095ea7b3906044016020604051808303815f875af1158015620007bc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620007e2919062001b63565b50604051629d473b60e21b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316906302751cec906200083a9030908890889088903390429060040162001b84565b60408051808303815f875af115801562000856573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200087c919062001bbf565b50506009546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa158015620008c5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620008eb919062001b4b565b1115620009845762000984336009546040516370a0823160e01b815230600482015284916001600160a01b0316906370a0823190602401602060405180830381865afa1580156200093e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000964919062001b4b565b62000970919062001be2565b6009546001600160a01b03169190620010e1565b50506009805460ff60a81b1916600160a81b1790555050565b6009805460ff60a81b19169055348215801590620009ba57505f81115b620009f25760405162461bcd60e51b81526020600482015260076024820152664c5046554e445360c81b6044820152606401620004d6565b305f908152602081905260408120549062000a0e834762001be2565b905062000a1d33308762000e95565b62000a4a307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8762000d6e565b6001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663f305d7198430886103e862000a8b8a8262001be2565b62000a97908c62001bf8565b62000aa3919062001c12565b6103e862000ab28b8262001be2565b62000abe908b62001bf8565b62000aca919062001c12565b33426040518863ffffffff1660e01b815260040162000aef9695949392919062001b84565b60606040518083038185885af115801562000b0c573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019062000b33919062001c32565b5050305f90815260208190526040902054839150111562000b775762000b773033305f90815260208190526040902054859062000b71919062001be2565b62000e95565b8047111562000c0f575f3362000b8e834762001be2565b6040515f81818185875af1925050503d805f811462000bc9576040519150601f19603f3d011682016040523d82523d5f602084013e62000bce565b606091505b505090508062000c0d5760405162461bcd60e51b815260206004820152600960248201526811551214915195539160ba1b6044820152606401620004d6565b505b50506009805460ff60a81b1916600160a81b179055505050565b606060048054620003e69062001a63565b5f338162000c49828662000cd4565b90508381101562000cab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401620004d6565b62000cba828686840362000d6e565b506001949350505050565b5f336200047c81858562000e95565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6006546001600160a01b0316336001600160a01b03161462000d4c5760405162461bcd60e51b8152600401620004d690602080825260049082015263082aaa8960e31b604082015260600190565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03831662000dd25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620004d6565b6001600160a01b03821662000e355760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620004d6565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6009545f906001600160a01b03858116911614801562000ee757507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316836001600160a01b031614155b6009549091506001600160a01b0380821690851614905f90600160a81b900460ff16156200103257305f9081526020819052604081205490505f620186a062000f2f60025490565b62000f3c90600562001bf8565b62000f48919062001c12565b600954909150600160a01b900460ff1615801562000f7457506009546001600160a01b03898116911614155b801562000f815750808210155b1562000fdb576009805460ff60a01b1916600160a01b17905562000fcd62000fab82600a62001bf8565b83101562000fba578162001118565b62000fc782600a62001bf8565b62001118565b6009805460ff60a01b191690555b600954600160a01b900460ff1615801562000ffb5750848062000ffb5750835b156200102f5762989680620010148762022af562001bf8565b62001020919062001c12565b92506200102f8830856200127a565b50505b6200104a868662001044848862001be2565b6200127a565b505050505050565b5f33620010618582856200142a565b62000cba85858562000e95565b6040516001600160a01b0380851660248301528316604482015260648101829052620010db9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152620014a3565b50505050565b6040516001600160a01b0383166024820152604481018290526200111390849063a9059cbb60e01b90606401620010a3565b505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106200114e576200114e62001c5e565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110620011a557620011a562001c5e565b60200260200101906001600160a01b031690816001600160a01b031681525050620011f2307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8462000d6e565b60065460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263791ac947926200124f9287925f9288929190911690429060040162001c72565b5f604051808303815f87803b15801562001267575f80fd5b505af11580156200104a573d5f803e3d5ffd5b6001600160a01b038316620012e05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401620004d6565b6001600160a01b038216620013445760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401620004d6565b6001600160a01b0383165f9081526020819052604090205481811015620013bd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401620004d6565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3620010db8484846200157d565b5f62001437848462000cd4565b90505f198114620010db5781811015620014945760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401620004d6565b620010db848484840362000d6e565b5f620014f9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620016939092919063ffffffff16565b905080515f14806200151c5750808060200190518101906200151c919062001b63565b620011135760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401620004d6565b6001600160a01b0383165f9081526008602052604090205460ff1662001604576005546040516329cc05cf60e01b81526001600160a01b0385811660048301526024820184905260016044830152909116906329cc05cf906064015f604051808303815f87803b158015620015f0575f80fd5b505af192505050801562001602575060015b505b6001600160a01b0382165f9081526008602052604090205460ff1662001113576005546040516329cc05cf60e01b81526001600160a01b038481166004830152602482018490525f6044830152909116906329cc05cf906064015f604051808303815f87803b15801562001676575f80fd5b505af192505050801562001688575060015b156200111357505050565b6060620005bd84845f85855f80866001600160a01b03168587604051620016bb919062001ce3565b5f6040518083038185875af1925050503d805f8114620016f7576040519150601f19603f3d011682016040523d82523d5f602084013e620016fc565b606091505b50915091506200170f878383876200171c565b925050505b949350505050565b606083156200178f5782515f0362001787576001600160a01b0385163b620017875760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620004d6565b508162001714565b620017148383815115620017a65781518083602001fd5b8060405162461bcd60e51b8152600401620004d6919062001821565b611d6b8062001d0183390190565b5f5b83811015620017ec578181015183820152602001620017d2565b50505f910152565b5f81518084526200180d816020860160208601620017d0565b601f01601f19169290920160200192915050565b602081525f620005c06020830184620017f4565b80356001600160a01b03811681146200184c575f80fd5b919050565b5f806040838503121562001863575f80fd5b6200186e8362001835565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112620018a0575f80fd5b813567ffffffffffffffff80821115620018be57620018be6200187c565b604051601f8301601f19908116603f01168101908282118183101715620018e957620018e96200187c565b8160405283815286602085880101111562001902575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f806040838503121562001933575f80fd5b823567ffffffffffffffff808211156200194b575f80fd5b620019598683870162001890565b935060208501359150808211156200196f575f80fd5b506200197e8582860162001890565b9150509250929050565b5f805f606084860312156200199b575f80fd5b620019a68462001835565b9250620019b66020850162001835565b9150604084013590509250925092565b5f805f60608486031215620019d9575f80fd5b505081359360208301359350604090920135919050565b5f6020828403121562001a01575f80fd5b620005c08262001835565b5f806040838503121562001a1e575f80fd5b50508035926020909101359150565b5f806040838503121562001a3f575f80fd5b62001a4a8362001835565b915062001a5a6020840162001835565b90509250929050565b600181811c9082168062001a7857607f821691505b60208210810362001a9757634e487b7160e01b5f52602260045260245ffd5b50919050565b606081525f62001ab16060830186620017f4565b828103602084015262001ac58186620017f4565b91505060018060a01b0383166040830152949350505050565b6001600160a01b03841681526060602082018190525f9062001b0390830185620017f4565b828103604084015262001b178185620017f4565b9695505050505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111562000482576200048262001b21565b5f6020828403121562001b5c575f80fd5b5051919050565b5f6020828403121562001b74575f80fd5b81518015158114620005c0575f80fd5b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b5f806040838503121562001bd1575f80fd5b505080516020909101519092909150565b8181038181111562000482576200048262001b21565b808202811582820484141762000482576200048262001b21565b5f8262001c2d57634e487b7160e01b5f52601260045260245ffd5b500490565b5f805f6060848603121562001c45575f80fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101562001cc25784516001600160a01b03168352938301939183019160010162001c9b565b50506001600160a01b03969096166060850152505050608001529392505050565b5f825162001cf6818460208701620017d0565b919091019291505056fe608060405234801562000010575f80fd5b5060405162001d6b38038062001d6b8339810160408190526200003391620001a1565b82826003620000438382620002b4565b506004620000528282620002b4565b5050600580546001600160a01b0319166001600160a01b0384161790555060405130906200008090620000d5565b6001600160a01b039091168152602001604051809103905ff080158015620000aa573d5f803e3d5ffd5b50600680546001600160a01b0319166001600160a01b0392909216919091179055506200037c915050565b610aba80620012b183390190565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000107575f80fd5b81516001600160401b0380821115620001245762000124620000e3565b604051601f8301601f19908116603f011681019082821181831017156200014f576200014f620000e3565b816040528381526020925086838588010111156200016b575f80fd5b5f91505b838210156200018e57858201830151818301840152908201906200016f565b5f93810190920192909252949350505050565b5f805f60608486031215620001b4575f80fd5b83516001600160401b0380821115620001cb575f80fd5b620001d987838801620000f7565b94506020860151915080821115620001ef575f80fd5b50620001fe86828701620000f7565b604086015190935090506001600160a01b03811681146200021d575f80fd5b809150509250925092565b600181811c908216806200023d57607f821691505b6020821081036200025c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620002af575f81815260208120601f850160051c810160208610156200028a5750805b601f850160051c820191505b81811015620002ab5782815560010162000296565b5050505b505050565b81516001600160401b03811115620002d057620002d0620000e3565b620002e881620002e1845462000228565b8462000262565b602080601f8311600181146200031e575f8415620003065750858301515b5f19600386901b1c1916600185901b178555620002ab565b5f85815260208120601f198616915b828110156200034e578886015182559484019460019091019084016200032d565b50858210156200036c57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b610f27806200038a5f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806370a0823111610093578063a457c2d711610063578063a457c2d7146101ff578063a9059cbb14610212578063b6b55f2514610225578063dd62ed3e14610238575f80fd5b806370a082311461019157806395d89b41146101b9578063996c6cc3146101c15780639ec5a894146101ec575f80fd5b806323b872dd116100ce57806323b872dd146101475780632e1a7d4d1461015a578063313ce5671461016f578063395093511461017e575f80fd5b806306fdde03146100f4578063095ea7b31461011257806318160ddd14610135575b5f80fd5b6100fc61024b565b6040516101099190610d73565b60405180910390f35b610125610120366004610dc0565b6102db565b6040519015158152602001610109565b6002545b604051908152602001610109565b610125610155366004610de8565b6102f4565b61016d610168366004610e21565b610317565b005b60405160128152602001610109565b61012561018c366004610dc0565b61033b565b61013961019f366004610e38565b6001600160a01b03165f9081526020819052604090205490565b6100fc61035c565b6005546101d4906001600160a01b031681565b6040516001600160a01b039091168152602001610109565b6006546101d4906001600160a01b031681565b61012561020d366004610dc0565b61036b565b610125610220366004610dc0565b6103ea565b61016d610233366004610e21565b6103f7565b610139610246366004610e58565b610419565b60606003805461025a90610e89565b80601f016020809104026020016040519081016040528092919081815260200182805461028690610e89565b80156102d15780601f106102a8576101008083540402835291602001916102d1565b820191905f5260205f20905b8154815290600101906020018083116102b457829003601f168201915b5050505050905090565b5f336102e8818585610443565b60019150505b92915050565b5f33610301858285610566565b61030c8585856105de565b506001949350505050565b6103213382610786565b610338336005546001600160a01b031690836108c1565b50565b5f336102e881858561034d8383610419565b6103579190610ec1565b610443565b60606004805461025a90610e89565b5f33816103788286610419565b9050838110156103dd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61030c8286868403610443565b5f336102e88185856105de565b6104013382610924565b610338336005546001600160a01b03169030846109ec565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166104a55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103d4565b6001600160a01b0382166105065760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103d4565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6105718484610419565b90505f1981146105d857818110156105cb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103d4565b6105d88484848403610443565b50505050565b6001600160a01b0383166106425760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103d4565b6001600160a01b0382166106a45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103d4565b6001600160a01b0383165f908152602081905260409020548181101561071b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103d4565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36105d8848484610a24565b6001600160a01b0382166107e65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103d4565b6001600160a01b0382165f90815260208190526040902054818110156108595760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103d4565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36108bc835f84610a24565b505050565b6040516001600160a01b0383166024820152604481018290526108bc90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610af4565b6001600160a01b03821661097a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103d4565b8060025f82825461098b9190610ec1565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36109e85f8383610a24565b5050565b6040516001600160a01b03808516602483015283166044820152606481018290526105d89085906323b872dd60e01b906084016108ed565b6006546040516329cc05cf60e01b81526001600160a01b0385811660048301526024820184905260016044830152909116906329cc05cf906064015f604051808303815f87803b158015610a76575f80fd5b505af1925050508015610a87575060015b506006546040516329cc05cf60e01b81526001600160a01b038481166004830152602482018490525f6044830152909116906329cc05cf906064015f604051808303815f87803b158015610ad9575f80fd5b505af1925050508015610aea575060015b156108bc57505050565b5f610b48826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610bc79092919063ffffffff16565b905080515f1480610b68575080806020019051810190610b689190610ee0565b6108bc5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103d4565b6060610bd584845f85610bdd565b949350505050565b606082471015610c3e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103d4565b5f80866001600160a01b03168587604051610c599190610eff565b5f6040518083038185875af1925050503d805f8114610c93576040519150601f19603f3d011682016040523d82523d5f602084013e610c98565b606091505b5091509150610ca987838387610cb4565b979650505050505050565b60608315610d225782515f03610d1b576001600160a01b0385163b610d1b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103d4565b5081610bd5565b610bd58383815115610d375781518083602001fd5b8060405162461bcd60e51b81526004016103d49190610d73565b5f5b83811015610d6b578181015183820152602001610d53565b50505f910152565b602081525f8251806020840152610d91816040850160208701610d51565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610dbb575f80fd5b919050565b5f8060408385031215610dd1575f80fd5b610dda83610da5565b946020939093013593505050565b5f805f60608486031215610dfa575f80fd5b610e0384610da5565b9250610e1160208501610da5565b9150604084013590509250925092565b5f60208284031215610e31575f80fd5b5035919050565b5f60208284031215610e48575f80fd5b610e5182610da5565b9392505050565b5f8060408385031215610e69575f80fd5b610e7283610da5565b9150610e8060208401610da5565b90509250929050565b600181811c90821680610e9d57607f821691505b602082108103610ebb57634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102ee57634e487b7160e01b5f52601160045260245ffd5b5f60208284031215610ef0575f80fd5b81518015158114610e51575f80fd5b5f8251610f10818460208701610d51565b919091019291505056fea164736f6c6343000815000a608060405234801561000f575f80fd5b50604051610aba380380610aba83398101604081905261002e91610052565b5f80546001600160a01b0319166001600160a01b039290921691909117905561007f565b5f60208284031215610062575f80fd5b81516001600160a01b0381168114610078575f80fd5b9392505050565b610a2e8061008c5f395ff3fe60806040526004361061009d575f3560e01c8063b88a802f11610062578063b88a802f14610166578063bde308181461017a578063bff1f9e1146101b0578063ce7c2ac2146101c5578063efca2eed146101f0578063ff50abdc14610205575f80fd5b80630700037d146100b1578063152111f7146100fd57806329cc05cf146101055780633a98ef391461012457806389d9691714610147575f80fd5b366100ad576100ab3461021a565b005b5f80fd5b3480156100bc575f80fd5b506100e36100cb366004610923565b60046020525f90815260409020805460019091015482565b604080519283526020830191909152015b60405180910390f35b6100ab61031e565b348015610110575f80fd5b506100ab61011f366004610943565b610329565b34801561012f575f80fd5b5061013960025481565b6040519081526020016100f4565b348015610152575f80fd5b50610139610161366004610923565b610383565b348015610171575f80fd5b506100ab610406565b348015610185575f80fd5b505f54610198906001600160a01b031681565b6040516001600160a01b0390911681526020016100f4565b3480156101bb575f80fd5b5061013960015481565b3480156101d0575f80fd5b506101396101df366004610923565b60036020525f908152604090205481565b3480156101fb575f80fd5b5061013960065481565b348015610210575f80fd5b5061013960075481565b5f81116102595760405162461bcd60e51b815260206004820152600860248201526704445504f534954360c41b60448201526064015b60405180910390fd5b5f600254116102955760405162461bcd60e51b81526020600482015260086024820152674445504f5349543160c01b6044820152606401610250565b8060075f8282546102a69190610998565b90915550506002546102c7826ec097ce7bc90715b34b9f10000000006109ab565b6102d191906109c2565b60055f8282546102e19190610998565b909155505060405181815233907fb9ad861b752f80117b35bea6dec99933d8a5ae360f2839ee8784b750d56134099060200160405180910390a250565b6103273461021a565b565b5f546001600160a01b0316336001600160a01b0316146103735760405162461bcd60e51b81526020600482015260056024820152642a27a5a2a760d91b6044820152606401610250565b61037e838383610444565b505050565b6001600160a01b0381165f9081526003602052604081205481036103a857505f919050565b6001600160a01b0382165f908152600360205260408120546103c9906104e1565b6001600160a01b0384165f908152600460205260409020549091508082116103f457505f9392505050565b6103fe81836109e1565b949350505050565b61040f33610510565b6040805133815290517f63e32091e4445d16e29c33a6b264577c2d86694021aa4e6f4dd590048f5792e89181900360200190a1565b801561049c5761045483836106d7565b826001600160a01b03167fae0577e1c96b26fbc0b9df702431f5470979d001d24f136eded791b8b6521d6f8360405161048f91815260200190565b60405180910390a2505050565b6104a68383610807565b826001600160a01b03167fba8f3777cf908803bf1f3dd58e7f4b7d3de4dbe3c234c4ccab0975d98f7cd3888360405161048f91815260200190565b5f6ec097ce7bc90715b34b9f10000000006005548361050091906109ab565b61050a91906109c2565b92915050565b6001600160a01b0381165f9081526003602052604081205490036105315750565b5f61053b82610383565b6001600160a01b0383165f9081526004602052604081206001018054929350839290919061056a908490610998565b90915550506001600160a01b0382165f90815260036020526040902054610590906104e1565b6001600160a01b0383165f9081526004602052604090205580156106d3578060065f8282546105bf9190610998565b909155505060405147905f906001600160a01b0385169084908381818185875af1925050503d805f811461060e576040519150601f19603f3d011682016040523d82523d5f602084013e610613565b606091505b505090508061064c5760405162461bcd60e51b8152602060048201526005602482015264044495354360dc1b6044820152606401610250565b61065683836109e1565b47101561068d5760405162461bcd60e51b8152602060048201526005602482015264444953543160d81b6044820152606401610250565b836001600160a01b03167fe8b160e373db99a103e0a2abfa029b9c3fc8b328984a1ead8a65ae68ae646db7846040516106c891815260200190565b60405180910390a250505b5050565b6001600160a01b0382165f908152600360205260409020541580159061071457506001600160a01b0382165f908152600360205260409020548111155b6107495760405162461bcd60e51b815260206004820152600660248201526552454d4f564560d01b6044820152606401610250565b61075282610510565b8060025f82825461076391906109e1565b90915550506001600160a01b0382165f908152600360205260408120805483929061078f9084906109e1565b90915550506001600160a01b0382165f9081526003602052604081205490036107c75760018054905f6107c1836109f4565b91905055505b6001600160a01b0382165f908152600360205260409020546107e8906104e1565b6001600160a01b039092165f9081526004602052604090209190915550565b6001600160a01b0382165f908152600360205260409020541561082d5761082d82610510565b6001600160a01b0382165f908152600360205260408120546002805491928492610858908490610998565b90915550506001600160a01b0383165f9081526003602052604081208054849290610884908490610998565b9091555050801580156108ad57506001600160a01b0383165f9081526003602052604090205415155b156108c75760018054905f6108c183610a09565b91905055505b6001600160a01b0383165f908152600360205260409020546108e8906104e1565b6001600160a01b039093165f908152600460205260409020929092555050565b80356001600160a01b038116811461091e575f80fd5b919050565b5f60208284031215610933575f80fd5b61093c82610908565b9392505050565b5f805f60608486031215610955575f80fd5b61095e84610908565b92506020840135915060408401358015158114610979575f80fd5b809150509250925092565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561050a5761050a610984565b808202811582820484141761050a5761050a610984565b5f826109dc57634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111561050a5761050a610984565b5f81610a0257610a02610984565b505f190190565b5f60018201610a1a57610a1a610984565b506001019056fea164736f6c6343000815000aa164736f6c6343000815000a

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

000000000000000000000000eaa446e0bae02b681e8d50f4b420650da499e60b0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f984

-----Decoded View---------------
Arg [0] : _multisig (address): 0xEAa446e0BAE02B681e8D50f4b420650Da499E60B
Arg [1] : _v2Router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [2] : _v3Factory (address): 0x1F98431c8aD98523631AE4a59f267346ea31F984

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000eaa446e0bae02b681e8d50f4b420650da499e60b
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [2] : 0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f984


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.