ETH Price: $3,318.57 (+1.47%)
Gas: 10 Gwei

Token

PEPAY (PEPAY)
 

Overview

Max Total Supply

9,542.880195641425765308 PEPAY

Holders

49

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000000000000031737 PEPAY

Value
$0.00
0xd033fd803fd4ce0afd4c42307aee0d7982f74933
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:
PEPAY

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 2 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 3 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 4 of 13 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

File 5 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 6 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 7 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 8 of 13 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (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. Compatible with tokens that require the approval to be set to
     * 0 before setting it to a non-zero value.
     */
    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 9 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 10 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 11 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 12 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 13 of 13 : JayDeriv.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.16;

import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import {IERC20, SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

contract PEPAY is ERC20Burnable, Ownable, ReentrancyGuard {
    using SafeERC20 for IERC20;

    IERC721 public JAYNFT;

    IERC20 public immutable backingToken;

    address payable private FEE_ADDRESS;

    uint256 private constant MIN = 1000;

    uint256 public MAX = 1 * 10 ** 28;

    uint16 public SELL_FEE = 9000;
    uint16 public BUY_FEE = 9000;
    uint16 private constant FEE_BASE_1000 = 10000;

    uint16 private constant FEES = 25;

    bool public start;

    uint128 private constant ETHinWEI = 1 * 10 ** 18;

    event Price(uint256 recieved, uint256 sent);
    event MaxUpdated(uint256 max);
    event SellFeeUpdated(uint256 sellFee);
    event buyFeeUpdated(uint256 buyFee);

    constructor(uint256 value, address _backingToken) ERC20("PEPAY", "PEPAY") {
        backingToken = IERC20(_backingToken);
         _mint(msg.sender, value);
    }

    function setJAYNFT(address _nft) external onlyOwner{
        JAYNFT = IERC721(_nft);
    }
    
    function init(uint256 value) external onlyOwner {
        require(!start);
        backingToken.safeTransferFrom(msg.sender, address(this), value);
        transfer(0x000000000000000000000000000000000000dEaD, 1000);
    }

    function setStart() external onlyOwner {    
        start = true;
    }

    //Will be set to 100m eth value after 1 hr
    function setMax(uint256 _max) external onlyOwner {
        MAX = _max;
        emit MaxUpdated(_max);
    }

    // Sell Jay
    function sellNftDiscount(uint256 jay) external nonReentrant {
        require(jay > 0, "must trade over 0");
        uint256 discount = JAYNFT.balanceOf(msg.sender) * 3; 
        if(discount > 300) discount = 300; 
        // Total Eth to be sent
        uint256 eth = JAYtoETH(jay);

        // Burn of JAY
        _burn(msg.sender, jay);

        // Payment to sender
        backingToken.safeTransfer(msg.sender, (eth * (SELL_FEE + discount)) / FEE_BASE_1000);
        // Team fee
        backingToken.safeTransfer(FEE_ADDRESS, eth / FEES);

        emit Price(jay, eth);
    }
    function buyNftDiscount(address reciever, uint256 amount) external nonReentrant {
        require(start);
        require(amount > MIN && amount < MAX, "must trade over min");
        uint256 discount = JAYNFT.balanceOf(msg.sender) * 3; 
        if(discount > 300) discount = 300; 

        // Mint Jay to sender

         uint256 jay = ETHtoJAY(amount);
        _mint(reciever, (jay * (BUY_FEE + discount)) / FEE_BASE_1000);

        backingToken.safeTransferFrom(msg.sender, address(this), amount);
        // Team fee
        backingToken.safeTransfer(FEE_ADDRESS, amount / FEES);

        emit Price(jay, amount);
    }
    function sell(uint256 jay) external nonReentrant {
        // Total Eth to be sent
        require(jay > 0, "must trade over 0");
        uint256 eth = JAYtoETH(jay);

        // Burn of JAY
        _burn(msg.sender, jay);

        // Payment to sender
        backingToken.safeTransfer(msg.sender, (eth * SELL_FEE) / FEE_BASE_1000);
        // Team fee
        backingToken.safeTransfer(FEE_ADDRESS, eth / FEES);

        emit Price(jay, eth);
    }

    // Buy Jay
    function buy(address reciever, uint256 amount) external nonReentrant {
        require(start, "contract not initiated");
        require(amount > MIN, "must trade over min");


        // Mint Jay to sender
        uint256 jay = ETHtoJAY(amount);
        _mint(reciever, (jay * BUY_FEE) / FEE_BASE_1000);

        backingToken.safeTransferFrom(msg.sender, address(this), amount);
        // Team fee
        backingToken.safeTransfer(FEE_ADDRESS, amount / FEES);

        emit Price(jay, amount);
    }

    function JAYtoETH(uint256 value) public view returns (uint256) {
        return (value * backingToken.balanceOf(address(this))) / totalSupply();
    }

    function ETHtoJAY(uint256 value) public view returns (uint256) {
        return (value * totalSupply()) / backingToken.balanceOf(address(this));
    }

    function setFeeAddress(address _address) external onlyOwner {
        require(_address != address(0x0), "cannot set to 0x0 address");
        FEE_ADDRESS = payable(_address);
    }

    function setSellFee(uint16 amount) external onlyOwner {
        require(amount <= 9290, "cant set less than 3% fee");
        require(amount > SELL_FEE, "cant increase sell fee");
        SELL_FEE = amount;
        emit SellFeeUpdated(amount);
    }

    function setBuyFee(uint16 amount) external onlyOwner {
        require(amount <= 9290 && amount >= 9000, "cant set less than 3% fee or greater than 5%");
        BUY_FEE = amount;
        emit buyFeeUpdated(amount);
    }

    //utils
    function getBuyJay(uint256 amount) external view returns (uint256) {
        return
            (amount * (totalSupply()) * (BUY_FEE)) /
            (backingToken.balanceOf(address(this))) /
            (FEE_BASE_1000);
    }

    function getSellJay(uint256 amount) external view returns (uint256) {
        return
            ((amount * backingToken.balanceOf(address(this))) * (SELL_FEE)) /
            (totalSupply()) /
            (FEE_BASE_1000);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"address","name":"_backingToken","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":"uint256","name":"max","type":"uint256"}],"name":"MaxUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"recieved","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sent","type":"uint256"}],"name":"Price","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"sellFee","type":"uint256"}],"name":"SellFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"buyFee","type":"uint256"}],"name":"buyFeeUpdated","type":"event"},{"inputs":[],"name":"BUY_FEE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"ETHtoJAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"JAYNFT","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"JAYtoETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SELL_FEE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"backingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"reciever","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"reciever","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyNftDiscount","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":"uint256","name":"amount","type":"uint256"}],"name":"getBuyJay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getSellJay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"jay","type":"uint256"}],"name":"sell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"jay","type":"uint256"}],"name":"sellNftDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nft","type":"address"}],"name":"setJAYNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526b204fce5e3e25026110000000600955612328600a60006101000a81548161ffff021916908361ffff160217905550612328600a60026101000a81548161ffff021916908361ffff1602179055503480156200005f57600080fd5b50604051620045af380380620045af833981810160405281019062000085919062000477565b6040518060400160405280600581526020017f50455041590000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f504550415900000000000000000000000000000000000000000000000000000081525081600390816200010291906200072e565b5080600490816200011491906200072e565b505050620001376200012b6200018d60201b60201c565b6200019560201b60201c565b60016006819055508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250506200018533836200025b60201b60201c565b505062000930565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620002cd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002c49062000876565b60405180910390fd5b620002e160008383620003c860201b60201c565b8060026000828254620002f59190620008c7565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620003a8919062000913565b60405180910390a3620003c460008383620003cd60201b60201c565b5050565b505050565b505050565b600080fd5b6000819050919050565b620003ec81620003d7565b8114620003f857600080fd5b50565b6000815190506200040c81620003e1565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200043f8262000412565b9050919050565b620004518162000432565b81146200045d57600080fd5b50565b600081519050620004718162000446565b92915050565b60008060408385031215620004915762000490620003d2565b5b6000620004a185828601620003fb565b9250506020620004b48582860162000460565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200054057607f821691505b602082108103620005565762000555620004f8565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005c07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000581565b620005cc868362000581565b95508019841693508086168417925050509392505050565b6000819050919050565b60006200060f620006096200060384620003d7565b620005e4565b620003d7565b9050919050565b6000819050919050565b6200062b83620005ee565b620006436200063a8262000616565b8484546200058e565b825550505050565b600090565b6200065a6200064b565b6200066781848462000620565b505050565b5b818110156200068f576200068360008262000650565b6001810190506200066d565b5050565b601f821115620006de57620006a8816200055c565b620006b38462000571565b81016020851015620006c3578190505b620006db620006d28562000571565b8301826200066c565b50505b505050565b600082821c905092915050565b60006200070360001984600802620006e3565b1980831691505092915050565b60006200071e8383620006f0565b9150826002028217905092915050565b6200073982620004be565b67ffffffffffffffff811115620007555762000754620004c9565b5b62000761825462000527565b6200076e82828562000693565b600060209050601f831160018114620007a6576000841562000791578287015190505b6200079d858262000710565b8655506200080d565b601f198416620007b6866200055c565b60005b82811015620007e057848901518255600182019150602085019450602081019050620007b9565b86831015620008005784890151620007fc601f891682620006f0565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006200085e601f8362000815565b91506200086b8262000826565b602082019050919050565b6000602082019050818103600083015262000891816200084f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620008d482620003d7565b9150620008e183620003d7565b9250828201905080821115620008fc57620008fb62000898565b5b92915050565b6200090d81620003d7565b82525050565b60006020820190506200092a600083018462000902565b92915050565b608051613c08620009a7600039600081816107c601528181610a1c01528181610b9e01528181610c1b01528181610de3015281816111060152818161125a015281816112d8015281816114f00152818161156e0152818161181b01528181611898015281816119ce0152611a960152613c086000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80637478b32511610130578063cce7ec13116100b8578063e4849b321161007c578063e4849b3214610650578063f2fde38b1461066c578063f417841714610688578063f5755747146106a6578063fea449f7146106d657610227565b8063cce7ec13146105ae578063d49d5181146105ca578063dada0a87146105e8578063dd62ed3e14610604578063e064648a1461063457610227565b806395d89b41116100ff57806395d89b41146104f6578063a457c2d714610514578063a9059cbb14610544578063b7b0422d14610574578063be9a65551461059057610227565b80637478b3251461047057806379cc6790146104a05780638705fcd4146104bc5780638da5cb5b146104d857610227565b806339509351116101b357806347e621b71161018257806347e621b7146103e0578063636d13ce146103fe57806370a082311461041a57806370c476711461044a578063715018a61461046657610227565b8063395093511461035a57806342966c681461038a5780634773a6a9146103a6578063477e7b9d146103c457610227565b80631fe9eabc116101fa5780631fe9eabc146102c857806323b872dd146102e457806327b9bb9c14610314578063313ce5671461033257806335975a371461035057610227565b806306fdde031461022c578063095ea7b31461024a5780630f0266f51461027a57806318160ddd146102aa575b600080fd5b610234610706565b604051610241919061291b565b60405180910390f35b610264600480360381019061025f91906129d6565b610798565b6040516102719190612a31565b60405180910390f35b610294600480360381019061028f9190612a4c565b6107bb565b6040516102a19190612a88565b60405180910390f35b6102b26108ab565b6040516102bf9190612a88565b60405180910390f35b6102e260048036038101906102dd9190612a4c565b6108b5565b005b6102fe60048036038101906102f99190612aa3565b6108fe565b60405161030b9190612a31565b60405180910390f35b61031c61092d565b6040516103299190612b13565b60405180910390f35b61033a610941565b6040516103479190612b4a565b60405180910390f35b61035861094a565b005b610374600480360381019061036f91906129d6565b61096f565b6040516103819190612a31565b60405180910390f35b6103a4600480360381019061039f9190612a4c565b6109a6565b005b6103ae6109ba565b6040516103bb9190612b13565b60405180910390f35b6103de60048036038101906103d99190612b65565b6109ce565b005b6103e8610a1a565b6040516103f59190612bf1565b60405180910390f35b61041860048036038101906104139190612a4c565b610a3e565b005b610434600480360381019061042f9190612b65565b610ca5565b6040516104419190612a88565b60405180910390f35b610464600480360381019061045f9190612c38565b610ced565b005b61046e610da7565b005b61048a60048036038101906104859190612a4c565b610dbb565b6040516104979190612a88565b60405180910390f35b6104ba60048036038101906104b591906129d6565b610eab565b005b6104d660048036038101906104d19190612b65565b610ecb565b005b6104e0610f86565b6040516104ed9190612c74565b60405180910390f35b6104fe610fb0565b60405161050b919061291b565b60405180910390f35b61052e600480360381019061052991906129d6565b611042565b60405161053b9190612a31565b60405180910390f35b61055e600480360381019061055991906129d6565b6110b9565b60405161056b9190612a31565b60405180910390f35b61058e60048036038101906105899190612a4c565b6110dc565b005b61059861115d565b6040516105a59190612a31565b60405180910390f35b6105c860048036038101906105c391906129d6565b611170565b005b6105d2611362565b6040516105df9190612a88565b60405180910390f35b61060260048036038101906105fd91906129d6565b611368565b005b61061e60048036038101906106199190612c8f565b6115f9565b60405161062b9190612a88565b60405180910390f35b61064e60048036038101906106499190612c38565b611680565b005b61066a60048036038101906106659190612a4c565b611782565b005b61068660048036038101906106819190612b65565b611921565b005b6106906119a4565b60405161069d9190612cf0565b60405180910390f35b6106c060048036038101906106bb9190612a4c565b6119ca565b6040516106cd9190612a88565b60405180910390f35b6106f060048036038101906106eb9190612a4c565b611a8a565b6040516106fd9190612a88565b60405180910390f35b60606003805461071590612d3a565b80601f016020809104026020016040519081016040528092919081815260200182805461074190612d3a565b801561078e5780601f106107635761010080835404028352916020019161078e565b820191906000526020600020905b81548152906001019060200180831161077157829003601f168201915b5050505050905090565b6000806107a3611b4a565b90506107b0818585611b52565b600191505092915050565b600061271061ffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161081d9190612c74565b602060405180830381865afa15801561083a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085e9190612d80565b600a60029054906101000a900461ffff1661ffff1661087b6108ab565b856108869190612ddc565b6108909190612ddc565b61089a9190612e65565b6108a49190612e65565b9050919050565b6000600254905090565b6108bd611d1b565b806009819055507f772ff6e3371c3a674ced69185fcffe1c41e3e910595f1f186268b6bf79cfb7f7816040516108f39190612a88565b60405180910390a150565b600080610909611b4a565b9050610916858285611d99565b610921858585611e25565b60019150509392505050565b600a60029054906101000a900461ffff1681565b60006012905090565b610952611d1b565b6001600a60046101000a81548160ff021916908315150217905550565b60008061097a611b4a565b905061099b81858561098c85896115f9565b6109969190612e96565b611b52565b600191505092915050565b6109b76109b1611b4a565b8261209b565b50565b600a60009054906101000a900461ffff1681565b6109d6611d1b565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610a46612268565b60008111610a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8090612f16565b60405180910390fd5b60006003600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610ae89190612c74565b602060405180830381865afa158015610b05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b299190612d80565b610b339190612ddc565b905061012c811115610b455761012c90505b6000610b5083611a8a565b9050610b5c338461209b565b610be23361271061ffff1684600a60009054906101000a900461ffff1661ffff16610b879190612e96565b84610b929190612ddc565b610b9c9190612e65565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166122b79092919063ffffffff16565b610c5f600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601961ffff1683610c199190612e65565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166122b79092919063ffffffff16565b7fd1353c68e79ef70de84ee90d2facf845ec24895116d4a03505aa41785af71f5a8382604051610c90929190612f36565b60405180910390a15050610ca261233d565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610cf5611d1b565b61244a8161ffff1611158015610d1157506123288161ffff1610155b610d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4790612fd1565b60405180910390fd5b80600a60026101000a81548161ffff021916908361ffff1602179055507f11953a0453d6e2e337ab856b9de1f4818ffa2a51f3a9c12f924e2a043ae37f6d81604051610d9c9190613022565b60405180910390a150565b610daf611d1b565b610db96000612347565b565b600061271061ffff16610dcc6108ab565b600a60009054906101000a900461ffff1661ffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e3a9190612c74565b602060405180830381865afa158015610e57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7b9190612d80565b85610e869190612ddc565b610e909190612ddc565b610e9a9190612e65565b610ea49190612e65565b9050919050565b610ebd82610eb7611b4a565b83611d99565b610ec7828261209b565b5050565b610ed3611d1b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990613089565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610fbf90612d3a565b80601f0160208091040260200160405190810160405280929190818152602001828054610feb90612d3a565b80156110385780601f1061100d57610100808354040283529160200191611038565b820191906000526020600020905b81548152906001019060200180831161101b57829003601f168201915b5050505050905090565b60008061104d611b4a565b9050600061105b82866115f9565b9050838110156110a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110979061311b565b60405180910390fd5b6110ad8286868403611b52565b60019250505092915050565b6000806110c4611b4a565b90506110d1818585611e25565b600191505092915050565b6110e4611d1b565b600a60049054906101000a900460ff16156110fe57600080fd5b61114b3330837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661240d909392919063ffffffff16565b61115961dead6103e86110b9565b5050565b600a60049054906101000a900460ff1681565b611178612268565b600a60049054906101000a900460ff166111c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111be90613187565b60405180910390fd5b6103e8811161120b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611202906131f3565b60405180910390fd5b6000611216826119ca565b90506112528361271061ffff16600a60029054906101000a900461ffff1661ffff16846112439190612ddc565b61124d9190612e65565b612496565b61129f3330847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661240d909392919063ffffffff16565b61131c600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601961ffff16846112d69190612e65565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166122b79092919063ffffffff16565b7fd1353c68e79ef70de84ee90d2facf845ec24895116d4a03505aa41785af71f5a818360405161134d929190612f36565b60405180910390a15061135e61233d565b5050565b60095481565b611370612268565b600a60049054906101000a900460ff1661138957600080fd5b6103e88111801561139b575060095481105b6113da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d1906131f3565b60405180910390fd5b60006003600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016114399190612c74565b602060405180830381865afa158015611456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147a9190612d80565b6114849190612ddc565b905061012c8111156114965761012c90505b60006114a1836119ca565b90506114e88461271061ffff1684600a60029054906101000a900461ffff1661ffff166114ce9190612e96565b846114d99190612ddc565b6114e39190612e65565b612496565b6115353330857f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661240d909392919063ffffffff16565b6115b2600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601961ffff168561156c9190612e65565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166122b79092919063ffffffff16565b7fd1353c68e79ef70de84ee90d2facf845ec24895116d4a03505aa41785af71f5a81846040516115e3929190612f36565b60405180910390a150506115f561233d565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611688611d1b565b61244a8161ffff1611156116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c89061325f565b60405180910390fd5b600a60009054906101000a900461ffff1661ffff168161ffff161161172b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611722906132cb565b60405180910390fd5b80600a60006101000a81548161ffff021916908361ffff1602179055507f495ee53ee22006979ebc689a00ed737d7c13b6419142f82dcaea4ed95ac1e780816040516117779190613022565b60405180910390a150565b61178a612268565b600081116117cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c490612f16565b60405180910390fd5b60006117d882611a8a565b90506117e4338361209b565b61185f3361271061ffff16600a60009054906101000a900461ffff1661ffff168461180f9190612ddc565b6118199190612e65565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166122b79092919063ffffffff16565b6118dc600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601961ffff16836118969190612e65565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166122b79092919063ffffffff16565b7fd1353c68e79ef70de84ee90d2facf845ec24895116d4a03505aa41785af71f5a828260405161190d929190612f36565b60405180910390a15061191e61233d565b50565b611929611d1b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198f9061335d565b60405180910390fd5b6119a181612347565b50565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611a259190612c74565b602060405180830381865afa158015611a42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a669190612d80565b611a6e6108ab565b83611a799190612ddc565b611a839190612e65565b9050919050565b6000611a946108ab565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611aed9190612c74565b602060405180830381865afa158015611b0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2e9190612d80565b83611b399190612ddc565b611b439190612e65565b9050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb8906133ef565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2790613481565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611d0e9190612a88565b60405180910390a3505050565b611d23611b4a565b73ffffffffffffffffffffffffffffffffffffffff16611d41610f86565b73ffffffffffffffffffffffffffffffffffffffff1614611d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8e906134ed565b60405180910390fd5b565b6000611da584846115f9565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611e1f5781811015611e11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0890613559565b60405180910390fd5b611e1e8484848403611b52565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8b906135eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efa9061367d565b60405180910390fd5b611f0e8383836125ec565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8b9061370f565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120829190612a88565b60405180910390a36120958484846125f1565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361210a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612101906137a1565b60405180910390fd5b612116826000836125ec565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561219c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219390613833565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161224f9190612a88565b60405180910390a3612263836000846125f1565b505050565b6002600654036122ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a49061389f565b60405180910390fd5b6002600681905550565b6123388363a9059cbb60e01b84846040516024016122d69291906138bf565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506125f6565b505050565b6001600681905550565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612490846323b872dd60e01b85858560405160240161242e939291906138e8565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506125f6565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612505576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fc9061396b565b60405180910390fd5b612511600083836125ec565b80600260008282546125239190612e96565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516125d49190612a88565b60405180910390a36125e8600083836125f1565b5050565b505050565b505050565b6000612658826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166126be9092919063ffffffff16565b905060008151148061267a57508080602001905181019061267991906139b7565b5b6126b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b090613a56565b60405180910390fd5b505050565b60606126cd84846000856126d6565b90509392505050565b60608247101561271b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271290613ae8565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516127449190613b4f565b60006040518083038185875af1925050503d8060008114612781576040519150601f19603f3d011682016040523d82523d6000602084013e612786565b606091505b5091509150612797878383876127a3565b92505050949350505050565b606083156128055760008351036127fd576127bd85612818565b6127fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f390613bb2565b60405180910390fd5b5b829050612810565b61280f838361283b565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008251111561284e5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612882919061291b565b60405180910390fd5b600081519050919050565b600082825260208201905092915050565b60005b838110156128c55780820151818401526020810190506128aa565b60008484015250505050565b6000601f19601f8301169050919050565b60006128ed8261288b565b6128f78185612896565b93506129078185602086016128a7565b612910816128d1565b840191505092915050565b6000602082019050818103600083015261293581846128e2565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061296d82612942565b9050919050565b61297d81612962565b811461298857600080fd5b50565b60008135905061299a81612974565b92915050565b6000819050919050565b6129b3816129a0565b81146129be57600080fd5b50565b6000813590506129d0816129aa565b92915050565b600080604083850312156129ed576129ec61293d565b5b60006129fb8582860161298b565b9250506020612a0c858286016129c1565b9150509250929050565b60008115159050919050565b612a2b81612a16565b82525050565b6000602082019050612a466000830184612a22565b92915050565b600060208284031215612a6257612a6161293d565b5b6000612a70848285016129c1565b91505092915050565b612a82816129a0565b82525050565b6000602082019050612a9d6000830184612a79565b92915050565b600080600060608486031215612abc57612abb61293d565b5b6000612aca8682870161298b565b9350506020612adb8682870161298b565b9250506040612aec868287016129c1565b9150509250925092565b600061ffff82169050919050565b612b0d81612af6565b82525050565b6000602082019050612b286000830184612b04565b92915050565b600060ff82169050919050565b612b4481612b2e565b82525050565b6000602082019050612b5f6000830184612b3b565b92915050565b600060208284031215612b7b57612b7a61293d565b5b6000612b898482850161298b565b91505092915050565b6000819050919050565b6000612bb7612bb2612bad84612942565b612b92565b612942565b9050919050565b6000612bc982612b9c565b9050919050565b6000612bdb82612bbe565b9050919050565b612beb81612bd0565b82525050565b6000602082019050612c066000830184612be2565b92915050565b612c1581612af6565b8114612c2057600080fd5b50565b600081359050612c3281612c0c565b92915050565b600060208284031215612c4e57612c4d61293d565b5b6000612c5c84828501612c23565b91505092915050565b612c6e81612962565b82525050565b6000602082019050612c896000830184612c65565b92915050565b60008060408385031215612ca657612ca561293d565b5b6000612cb48582860161298b565b9250506020612cc58582860161298b565b9150509250929050565b6000612cda82612bbe565b9050919050565b612cea81612ccf565b82525050565b6000602082019050612d056000830184612ce1565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d5257607f821691505b602082108103612d6557612d64612d0b565b5b50919050565b600081519050612d7a816129aa565b92915050565b600060208284031215612d9657612d9561293d565b5b6000612da484828501612d6b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612de7826129a0565b9150612df2836129a0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e2b57612e2a612dad565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612e70826129a0565b9150612e7b836129a0565b925082612e8b57612e8a612e36565b5b828204905092915050565b6000612ea1826129a0565b9150612eac836129a0565b9250828201905080821115612ec457612ec3612dad565b5b92915050565b7f6d757374207472616465206f7665722030000000000000000000000000000000600082015250565b6000612f00601183612896565b9150612f0b82612eca565b602082019050919050565b60006020820190508181036000830152612f2f81612ef3565b9050919050565b6000604082019050612f4b6000830185612a79565b612f586020830184612a79565b9392505050565b7f63616e7420736574206c657373207468616e20332520666565206f722067726560008201527f61746572207468616e2035250000000000000000000000000000000000000000602082015250565b6000612fbb602c83612896565b9150612fc682612f5f565b604082019050919050565b60006020820190508181036000830152612fea81612fae565b9050919050565b600061300c61300761300284612af6565b612b92565b6129a0565b9050919050565b61301c81612ff1565b82525050565b60006020820190506130376000830184613013565b92915050565b7f63616e6e6f742073657420746f20307830206164647265737300000000000000600082015250565b6000613073601983612896565b915061307e8261303d565b602082019050919050565b600060208201905081810360008301526130a281613066565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613105602583612896565b9150613110826130a9565b604082019050919050565b60006020820190508181036000830152613134816130f8565b9050919050565b7f636f6e7472616374206e6f7420696e6974696174656400000000000000000000600082015250565b6000613171601683612896565b915061317c8261313b565b602082019050919050565b600060208201905081810360008301526131a081613164565b9050919050565b7f6d757374207472616465206f766572206d696e00000000000000000000000000600082015250565b60006131dd601383612896565b91506131e8826131a7565b602082019050919050565b6000602082019050818103600083015261320c816131d0565b9050919050565b7f63616e7420736574206c657373207468616e2033252066656500000000000000600082015250565b6000613249601983612896565b915061325482613213565b602082019050919050565b600060208201905081810360008301526132788161323c565b9050919050565b7f63616e7420696e6372656173652073656c6c2066656500000000000000000000600082015250565b60006132b5601683612896565b91506132c08261327f565b602082019050919050565b600060208201905081810360008301526132e4816132a8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613347602683612896565b9150613352826132eb565b604082019050919050565b600060208201905081810360008301526133768161333a565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006133d9602483612896565b91506133e48261337d565b604082019050919050565b60006020820190508181036000830152613408816133cc565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061346b602283612896565b91506134768261340f565b604082019050919050565b6000602082019050818103600083015261349a8161345e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134d7602083612896565b91506134e2826134a1565b602082019050919050565b60006020820190508181036000830152613506816134ca565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613543601d83612896565b915061354e8261350d565b602082019050919050565b6000602082019050818103600083015261357281613536565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006135d5602583612896565b91506135e082613579565b604082019050919050565b60006020820190508181036000830152613604816135c8565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613667602383612896565b91506136728261360b565b604082019050919050565b600060208201905081810360008301526136968161365a565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006136f9602683612896565b91506137048261369d565b604082019050919050565b60006020820190508181036000830152613728816136ec565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061378b602183612896565b91506137968261372f565b604082019050919050565b600060208201905081810360008301526137ba8161377e565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061381d602283612896565b9150613828826137c1565b604082019050919050565b6000602082019050818103600083015261384c81613810565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613889601f83612896565b915061389482613853565b602082019050919050565b600060208201905081810360008301526138b88161387c565b9050919050565b60006040820190506138d46000830185612c65565b6138e16020830184612a79565b9392505050565b60006060820190506138fd6000830186612c65565b61390a6020830185612c65565b6139176040830184612a79565b949350505050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000613955601f83612896565b91506139608261391f565b602082019050919050565b6000602082019050818103600083015261398481613948565b9050919050565b61399481612a16565b811461399f57600080fd5b50565b6000815190506139b18161398b565b92915050565b6000602082840312156139cd576139cc61293d565b5b60006139db848285016139a2565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000613a40602a83612896565b9150613a4b826139e4565b604082019050919050565b60006020820190508181036000830152613a6f81613a33565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000613ad2602683612896565b9150613add82613a76565b604082019050919050565b60006020820190508181036000830152613b0181613ac5565b9050919050565b600081519050919050565b600081905092915050565b6000613b2982613b08565b613b338185613b13565b9350613b438185602086016128a7565b80840191505092915050565b6000613b5b8284613b1e565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000613b9c601d83612896565b9150613ba782613b66565b602082019050919050565b60006020820190508181036000830152613bcb81613b8f565b905091905056fea2646970667358221220c44d946a4645e8507ec2dc616525161965e4a98ba85cfae67496aa9fb9fc101264736f6c6343000810003300000000000000000000000000000000000000000000003635c9adc5dea000000000000000000000000000006982508145454ce325ddbe47a25d4ec3d2311933

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102275760003560e01c80637478b32511610130578063cce7ec13116100b8578063e4849b321161007c578063e4849b3214610650578063f2fde38b1461066c578063f417841714610688578063f5755747146106a6578063fea449f7146106d657610227565b8063cce7ec13146105ae578063d49d5181146105ca578063dada0a87146105e8578063dd62ed3e14610604578063e064648a1461063457610227565b806395d89b41116100ff57806395d89b41146104f6578063a457c2d714610514578063a9059cbb14610544578063b7b0422d14610574578063be9a65551461059057610227565b80637478b3251461047057806379cc6790146104a05780638705fcd4146104bc5780638da5cb5b146104d857610227565b806339509351116101b357806347e621b71161018257806347e621b7146103e0578063636d13ce146103fe57806370a082311461041a57806370c476711461044a578063715018a61461046657610227565b8063395093511461035a57806342966c681461038a5780634773a6a9146103a6578063477e7b9d146103c457610227565b80631fe9eabc116101fa5780631fe9eabc146102c857806323b872dd146102e457806327b9bb9c14610314578063313ce5671461033257806335975a371461035057610227565b806306fdde031461022c578063095ea7b31461024a5780630f0266f51461027a57806318160ddd146102aa575b600080fd5b610234610706565b604051610241919061291b565b60405180910390f35b610264600480360381019061025f91906129d6565b610798565b6040516102719190612a31565b60405180910390f35b610294600480360381019061028f9190612a4c565b6107bb565b6040516102a19190612a88565b60405180910390f35b6102b26108ab565b6040516102bf9190612a88565b60405180910390f35b6102e260048036038101906102dd9190612a4c565b6108b5565b005b6102fe60048036038101906102f99190612aa3565b6108fe565b60405161030b9190612a31565b60405180910390f35b61031c61092d565b6040516103299190612b13565b60405180910390f35b61033a610941565b6040516103479190612b4a565b60405180910390f35b61035861094a565b005b610374600480360381019061036f91906129d6565b61096f565b6040516103819190612a31565b60405180910390f35b6103a4600480360381019061039f9190612a4c565b6109a6565b005b6103ae6109ba565b6040516103bb9190612b13565b60405180910390f35b6103de60048036038101906103d99190612b65565b6109ce565b005b6103e8610a1a565b6040516103f59190612bf1565b60405180910390f35b61041860048036038101906104139190612a4c565b610a3e565b005b610434600480360381019061042f9190612b65565b610ca5565b6040516104419190612a88565b60405180910390f35b610464600480360381019061045f9190612c38565b610ced565b005b61046e610da7565b005b61048a60048036038101906104859190612a4c565b610dbb565b6040516104979190612a88565b60405180910390f35b6104ba60048036038101906104b591906129d6565b610eab565b005b6104d660048036038101906104d19190612b65565b610ecb565b005b6104e0610f86565b6040516104ed9190612c74565b60405180910390f35b6104fe610fb0565b60405161050b919061291b565b60405180910390f35b61052e600480360381019061052991906129d6565b611042565b60405161053b9190612a31565b60405180910390f35b61055e600480360381019061055991906129d6565b6110b9565b60405161056b9190612a31565b60405180910390f35b61058e60048036038101906105899190612a4c565b6110dc565b005b61059861115d565b6040516105a59190612a31565b60405180910390f35b6105c860048036038101906105c391906129d6565b611170565b005b6105d2611362565b6040516105df9190612a88565b60405180910390f35b61060260048036038101906105fd91906129d6565b611368565b005b61061e60048036038101906106199190612c8f565b6115f9565b60405161062b9190612a88565b60405180910390f35b61064e60048036038101906106499190612c38565b611680565b005b61066a60048036038101906106659190612a4c565b611782565b005b61068660048036038101906106819190612b65565b611921565b005b6106906119a4565b60405161069d9190612cf0565b60405180910390f35b6106c060048036038101906106bb9190612a4c565b6119ca565b6040516106cd9190612a88565b60405180910390f35b6106f060048036038101906106eb9190612a4c565b611a8a565b6040516106fd9190612a88565b60405180910390f35b60606003805461071590612d3a565b80601f016020809104026020016040519081016040528092919081815260200182805461074190612d3a565b801561078e5780601f106107635761010080835404028352916020019161078e565b820191906000526020600020905b81548152906001019060200180831161077157829003601f168201915b5050505050905090565b6000806107a3611b4a565b90506107b0818585611b52565b600191505092915050565b600061271061ffff167f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161081d9190612c74565b602060405180830381865afa15801561083a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085e9190612d80565b600a60029054906101000a900461ffff1661ffff1661087b6108ab565b856108869190612ddc565b6108909190612ddc565b61089a9190612e65565b6108a49190612e65565b9050919050565b6000600254905090565b6108bd611d1b565b806009819055507f772ff6e3371c3a674ced69185fcffe1c41e3e910595f1f186268b6bf79cfb7f7816040516108f39190612a88565b60405180910390a150565b600080610909611b4a565b9050610916858285611d99565b610921858585611e25565b60019150509392505050565b600a60029054906101000a900461ffff1681565b60006012905090565b610952611d1b565b6001600a60046101000a81548160ff021916908315150217905550565b60008061097a611b4a565b905061099b81858561098c85896115f9565b6109969190612e96565b611b52565b600191505092915050565b6109b76109b1611b4a565b8261209b565b50565b600a60009054906101000a900461ffff1681565b6109d6611d1b565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193381565b610a46612268565b60008111610a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8090612f16565b60405180910390fd5b60006003600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610ae89190612c74565b602060405180830381865afa158015610b05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b299190612d80565b610b339190612ddc565b905061012c811115610b455761012c90505b6000610b5083611a8a565b9050610b5c338461209b565b610be23361271061ffff1684600a60009054906101000a900461ffff1661ffff16610b879190612e96565b84610b929190612ddc565b610b9c9190612e65565b7f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193373ffffffffffffffffffffffffffffffffffffffff166122b79092919063ffffffff16565b610c5f600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601961ffff1683610c199190612e65565b7f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193373ffffffffffffffffffffffffffffffffffffffff166122b79092919063ffffffff16565b7fd1353c68e79ef70de84ee90d2facf845ec24895116d4a03505aa41785af71f5a8382604051610c90929190612f36565b60405180910390a15050610ca261233d565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610cf5611d1b565b61244a8161ffff1611158015610d1157506123288161ffff1610155b610d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4790612fd1565b60405180910390fd5b80600a60026101000a81548161ffff021916908361ffff1602179055507f11953a0453d6e2e337ab856b9de1f4818ffa2a51f3a9c12f924e2a043ae37f6d81604051610d9c9190613022565b60405180910390a150565b610daf611d1b565b610db96000612347565b565b600061271061ffff16610dcc6108ab565b600a60009054906101000a900461ffff1661ffff167f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e3a9190612c74565b602060405180830381865afa158015610e57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7b9190612d80565b85610e869190612ddc565b610e909190612ddc565b610e9a9190612e65565b610ea49190612e65565b9050919050565b610ebd82610eb7611b4a565b83611d99565b610ec7828261209b565b5050565b610ed3611d1b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990613089565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610fbf90612d3a565b80601f0160208091040260200160405190810160405280929190818152602001828054610feb90612d3a565b80156110385780601f1061100d57610100808354040283529160200191611038565b820191906000526020600020905b81548152906001019060200180831161101b57829003601f168201915b5050505050905090565b60008061104d611b4a565b9050600061105b82866115f9565b9050838110156110a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110979061311b565b60405180910390fd5b6110ad8286868403611b52565b60019250505092915050565b6000806110c4611b4a565b90506110d1818585611e25565b600191505092915050565b6110e4611d1b565b600a60049054906101000a900460ff16156110fe57600080fd5b61114b3330837f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193373ffffffffffffffffffffffffffffffffffffffff1661240d909392919063ffffffff16565b61115961dead6103e86110b9565b5050565b600a60049054906101000a900460ff1681565b611178612268565b600a60049054906101000a900460ff166111c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111be90613187565b60405180910390fd5b6103e8811161120b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611202906131f3565b60405180910390fd5b6000611216826119ca565b90506112528361271061ffff16600a60029054906101000a900461ffff1661ffff16846112439190612ddc565b61124d9190612e65565b612496565b61129f3330847f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193373ffffffffffffffffffffffffffffffffffffffff1661240d909392919063ffffffff16565b61131c600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601961ffff16846112d69190612e65565b7f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193373ffffffffffffffffffffffffffffffffffffffff166122b79092919063ffffffff16565b7fd1353c68e79ef70de84ee90d2facf845ec24895116d4a03505aa41785af71f5a818360405161134d929190612f36565b60405180910390a15061135e61233d565b5050565b60095481565b611370612268565b600a60049054906101000a900460ff1661138957600080fd5b6103e88111801561139b575060095481105b6113da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d1906131f3565b60405180910390fd5b60006003600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016114399190612c74565b602060405180830381865afa158015611456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147a9190612d80565b6114849190612ddc565b905061012c8111156114965761012c90505b60006114a1836119ca565b90506114e88461271061ffff1684600a60029054906101000a900461ffff1661ffff166114ce9190612e96565b846114d99190612ddc565b6114e39190612e65565b612496565b6115353330857f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193373ffffffffffffffffffffffffffffffffffffffff1661240d909392919063ffffffff16565b6115b2600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601961ffff168561156c9190612e65565b7f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193373ffffffffffffffffffffffffffffffffffffffff166122b79092919063ffffffff16565b7fd1353c68e79ef70de84ee90d2facf845ec24895116d4a03505aa41785af71f5a81846040516115e3929190612f36565b60405180910390a150506115f561233d565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611688611d1b565b61244a8161ffff1611156116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c89061325f565b60405180910390fd5b600a60009054906101000a900461ffff1661ffff168161ffff161161172b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611722906132cb565b60405180910390fd5b80600a60006101000a81548161ffff021916908361ffff1602179055507f495ee53ee22006979ebc689a00ed737d7c13b6419142f82dcaea4ed95ac1e780816040516117779190613022565b60405180910390a150565b61178a612268565b600081116117cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c490612f16565b60405180910390fd5b60006117d882611a8a565b90506117e4338361209b565b61185f3361271061ffff16600a60009054906101000a900461ffff1661ffff168461180f9190612ddc565b6118199190612e65565b7f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193373ffffffffffffffffffffffffffffffffffffffff166122b79092919063ffffffff16565b6118dc600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601961ffff16836118969190612e65565b7f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193373ffffffffffffffffffffffffffffffffffffffff166122b79092919063ffffffff16565b7fd1353c68e79ef70de84ee90d2facf845ec24895116d4a03505aa41785af71f5a828260405161190d929190612f36565b60405180910390a15061191e61233d565b50565b611929611d1b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198f9061335d565b60405180910390fd5b6119a181612347565b50565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611a259190612c74565b602060405180830381865afa158015611a42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a669190612d80565b611a6e6108ab565b83611a799190612ddc565b611a839190612e65565b9050919050565b6000611a946108ab565b7f0000000000000000000000006982508145454ce325ddbe47a25d4ec3d231193373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611aed9190612c74565b602060405180830381865afa158015611b0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2e9190612d80565b83611b399190612ddc565b611b439190612e65565b9050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb8906133ef565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2790613481565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611d0e9190612a88565b60405180910390a3505050565b611d23611b4a565b73ffffffffffffffffffffffffffffffffffffffff16611d41610f86565b73ffffffffffffffffffffffffffffffffffffffff1614611d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8e906134ed565b60405180910390fd5b565b6000611da584846115f9565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611e1f5781811015611e11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0890613559565b60405180910390fd5b611e1e8484848403611b52565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611e94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8b906135eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efa9061367d565b60405180910390fd5b611f0e8383836125ec565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8b9061370f565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120829190612a88565b60405180910390a36120958484846125f1565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361210a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612101906137a1565b60405180910390fd5b612116826000836125ec565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561219c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219390613833565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161224f9190612a88565b60405180910390a3612263836000846125f1565b505050565b6002600654036122ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a49061389f565b60405180910390fd5b6002600681905550565b6123388363a9059cbb60e01b84846040516024016122d69291906138bf565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506125f6565b505050565b6001600681905550565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612490846323b872dd60e01b85858560405160240161242e939291906138e8565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506125f6565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612505576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fc9061396b565b60405180910390fd5b612511600083836125ec565b80600260008282546125239190612e96565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516125d49190612a88565b60405180910390a36125e8600083836125f1565b5050565b505050565b505050565b6000612658826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166126be9092919063ffffffff16565b905060008151148061267a57508080602001905181019061267991906139b7565b5b6126b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b090613a56565b60405180910390fd5b505050565b60606126cd84846000856126d6565b90509392505050565b60608247101561271b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271290613ae8565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516127449190613b4f565b60006040518083038185875af1925050503d8060008114612781576040519150601f19603f3d011682016040523d82523d6000602084013e612786565b606091505b5091509150612797878383876127a3565b92505050949350505050565b606083156128055760008351036127fd576127bd85612818565b6127fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f390613bb2565b60405180910390fd5b5b829050612810565b61280f838361283b565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008251111561284e5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612882919061291b565b60405180910390fd5b600081519050919050565b600082825260208201905092915050565b60005b838110156128c55780820151818401526020810190506128aa565b60008484015250505050565b6000601f19601f8301169050919050565b60006128ed8261288b565b6128f78185612896565b93506129078185602086016128a7565b612910816128d1565b840191505092915050565b6000602082019050818103600083015261293581846128e2565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061296d82612942565b9050919050565b61297d81612962565b811461298857600080fd5b50565b60008135905061299a81612974565b92915050565b6000819050919050565b6129b3816129a0565b81146129be57600080fd5b50565b6000813590506129d0816129aa565b92915050565b600080604083850312156129ed576129ec61293d565b5b60006129fb8582860161298b565b9250506020612a0c858286016129c1565b9150509250929050565b60008115159050919050565b612a2b81612a16565b82525050565b6000602082019050612a466000830184612a22565b92915050565b600060208284031215612a6257612a6161293d565b5b6000612a70848285016129c1565b91505092915050565b612a82816129a0565b82525050565b6000602082019050612a9d6000830184612a79565b92915050565b600080600060608486031215612abc57612abb61293d565b5b6000612aca8682870161298b565b9350506020612adb8682870161298b565b9250506040612aec868287016129c1565b9150509250925092565b600061ffff82169050919050565b612b0d81612af6565b82525050565b6000602082019050612b286000830184612b04565b92915050565b600060ff82169050919050565b612b4481612b2e565b82525050565b6000602082019050612b5f6000830184612b3b565b92915050565b600060208284031215612b7b57612b7a61293d565b5b6000612b898482850161298b565b91505092915050565b6000819050919050565b6000612bb7612bb2612bad84612942565b612b92565b612942565b9050919050565b6000612bc982612b9c565b9050919050565b6000612bdb82612bbe565b9050919050565b612beb81612bd0565b82525050565b6000602082019050612c066000830184612be2565b92915050565b612c1581612af6565b8114612c2057600080fd5b50565b600081359050612c3281612c0c565b92915050565b600060208284031215612c4e57612c4d61293d565b5b6000612c5c84828501612c23565b91505092915050565b612c6e81612962565b82525050565b6000602082019050612c896000830184612c65565b92915050565b60008060408385031215612ca657612ca561293d565b5b6000612cb48582860161298b565b9250506020612cc58582860161298b565b9150509250929050565b6000612cda82612bbe565b9050919050565b612cea81612ccf565b82525050565b6000602082019050612d056000830184612ce1565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d5257607f821691505b602082108103612d6557612d64612d0b565b5b50919050565b600081519050612d7a816129aa565b92915050565b600060208284031215612d9657612d9561293d565b5b6000612da484828501612d6b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612de7826129a0565b9150612df2836129a0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e2b57612e2a612dad565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612e70826129a0565b9150612e7b836129a0565b925082612e8b57612e8a612e36565b5b828204905092915050565b6000612ea1826129a0565b9150612eac836129a0565b9250828201905080821115612ec457612ec3612dad565b5b92915050565b7f6d757374207472616465206f7665722030000000000000000000000000000000600082015250565b6000612f00601183612896565b9150612f0b82612eca565b602082019050919050565b60006020820190508181036000830152612f2f81612ef3565b9050919050565b6000604082019050612f4b6000830185612a79565b612f586020830184612a79565b9392505050565b7f63616e7420736574206c657373207468616e20332520666565206f722067726560008201527f61746572207468616e2035250000000000000000000000000000000000000000602082015250565b6000612fbb602c83612896565b9150612fc682612f5f565b604082019050919050565b60006020820190508181036000830152612fea81612fae565b9050919050565b600061300c61300761300284612af6565b612b92565b6129a0565b9050919050565b61301c81612ff1565b82525050565b60006020820190506130376000830184613013565b92915050565b7f63616e6e6f742073657420746f20307830206164647265737300000000000000600082015250565b6000613073601983612896565b915061307e8261303d565b602082019050919050565b600060208201905081810360008301526130a281613066565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613105602583612896565b9150613110826130a9565b604082019050919050565b60006020820190508181036000830152613134816130f8565b9050919050565b7f636f6e7472616374206e6f7420696e6974696174656400000000000000000000600082015250565b6000613171601683612896565b915061317c8261313b565b602082019050919050565b600060208201905081810360008301526131a081613164565b9050919050565b7f6d757374207472616465206f766572206d696e00000000000000000000000000600082015250565b60006131dd601383612896565b91506131e8826131a7565b602082019050919050565b6000602082019050818103600083015261320c816131d0565b9050919050565b7f63616e7420736574206c657373207468616e2033252066656500000000000000600082015250565b6000613249601983612896565b915061325482613213565b602082019050919050565b600060208201905081810360008301526132788161323c565b9050919050565b7f63616e7420696e6372656173652073656c6c2066656500000000000000000000600082015250565b60006132b5601683612896565b91506132c08261327f565b602082019050919050565b600060208201905081810360008301526132e4816132a8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613347602683612896565b9150613352826132eb565b604082019050919050565b600060208201905081810360008301526133768161333a565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006133d9602483612896565b91506133e48261337d565b604082019050919050565b60006020820190508181036000830152613408816133cc565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061346b602283612896565b91506134768261340f565b604082019050919050565b6000602082019050818103600083015261349a8161345e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134d7602083612896565b91506134e2826134a1565b602082019050919050565b60006020820190508181036000830152613506816134ca565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613543601d83612896565b915061354e8261350d565b602082019050919050565b6000602082019050818103600083015261357281613536565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006135d5602583612896565b91506135e082613579565b604082019050919050565b60006020820190508181036000830152613604816135c8565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613667602383612896565b91506136728261360b565b604082019050919050565b600060208201905081810360008301526136968161365a565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006136f9602683612896565b91506137048261369d565b604082019050919050565b60006020820190508181036000830152613728816136ec565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061378b602183612896565b91506137968261372f565b604082019050919050565b600060208201905081810360008301526137ba8161377e565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061381d602283612896565b9150613828826137c1565b604082019050919050565b6000602082019050818103600083015261384c81613810565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613889601f83612896565b915061389482613853565b602082019050919050565b600060208201905081810360008301526138b88161387c565b9050919050565b60006040820190506138d46000830185612c65565b6138e16020830184612a79565b9392505050565b60006060820190506138fd6000830186612c65565b61390a6020830185612c65565b6139176040830184612a79565b949350505050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000613955601f83612896565b91506139608261391f565b602082019050919050565b6000602082019050818103600083015261398481613948565b9050919050565b61399481612a16565b811461399f57600080fd5b50565b6000815190506139b18161398b565b92915050565b6000602082840312156139cd576139cc61293d565b5b60006139db848285016139a2565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000613a40602a83612896565b9150613a4b826139e4565b604082019050919050565b60006020820190508181036000830152613a6f81613a33565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000613ad2602683612896565b9150613add82613a76565b604082019050919050565b60006020820190508181036000830152613b0181613ac5565b9050919050565b600081519050919050565b600081905092915050565b6000613b2982613b08565b613b338185613b13565b9350613b438185602086016128a7565b80840191505092915050565b6000613b5b8284613b1e565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000613b9c601d83612896565b9150613ba782613b66565b602082019050919050565b60006020820190508181036000830152613bcb81613b8f565b905091905056fea2646970667358221220c44d946a4645e8507ec2dc616525161965e4a98ba85cfae67496aa9fb9fc101264736f6c63430008100033

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

00000000000000000000000000000000000000000000003635c9adc5dea000000000000000000000000000006982508145454ce325ddbe47a25d4ec3d2311933

-----Decoded View---------------
Arg [0] : value (uint256): 1000000000000000000000
Arg [1] : _backingToken (address): 0x6982508145454Ce325dDbE47a25d4ec3d2311933

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000003635c9adc5dea00000
Arg [1] : 0000000000000000000000006982508145454ce325ddbe47a25d4ec3d2311933


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.