ETH Price: $3,400.96 (+1.84%)

Token

Boba (BOBA)
 

Overview

Max Total Supply

1,000,782.98047453703703688 BOBA

Holders

133

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
monashitstain.eth
Balance
9,991.809722222222222222 BOBA

Value
$0.00
0x12d964f702db7b301765c0066a04ec4fbdb59e3a
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:
Boba

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Boba.sol
// SPDX-License-Identifier: Unlicense

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

error Boba_FunctionLocked();
error Boba_InvalidTokenAmount();
error Boba_SenderNotTokenOwner();
error Boba_TokenNotStranded();

/**
 *                                         ..',;;::::;;,'..
 *                                   .':oxkOOOOOkkkkkkOOOOOkxl:'.
 *                               .,lxO0kxdddddxxxxxxxxxxdddddxk0Oxl,.
 *                             ,oO0kdoodkOOOkxollcccclloxkO0Okdoodk0Oo,.
 *                          .ckKkolokKKxl;..              ..,cdO0kolokKOc.
 *                        .l0KdclkXMMWKkxol:,..                .'lOKklcdK0l.
 *                       :OKd:l0WMMMMMMMMMMMWNKko:'..              ,dK0l:dK0:
 *                     .dXk::OWMMMMMMMMMMMMMMMMMMMNX0d:.             .dKOc:kXx.
 *                    ,OXo,oNMMMMMMMMMMMMMMMMMMMMMMMMMWKx;.            ,kXd,lKO,
 *                   ;0Kc,kWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0l.           .oXk,cK0;
 *                  ,0K:'kWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKo.           lXO,:K0,
 *                 .kNl.dWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKl.         .oNx.lNk.
 *                 lNk.:XMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWO,         .kNc.xNl
 *                .OX:.kMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXl.        :XO.:XO.
 *                :XO.,KMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNd.       .OX;.OX:
 *                lNx.:NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWx.      .xNc.dNl
 *                oWo.cNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWd.     .xNl.oWo
 *                oWd.:XMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNl     .kNc.dWo
 *                cNk.'0MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMK;    '0K,.kNc
 *                ,KK,.dWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWx.   lNx.,KK,
 *                .dNo.,0MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMX:  ,0K;.oNd.
 *                 ,KK; cXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWd..kXl.,KK,
 *                  cXO..lNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM0lkXo..kXl
 *                  .oXk..cXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNXl..xXo.
 *                   .oXO' ;OWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0; 'kXo.
 *                     cK0:..lKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXo..:0Kc
 *                      'kXx' .oKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKo' .dXO,
 *                       .:OKd' .:kXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXkc.   .kNk.
 *                         .cOKx:...cx0NWMMMMMMMMMMMMMMMMMMMMWN0xc'       .oX0:
 *                           .;d00d:...':oxOKXNWWWWMWWWNXKOkdol::clodxxkkkkOXMNd.
 *                              .:dO0ko:'.....',;;;;;;:loddxOOOOkxdolc:;;;;;:l0Wd.
 *                                 .'cdkO0Oo.    .;clxO0Oxoc;'..            .l0K:
 *                                      .lXK:.:dO0Okdl;..               .,lk0Ol.
 *                                       :XN00Od:.                 .':ok00kl,.
 *                                       lWNx,.             ..,:ldkOOkdc,.
 *                                       cXKo:;,,,;;;:clodkOOOOkdl:'.
 *                                        ,lxkkOOOkkkxxdoc:;'..
 * @author Augminted Labs, LLC
 */
contract Boba is ERC20, AccessControl, Pausable, ReentrancyGuard {
    event Stake(
        uint256 indexed tokenId,
        address indexed from
    );

    event Unstake(
        uint256 indexed tokenId,
        address indexed to
    );

    IERC721 public immutable ODD;
    uint256 internal immutable ODD_MAX_SUPPLY;
    uint256 public constant MAX_PER_TX = 25;
    uint256 public constant BASE_RATE = 2 ether;
    bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");

    mapping(address => uint256) private _stash;
    mapping(address => uint256) public amountStaked;
    mapping(address => uint256) public lastUpdated;
    mapping(address => uint256) public rateModifier;
    mapping(uint256 => address) public tokenOwners;
    mapping(bytes4 => bool) public functionLocked;

    constructor(
        IERC721 odd,
        uint256 maxSupply
    )
        ERC20("Boba", "BOBA")
    {
        _grantRole(DEFAULT_ADMIN_ROLE, _msgSender());

        ODD = odd;
        ODD_MAX_SUPPLY = maxSupply;

        _pause();
    }

    /**
     * @notice Modifier applied to functions that will be disabled when they're no longer needed
     */
    modifier lockable() {
        if (functionLocked[msg.sig]) revert Boba_FunctionLocked();
        _;
    }

    /**
     * @notice Get the owner of a specified ODD
     * @param tokenId ODD to return the owner of
     * @return address Owner of the specified ODD
     */
    function ownerOf(uint256 tokenId) public view returns (address) {
        return tokenOwners[tokenId];
    }

    /**
     * @notice Get list of ODD tokens by account
     * @param account Address of the ODD owner
     * @return uint256[] The ODD tokens owned by the specified account
     */
    function getAllOwned(address account) public view returns (uint256[] memory) {
        uint256[] memory indexMap = new uint256[](ODD_MAX_SUPPLY);

        uint256 index;
        for (uint256 tokenId; tokenId < ODD_MAX_SUPPLY;) {
            if (tokenOwners[tokenId] == account) {
                indexMap[index] = tokenId;
                unchecked { ++index; }
            }

            unchecked { ++tokenId; }
        }

        uint256[] memory tokenIds = new uint256[](index);
        for (uint256 i; i < index;) {
            tokenIds[i] = indexMap[i];
            unchecked { ++i; }
        }

        return tokenIds;
    }

    /**
     * @notice Get pending $BOBA rewards for a specified account
     * @param account Account to return the pending $BOBA rewards of
     */
    function getPending(address account) public view returns (uint256) {
        return _stash[account] + _getEarned(account);
    }

    /**
     * @notice Get earned $BOBA rewards for a specified account calculated based on their staked ODD tokens
     * @param account Address to return the earned $BOBA rewards of
     * @return uint256 Amount of $BOBA a specified account has earned since last update
     */
    function _getEarned(address account) internal view returns (uint256) {
        unchecked {
            return amountStaked[account]
                * (BASE_RATE + rateModifier[account])
                * (block.timestamp - lastUpdated[account])
                / 1 days;
        }
    }

    /**
     * @notice Move earned $BOBA rewards to account stash and reset the timer
     * @dev This should be called BEFORE any operation that changes values used in `_getEarned(address)`
     * @param account Address to update the rewards of
     */
    function _updateStash(address account) internal {
        _stash[account] += _getEarned(account);
        lastUpdated[account] = block.timestamp;
    }

    /**
     * @notice Update the rate a which an address earns $BOBA rewards
     * @dev This should be called AFTER any operation that change an account's `amountStaked` value
     * @param account Address to update the rate modifier of
     */
    function _updateRateModifier(address account) internal {
        uint256 _rateModifier = rateModifier[account];
        uint256 _amountStaked = amountStaked[account];

        if (_amountStaked < 20 && _rateModifier != 0) rateModifier[account] = 0;
        else if (_amountStaked > 19 && _amountStaked < 51 && _rateModifier != 1 ether) rateModifier[account] = 1 ether;
        else if (_amountStaked > 50 && _rateModifier != 3 ether) rateModifier[account] = 3 ether;
    }

    /**
     * @notice Withdraw available $BOBA
     */
    function withdraw() external whenNotPaused nonReentrant {
        _mint(_msgSender(), getPending(_msgSender()));

        _stash[_msgSender()] = 0;
        lastUpdated[_msgSender()] = block.timestamp;
    }

    /**
     * @notice Stake ODD tokens and start earning $BOBA
     * @param tokenIds ODD tokens to stake
     */
    function stake(uint256[] memory tokenIds) external whenNotPaused nonReentrant {
        if (tokenIds.length == 0 || tokenIds.length > MAX_PER_TX) revert Boba_InvalidTokenAmount();

        _updateStash(_msgSender());

        for (uint256 i; i < tokenIds.length;) {
            uint256 tokenId = tokenIds[i];

            ODD.transferFrom(_msgSender(), address(this), tokenId);
            tokenOwners[tokenId] = _msgSender();

            emit Stake(tokenId, _msgSender());

            unchecked { ++i; }
        }

        unchecked { amountStaked[_msgSender()] += tokenIds.length; }

        _updateRateModifier(_msgSender());
    }

    /**
     * @notice Unstake ODD tokens
     * @param tokenIds ODD tokens to unstake
     */
    function unstake(uint256[] calldata tokenIds) external nonReentrant {
        if (tokenIds.length == 0 || tokenIds.length > MAX_PER_TX) revert Boba_InvalidTokenAmount();

        _updateStash(_msgSender());

        for (uint256 i; i < tokenIds.length;) {
            uint256 tokenId = tokenIds[i];

            if (tokenOwners[tokenId] != _msgSender()) revert Boba_SenderNotTokenOwner();

            ODD.transferFrom(address(this), _msgSender(), tokenId);
            tokenOwners[tokenId] = address(0);

            emit Unstake(tokenId, _msgSender());

            unchecked { ++i; }
        }

        unchecked { amountStaked[_msgSender()] -= tokenIds.length; }

        _updateRateModifier(_msgSender());
    }

    /**
     * @notice Burn a specified amount of $BOBA from a specified address
     * @dev Allows for the contract to be extended with less cost to user, if not needed this function can be locked
     * @param account Address to burn $BOBA from
     * @param amount Amount of $BOBA to burn
     */
    function burn(address account, uint256 amount) external lockable onlyRole(BURNER_ROLE) {
        _burn(account, amount);
    }

    /**
     * @notice Recover a token accidentally transferred directly to the contract
     * @dev Only available for ODD tokens if internal owner mapping was not updated
     * @param to Account to send the token to
     * @param token Contract to recover from
     * @param tokenId Token to recover
     */
    function recoveryTransfer(
        address to,
        IERC721 token,
        uint256 tokenId
    )
        external
        lockable
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        if (token == ODD && tokenOwners[tokenId] != address(0)) revert Boba_TokenNotStranded();

        token.transferFrom(address(this), to, tokenId);
    }

    /**
     * @notice Flip paused state to temporarily disable minting
     */
    function flipPaused() external lockable onlyRole(DEFAULT_ADMIN_ROLE) {
        paused() ? _unpause() : _pause();
    }

    /**
     * @notice Lock individual functions that are no longer needed
     * @dev Only affects functions with the lockable modifier
     * @param id First 4 bytes of the calldata (i.e. function identifier)
     */
    function lockFunction(bytes4 id) external onlyRole(DEFAULT_ADMIN_ROLE) {
        functionLocked[id] = true;
    }
}

File 2 of 13 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * 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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 value {ERC20} uses, unless this function is
     * 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, _allowances[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 = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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;
        }
        _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;
        _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;
        }
        _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 Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * 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 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

File 5 of 13 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 6 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

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

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 8 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 9 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 10 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `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);

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

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

File 13 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC721","name":"odd","type":"address"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"Boba_FunctionLocked","type":"error"},{"inputs":[],"name":"Boba_InvalidTokenAmount","type":"error"},{"inputs":[],"name":"Boba_SenderNotTokenOwner","type":"error"},{"inputs":[],"name":"Boba_TokenNotStranded","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"}],"name":"Stake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Unstake","type":"event"},{"inputs":[],"name":"BASE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ODD","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"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":"","type":"address"}],"name":"amountStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","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":[],"name":"flipPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"name":"functionLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAllOwned","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getPending","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"","type":"address"}],"name":"lastUpdated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"id","type":"bytes4"}],"name":"lockFunction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rateModifier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"contract IERC721","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"recoveryTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenOwners","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b5060405162004b7f38038062004b7f833981810160405281019062000037919062000451565b6040518060400160405280600481526020017f426f6261000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f424f4241000000000000000000000000000000000000000000000000000000008152508160039081620000b4919062000708565b508060049081620000c6919062000708565b5050506000600660006101000a81548160ff0219169083151502179055506001600781905550620001106000801b620001046200016460201b60201c565b6200016c60201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508060a081815250506200015c6200025e60201b60201c565b5050620008a0565b600033905090565b6200017e82826200031660201b60201c565b6200025a5760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001ff6200016460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6200026e6200038160201b60201c565b15620002b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002a89062000850565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620002fd6200016460201b60201c565b6040516200030c919062000883565b60405180910390a1565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600660009054906101000a900460ff16905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003ca826200039d565b9050919050565b6000620003de82620003bd565b9050919050565b620003f081620003d1565b8114620003fc57600080fd5b50565b6000815190506200041081620003e5565b92915050565b6000819050919050565b6200042b8162000416565b81146200043757600080fd5b50565b6000815190506200044b8162000420565b92915050565b600080604083850312156200046b576200046a62000398565b5b60006200047b85828601620003ff565b92505060206200048e858286016200043a565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200051a57607f821691505b60208210810362000530576200052f620004d2565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200059a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200055b565b620005a686836200055b565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620005e9620005e3620005dd8462000416565b620005be565b62000416565b9050919050565b6000819050919050565b6200060583620005c8565b6200061d6200061482620005f0565b84845462000568565b825550505050565b600090565b6200063462000625565b62000641818484620005fa565b505050565b5b8181101562000669576200065d6000826200062a565b60018101905062000647565b5050565b601f821115620006b857620006828162000536565b6200068d846200054b565b810160208510156200069d578190505b620006b5620006ac856200054b565b83018262000646565b50505b505050565b600082821c905092915050565b6000620006dd60001984600802620006bd565b1980831691505092915050565b6000620006f88383620006ca565b9150826002028217905092915050565b620007138262000498565b67ffffffffffffffff8111156200072f576200072e620004a3565b5b6200073b825462000501565b620007488282856200066d565b600060209050601f8311600181146200078057600084156200076b578287015190505b620007778582620006ea565b865550620007e7565b601f198416620007908662000536565b60005b82811015620007ba5784890151825560018201915060208501945060208101905062000793565b86831015620007da5784890151620007d6601f891682620006ca565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600062000838601083620007ef565b9150620008458262000800565b602082019050919050565b600060208201905081810360008301526200086b8162000829565b9050919050565b6200087d81620003bd565b82525050565b60006020820190506200089a600083018462000872565b92915050565b60805160a05161429d620008e26000396000818161137c01526113eb0152600081816108c501528181610a3c015281816111690152611b18015261429d6000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c80635c975abb11610130578063a9059cbb116100b8578063dd62ed3e1161007c578063dd62ed3e146106ed578063e449f3411461071d578063ef40a67014610739578063f43a22dc14610769578063f8a14f461461078757610232565b8063a9059cbb14610611578063b5a698a214610641578063bbadfe7614610671578063d086c254146106a1578063d547741f146106d157610232565b806391d14854116100ff57806391d148541461055957806395d89b41146105895780639dc29fac146105a7578063a217fddf146105c3578063a457c2d7146105e157610232565b80635c975abb146104ab5780636352211e146104c957806370a08231146104f95780637717228a1461052957610232565b8063282c51f3116101be57806336568abe1161018257806336568abe1461041b57806339509351146104375780633ccfd60b1461046757806340ace6d51461047157806341910f901461048d57610232565b8063282c51f31461039d5780632f2ff15d146103bb578063313ce567146103d7578063333171bb146103f557806334531828146103ff57610232565b80630a6f93e6116102055780630a6f93e6146102d35780630fbf0a931461030357806318160ddd1461031f57806323b872dd1461033d578063248a9ca31461036d57610232565b806301ffc9a71461023757806306fdde0314610267578063082a7e6014610285578063095ea7b3146102a3575b600080fd5b610251600480360381019061024c9190612f4e565b6107b7565b60405161025e9190612f96565b60405180910390f35b61026f610831565b60405161027c9190613041565b60405180910390f35b61028d6108c3565b60405161029a91906130e2565b60405180910390f35b6102bd60048036038101906102b89190613171565b6108e7565b6040516102ca9190612f96565b60405180910390f35b6102ed60048036038101906102e891906131b1565b61090a565b6040516102fa91906131ed565b60405180910390f35b61031d60048036038101906103189190613350565b610922565b005b610327610bf1565b60405161033491906131ed565b60405180910390f35b61035760048036038101906103529190613399565b610bfb565b6040516103649190612f96565b60405180910390f35b61038760048036038101906103829190613422565b610c2a565b604051610394919061345e565b60405180910390f35b6103a5610c4a565b6040516103b2919061345e565b60405180910390f35b6103d560048036038101906103d09190613479565b610c6e565b005b6103df610c97565b6040516103ec91906134d5565b60405180910390f35b6103fd610ca0565b005b61041960048036038101906104149190612f4e565b610d93565b005b61043560048036038101906104309190613479565b610e16565b005b610451600480360381019061044c9190613171565b610e99565b60405161045e9190612f96565b60405180910390f35b61046f610f43565b005b61048b6004803603810190610486919061352e565b611099565b005b6104956112ce565b6040516104a291906131ed565b60405180910390f35b6104b36112da565b6040516104c09190612f96565b60405180910390f35b6104e360048036038101906104de9190613581565b6112f1565b6040516104f091906135bd565b60405180910390f35b610513600480360381019061050e91906131b1565b61132e565b60405161052091906131ed565b60405180910390f35b610543600480360381019061053e91906131b1565b611376565b6040516105509190613696565b60405180910390f35b610573600480360381019061056e9190613479565b611553565b6040516105809190612f96565b60405180910390f35b6105916115be565b60405161059e9190613041565b60405180910390f35b6105c160048036038101906105bc9190613171565b611650565b005b6105cb61174a565b6040516105d8919061345e565b60405180910390f35b6105fb60048036038101906105f69190613171565b611751565b6040516106089190612f96565b60405180910390f35b61062b60048036038101906106269190613171565b61183b565b6040516106389190612f96565b60405180910390f35b61065b600480360381019061065691906131b1565b61185e565b60405161066891906131ed565b60405180910390f35b61068b60048036038101906106869190612f4e565b611876565b6040516106989190612f96565b60405180910390f35b6106bb60048036038101906106b691906131b1565b611896565b6040516106c891906131ed565b60405180910390f35b6106eb60048036038101906106e69190613479565b6118f2565b005b610707600480360381019061070291906136b8565b61191b565b60405161071491906131ed565b60405180910390f35b61073760048036038101906107329190613753565b6119a2565b005b610753600480360381019061074e91906131b1565b611cca565b60405161076091906131ed565b60405180910390f35b610771611ce2565b60405161077e91906131ed565b60405180910390f35b6107a1600480360381019061079c9190613581565b611ce7565b6040516107ae91906135bd565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082a575061082982611d1a565b5b9050919050565b606060038054610840906137cf565b80601f016020809104026020016040519081016040528092919081815260200182805461086c906137cf565b80156108b95780601f1061088e576101008083540402835291602001916108b9565b820191906000526020600020905b81548152906001019060200180831161089c57829003601f168201915b5050505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806108f2611d84565b90506108ff818585611d8c565b600191505092915050565b600a6020528060005260406000206000915090505481565b61092a6112da565b1561096a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109619061384c565b60405180910390fd5b6002600754036109af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a6906138b8565b60405180910390fd5b60026007819055506000815114806109c8575060198151115b156109ff576040517fecf084f600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a0f610a0a611d84565b611f55565b60005b8151811015610b80576000828281518110610a3057610a2f6138d8565b5b602002602001015190507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd610a7e611d84565b30846040518463ffffffff1660e01b8152600401610a9e93929190613907565b600060405180830381600087803b158015610ab857600080fd5b505af1158015610acc573d6000803e3d6000fd5b50505050610ad8611d84565b600c600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610b31611d84565b73ffffffffffffffffffffffffffffffffffffffff16817f2bccdce62e5aec7ee273161a374088a6da4311d0e688784bde3c1cec8a3c003a60405160405180910390a381600101915050610a12565b50805160096000610b8f611d84565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550610be6610be1611d84565b611ffa565b600160078190555050565b6000600254905090565b600080610c06611d84565b9050610c138582856121cd565b610c1e858585612259565b60019150509392505050565b600060056000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b610c7782610c2a565b610c8881610c83611d84565b6124d8565b610c928383612575565b505050565b60006012905090565b600d600080357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff1615610d59576040517fdd45d4a700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000801b610d6e81610d69611d84565b6124d8565b610d766112da565b610d8757610d82612656565b610d90565b610d8f6126f9565b5b50565b6000801b610da881610da3611d84565b6124d8565b6001600d6000847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610e1e611d84565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e82906139b0565b60405180910390fd5b610e95828261279b565b5050565b600080610ea4611d84565b9050610f38818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f3391906139ff565b611d8c565b600191505092915050565b610f4b6112da565b15610f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f829061384c565b60405180910390fd5b600260075403610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc7906138b8565b60405180910390fd5b6002600781905550610ff8610fe3611d84565b610ff3610fee611d84565b611896565b61287d565b600060086000611006611d84565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600a6000611051611d84565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600781905550565b600d600080357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff1615611152576040517fdd45d4a700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000801b61116781611162611d84565b6124d8565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480156112225750600073ffffffffffffffffffffffffffffffffffffffff16600c600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15611259576040517f28686cb300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3086856040518463ffffffff1660e01b815260040161129693929190613907565b600060405180830381600087803b1580156112b057600080fd5b505af11580156112c4573d6000803e3d6000fd5b5050505050505050565b671bc16d674ec8000081565b6000600660009054906101000a900460ff16905090565b6000600c600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060007f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff8111156113b4576113b361320d565b5b6040519080825280602002602001820160405280156113e25781602001602082028036833780820191505090505b5090506000805b7f00000000000000000000000000000000000000000000000000000000000000008110156114a9578473ffffffffffffffffffffffffffffffffffffffff16600c600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361149e578083838151811061148b5761148a6138d8565b5b6020026020010181815250508160010191505b8060010190506113e9565b5060008167ffffffffffffffff8111156114c6576114c561320d565b5b6040519080825280602002602001820160405280156114f45781602001602082028036833780820191505090505b50905060005b8281101561154757838181518110611515576115146138d8565b5b60200260200101518282815181106115305761152f6138d8565b5b6020026020010181815250508060010190506114fa565b50809350505050919050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546115cd906137cf565b80601f01602080910402602001604051908101604052809291908181526020018280546115f9906137cf565b80156116465780601f1061161b57610100808354040283529160200191611646565b820191906000526020600020905b81548152906001019060200180831161162957829003601f168201915b5050505050905090565b600d600080357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff1615611709576040517fdd45d4a700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84861173b81611736611d84565b6124d8565b61174583836129dc565b505050565b6000801b81565b60008061175c611d84565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611822576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181990613aa5565b60405180910390fd5b61182f8286868403611d8c565b60019250505092915050565b600080611846611d84565b9050611853818585612259565b600191505092915050565b600b6020528060005260406000206000915090505481565b600d6020528060005260406000206000915054906101000a900460ff1681565b60006118a182612bb2565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118eb91906139ff565b9050919050565b6118fb82610c2a565b61190c81611907611d84565b6124d8565b611916838361279b565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6002600754036119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de906138b8565b60405180910390fd5b60026007819055506000828290501480611a045750601982829050115b15611a3b576040517fecf084f600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a4b611a46611d84565b611f55565b60005b82829050811015611c56576000838383818110611a6e57611a6d6138d8565b5b905060200201359050611a7f611d84565b73ffffffffffffffffffffffffffffffffffffffff16600c600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b16576040517fa2447b7f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd30611b5b611d84565b846040518463ffffffff1660e01b8152600401611b7a93929190613907565b600060405180830381600087803b158015611b9457600080fd5b505af1158015611ba8573d6000803e3d6000fd5b505050506000600c600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611c07611d84565b73ffffffffffffffffffffffffffffffffffffffff16817f4ac743692c9ced0a3f0052fb9917c0856b6b12671016afe41b649643a89b1ad560405160405180910390a381600101915050611a4e565b508181905060096000611c67611d84565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550611cbe611cb9611d84565b611ffa565b60016007819055505050565b60096020528060005260406000206000915090505481565b601981565b600c6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df290613b37565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6190613bc9565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611f4891906131ed565b60405180910390a3505050565b611f5e81612bb2565b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fac91906139ff565b9250508190555042600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601481108015612093575060008214155b156120e2576000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506121c8565b6013811180156120f25750603381105b80156121065750670de0b6b3a76400008214155b1561215c57670de0b6b3a7640000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506121c7565b60328111801561217457506729a2241af62c00008214155b156121c6576729a2241af62c0000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b5b505050565b60006121d9848461191b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146122535781811015612245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223c90613c35565b60405180910390fd5b6122528484848403611d8c565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036122c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bf90613cc7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232e90613d59565b60405180910390fd5b612342838383612c9c565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156123c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bf90613deb565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461245b91906139ff565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516124bf91906131ed565b60405180910390a36124d2848484612ca1565b50505050565b6124e28282611553565b612571576125078173ffffffffffffffffffffffffffffffffffffffff166014612ca6565b6125158360001c6020612ca6565b604051602001612526929190613edf565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125689190613041565b60405180910390fd5b5050565b61257f8282611553565b6126525760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506125f7611d84565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61265e6112da565b1561269e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126959061384c565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126e2611d84565b6040516126ef91906135bd565b60405180910390a1565b6127016112da565b612740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273790613f65565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612784611d84565b60405161279191906135bd565b60405180910390a1565b6127a58282611553565b156128795760006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061281e611d84565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e390613fd1565b60405180910390fd5b6128f860008383612c9c565b806002600082825461290a91906139ff565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461295f91906139ff565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516129c491906131ed565b60405180910390a36129d860008383612ca1565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4290614063565b60405180910390fd5b612a5782600083612c9c565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad4906140f5565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254612b349190614115565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612b9991906131ed565b60405180910390a3612bad83600084612ca1565b505050565b600062015180600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020544203600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054671bc16d674ec8000001600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054020281612c9457612c93614149565b5b049050919050565b505050565b505050565b606060006002836002612cb99190614178565b612cc391906139ff565b67ffffffffffffffff811115612cdc57612cdb61320d565b5b6040519080825280601f01601f191660200182016040528015612d0e5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612d4657612d456138d8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612daa57612da96138d8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612dea9190614178565b612df491906139ff565b90505b6001811115612e94577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612e3657612e356138d8565b5b1a60f81b828281518110612e4d57612e4c6138d8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612e8d906141d2565b9050612df7565b5060008414612ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecf90614247565b60405180910390fd5b8091505092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f2b81612ef6565b8114612f3657600080fd5b50565b600081359050612f4881612f22565b92915050565b600060208284031215612f6457612f63612eec565b5b6000612f7284828501612f39565b91505092915050565b60008115159050919050565b612f9081612f7b565b82525050565b6000602082019050612fab6000830184612f87565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612feb578082015181840152602081019050612fd0565b60008484015250505050565b6000601f19601f8301169050919050565b600061301382612fb1565b61301d8185612fbc565b935061302d818560208601612fcd565b61303681612ff7565b840191505092915050565b6000602082019050818103600083015261305b8184613008565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006130a86130a361309e84613063565b613083565b613063565b9050919050565b60006130ba8261308d565b9050919050565b60006130cc826130af565b9050919050565b6130dc816130c1565b82525050565b60006020820190506130f760008301846130d3565b92915050565b600061310882613063565b9050919050565b613118816130fd565b811461312357600080fd5b50565b6000813590506131358161310f565b92915050565b6000819050919050565b61314e8161313b565b811461315957600080fd5b50565b60008135905061316b81613145565b92915050565b6000806040838503121561318857613187612eec565b5b600061319685828601613126565b92505060206131a78582860161315c565b9150509250929050565b6000602082840312156131c7576131c6612eec565b5b60006131d584828501613126565b91505092915050565b6131e78161313b565b82525050565b600060208201905061320260008301846131de565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61324582612ff7565b810181811067ffffffffffffffff821117156132645761326361320d565b5b80604052505050565b6000613277612ee2565b9050613283828261323c565b919050565b600067ffffffffffffffff8211156132a3576132a261320d565b5b602082029050602081019050919050565b600080fd5b60006132cc6132c784613288565b61326d565b905080838252602082019050602084028301858111156132ef576132ee6132b4565b5b835b818110156133185780613304888261315c565b8452602084019350506020810190506132f1565b5050509392505050565b600082601f83011261333757613336613208565b5b81356133478482602086016132b9565b91505092915050565b60006020828403121561336657613365612eec565b5b600082013567ffffffffffffffff81111561338457613383612ef1565b5b61339084828501613322565b91505092915050565b6000806000606084860312156133b2576133b1612eec565b5b60006133c086828701613126565b93505060206133d186828701613126565b92505060406133e28682870161315c565b9150509250925092565b6000819050919050565b6133ff816133ec565b811461340a57600080fd5b50565b60008135905061341c816133f6565b92915050565b60006020828403121561343857613437612eec565b5b60006134468482850161340d565b91505092915050565b613458816133ec565b82525050565b6000602082019050613473600083018461344f565b92915050565b600080604083850312156134905761348f612eec565b5b600061349e8582860161340d565b92505060206134af85828601613126565b9150509250929050565b600060ff82169050919050565b6134cf816134b9565b82525050565b60006020820190506134ea60008301846134c6565b92915050565b60006134fb826130fd565b9050919050565b61350b816134f0565b811461351657600080fd5b50565b60008135905061352881613502565b92915050565b60008060006060848603121561354757613546612eec565b5b600061355586828701613126565b935050602061356686828701613519565b92505060406135778682870161315c565b9150509250925092565b60006020828403121561359757613596612eec565b5b60006135a58482850161315c565b91505092915050565b6135b7816130fd565b82525050565b60006020820190506135d260008301846135ae565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61360d8161313b565b82525050565b600061361f8383613604565b60208301905092915050565b6000602082019050919050565b6000613643826135d8565b61364d81856135e3565b9350613658836135f4565b8060005b838110156136895781516136708882613613565b975061367b8361362b565b92505060018101905061365c565b5085935050505092915050565b600060208201905081810360008301526136b08184613638565b905092915050565b600080604083850312156136cf576136ce612eec565b5b60006136dd85828601613126565b92505060206136ee85828601613126565b9150509250929050565b600080fd5b60008083601f84011261371357613712613208565b5b8235905067ffffffffffffffff8111156137305761372f6136f8565b5b60208301915083602082028301111561374c5761374b6132b4565b5b9250929050565b6000806020838503121561376a57613769612eec565b5b600083013567ffffffffffffffff81111561378857613787612ef1565b5b613794858286016136fd565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806137e757607f821691505b6020821081036137fa576137f96137a0565b5b50919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613836601083612fbc565b915061384182613800565b602082019050919050565b6000602082019050818103600083015261386581613829565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006138a2601f83612fbc565b91506138ad8261386c565b602082019050919050565b600060208201905081810360008301526138d181613895565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060608201905061391c60008301866135ae565b61392960208301856135ae565b61393660408301846131de565b949350505050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061399a602f83612fbc565b91506139a58261393e565b604082019050919050565b600060208201905081810360008301526139c98161398d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a0a8261313b565b9150613a158361313b565b9250828201905080821115613a2d57613a2c6139d0565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613a8f602583612fbc565b9150613a9a82613a33565b604082019050919050565b60006020820190508181036000830152613abe81613a82565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613b21602483612fbc565b9150613b2c82613ac5565b604082019050919050565b60006020820190508181036000830152613b5081613b14565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bb3602283612fbc565b9150613bbe82613b57565b604082019050919050565b60006020820190508181036000830152613be281613ba6565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613c1f601d83612fbc565b9150613c2a82613be9565b602082019050919050565b60006020820190508181036000830152613c4e81613c12565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613cb1602583612fbc565b9150613cbc82613c55565b604082019050919050565b60006020820190508181036000830152613ce081613ca4565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613d43602383612fbc565b9150613d4e82613ce7565b604082019050919050565b60006020820190508181036000830152613d7281613d36565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000613dd5602683612fbc565b9150613de082613d79565b604082019050919050565b60006020820190508181036000830152613e0481613dc8565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000613e4c601783613e0b565b9150613e5782613e16565b601782019050919050565b6000613e6d82612fb1565b613e778185613e0b565b9350613e87818560208601612fcd565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000613ec9601183613e0b565b9150613ed482613e93565b601182019050919050565b6000613eea82613e3f565b9150613ef68285613e62565b9150613f0182613ebc565b9150613f0d8284613e62565b91508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613f4f601483612fbc565b9150613f5a82613f19565b602082019050919050565b60006020820190508181036000830152613f7e81613f42565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000613fbb601f83612fbc565b9150613fc682613f85565b602082019050919050565b60006020820190508181036000830152613fea81613fae565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061404d602183612fbc565b915061405882613ff1565b604082019050919050565b6000602082019050818103600083015261407c81614040565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006140df602283612fbc565b91506140ea82614083565b604082019050919050565b6000602082019050818103600083015261410e816140d2565b9050919050565b60006141208261313b565b915061412b8361313b565b9250828203905081811115614143576141426139d0565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006141838261313b565b915061418e8361313b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156141c7576141c66139d0565b5b828202905092915050565b60006141dd8261313b565b9150600082036141f0576141ef6139d0565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614231602083612fbc565b915061423c826141fb565b602082019050919050565b6000602082019050818103600083015261426081614224565b905091905056fea2646970667358221220b0d3a77e817019de637254e598b29cba5a6521070bcde34ee74786889d344d9564736f6c63430008100033000000000000000000000000d00b34bab001fd78b93cdc0527a64af95a4792ba0000000000000000000000000000000000000000000000000000000000002710

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102325760003560e01c80635c975abb11610130578063a9059cbb116100b8578063dd62ed3e1161007c578063dd62ed3e146106ed578063e449f3411461071d578063ef40a67014610739578063f43a22dc14610769578063f8a14f461461078757610232565b8063a9059cbb14610611578063b5a698a214610641578063bbadfe7614610671578063d086c254146106a1578063d547741f146106d157610232565b806391d14854116100ff57806391d148541461055957806395d89b41146105895780639dc29fac146105a7578063a217fddf146105c3578063a457c2d7146105e157610232565b80635c975abb146104ab5780636352211e146104c957806370a08231146104f95780637717228a1461052957610232565b8063282c51f3116101be57806336568abe1161018257806336568abe1461041b57806339509351146104375780633ccfd60b1461046757806340ace6d51461047157806341910f901461048d57610232565b8063282c51f31461039d5780632f2ff15d146103bb578063313ce567146103d7578063333171bb146103f557806334531828146103ff57610232565b80630a6f93e6116102055780630a6f93e6146102d35780630fbf0a931461030357806318160ddd1461031f57806323b872dd1461033d578063248a9ca31461036d57610232565b806301ffc9a71461023757806306fdde0314610267578063082a7e6014610285578063095ea7b3146102a3575b600080fd5b610251600480360381019061024c9190612f4e565b6107b7565b60405161025e9190612f96565b60405180910390f35b61026f610831565b60405161027c9190613041565b60405180910390f35b61028d6108c3565b60405161029a91906130e2565b60405180910390f35b6102bd60048036038101906102b89190613171565b6108e7565b6040516102ca9190612f96565b60405180910390f35b6102ed60048036038101906102e891906131b1565b61090a565b6040516102fa91906131ed565b60405180910390f35b61031d60048036038101906103189190613350565b610922565b005b610327610bf1565b60405161033491906131ed565b60405180910390f35b61035760048036038101906103529190613399565b610bfb565b6040516103649190612f96565b60405180910390f35b61038760048036038101906103829190613422565b610c2a565b604051610394919061345e565b60405180910390f35b6103a5610c4a565b6040516103b2919061345e565b60405180910390f35b6103d560048036038101906103d09190613479565b610c6e565b005b6103df610c97565b6040516103ec91906134d5565b60405180910390f35b6103fd610ca0565b005b61041960048036038101906104149190612f4e565b610d93565b005b61043560048036038101906104309190613479565b610e16565b005b610451600480360381019061044c9190613171565b610e99565b60405161045e9190612f96565b60405180910390f35b61046f610f43565b005b61048b6004803603810190610486919061352e565b611099565b005b6104956112ce565b6040516104a291906131ed565b60405180910390f35b6104b36112da565b6040516104c09190612f96565b60405180910390f35b6104e360048036038101906104de9190613581565b6112f1565b6040516104f091906135bd565b60405180910390f35b610513600480360381019061050e91906131b1565b61132e565b60405161052091906131ed565b60405180910390f35b610543600480360381019061053e91906131b1565b611376565b6040516105509190613696565b60405180910390f35b610573600480360381019061056e9190613479565b611553565b6040516105809190612f96565b60405180910390f35b6105916115be565b60405161059e9190613041565b60405180910390f35b6105c160048036038101906105bc9190613171565b611650565b005b6105cb61174a565b6040516105d8919061345e565b60405180910390f35b6105fb60048036038101906105f69190613171565b611751565b6040516106089190612f96565b60405180910390f35b61062b60048036038101906106269190613171565b61183b565b6040516106389190612f96565b60405180910390f35b61065b600480360381019061065691906131b1565b61185e565b60405161066891906131ed565b60405180910390f35b61068b60048036038101906106869190612f4e565b611876565b6040516106989190612f96565b60405180910390f35b6106bb60048036038101906106b691906131b1565b611896565b6040516106c891906131ed565b60405180910390f35b6106eb60048036038101906106e69190613479565b6118f2565b005b610707600480360381019061070291906136b8565b61191b565b60405161071491906131ed565b60405180910390f35b61073760048036038101906107329190613753565b6119a2565b005b610753600480360381019061074e91906131b1565b611cca565b60405161076091906131ed565b60405180910390f35b610771611ce2565b60405161077e91906131ed565b60405180910390f35b6107a1600480360381019061079c9190613581565b611ce7565b6040516107ae91906135bd565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082a575061082982611d1a565b5b9050919050565b606060038054610840906137cf565b80601f016020809104026020016040519081016040528092919081815260200182805461086c906137cf565b80156108b95780601f1061088e576101008083540402835291602001916108b9565b820191906000526020600020905b81548152906001019060200180831161089c57829003601f168201915b5050505050905090565b7f000000000000000000000000d00b34bab001fd78b93cdc0527a64af95a4792ba81565b6000806108f2611d84565b90506108ff818585611d8c565b600191505092915050565b600a6020528060005260406000206000915090505481565b61092a6112da565b1561096a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109619061384c565b60405180910390fd5b6002600754036109af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a6906138b8565b60405180910390fd5b60026007819055506000815114806109c8575060198151115b156109ff576040517fecf084f600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a0f610a0a611d84565b611f55565b60005b8151811015610b80576000828281518110610a3057610a2f6138d8565b5b602002602001015190507f000000000000000000000000d00b34bab001fd78b93cdc0527a64af95a4792ba73ffffffffffffffffffffffffffffffffffffffff166323b872dd610a7e611d84565b30846040518463ffffffff1660e01b8152600401610a9e93929190613907565b600060405180830381600087803b158015610ab857600080fd5b505af1158015610acc573d6000803e3d6000fd5b50505050610ad8611d84565b600c600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610b31611d84565b73ffffffffffffffffffffffffffffffffffffffff16817f2bccdce62e5aec7ee273161a374088a6da4311d0e688784bde3c1cec8a3c003a60405160405180910390a381600101915050610a12565b50805160096000610b8f611d84565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550610be6610be1611d84565b611ffa565b600160078190555050565b6000600254905090565b600080610c06611d84565b9050610c138582856121cd565b610c1e858585612259565b60019150509392505050565b600060056000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b610c7782610c2a565b610c8881610c83611d84565b6124d8565b610c928383612575565b505050565b60006012905090565b600d600080357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff1615610d59576040517fdd45d4a700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000801b610d6e81610d69611d84565b6124d8565b610d766112da565b610d8757610d82612656565b610d90565b610d8f6126f9565b5b50565b6000801b610da881610da3611d84565b6124d8565b6001600d6000847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610e1e611d84565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e82906139b0565b60405180910390fd5b610e95828261279b565b5050565b600080610ea4611d84565b9050610f38818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f3391906139ff565b611d8c565b600191505092915050565b610f4b6112da565b15610f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f829061384c565b60405180910390fd5b600260075403610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc7906138b8565b60405180910390fd5b6002600781905550610ff8610fe3611d84565b610ff3610fee611d84565b611896565b61287d565b600060086000611006611d84565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600a6000611051611d84565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600781905550565b600d600080357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff1615611152576040517fdd45d4a700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000801b61116781611162611d84565b6124d8565b7f000000000000000000000000d00b34bab001fd78b93cdc0527a64af95a4792ba73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480156112225750600073ffffffffffffffffffffffffffffffffffffffff16600c600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15611259576040517f28686cb300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3086856040518463ffffffff1660e01b815260040161129693929190613907565b600060405180830381600087803b1580156112b057600080fd5b505af11580156112c4573d6000803e3d6000fd5b5050505050505050565b671bc16d674ec8000081565b6000600660009054906101000a900460ff16905090565b6000600c600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060007f000000000000000000000000000000000000000000000000000000000000271067ffffffffffffffff8111156113b4576113b361320d565b5b6040519080825280602002602001820160405280156113e25781602001602082028036833780820191505090505b5090506000805b7f00000000000000000000000000000000000000000000000000000000000027108110156114a9578473ffffffffffffffffffffffffffffffffffffffff16600c600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361149e578083838151811061148b5761148a6138d8565b5b6020026020010181815250508160010191505b8060010190506113e9565b5060008167ffffffffffffffff8111156114c6576114c561320d565b5b6040519080825280602002602001820160405280156114f45781602001602082028036833780820191505090505b50905060005b8281101561154757838181518110611515576115146138d8565b5b60200260200101518282815181106115305761152f6138d8565b5b6020026020010181815250508060010190506114fa565b50809350505050919050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546115cd906137cf565b80601f01602080910402602001604051908101604052809291908181526020018280546115f9906137cf565b80156116465780601f1061161b57610100808354040283529160200191611646565b820191906000526020600020905b81548152906001019060200180831161162957829003601f168201915b5050505050905090565b600d600080357fffffffff00000000000000000000000000000000000000000000000000000000167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff1615611709576040517fdd45d4a700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84861173b81611736611d84565b6124d8565b61174583836129dc565b505050565b6000801b81565b60008061175c611d84565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611822576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181990613aa5565b60405180910390fd5b61182f8286868403611d8c565b60019250505092915050565b600080611846611d84565b9050611853818585612259565b600191505092915050565b600b6020528060005260406000206000915090505481565b600d6020528060005260406000206000915054906101000a900460ff1681565b60006118a182612bb2565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118eb91906139ff565b9050919050565b6118fb82610c2a565b61190c81611907611d84565b6124d8565b611916838361279b565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6002600754036119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de906138b8565b60405180910390fd5b60026007819055506000828290501480611a045750601982829050115b15611a3b576040517fecf084f600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a4b611a46611d84565b611f55565b60005b82829050811015611c56576000838383818110611a6e57611a6d6138d8565b5b905060200201359050611a7f611d84565b73ffffffffffffffffffffffffffffffffffffffff16600c600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b16576040517fa2447b7f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000d00b34bab001fd78b93cdc0527a64af95a4792ba73ffffffffffffffffffffffffffffffffffffffff166323b872dd30611b5b611d84565b846040518463ffffffff1660e01b8152600401611b7a93929190613907565b600060405180830381600087803b158015611b9457600080fd5b505af1158015611ba8573d6000803e3d6000fd5b505050506000600c600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611c07611d84565b73ffffffffffffffffffffffffffffffffffffffff16817f4ac743692c9ced0a3f0052fb9917c0856b6b12671016afe41b649643a89b1ad560405160405180910390a381600101915050611a4e565b508181905060096000611c67611d84565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550611cbe611cb9611d84565b611ffa565b60016007819055505050565b60096020528060005260406000206000915090505481565b601981565b600c6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df290613b37565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6190613bc9565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611f4891906131ed565b60405180910390a3505050565b611f5e81612bb2565b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fac91906139ff565b9250508190555042600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601481108015612093575060008214155b156120e2576000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506121c8565b6013811180156120f25750603381105b80156121065750670de0b6b3a76400008214155b1561215c57670de0b6b3a7640000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506121c7565b60328111801561217457506729a2241af62c00008214155b156121c6576729a2241af62c0000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b5b505050565b60006121d9848461191b565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146122535781811015612245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223c90613c35565b60405180910390fd5b6122528484848403611d8c565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036122c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bf90613cc7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232e90613d59565b60405180910390fd5b612342838383612c9c565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156123c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bf90613deb565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461245b91906139ff565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516124bf91906131ed565b60405180910390a36124d2848484612ca1565b50505050565b6124e28282611553565b612571576125078173ffffffffffffffffffffffffffffffffffffffff166014612ca6565b6125158360001c6020612ca6565b604051602001612526929190613edf565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125689190613041565b60405180910390fd5b5050565b61257f8282611553565b6126525760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506125f7611d84565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b61265e6112da565b1561269e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126959061384c565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126e2611d84565b6040516126ef91906135bd565b60405180910390a1565b6127016112da565b612740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273790613f65565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612784611d84565b60405161279191906135bd565b60405180910390a1565b6127a58282611553565b156128795760006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061281e611d84565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e390613fd1565b60405180910390fd5b6128f860008383612c9c565b806002600082825461290a91906139ff565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461295f91906139ff565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516129c491906131ed565b60405180910390a36129d860008383612ca1565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4290614063565b60405180910390fd5b612a5782600083612c9c565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad4906140f5565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254612b349190614115565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612b9991906131ed565b60405180910390a3612bad83600084612ca1565b505050565b600062015180600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020544203600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054671bc16d674ec8000001600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054020281612c9457612c93614149565b5b049050919050565b505050565b505050565b606060006002836002612cb99190614178565b612cc391906139ff565b67ffffffffffffffff811115612cdc57612cdb61320d565b5b6040519080825280601f01601f191660200182016040528015612d0e5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612d4657612d456138d8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612daa57612da96138d8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612dea9190614178565b612df491906139ff565b90505b6001811115612e94577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612e3657612e356138d8565b5b1a60f81b828281518110612e4d57612e4c6138d8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612e8d906141d2565b9050612df7565b5060008414612ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecf90614247565b60405180910390fd5b8091505092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f2b81612ef6565b8114612f3657600080fd5b50565b600081359050612f4881612f22565b92915050565b600060208284031215612f6457612f63612eec565b5b6000612f7284828501612f39565b91505092915050565b60008115159050919050565b612f9081612f7b565b82525050565b6000602082019050612fab6000830184612f87565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612feb578082015181840152602081019050612fd0565b60008484015250505050565b6000601f19601f8301169050919050565b600061301382612fb1565b61301d8185612fbc565b935061302d818560208601612fcd565b61303681612ff7565b840191505092915050565b6000602082019050818103600083015261305b8184613008565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006130a86130a361309e84613063565b613083565b613063565b9050919050565b60006130ba8261308d565b9050919050565b60006130cc826130af565b9050919050565b6130dc816130c1565b82525050565b60006020820190506130f760008301846130d3565b92915050565b600061310882613063565b9050919050565b613118816130fd565b811461312357600080fd5b50565b6000813590506131358161310f565b92915050565b6000819050919050565b61314e8161313b565b811461315957600080fd5b50565b60008135905061316b81613145565b92915050565b6000806040838503121561318857613187612eec565b5b600061319685828601613126565b92505060206131a78582860161315c565b9150509250929050565b6000602082840312156131c7576131c6612eec565b5b60006131d584828501613126565b91505092915050565b6131e78161313b565b82525050565b600060208201905061320260008301846131de565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61324582612ff7565b810181811067ffffffffffffffff821117156132645761326361320d565b5b80604052505050565b6000613277612ee2565b9050613283828261323c565b919050565b600067ffffffffffffffff8211156132a3576132a261320d565b5b602082029050602081019050919050565b600080fd5b60006132cc6132c784613288565b61326d565b905080838252602082019050602084028301858111156132ef576132ee6132b4565b5b835b818110156133185780613304888261315c565b8452602084019350506020810190506132f1565b5050509392505050565b600082601f83011261333757613336613208565b5b81356133478482602086016132b9565b91505092915050565b60006020828403121561336657613365612eec565b5b600082013567ffffffffffffffff81111561338457613383612ef1565b5b61339084828501613322565b91505092915050565b6000806000606084860312156133b2576133b1612eec565b5b60006133c086828701613126565b93505060206133d186828701613126565b92505060406133e28682870161315c565b9150509250925092565b6000819050919050565b6133ff816133ec565b811461340a57600080fd5b50565b60008135905061341c816133f6565b92915050565b60006020828403121561343857613437612eec565b5b60006134468482850161340d565b91505092915050565b613458816133ec565b82525050565b6000602082019050613473600083018461344f565b92915050565b600080604083850312156134905761348f612eec565b5b600061349e8582860161340d565b92505060206134af85828601613126565b9150509250929050565b600060ff82169050919050565b6134cf816134b9565b82525050565b60006020820190506134ea60008301846134c6565b92915050565b60006134fb826130fd565b9050919050565b61350b816134f0565b811461351657600080fd5b50565b60008135905061352881613502565b92915050565b60008060006060848603121561354757613546612eec565b5b600061355586828701613126565b935050602061356686828701613519565b92505060406135778682870161315c565b9150509250925092565b60006020828403121561359757613596612eec565b5b60006135a58482850161315c565b91505092915050565b6135b7816130fd565b82525050565b60006020820190506135d260008301846135ae565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61360d8161313b565b82525050565b600061361f8383613604565b60208301905092915050565b6000602082019050919050565b6000613643826135d8565b61364d81856135e3565b9350613658836135f4565b8060005b838110156136895781516136708882613613565b975061367b8361362b565b92505060018101905061365c565b5085935050505092915050565b600060208201905081810360008301526136b08184613638565b905092915050565b600080604083850312156136cf576136ce612eec565b5b60006136dd85828601613126565b92505060206136ee85828601613126565b9150509250929050565b600080fd5b60008083601f84011261371357613712613208565b5b8235905067ffffffffffffffff8111156137305761372f6136f8565b5b60208301915083602082028301111561374c5761374b6132b4565b5b9250929050565b6000806020838503121561376a57613769612eec565b5b600083013567ffffffffffffffff81111561378857613787612ef1565b5b613794858286016136fd565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806137e757607f821691505b6020821081036137fa576137f96137a0565b5b50919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613836601083612fbc565b915061384182613800565b602082019050919050565b6000602082019050818103600083015261386581613829565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006138a2601f83612fbc565b91506138ad8261386c565b602082019050919050565b600060208201905081810360008301526138d181613895565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060608201905061391c60008301866135ae565b61392960208301856135ae565b61393660408301846131de565b949350505050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061399a602f83612fbc565b91506139a58261393e565b604082019050919050565b600060208201905081810360008301526139c98161398d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a0a8261313b565b9150613a158361313b565b9250828201905080821115613a2d57613a2c6139d0565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613a8f602583612fbc565b9150613a9a82613a33565b604082019050919050565b60006020820190508181036000830152613abe81613a82565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613b21602483612fbc565b9150613b2c82613ac5565b604082019050919050565b60006020820190508181036000830152613b5081613b14565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bb3602283612fbc565b9150613bbe82613b57565b604082019050919050565b60006020820190508181036000830152613be281613ba6565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613c1f601d83612fbc565b9150613c2a82613be9565b602082019050919050565b60006020820190508181036000830152613c4e81613c12565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613cb1602583612fbc565b9150613cbc82613c55565b604082019050919050565b60006020820190508181036000830152613ce081613ca4565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613d43602383612fbc565b9150613d4e82613ce7565b604082019050919050565b60006020820190508181036000830152613d7281613d36565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000613dd5602683612fbc565b9150613de082613d79565b604082019050919050565b60006020820190508181036000830152613e0481613dc8565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000613e4c601783613e0b565b9150613e5782613e16565b601782019050919050565b6000613e6d82612fb1565b613e778185613e0b565b9350613e87818560208601612fcd565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000613ec9601183613e0b565b9150613ed482613e93565b601182019050919050565b6000613eea82613e3f565b9150613ef68285613e62565b9150613f0182613ebc565b9150613f0d8284613e62565b91508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613f4f601483612fbc565b9150613f5a82613f19565b602082019050919050565b60006020820190508181036000830152613f7e81613f42565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000613fbb601f83612fbc565b9150613fc682613f85565b602082019050919050565b60006020820190508181036000830152613fea81613fae565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061404d602183612fbc565b915061405882613ff1565b604082019050919050565b6000602082019050818103600083015261407c81614040565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006140df602283612fbc565b91506140ea82614083565b604082019050919050565b6000602082019050818103600083015261410e816140d2565b9050919050565b60006141208261313b565b915061412b8361313b565b9250828203905081811115614143576141426139d0565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006141838261313b565b915061418e8361313b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156141c7576141c66139d0565b5b828202905092915050565b60006141dd8261313b565b9150600082036141f0576141ef6139d0565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614231602083612fbc565b915061423c826141fb565b602082019050919050565b6000602082019050818103600083015261426081614224565b905091905056fea2646970667358221220b0d3a77e817019de637254e598b29cba5a6521070bcde34ee74786889d344d9564736f6c63430008100033

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

000000000000000000000000d00b34bab001fd78b93cdc0527a64af95a4792ba0000000000000000000000000000000000000000000000000000000000002710

-----Decoded View---------------
Arg [0] : odd (address): 0xd00B34BAb001Fd78b93cdC0527A64af95a4792BA
Arg [1] : maxSupply (uint256): 10000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000d00b34bab001fd78b93cdc0527a64af95a4792ba
Arg [1] : 0000000000000000000000000000000000000000000000000000000000002710


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.