CELO Price: $1.30 (+0.93%)
Gas: 5 GWei

Contract

0x2A7325859492E50c48979a5c4D9753126f091De0

Overview

CELO Balance

Celo Chain LogoCelo Chain LogoCelo Chain Logo0 CELO

CELO Value

$0.00

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Value
Transfer Ownersh...159620212022-11-03 12:21:44510 days ago1667478104IN
0x2A732585...26f091De0
0 CELO0.000075562.6
Set Approval For...145455092022-08-13 12:56:38592 days ago1660395398IN
0x2A732585...26f091De0
0 CELO0.000022680.5
Set Approval For...143733242022-08-03 13:47:34602 days ago1659534454IN
0x2A732585...26f091De0
0 CELO0.000022680.5
Set Approval For...140419022022-07-15 9:28:21621 days ago1657877301IN
0x2A732585...26f091De0
0 CELO0.000022680.5
Set Approval For...136275682022-06-20 9:25:00646 days ago1655717100IN
0x2A732585...26f091De0
0 CELO0.000022680.5
Set Approval For...134387212022-06-09 11:06:27657 days ago1654772787IN
0x2A732585...26f091De0
0 CELO0.000022680.5
Set Approval For...133422302022-06-03 21:05:29663 days ago1654290329IN
0x2A732585...26f091De0
0 CELO0.000022680.5
Set Approval For...132166462022-05-27 14:39:47670 days ago1653662387IN
0x2A732585...26f091De0
0 CELO0.000022680.5
Set Approval For...131767242022-05-25 7:12:50673 days ago1653462770IN
0x2A732585...26f091De0
0 CELO0.000022680.5
Set Approval For...125960292022-04-21 16:34:53706 days ago1650558893IN
0x2A732585...26f091De0
0 CELO0.000022680.5
Burn125594672022-04-19 13:47:56708 days ago1650376076IN
0x2A732585...26f091De0
0 CELO0.000011530.5
Burn125594662022-04-19 13:47:51708 days ago1650376071IN
0x2A732585...26f091De0
0 CELO0.000036430.5
Burn125590962022-04-19 13:17:01708 days ago1650374221IN
0x2A732585...26f091De0
0 CELO0.000036430.5
Burn125393142022-04-18 9:48:31709 days ago1650275311IN
0x2A732585...26f091De0
0 CELO0.000011530.5
Burn125393132022-04-18 9:48:26709 days ago1650275306IN
0x2A732585...26f091De0
0 CELO0.000034790.5
Burn124737992022-04-14 14:48:43713 days ago1649947723IN
0x2A732585...26f091De0
0 CELO0.000040610.5
Burn124737962022-04-14 14:48:28713 days ago1649947708IN
0x2A732585...26f091De0
0 CELO0.000036430.5
Burn124737932022-04-14 14:48:13713 days ago1649947693IN
0x2A732585...26f091De0
0 CELO0.000036430.5
Burn124735822022-04-14 14:30:38713 days ago1649946638IN
0x2A732585...26f091De0
0 CELO0.000038710.5
Burn124735802022-04-14 14:30:28713 days ago1649946628IN
0x2A732585...26f091De0
0 CELO0.000040350.5
Burn124735632022-04-14 14:29:03713 days ago1649946543IN
0x2A732585...26f091De0
0 CELO0.000038710.5
Burn124735582022-04-14 14:28:38713 days ago1649946518IN
0x2A732585...26f091De0
0 CELO0.000040350.5
Burn124735432022-04-14 14:27:23713 days ago1649946443IN
0x2A732585...26f091De0
0 CELO0.000038710.5
Burn124733202022-04-14 14:08:48713 days ago1649945328IN
0x2A732585...26f091De0
0 CELO0.000034790.5
Burn124560542022-04-13 14:09:56714 days ago1649858996IN
0x2A732585...26f091De0
0 CELO0.000011520.5
View all transactions

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PlastikRRGV1

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
london EvmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 32 : PlastikRRGV1.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./Utils.sol";
import "./PlastikBaseERC721V1.sol";
import "./VerifiedAccounts.sol";

/// @custom:security-contact [email protected]
contract PlastikRRGV1 is PlastikBaseERC721V1, IPlastikRRGLazyMint {
    mapping(uint256 => address) private _attachedRRGToArtAddresss;
    mapping(uint256 => uint256) private _attachedRRGToArtIds;
    mapping(uint256 => bool) private _usedRRG;
    event UseRRG(
        uint256 indexed _tokenId,
        address indexed _owner,
        uint256 indexed _timestamp
    );
    event RRGNFTMinted(address indexed mintTo, uint256 tokenId);
    event TheArtOfRecycling(
        address indexed sustainableUser,
        uint256 tokenId,
        address indexed artAddress,
        uint256 indexed artTokenId
    );

    VerifiedAccounts verifiedAccounts;

    constructor(
        address _addressVerification,
        PlastikRoyaltyCal _royaltyCal,
        PlastikCrypto _plastikCrypto,
        PlastikRole _plastikRole
    )
        PlastikBaseERC721V1(
            _royaltyCal,
            _plastikCrypto,
            _plastikRole,
            "PlastikRRGV1",
            "PLASTIK"
        )
    {
        verifiedAccounts = VerifiedAccounts(_addressVerification);
    }

    function setVerification(address _verifiedAddress)
        public
        onlyOwner
        returns (bool)
    {
        verifiedAccounts = VerifiedAccounts(_verifiedAddress);
        return true;
    }

    function mintRRG(
        uint256 tokenId,
        string memory tokenURI,
        uint96 royalty
    ) external onlyMinterRole returns (uint256) {
        // mint to signer first to establish on-chain history
        _safeMint(_msgSender(), tokenId);
        _setTokenURI(tokenId, tokenURI);

        emit RRGNFTMinted(_msgSender(), tokenId);

        royaltyCal.setTokenRoyalty(tokenId, _msgSender(), royalty);
        return tokenId;
    }

    function safeLazyMint(
        address buyer,
        NFTVoucher calldata voucher,
        bytes memory signature
    ) external payable onlyMinterRole returns (uint256) {
        require(
            voucher.tokenAddress == address(this),
            "The voucher must be for this contract"
        );
        // must be compatible with eth_signTypedDataV4 in MetaMask
        address signer = plastikCrypto.verify(voucher, signature);
        require(
            signer == voucher.creatorAddress,
            "Creator Address does not match"
        );

        //verify if the creator is a verified recycler
        require(
            verifiedAccounts.isVerified(voucher.creatorAddress),
            "Creator is not a verified recycler"
        );

        // mint to signer first to establish on-chain history
        _safeMint(signer, voucher.tokenId);
        _setTokenURI(voucher.tokenId, voucher.tokenURI);

        emit RRGNFTMinted(signer, voucher.tokenId);

        royaltyCal.setTokenRoyalty(voucher.tokenId, buyer, voucher.royalty);

        // transfer to the buyer
        transferToBuyer(signer, buyer, voucher.tokenId);
        return voucher.tokenId;
    }

    function attachRRGToArt(
        address sustainableUser,
        uint256 tokenId,
        address artTokenAddress,
        uint256 artTokenId
    ) public onlyMinterRole {
        require(_attachedRRGToArtIds[tokenId] == 0, "RRG is already attached");
        _attachedRRGToArtAddresss[tokenId] = artTokenAddress;
        _attachedRRGToArtIds[tokenId] = artTokenId;
        emit TheArtOfRecycling(
            sustainableUser,
            tokenId,
            artTokenAddress,
            artTokenId
        );
    }

    function isRRGUsed(uint256 _tokenId) public view returns (bool) {
        return _usedRRG[_tokenId];
    }

    function useRRG(uint256 _tokenId) public returns (bool) {
        require(msg.sender == ownerOf(_tokenId), "Only the owner can use");
        require(!_usedRRG[_tokenId], "RRG is already used");
        _usedRRG[_tokenId] = true;
        emit UseRRG(_tokenId, msg.sender, block.timestamp);
        return true;
    }
}

File 2 of 32 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0-rc.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 32 : AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControlEnumerable.sol";
import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }
}

File 4 of 32 : 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 5 of 32 : IAccessControlEnumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

File 6 of 32 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

File 7 of 32 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

File 8 of 32 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be payed in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 9 of 32 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` 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 tokenId
    ) 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.
     * - `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 tokenId
    ) internal virtual {}
}

File 10 of 32 : 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 11 of 32 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 12 of 32 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 13 of 32 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 14 of 32 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 15 of 32 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 16 of 32 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 17 of 32 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 18 of 32 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 19 of 32 : 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 20 of 32 : 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 21 of 32 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0-rc.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ? {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 22 of 32 : draft-EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^0.8.0;

import "./ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

File 23 of 32 : 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 24 of 32 : 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 25 of 32 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

File 26 of 32 : PlastikBaseERC721V1.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "hardhat/console.sol";

import "./PlastikCrypto.sol";
import "./PlastikRole.sol";
import "./Utils.sol";
import "./PlastikRoyaltyCal.sol";

/// @custom:security-contact [email protected]
abstract contract PlastikBaseERC721V1 is
    Ownable,
    ERC721,
    ERC721Enumerable,
    ERC721URIStorage,
    ERC721Burnable,
    IERC2981
{
    string internal __baseURI;
    IPlastikRoyaltyCal internal royaltyCal;
    PlastikCrypto internal plastikCrypto;
    PlastikRole internal plastikRole;

    constructor(
        IPlastikRoyaltyCal _royaltyCal,
        PlastikCrypto _plastikCrypto,
        PlastikRole _plastikRole,
        string memory name,
        string memory symbol
    ) ERC721(name, symbol) {
        __baseURI = Constants.BASE_URI;
        royaltyCal = _royaltyCal;
        plastikCrypto = _plastikCrypto;
        plastikRole = _plastikRole;
    }

    function _baseURI() internal view override returns (string memory) {
        return __baseURI;
    }

    function setBaseURI(string memory baseURI_) public onlyOwner {
        __baseURI = baseURI_;
    }

    modifier onlyMinterRole() {
        plastikRole.verifyMinterRole(_msgSender());
        _;
    }

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
        external
        view
        virtual
        override
        returns (address, uint256)
    {
        return royaltyCal.royaltyInfo(_tokenId, _salePrice);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function _burn(uint256 tokenId)
        internal
        virtual
        override(ERC721, ERC721URIStorage)
    {
        super._burn(tokenId);
        royaltyCal.resetTokenRoyalty(tokenId);
    }

    function transferToBuyer(
        address signer,
        address buyer,
        uint256 tokenId
    ) internal {
        // transfer to the buyer
        if (_msgSender() == signer) {
            transferFrom(signer, buyer, tokenId);
        } else {
            this.transferFrom(signer, buyer, tokenId);
        }
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        return super.tokenURI(tokenId);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, IERC165, ERC721Enumerable)
        returns (bool)
    {
        return
            interfaceId == type(IERC721Metadata).interfaceId ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId);
    }
}

File 27 of 32 : PlastikCrypto.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "./Utils.sol";

contract PlastikCrypto is EIP712 {
    constructor() EIP712("PLASTIK", "1.0") {}

    /// @notice Verifies the signature for a given NFTVoucher, returning the address of the signer.
    /// @dev Will revert if the signature is invalid. Does not verify that the signer is authorized to mint NFTs.
    /// @param voucher An NFTVoucher describing an unminted NFT.
    function verify(NFTVoucher calldata voucher, bytes memory signature)
        public
        view
        returns (address)
    {
        bytes32 digest = _hashTypedDataV4(
            keccak256(
                abi.encode(
                    Constants.NFTVOUCHER_TYPEHASH,
                    voucher.tokenAddress,
                    voucher.tokenId,
                    keccak256(bytes(voucher.tokenURI)),
                    voucher.creatorAddress,
                    voucher.royalty
                )
            )
        );
        return ECDSA.recover(digest, signature);
    }
}

File 28 of 32 : PlastikRole.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/AccessControl.sol";
import "./Utils.sol";

contract PlastikRole is AccessControl {
    constructor() {
        _grantRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _grantRole(Constants.MINTER_ROLE, _msgSender());
    }

    function grantMinterRole(address account) public {
        grantRole(Constants.MINTER_ROLE, account);
    }

    function verifyMinterRole(address account) public view {
        if (!hasRole(Constants.MINTER_ROLE, account)) {
            revert("Only minter role can mint");
        }
    }
}

File 29 of 32 : PlastikRoyaltyCal.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/common/ERC2981.sol";

interface IPlastikRoyaltyCal is IERC2981 {
    function setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) external;

    function resetTokenRoyalty(uint256 _tokenId) external;
}

contract PlastikRoyaltyCal is ERC2981, IPlastikRoyaltyCal {
    event TokenRoyaltySet(uint256 tokenId, address receiver, uint96 fee);
    event TokenRoyaltyReset(uint256 tokenId);

    function setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) public {
        super._setTokenRoyalty(tokenId, receiver, feeNumerator);
        emit TokenRoyaltySet(tokenId, receiver, feeNumerator);
    }

    function resetTokenRoyalty(uint256 tokenId) public {
        super._resetTokenRoyalty(tokenId);
        emit TokenRoyaltyReset(tokenId);
    }
}

File 30 of 32 : Utils.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

library Constants {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 constant NFTVOUCHER_TYPEHASH =
        keccak256(
            "NFTVoucher(address tokenAddress,uint256 tokenId,string tokenURI,address creatorAddress,uint96 royalty)"
        );
    bytes32 constant SELLREQUEST_TYPEHASH =
        keccak256(
            "SellRequest(address tokenAddress,uint256 tokenId,uint256 price,address erc20Address,uint96 ngoFeePct,address sellerAddress)"
        );
    bytes32 constant BIDREQUEST_TYPEHASH =
        keccak256(
            "BidRequest(address tokenAddress,uint256 tokenId,address erc20Address,address sellerAddress,address bidderAddress,uint256 biddingPrice)"
        );
    string public constant BASE_URI = "https://plastiks.io/ipfs/";
}

/// @notice Represents an un-minted NFT, which has not yet been recorded into the blockchain. A signed voucher can be redeemed for a real NFT using the redeem function.
struct NFTVoucher {
    /// @notice The address of the ERC721 or ERC1155
    address tokenAddress;
    /// @notice The id of the token to be redeemed. Must be unique - if another token with this ID already exists, the redeem function will revert.
    uint256 tokenId;
    /// @notice The metadata URI to associate with this token.
    string tokenURI;
    /// @notice The address of the original signer of this lazy minting
    address creatorAddress;
    /// @notice The royalty percentage for the original creator (offset 2 digits)
    uint96 royalty;
}

interface IPlastikLazyMint {
    struct ExternalArt {
        uint256 tokenId;
        address tokenAddress;
        address ownerAddress;
    }
}

interface IPlastikArtLazyMint is IPlastikLazyMint {
    function safeLazyMint(
        address buyer,
        NFTVoucher calldata voucher,
        bytes calldata signature
    ) external payable returns (uint256);
}

interface IPlastikRRGLazyMint is IPlastikLazyMint {
    function safeLazyMint(
        address buyer,
        NFTVoucher calldata voucher,
        bytes calldata signature
    ) external payable returns (uint256);
}

File 31 of 32 : VerifiedAccounts.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControlEnumerable.sol";


contract VerifiedAccounts is Ownable, AccessControlEnumerable {
    bytes32 public constant VALIDATOR_ROLE = keccak256("VALIDATOR_ROLE");
    mapping(address => bool) verifyAddresses;

    event Verified(address indexed _address);
    event Unverified(address indexed _address);

    constructor() Ownable() {
        _setupRole(VALIDATOR_ROLE, _msgSender());
        verifyAddresses[_msgSender()] = true;
    }

    function addVerifyAddress(address _address, bool value) public {
        require(hasRole(VALIDATOR_ROLE, msg.sender), "Only validators can verify");
        verifyAddresses[_address] = value;
        if (value) {
            emit Verified(_address);
        } else {
            emit Unverified(_address);
        }
    }

    function isVerified(address _address) public view returns (bool) {
        return verifyAddresses[_address];
    }
}

File 32 of 32 : console.sol
// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.22 <0.9.0;

library console {
	address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);

	function _sendLogPayload(bytes memory payload) private view {
		uint256 payloadLength = payload.length;
		address consoleAddress = CONSOLE_ADDRESS;
		assembly {
			let payloadStart := add(payload, 32)
			let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)
		}
	}

	function log() internal view {
		_sendLogPayload(abi.encodeWithSignature("log()"));
	}

	function logInt(int p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(int)", p0));
	}

	function logUint(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function logString(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function logBool(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function logAddress(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function logBytes(bytes memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
	}

	function logBytes1(bytes1 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
	}

	function logBytes2(bytes2 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
	}

	function logBytes3(bytes3 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
	}

	function logBytes4(bytes4 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
	}

	function logBytes5(bytes5 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
	}

	function logBytes6(bytes6 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
	}

	function logBytes7(bytes7 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
	}

	function logBytes8(bytes8 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
	}

	function logBytes9(bytes9 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
	}

	function logBytes10(bytes10 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
	}

	function logBytes11(bytes11 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
	}

	function logBytes12(bytes12 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
	}

	function logBytes13(bytes13 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
	}

	function logBytes14(bytes14 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
	}

	function logBytes15(bytes15 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
	}

	function logBytes16(bytes16 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
	}

	function logBytes17(bytes17 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
	}

	function logBytes18(bytes18 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
	}

	function logBytes19(bytes19 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
	}

	function logBytes20(bytes20 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
	}

	function logBytes21(bytes21 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
	}

	function logBytes22(bytes22 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
	}

	function logBytes23(bytes23 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
	}

	function logBytes24(bytes24 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
	}

	function logBytes25(bytes25 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
	}

	function logBytes26(bytes26 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
	}

	function logBytes27(bytes27 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
	}

	function logBytes28(bytes28 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
	}

	function logBytes29(bytes29 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
	}

	function logBytes30(bytes30 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
	}

	function logBytes31(bytes31 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
	}

	function logBytes32(bytes32 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
	}

	function log(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function log(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function log(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function log(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function log(uint p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1));
	}

	function log(uint p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1));
	}

	function log(uint p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1));
	}

	function log(uint p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1));
	}

	function log(string memory p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1));
	}

	function log(string memory p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
	}

	function log(string memory p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
	}

	function log(string memory p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
	}

	function log(bool p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1));
	}

	function log(bool p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
	}

	function log(bool p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
	}

	function log(bool p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
	}

	function log(address p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1));
	}

	function log(address p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
	}

	function log(address p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
	}

	function log(address p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
	}

	function log(uint p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2));
	}

	function log(uint p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2));
	}

	function log(uint p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2));
	}

	function log(uint p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2));
	}

	function log(uint p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2));
	}

	function log(uint p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2));
	}

	function log(uint p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2));
	}

	function log(uint p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2));
	}

	function log(uint p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2));
	}

	function log(uint p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2));
	}

	function log(uint p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2));
	}

	function log(uint p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
	}

	function log(string memory p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2));
	}

	function log(string memory p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
	}

	function log(string memory p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
	}

	function log(string memory p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
	}

	function log(bool p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2));
	}

	function log(bool p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2));
	}

	function log(bool p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2));
	}

	function log(bool p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
	}

	function log(bool p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2));
	}

	function log(bool p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
	}

	function log(bool p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
	}

	function log(bool p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
	}

	function log(bool p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2));
	}

	function log(bool p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
	}

	function log(bool p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
	}

	function log(bool p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
	}

	function log(address p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2));
	}

	function log(address p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2));
	}

	function log(address p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2));
	}

	function log(address p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2));
	}

	function log(address p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2));
	}

	function log(address p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
	}

	function log(address p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
	}

	function log(address p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
	}

	function log(address p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2));
	}

	function log(address p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
	}

	function log(address p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
	}

	function log(address p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
	}

	function log(address p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2));
	}

	function log(address p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
	}

	function log(address p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
	}

	function log(address p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
	}

	function log(uint p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
	}

}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_addressVerification","type":"address"},{"internalType":"contract PlastikRoyaltyCal","name":"_royaltyCal","type":"address"},{"internalType":"contract PlastikCrypto","name":"_plastikCrypto","type":"address"},{"internalType":"contract PlastikRole","name":"_plastikRole","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mintTo","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"RRGNFTMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sustainableUser","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"artAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"artTokenId","type":"uint256"}],"name":"TheArtOfRecycling","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"UseRRG","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sustainableUser","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"artTokenAddress","type":"address"},{"internalType":"uint256","name":"artTokenId","type":"uint256"}],"name":"attachRRGToArt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isRRGUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"uint96","name":"royalty","type":"uint96"}],"name":"mintRRG","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"buyer","type":"address"},{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"address","name":"creatorAddress","type":"address"},{"internalType":"uint96","name":"royalty","type":"uint96"}],"internalType":"struct NFTVoucher","name":"voucher","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"safeLazyMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_verifiedAddress","type":"address"}],"name":"setVerification","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"useRRG","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

Contract Creation Code

60806040523480156200001157600080fd5b5060405162005b3638038062005b36833981810160405281019062000037919062000512565b8282826040518060400160405280600c81526020017f506c617374696b525247563100000000000000000000000000000000000000008152506040518060400160405280600781526020017f504c415354494b000000000000000000000000000000000000000000000000008152508181620000c8620000bc6200025d60201b60201c565b6200026560201b60201c565b8160019080519060200190620000e092919062000329565b508060029080519060200190620000f992919062000329565b5050506040518060400160405280601981526020017f68747470733a2f2f706c617374696b732e696f2f697066732f00000000000000815250600c90805190602001906200014992919062000329565b5084600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505083601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050620005e9565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200033790620005b3565b90600052602060002090601f0160209004810192826200035b5760008555620003a7565b82601f106200037657805160ff1916838001178555620003a7565b82800160010185558215620003a7579182015b82811115620003a657825182559160200191906001019062000389565b5b509050620003b69190620003ba565b5090565b5b80821115620003d5576000816000905550600101620003bb565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200040b82620003de565b9050919050565b6200041d81620003fe565b81146200042957600080fd5b50565b6000815190506200043d8162000412565b92915050565b60006200045082620003fe565b9050919050565b620004628162000443565b81146200046e57600080fd5b50565b600081519050620004828162000457565b92915050565b60006200049582620003fe565b9050919050565b620004a78162000488565b8114620004b357600080fd5b50565b600081519050620004c7816200049c565b92915050565b6000620004da82620003fe565b9050919050565b620004ec81620004cd565b8114620004f857600080fd5b50565b6000815190506200050c81620004e1565b92915050565b600080600080608085870312156200052f576200052e620003d9565b5b60006200053f878288016200042c565b9450506020620005528782880162000471565b93505060406200056587828801620004b6565b92505060606200057887828801620004fb565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005cc57607f821691505b60208210811415620005e357620005e262000584565b5b50919050565b61553d80620005f96000396000f3fe6080604052600436106101b75760003560e01c806370a08231116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd1461066e578063e2ece3ff146106ab578063e985e9c5146106d4578063f2fde38b14610711576101b7565b8063a22cb465146105df578063a8accd8d14610608578063b88d4fde14610645576101b7565b806395d89b41116100c657806395d89b411461050a578063971f8bb1146105355780639bfe7bb7146105725780639d552381146105a2576101b7565b806370a082311461048b578063715018a6146104c85780638da5cb5b146104df576101b7565b80632f745c59116101595780634f6ccce7116101335780634f6ccce7146103ab5780634f6ff8a3146103e857806355f804b3146104255780636352211e1461044e576101b7565b80632f745c591461031c57806342842e0e1461035957806342966c6814610382576101b7565b8063095ea7b311610195578063095ea7b31461026157806318160ddd1461028a57806323b872dd146102b55780632a55205a146102de576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de91906136b2565b61073a565b6040516101f091906136fa565b60405180910390f35b34801561020557600080fd5b5061020e610884565b60405161021b91906137ae565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190613806565b610916565b6040516102589190613874565b60405180910390f35b34801561026d57600080fd5b50610288600480360381019061028391906138bb565b61099b565b005b34801561029657600080fd5b5061029f610ab3565b6040516102ac919061390a565b60405180910390f35b3480156102c157600080fd5b506102dc60048036038101906102d79190613925565b610ac0565b005b3480156102ea57600080fd5b5061030560048036038101906103009190613978565b610b20565b6040516103139291906139b8565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e91906138bb565b610bda565b604051610350919061390a565b60405180910390f35b34801561036557600080fd5b50610380600480360381019061037b9190613925565b610c7f565b005b34801561038e57600080fd5b506103a960048036038101906103a49190613806565b610c9f565b005b3480156103b757600080fd5b506103d260048036038101906103cd9190613806565b610cfb565b6040516103df919061390a565b60405180910390f35b3480156103f457600080fd5b5061040f600480360381019061040a9190613806565b610d6c565b60405161041c91906136fa565b60405180910390f35b34801561043157600080fd5b5061044c60048036038101906104479190613b16565b610ebf565b005b34801561045a57600080fd5b5061047560048036038101906104709190613806565b610f55565b6040516104829190613874565b60405180910390f35b34801561049757600080fd5b506104b260048036038101906104ad9190613b5f565b611007565b6040516104bf919061390a565b60405180910390f35b3480156104d457600080fd5b506104dd6110bf565b005b3480156104eb57600080fd5b506104f4611147565b6040516105019190613874565b60405180910390f35b34801561051657600080fd5b5061051f611170565b60405161052c91906137ae565b60405180910390f35b34801561054157600080fd5b5061055c60048036038101906105579190613b5f565b611202565b60405161056991906136fa565b60405180910390f35b61058c60048036038101906105879190613c51565b6112ca565b604051610599919061390a565b60405180910390f35b3480156105ae57600080fd5b506105c960048036038101906105c49190613806565b611790565b6040516105d691906136fa565b60405180910390f35b3480156105eb57600080fd5b5061060660048036038101906106019190613d08565b6117ba565b005b34801561061457600080fd5b5061062f600480360381019061062a9190613d8c565b6117d0565b60405161063c919061390a565b60405180910390f35b34801561065157600080fd5b5061066c60048036038101906106679190613dfb565b611976565b005b34801561067a57600080fd5b5061069560048036038101906106909190613806565b6119d8565b6040516106a291906137ae565b60405180910390f35b3480156106b757600080fd5b506106d260048036038101906106cd9190613e7e565b6119ea565b005b3480156106e057600080fd5b506106fb60048036038101906106f69190613ee5565b611ba8565b60405161070891906136fa565b60405180910390f35b34801561071d57600080fd5b5061073860048036038101906107339190613b5f565b611c3c565b005b60007f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080557507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061086d57507f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061087d575061087c82611d34565b5b9050919050565b60606001805461089390613f54565b80601f01602080910402602001604051908101604052809291908181526020018280546108bf90613f54565b801561090c5780601f106108e15761010080835404028352916020019161090c565b820191906000526020600020905b8154815290600101906020018083116108ef57829003601f168201915b5050505050905090565b600061092182611dae565b610960576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095790613ff8565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109a682610f55565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0e9061408a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a36611e1a565b73ffffffffffffffffffffffffffffffffffffffff161480610a655750610a6481610a5f611e1a565b611ba8565b5b610aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9b9061411c565b60405180910390fd5b610aae8383611e22565b505050565b6000600980549050905090565b610ad1610acb611e1a565b82611edb565b610b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b07906141ae565b60405180910390fd5b610b1b838383611fb9565b505050565b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632a55205a85856040518363ffffffff1660e01b8152600401610b809291906141ce565b604080518083038186803b158015610b9757600080fd5b505afa158015610bab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcf9190614221565b915091509250929050565b6000610be583611007565b8210610c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1d906142d3565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c9a83838360405180602001604052806000815250611976565b505050565b610cb0610caa611e1a565b82611edb565b610cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce690614365565b60405180910390fd5b610cf881612220565b50565b6000610d05610ab3565b8210610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906143f7565b60405180910390fd5b60098281548110610d5a57610d59614417565b5b90600052602060002001549050919050565b6000610d7782610f55565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddb90614492565b60405180910390fd5b6012600083815260200190815260200160002060009054906101000a900460ff1615610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c906144fe565b60405180910390fd5b60016012600084815260200190815260200160002060006101000a81548160ff021916908315150217905550423373ffffffffffffffffffffffffffffffffffffffff16837f527c4ea6cfd468706601403cdfe76eb494d0a7ccb8e614d61ea82a142bdb018b60405160405180910390a460019050919050565b610ec7611e1a565b73ffffffffffffffffffffffffffffffffffffffff16610ee5611147565b73ffffffffffffffffffffffffffffffffffffffff1614610f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f329061456a565b60405180910390fd5b80600c9080519060200190610f51929190613563565b5050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ffe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff5906145fc565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106f9061468e565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110c7611e1a565b73ffffffffffffffffffffffffffffffffffffffff166110e5611147565b73ffffffffffffffffffffffffffffffffffffffff161461113b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111329061456a565b60405180910390fd5b61114560006122b9565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461117f90613f54565b80601f01602080910402602001604051908101604052809291908181526020018280546111ab90613f54565b80156111f85780601f106111cd576101008083540402835291602001916111f8565b820191906000526020600020905b8154815290600101906020018083116111db57829003601f168201915b5050505050905090565b600061120c611e1a565b73ffffffffffffffffffffffffffffffffffffffff1661122a611147565b73ffffffffffffffffffffffffffffffffffffffff1614611280576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112779061456a565b60405180910390fd5b81601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050919050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632657131e611312611e1a565b6040518263ffffffff1660e01b815260040161132e9190613874565b60006040518083038186803b15801561134657600080fd5b505afa15801561135a573d6000803e3d6000fd5b505050503073ffffffffffffffffffffffffffffffffffffffff168360000160208101906113889190613b5f565b73ffffffffffffffffffffffffffffffffffffffff16146113de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d590614720565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639f091f0c85856040518363ffffffff1660e01b815260040161143d929190614957565b60206040518083038186803b15801561145557600080fd5b505afa158015611469573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148d919061498e565b90508360600160208101906114a29190613b5f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461150f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150690614a07565b60405180910390fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b9209e338560600160208101906115609190613b5f565b6040518263ffffffff1660e01b815260040161157c9190613874565b60206040518083038186803b15801561159457600080fd5b505afa1580156115a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cc9190614a3c565b61160b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160290614adb565b60405180910390fd5b61161981856020013561237d565b61167984602001358580604001906116319190614b0a565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061239b565b8073ffffffffffffffffffffffffffffffffffffffff167f6dded0de07f264a4796191ea286c720e8ce8c3d013758fd3efd884eb24268af585602001356040516116c3919061390a565b60405180910390a2600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635944c7538560200135878760800160208101906117229190614b6d565b6040518463ffffffff1660e01b815260040161174093929190614ba9565b600060405180830381600087803b15801561175a57600080fd5b505af115801561176e573d6000803e3d6000fd5b505050506117818186866020013561240f565b83602001359150509392505050565b60006012600083815260200190815260200160002060009054906101000a900460ff169050919050565b6117cc6117c5611e1a565b83836124cf565b5050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632657131e611818611e1a565b6040518263ffffffff1660e01b81526004016118349190613874565b60006040518083038186803b15801561184c57600080fd5b505afa158015611860573d6000803e3d6000fd5b5050505061187561186f611e1a565b8561237d565b61187f848461239b565b611887611e1a565b73ffffffffffffffffffffffffffffffffffffffff167f6dded0de07f264a4796191ea286c720e8ce8c3d013758fd3efd884eb24268af5856040516118cc919061390a565b60405180910390a2600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635944c7538561191b611e1a565b856040518463ffffffff1660e01b815260040161193a93929190614ba9565b600060405180830381600087803b15801561195457600080fd5b505af1158015611968573d6000803e3d6000fd5b505050508390509392505050565b611987611981611e1a565b83611edb565b6119c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bd906141ae565b60405180910390fd5b6119d28484848461263c565b50505050565b60606119e382612698565b9050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632657131e611a30611e1a565b6040518263ffffffff1660e01b8152600401611a4c9190613874565b60006040518083038186803b158015611a6457600080fd5b505afa158015611a78573d6000803e3d6000fd5b505050506000601160008581526020019081526020016000205414611ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac990614c2c565b60405180910390fd5b816010600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806011600085815260200190815260200160002081905550808273ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fedc3bff567b4e8060072b482699d942c4bb805493e19cf3058e961aa83d314b486604051611b9a919061390a565b60405180910390a450505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c44611e1a565b73ffffffffffffffffffffffffffffffffffffffff16611c62611147565b73ffffffffffffffffffffffffffffffffffffffff1614611cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611caf9061456a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1f90614cbe565b60405180910390fd5b611d31816122b9565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611da75750611da6826127ea565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e9583610f55565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ee682611dae565b611f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1c90614d50565b60405180910390fd5b6000611f3083610f55565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f9f57508373ffffffffffffffffffffffffffffffffffffffff16611f8784610916565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fb05750611faf8185611ba8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fd982610f55565b73ffffffffffffffffffffffffffffffffffffffff161461202f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202690614de2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561209f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209690614e74565b60405180910390fd5b6120aa8383836128cc565b6120b5600082611e22565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121059190614ec3565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461215c9190614ef7565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461221b8383836128dc565b505050565b612229816128e1565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638a616bc0826040518263ffffffff1660e01b8152600401612284919061390a565b600060405180830381600087803b15801561229e57600080fd5b505af11580156122b2573d6000803e3d6000fd5b5050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612397828260405180602001604052806000815250612934565b5050565b6123a482611dae565b6123e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123da90614fbf565b60405180910390fd5b80600b6000848152602001908152602001600020908051906020019061240a929190613563565b505050565b8273ffffffffffffffffffffffffffffffffffffffff1661242e611e1a565b73ffffffffffffffffffffffffffffffffffffffff16141561245a57612455838383610ac0565b6124ca565b3073ffffffffffffffffffffffffffffffffffffffff166323b872dd8484846040518463ffffffff1660e01b815260040161249793929190614fdf565b600060405180830381600087803b1580156124b157600080fd5b505af11580156124c5573d6000803e3d6000fd5b505050505b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561253e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253590615062565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161262f91906136fa565b60405180910390a3505050565b612647848484611fb9565b6126538484848461298f565b612692576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612689906150f4565b60405180910390fd5b50505050565b60606126a382611dae565b6126e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d990615186565b60405180910390fd5b6000600b6000848152602001908152602001600020805461270290613f54565b80601f016020809104026020016040519081016040528092919081815260200182805461272e90613f54565b801561277b5780601f106127505761010080835404028352916020019161277b565b820191906000526020600020905b81548152906001019060200180831161275e57829003601f168201915b50505050509050600061278c612b26565b90506000815114156127a25781925050506127e5565b6000825111156127d75780826040516020016127bf9291906151e2565b604051602081830303815290604052925050506127e5565b6127e084612bb8565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128b557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128c557506128c482612c5f565b5b9050919050565b6128d7838383612cc9565b505050565b505050565b6128ea81612ddd565b6000600b6000838152602001908152602001600020805461290a90613f54565b90501461293157600b6000828152602001908152602001600020600061293091906135e9565b5b50565b61293e8383612efa565b61294b600084848461298f565b61298a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612981906150f4565b60405180910390fd5b505050565b60006129b08473ffffffffffffffffffffffffffffffffffffffff166130d4565b15612b19578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129d9611e1a565b8786866040518563ffffffff1660e01b81526004016129fb9493929190615206565b602060405180830381600087803b158015612a1557600080fd5b505af1925050508015612a4657506040513d601f19601f82011682018060405250810190612a439190615267565b60015b612ac9573d8060008114612a76576040519150601f19603f3d011682016040523d82523d6000602084013e612a7b565b606091505b50600081511415612ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab8906150f4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b1e565b600190505b949350505050565b6060600c8054612b3590613f54565b80601f0160208091040260200160405190810160405280929190818152602001828054612b6190613f54565b8015612bae5780601f10612b8357610100808354040283529160200191612bae565b820191906000526020600020905b815481529060010190602001808311612b9157829003601f168201915b5050505050905090565b6060612bc382611dae565b612c02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf990615306565b60405180910390fd5b6000612c0c612b26565b90506000815111612c2c5760405180602001604052806000815250612c57565b80612c36846130f7565b604051602001612c479291906151e2565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cd4838383613258565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d1757612d128161325d565b612d56565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d5557612d5483826132a6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d9957612d9481613413565b612dd8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dd757612dd682826134e4565b5b5b505050565b6000612de882610f55565b9050612df6816000846128cc565b612e01600083611e22565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e519190614ec3565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ef6816000846128dc565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6190615372565b60405180910390fd5b612f7381611dae565b15612fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612faa906153de565b60405180910390fd5b612fbf600083836128cc565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461300f9190614ef7565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130d0600083836128dc565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600082141561313f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613253565b600082905060005b6000821461317157808061315a906153fe565b915050600a8261316a9190615476565b9150613147565b60008167ffffffffffffffff81111561318d5761318c6139eb565b5b6040519080825280601f01601f1916602001820160405280156131bf5781602001600182028036833780820191505090505b5090505b6000851461324c576001826131d89190614ec3565b9150600a856131e791906154a7565b60306131f39190614ef7565b60f81b81838151811061320957613208614417565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132459190615476565b94506131c3565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132b384611007565b6132bd9190614ec3565b90506000600860008481526020019081526020016000205490508181146133a2576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506134279190614ec3565b90506000600a600084815260200190815260200160002054905060006009838154811061345757613456614417565b5b90600052602060002001549050806009838154811061347957613478614417565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806134c8576134c76154d8565b5b6001900381819060005260206000200160009055905550505050565b60006134ef83611007565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b82805461356f90613f54565b90600052602060002090601f01602090048101928261359157600085556135d8565b82601f106135aa57805160ff19168380011785556135d8565b828001600101855582156135d8579182015b828111156135d75782518255916020019190600101906135bc565b5b5090506135e59190613629565b5090565b5080546135f590613f54565b6000825580601f106136075750613626565b601f0160209004906000526020600020908101906136259190613629565b5b50565b5b8082111561364257600081600090555060010161362a565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61368f8161365a565b811461369a57600080fd5b50565b6000813590506136ac81613686565b92915050565b6000602082840312156136c8576136c7613650565b5b60006136d68482850161369d565b91505092915050565b60008115159050919050565b6136f4816136df565b82525050565b600060208201905061370f60008301846136eb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561374f578082015181840152602081019050613734565b8381111561375e576000848401525b50505050565b6000601f19601f8301169050919050565b600061378082613715565b61378a8185613720565b935061379a818560208601613731565b6137a381613764565b840191505092915050565b600060208201905081810360008301526137c88184613775565b905092915050565b6000819050919050565b6137e3816137d0565b81146137ee57600080fd5b50565b600081359050613800816137da565b92915050565b60006020828403121561381c5761381b613650565b5b600061382a848285016137f1565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061385e82613833565b9050919050565b61386e81613853565b82525050565b60006020820190506138896000830184613865565b92915050565b61389881613853565b81146138a357600080fd5b50565b6000813590506138b58161388f565b92915050565b600080604083850312156138d2576138d1613650565b5b60006138e0858286016138a6565b92505060206138f1858286016137f1565b9150509250929050565b613904816137d0565b82525050565b600060208201905061391f60008301846138fb565b92915050565b60008060006060848603121561393e5761393d613650565b5b600061394c868287016138a6565b935050602061395d868287016138a6565b925050604061396e868287016137f1565b9150509250925092565b6000806040838503121561398f5761398e613650565b5b600061399d858286016137f1565b92505060206139ae858286016137f1565b9150509250929050565b60006040820190506139cd6000830185613865565b6139da60208301846138fb565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a2382613764565b810181811067ffffffffffffffff82111715613a4257613a416139eb565b5b80604052505050565b6000613a55613646565b9050613a618282613a1a565b919050565b600067ffffffffffffffff821115613a8157613a806139eb565b5b613a8a82613764565b9050602081019050919050565b82818337600083830152505050565b6000613ab9613ab484613a66565b613a4b565b905082815260208101848484011115613ad557613ad46139e6565b5b613ae0848285613a97565b509392505050565b600082601f830112613afd57613afc6139e1565b5b8135613b0d848260208601613aa6565b91505092915050565b600060208284031215613b2c57613b2b613650565b5b600082013567ffffffffffffffff811115613b4a57613b49613655565b5b613b5684828501613ae8565b91505092915050565b600060208284031215613b7557613b74613650565b5b6000613b83848285016138a6565b91505092915050565b600080fd5b600060a08284031215613ba757613ba6613b8c565b5b81905092915050565b600067ffffffffffffffff821115613bcb57613bca6139eb565b5b613bd482613764565b9050602081019050919050565b6000613bf4613bef84613bb0565b613a4b565b905082815260208101848484011115613c1057613c0f6139e6565b5b613c1b848285613a97565b509392505050565b600082601f830112613c3857613c376139e1565b5b8135613c48848260208601613be1565b91505092915050565b600080600060608486031215613c6a57613c69613650565b5b6000613c78868287016138a6565b935050602084013567ffffffffffffffff811115613c9957613c98613655565b5b613ca586828701613b91565b925050604084013567ffffffffffffffff811115613cc657613cc5613655565b5b613cd286828701613c23565b9150509250925092565b613ce5816136df565b8114613cf057600080fd5b50565b600081359050613d0281613cdc565b92915050565b60008060408385031215613d1f57613d1e613650565b5b6000613d2d858286016138a6565b9250506020613d3e85828601613cf3565b9150509250929050565b60006bffffffffffffffffffffffff82169050919050565b613d6981613d48565b8114613d7457600080fd5b50565b600081359050613d8681613d60565b92915050565b600080600060608486031215613da557613da4613650565b5b6000613db3868287016137f1565b935050602084013567ffffffffffffffff811115613dd457613dd3613655565b5b613de086828701613ae8565b9250506040613df186828701613d77565b9150509250925092565b60008060008060808587031215613e1557613e14613650565b5b6000613e23878288016138a6565b9450506020613e34878288016138a6565b9350506040613e45878288016137f1565b925050606085013567ffffffffffffffff811115613e6657613e65613655565b5b613e7287828801613c23565b91505092959194509250565b60008060008060808587031215613e9857613e97613650565b5b6000613ea6878288016138a6565b9450506020613eb7878288016137f1565b9350506040613ec8878288016138a6565b9250506060613ed9878288016137f1565b91505092959194509250565b60008060408385031215613efc57613efb613650565b5b6000613f0a858286016138a6565b9250506020613f1b858286016138a6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f6c57607f821691505b60208210811415613f8057613f7f613f25565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613fe2602c83613720565b9150613fed82613f86565b604082019050919050565b6000602082019050818103600083015261401181613fd5565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614074602183613720565b915061407f82614018565b604082019050919050565b600060208201905081810360008301526140a381614067565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614106603883613720565b9150614111826140aa565b604082019050919050565b60006020820190508181036000830152614135816140f9565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614198603183613720565b91506141a38261413c565b604082019050919050565b600060208201905081810360008301526141c78161418b565b9050919050565b60006040820190506141e360008301856138fb565b6141f060208301846138fb565b9392505050565b6000815190506142068161388f565b92915050565b60008151905061421b816137da565b92915050565b6000806040838503121561423857614237613650565b5b6000614246858286016141f7565b92505060206142578582860161420c565b9150509250929050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006142bd602b83613720565b91506142c882614261565b604082019050919050565b600060208201905081810360008301526142ec816142b0565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b600061434f603083613720565b915061435a826142f3565b604082019050919050565b6000602082019050818103600083015261437e81614342565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006143e1602c83613720565b91506143ec82614385565b604082019050919050565b60006020820190508181036000830152614410816143d4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f6e6c7920746865206f776e65722063616e2075736500000000000000000000600082015250565b600061447c601683613720565b915061448782614446565b602082019050919050565b600060208201905081810360008301526144ab8161446f565b9050919050565b7f52524720697320616c7265616479207573656400000000000000000000000000600082015250565b60006144e8601383613720565b91506144f3826144b2565b602082019050919050565b60006020820190508181036000830152614517816144db565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614554602083613720565b915061455f8261451e565b602082019050919050565b6000602082019050818103600083015261458381614547565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006145e6602983613720565b91506145f18261458a565b604082019050919050565b60006020820190508181036000830152614615816145d9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614678602a83613720565b91506146838261461c565b604082019050919050565b600060208201905081810360008301526146a78161466b565b9050919050565b7f54686520766f7563686572206d75737420626520666f72207468697320636f6e60008201527f7472616374000000000000000000000000000000000000000000000000000000602082015250565b600061470a602583613720565b9150614715826146ae565b604082019050919050565b60006020820190508181036000830152614739816146fd565b9050919050565b600061474f60208401846138a6565b905092915050565b61476081613853565b82525050565b600061477560208401846137f1565b905092915050565b614786816137d0565b82525050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126147b8576147b7614796565b5b83810192508235915060208301925067ffffffffffffffff8211156147e0576147df61478c565b5b6001820236038413156147f6576147f5614791565b5b509250929050565b600082825260208201905092915050565b600061481b83856147fe565b9350614828838584613a97565b61483183613764565b840190509392505050565b600061484b6020840184613d77565b905092915050565b61485c81613d48565b82525050565b600060a083016148756000840184614740565b6148826000860182614757565b506148906020840184614766565b61489d602086018261477d565b506148ab604084018461479b565b85830360408701526148be83828461480f565b925050506148cf6060840184614740565b6148dc6060860182614757565b506148ea608084018461483c565b6148f76080860182614853565b508091505092915050565b600081519050919050565b600082825260208201905092915050565b600061492982614902565b614933818561490d565b9350614943818560208601613731565b61494c81613764565b840191505092915050565b600060408201905081810360008301526149718185614862565b90508181036020830152614985818461491e565b90509392505050565b6000602082840312156149a4576149a3613650565b5b60006149b2848285016141f7565b91505092915050565b7f43726561746f72204164647265737320646f6573206e6f74206d617463680000600082015250565b60006149f1601e83613720565b91506149fc826149bb565b602082019050919050565b60006020820190508181036000830152614a20816149e4565b9050919050565b600081519050614a3681613cdc565b92915050565b600060208284031215614a5257614a51613650565b5b6000614a6084828501614a27565b91505092915050565b7f43726561746f72206973206e6f7420612076657269666965642072656379636c60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ac5602283613720565b9150614ad082614a69565b604082019050919050565b60006020820190508181036000830152614af481614ab8565b9050919050565b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112614b2757614b26614afb565b5b80840192508235915067ffffffffffffffff821115614b4957614b48614b00565b5b602083019250600182023603831315614b6557614b64614b05565b5b509250929050565b600060208284031215614b8357614b82613650565b5b6000614b9184828501613d77565b91505092915050565b614ba381613d48565b82525050565b6000606082019050614bbe60008301866138fb565b614bcb6020830185613865565b614bd86040830184614b9a565b949350505050565b7f52524720697320616c7265616479206174746163686564000000000000000000600082015250565b6000614c16601783613720565b9150614c2182614be0565b602082019050919050565b60006020820190508181036000830152614c4581614c09565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614ca8602683613720565b9150614cb382614c4c565b604082019050919050565b60006020820190508181036000830152614cd781614c9b565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614d3a602c83613720565b9150614d4582614cde565b604082019050919050565b60006020820190508181036000830152614d6981614d2d565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614dcc602583613720565b9150614dd782614d70565b604082019050919050565b60006020820190508181036000830152614dfb81614dbf565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614e5e602483613720565b9150614e6982614e02565b604082019050919050565b60006020820190508181036000830152614e8d81614e51565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614ece826137d0565b9150614ed9836137d0565b925082821015614eec57614eeb614e94565b5b828203905092915050565b6000614f02826137d0565b9150614f0d836137d0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f4257614f41614e94565b5b828201905092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614fa9602e83613720565b9150614fb482614f4d565b604082019050919050565b60006020820190508181036000830152614fd881614f9c565b9050919050565b6000606082019050614ff46000830186613865565b6150016020830185613865565b61500e60408301846138fb565b949350505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061504c601983613720565b915061505782615016565b602082019050919050565b6000602082019050818103600083015261507b8161503f565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006150de603283613720565b91506150e982615082565b604082019050919050565b6000602082019050818103600083015261510d816150d1565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000615170603183613720565b915061517b82615114565b604082019050919050565b6000602082019050818103600083015261519f81615163565b9050919050565b600081905092915050565b60006151bc82613715565b6151c681856151a6565b93506151d6818560208601613731565b80840191505092915050565b60006151ee82856151b1565b91506151fa82846151b1565b91508190509392505050565b600060808201905061521b6000830187613865565b6152286020830186613865565b61523560408301856138fb565b8181036060830152615247818461491e565b905095945050505050565b60008151905061526181613686565b92915050565b60006020828403121561527d5761527c613650565b5b600061528b84828501615252565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006152f0602f83613720565b91506152fb82615294565b604082019050919050565b6000602082019050818103600083015261531f816152e3565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061535c602083613720565b915061536782615326565b602082019050919050565b6000602082019050818103600083015261538b8161534f565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006153c8601c83613720565b91506153d382615392565b602082019050919050565b600060208201905081810360008301526153f7816153bb565b9050919050565b6000615409826137d0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561543c5761543b614e94565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615481826137d0565b915061548c836137d0565b92508261549c5761549b615447565b5b828204905092915050565b60006154b2826137d0565b91506154bd836137d0565b9250826154cd576154cc615447565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220672c63c1ee549a962d27174da29f60d3700757ceabb8e6b5d9106c2bc4ea716064736f6c6343000809003300000000000000000000000076eb72515dfd37b789726abdfb1b0da8db3ac0640000000000000000000000004311ba6e4584f1b5ce5237f23e80a0360ba9763e0000000000000000000000003a6ddbd04a65262cbf6733fe96041574a037c9f30000000000000000000000007028e5d59083b213fcc86abaf5813f66bcf09ed9

Deployed Bytecode

0x6080604052600436106101b75760003560e01c806370a08231116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd1461066e578063e2ece3ff146106ab578063e985e9c5146106d4578063f2fde38b14610711576101b7565b8063a22cb465146105df578063a8accd8d14610608578063b88d4fde14610645576101b7565b806395d89b41116100c657806395d89b411461050a578063971f8bb1146105355780639bfe7bb7146105725780639d552381146105a2576101b7565b806370a082311461048b578063715018a6146104c85780638da5cb5b146104df576101b7565b80632f745c59116101595780634f6ccce7116101335780634f6ccce7146103ab5780634f6ff8a3146103e857806355f804b3146104255780636352211e1461044e576101b7565b80632f745c591461031c57806342842e0e1461035957806342966c6814610382576101b7565b8063095ea7b311610195578063095ea7b31461026157806318160ddd1461028a57806323b872dd146102b55780632a55205a146102de576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de91906136b2565b61073a565b6040516101f091906136fa565b60405180910390f35b34801561020557600080fd5b5061020e610884565b60405161021b91906137ae565b60405180910390f35b34801561023057600080fd5b5061024b60048036038101906102469190613806565b610916565b6040516102589190613874565b60405180910390f35b34801561026d57600080fd5b50610288600480360381019061028391906138bb565b61099b565b005b34801561029657600080fd5b5061029f610ab3565b6040516102ac919061390a565b60405180910390f35b3480156102c157600080fd5b506102dc60048036038101906102d79190613925565b610ac0565b005b3480156102ea57600080fd5b5061030560048036038101906103009190613978565b610b20565b6040516103139291906139b8565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e91906138bb565b610bda565b604051610350919061390a565b60405180910390f35b34801561036557600080fd5b50610380600480360381019061037b9190613925565b610c7f565b005b34801561038e57600080fd5b506103a960048036038101906103a49190613806565b610c9f565b005b3480156103b757600080fd5b506103d260048036038101906103cd9190613806565b610cfb565b6040516103df919061390a565b60405180910390f35b3480156103f457600080fd5b5061040f600480360381019061040a9190613806565b610d6c565b60405161041c91906136fa565b60405180910390f35b34801561043157600080fd5b5061044c60048036038101906104479190613b16565b610ebf565b005b34801561045a57600080fd5b5061047560048036038101906104709190613806565b610f55565b6040516104829190613874565b60405180910390f35b34801561049757600080fd5b506104b260048036038101906104ad9190613b5f565b611007565b6040516104bf919061390a565b60405180910390f35b3480156104d457600080fd5b506104dd6110bf565b005b3480156104eb57600080fd5b506104f4611147565b6040516105019190613874565b60405180910390f35b34801561051657600080fd5b5061051f611170565b60405161052c91906137ae565b60405180910390f35b34801561054157600080fd5b5061055c60048036038101906105579190613b5f565b611202565b60405161056991906136fa565b60405180910390f35b61058c60048036038101906105879190613c51565b6112ca565b604051610599919061390a565b60405180910390f35b3480156105ae57600080fd5b506105c960048036038101906105c49190613806565b611790565b6040516105d691906136fa565b60405180910390f35b3480156105eb57600080fd5b5061060660048036038101906106019190613d08565b6117ba565b005b34801561061457600080fd5b5061062f600480360381019061062a9190613d8c565b6117d0565b60405161063c919061390a565b60405180910390f35b34801561065157600080fd5b5061066c60048036038101906106679190613dfb565b611976565b005b34801561067a57600080fd5b5061069560048036038101906106909190613806565b6119d8565b6040516106a291906137ae565b60405180910390f35b3480156106b757600080fd5b506106d260048036038101906106cd9190613e7e565b6119ea565b005b3480156106e057600080fd5b506106fb60048036038101906106f69190613ee5565b611ba8565b60405161070891906136fa565b60405180910390f35b34801561071d57600080fd5b5061073860048036038101906107339190613b5f565b611c3c565b005b60007f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080557507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061086d57507f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061087d575061087c82611d34565b5b9050919050565b60606001805461089390613f54565b80601f01602080910402602001604051908101604052809291908181526020018280546108bf90613f54565b801561090c5780601f106108e15761010080835404028352916020019161090c565b820191906000526020600020905b8154815290600101906020018083116108ef57829003601f168201915b5050505050905090565b600061092182611dae565b610960576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095790613ff8565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109a682610f55565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0e9061408a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a36611e1a565b73ffffffffffffffffffffffffffffffffffffffff161480610a655750610a6481610a5f611e1a565b611ba8565b5b610aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9b9061411c565b60405180910390fd5b610aae8383611e22565b505050565b6000600980549050905090565b610ad1610acb611e1a565b82611edb565b610b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b07906141ae565b60405180910390fd5b610b1b838383611fb9565b505050565b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632a55205a85856040518363ffffffff1660e01b8152600401610b809291906141ce565b604080518083038186803b158015610b9757600080fd5b505afa158015610bab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcf9190614221565b915091509250929050565b6000610be583611007565b8210610c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1d906142d3565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c9a83838360405180602001604052806000815250611976565b505050565b610cb0610caa611e1a565b82611edb565b610cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce690614365565b60405180910390fd5b610cf881612220565b50565b6000610d05610ab3565b8210610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d906143f7565b60405180910390fd5b60098281548110610d5a57610d59614417565b5b90600052602060002001549050919050565b6000610d7782610f55565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddb90614492565b60405180910390fd5b6012600083815260200190815260200160002060009054906101000a900460ff1615610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c906144fe565b60405180910390fd5b60016012600084815260200190815260200160002060006101000a81548160ff021916908315150217905550423373ffffffffffffffffffffffffffffffffffffffff16837f527c4ea6cfd468706601403cdfe76eb494d0a7ccb8e614d61ea82a142bdb018b60405160405180910390a460019050919050565b610ec7611e1a565b73ffffffffffffffffffffffffffffffffffffffff16610ee5611147565b73ffffffffffffffffffffffffffffffffffffffff1614610f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f329061456a565b60405180910390fd5b80600c9080519060200190610f51929190613563565b5050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ffe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff5906145fc565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106f9061468e565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110c7611e1a565b73ffffffffffffffffffffffffffffffffffffffff166110e5611147565b73ffffffffffffffffffffffffffffffffffffffff161461113b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111329061456a565b60405180910390fd5b61114560006122b9565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461117f90613f54565b80601f01602080910402602001604051908101604052809291908181526020018280546111ab90613f54565b80156111f85780601f106111cd576101008083540402835291602001916111f8565b820191906000526020600020905b8154815290600101906020018083116111db57829003601f168201915b5050505050905090565b600061120c611e1a565b73ffffffffffffffffffffffffffffffffffffffff1661122a611147565b73ffffffffffffffffffffffffffffffffffffffff1614611280576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112779061456a565b60405180910390fd5b81601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050919050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632657131e611312611e1a565b6040518263ffffffff1660e01b815260040161132e9190613874565b60006040518083038186803b15801561134657600080fd5b505afa15801561135a573d6000803e3d6000fd5b505050503073ffffffffffffffffffffffffffffffffffffffff168360000160208101906113889190613b5f565b73ffffffffffffffffffffffffffffffffffffffff16146113de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d590614720565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639f091f0c85856040518363ffffffff1660e01b815260040161143d929190614957565b60206040518083038186803b15801561145557600080fd5b505afa158015611469573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148d919061498e565b90508360600160208101906114a29190613b5f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461150f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150690614a07565b60405180910390fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b9209e338560600160208101906115609190613b5f565b6040518263ffffffff1660e01b815260040161157c9190613874565b60206040518083038186803b15801561159457600080fd5b505afa1580156115a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cc9190614a3c565b61160b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160290614adb565b60405180910390fd5b61161981856020013561237d565b61167984602001358580604001906116319190614b0a565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061239b565b8073ffffffffffffffffffffffffffffffffffffffff167f6dded0de07f264a4796191ea286c720e8ce8c3d013758fd3efd884eb24268af585602001356040516116c3919061390a565b60405180910390a2600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635944c7538560200135878760800160208101906117229190614b6d565b6040518463ffffffff1660e01b815260040161174093929190614ba9565b600060405180830381600087803b15801561175a57600080fd5b505af115801561176e573d6000803e3d6000fd5b505050506117818186866020013561240f565b83602001359150509392505050565b60006012600083815260200190815260200160002060009054906101000a900460ff169050919050565b6117cc6117c5611e1a565b83836124cf565b5050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632657131e611818611e1a565b6040518263ffffffff1660e01b81526004016118349190613874565b60006040518083038186803b15801561184c57600080fd5b505afa158015611860573d6000803e3d6000fd5b5050505061187561186f611e1a565b8561237d565b61187f848461239b565b611887611e1a565b73ffffffffffffffffffffffffffffffffffffffff167f6dded0de07f264a4796191ea286c720e8ce8c3d013758fd3efd884eb24268af5856040516118cc919061390a565b60405180910390a2600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635944c7538561191b611e1a565b856040518463ffffffff1660e01b815260040161193a93929190614ba9565b600060405180830381600087803b15801561195457600080fd5b505af1158015611968573d6000803e3d6000fd5b505050508390509392505050565b611987611981611e1a565b83611edb565b6119c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bd906141ae565b60405180910390fd5b6119d28484848461263c565b50505050565b60606119e382612698565b9050919050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632657131e611a30611e1a565b6040518263ffffffff1660e01b8152600401611a4c9190613874565b60006040518083038186803b158015611a6457600080fd5b505afa158015611a78573d6000803e3d6000fd5b505050506000601160008581526020019081526020016000205414611ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac990614c2c565b60405180910390fd5b816010600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806011600085815260200190815260200160002081905550808273ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fedc3bff567b4e8060072b482699d942c4bb805493e19cf3058e961aa83d314b486604051611b9a919061390a565b60405180910390a450505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c44611e1a565b73ffffffffffffffffffffffffffffffffffffffff16611c62611147565b73ffffffffffffffffffffffffffffffffffffffff1614611cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611caf9061456a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1f90614cbe565b60405180910390fd5b611d31816122b9565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611da75750611da6826127ea565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e9583610f55565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ee682611dae565b611f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1c90614d50565b60405180910390fd5b6000611f3083610f55565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f9f57508373ffffffffffffffffffffffffffffffffffffffff16611f8784610916565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fb05750611faf8185611ba8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fd982610f55565b73ffffffffffffffffffffffffffffffffffffffff161461202f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202690614de2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561209f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209690614e74565b60405180910390fd5b6120aa8383836128cc565b6120b5600082611e22565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121059190614ec3565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461215c9190614ef7565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461221b8383836128dc565b505050565b612229816128e1565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638a616bc0826040518263ffffffff1660e01b8152600401612284919061390a565b600060405180830381600087803b15801561229e57600080fd5b505af11580156122b2573d6000803e3d6000fd5b5050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612397828260405180602001604052806000815250612934565b5050565b6123a482611dae565b6123e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123da90614fbf565b60405180910390fd5b80600b6000848152602001908152602001600020908051906020019061240a929190613563565b505050565b8273ffffffffffffffffffffffffffffffffffffffff1661242e611e1a565b73ffffffffffffffffffffffffffffffffffffffff16141561245a57612455838383610ac0565b6124ca565b3073ffffffffffffffffffffffffffffffffffffffff166323b872dd8484846040518463ffffffff1660e01b815260040161249793929190614fdf565b600060405180830381600087803b1580156124b157600080fd5b505af11580156124c5573d6000803e3d6000fd5b505050505b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561253e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253590615062565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161262f91906136fa565b60405180910390a3505050565b612647848484611fb9565b6126538484848461298f565b612692576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612689906150f4565b60405180910390fd5b50505050565b60606126a382611dae565b6126e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d990615186565b60405180910390fd5b6000600b6000848152602001908152602001600020805461270290613f54565b80601f016020809104026020016040519081016040528092919081815260200182805461272e90613f54565b801561277b5780601f106127505761010080835404028352916020019161277b565b820191906000526020600020905b81548152906001019060200180831161275e57829003601f168201915b50505050509050600061278c612b26565b90506000815114156127a25781925050506127e5565b6000825111156127d75780826040516020016127bf9291906151e2565b604051602081830303815290604052925050506127e5565b6127e084612bb8565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128b557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128c557506128c482612c5f565b5b9050919050565b6128d7838383612cc9565b505050565b505050565b6128ea81612ddd565b6000600b6000838152602001908152602001600020805461290a90613f54565b90501461293157600b6000828152602001908152602001600020600061293091906135e9565b5b50565b61293e8383612efa565b61294b600084848461298f565b61298a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612981906150f4565b60405180910390fd5b505050565b60006129b08473ffffffffffffffffffffffffffffffffffffffff166130d4565b15612b19578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129d9611e1a565b8786866040518563ffffffff1660e01b81526004016129fb9493929190615206565b602060405180830381600087803b158015612a1557600080fd5b505af1925050508015612a4657506040513d601f19601f82011682018060405250810190612a439190615267565b60015b612ac9573d8060008114612a76576040519150601f19603f3d011682016040523d82523d6000602084013e612a7b565b606091505b50600081511415612ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab8906150f4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b1e565b600190505b949350505050565b6060600c8054612b3590613f54565b80601f0160208091040260200160405190810160405280929190818152602001828054612b6190613f54565b8015612bae5780601f10612b8357610100808354040283529160200191612bae565b820191906000526020600020905b815481529060010190602001808311612b9157829003601f168201915b5050505050905090565b6060612bc382611dae565b612c02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf990615306565b60405180910390fd5b6000612c0c612b26565b90506000815111612c2c5760405180602001604052806000815250612c57565b80612c36846130f7565b604051602001612c479291906151e2565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cd4838383613258565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d1757612d128161325d565b612d56565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d5557612d5483826132a6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d9957612d9481613413565b612dd8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dd757612dd682826134e4565b5b5b505050565b6000612de882610f55565b9050612df6816000846128cc565b612e01600083611e22565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e519190614ec3565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ef6816000846128dc565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6190615372565b60405180910390fd5b612f7381611dae565b15612fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612faa906153de565b60405180910390fd5b612fbf600083836128cc565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461300f9190614ef7565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130d0600083836128dc565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060600082141561313f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613253565b600082905060005b6000821461317157808061315a906153fe565b915050600a8261316a9190615476565b9150613147565b60008167ffffffffffffffff81111561318d5761318c6139eb565b5b6040519080825280601f01601f1916602001820160405280156131bf5781602001600182028036833780820191505090505b5090505b6000851461324c576001826131d89190614ec3565b9150600a856131e791906154a7565b60306131f39190614ef7565b60f81b81838151811061320957613208614417565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132459190615476565b94506131c3565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132b384611007565b6132bd9190614ec3565b90506000600860008481526020019081526020016000205490508181146133a2576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506134279190614ec3565b90506000600a600084815260200190815260200160002054905060006009838154811061345757613456614417565b5b90600052602060002001549050806009838154811061347957613478614417565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806134c8576134c76154d8565b5b6001900381819060005260206000200160009055905550505050565b60006134ef83611007565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b82805461356f90613f54565b90600052602060002090601f01602090048101928261359157600085556135d8565b82601f106135aa57805160ff19168380011785556135d8565b828001600101855582156135d8579182015b828111156135d75782518255916020019190600101906135bc565b5b5090506135e59190613629565b5090565b5080546135f590613f54565b6000825580601f106136075750613626565b601f0160209004906000526020600020908101906136259190613629565b5b50565b5b8082111561364257600081600090555060010161362a565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61368f8161365a565b811461369a57600080fd5b50565b6000813590506136ac81613686565b92915050565b6000602082840312156136c8576136c7613650565b5b60006136d68482850161369d565b91505092915050565b60008115159050919050565b6136f4816136df565b82525050565b600060208201905061370f60008301846136eb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561374f578082015181840152602081019050613734565b8381111561375e576000848401525b50505050565b6000601f19601f8301169050919050565b600061378082613715565b61378a8185613720565b935061379a818560208601613731565b6137a381613764565b840191505092915050565b600060208201905081810360008301526137c88184613775565b905092915050565b6000819050919050565b6137e3816137d0565b81146137ee57600080fd5b50565b600081359050613800816137da565b92915050565b60006020828403121561381c5761381b613650565b5b600061382a848285016137f1565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061385e82613833565b9050919050565b61386e81613853565b82525050565b60006020820190506138896000830184613865565b92915050565b61389881613853565b81146138a357600080fd5b50565b6000813590506138b58161388f565b92915050565b600080604083850312156138d2576138d1613650565b5b60006138e0858286016138a6565b92505060206138f1858286016137f1565b9150509250929050565b613904816137d0565b82525050565b600060208201905061391f60008301846138fb565b92915050565b60008060006060848603121561393e5761393d613650565b5b600061394c868287016138a6565b935050602061395d868287016138a6565b925050604061396e868287016137f1565b9150509250925092565b6000806040838503121561398f5761398e613650565b5b600061399d858286016137f1565b92505060206139ae858286016137f1565b9150509250929050565b60006040820190506139cd6000830185613865565b6139da60208301846138fb565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a2382613764565b810181811067ffffffffffffffff82111715613a4257613a416139eb565b5b80604052505050565b6000613a55613646565b9050613a618282613a1a565b919050565b600067ffffffffffffffff821115613a8157613a806139eb565b5b613a8a82613764565b9050602081019050919050565b82818337600083830152505050565b6000613ab9613ab484613a66565b613a4b565b905082815260208101848484011115613ad557613ad46139e6565b5b613ae0848285613a97565b509392505050565b600082601f830112613afd57613afc6139e1565b5b8135613b0d848260208601613aa6565b91505092915050565b600060208284031215613b2c57613b2b613650565b5b600082013567ffffffffffffffff811115613b4a57613b49613655565b5b613b5684828501613ae8565b91505092915050565b600060208284031215613b7557613b74613650565b5b6000613b83848285016138a6565b91505092915050565b600080fd5b600060a08284031215613ba757613ba6613b8c565b5b81905092915050565b600067ffffffffffffffff821115613bcb57613bca6139eb565b5b613bd482613764565b9050602081019050919050565b6000613bf4613bef84613bb0565b613a4b565b905082815260208101848484011115613c1057613c0f6139e6565b5b613c1b848285613a97565b509392505050565b600082601f830112613c3857613c376139e1565b5b8135613c48848260208601613be1565b91505092915050565b600080600060608486031215613c6a57613c69613650565b5b6000613c78868287016138a6565b935050602084013567ffffffffffffffff811115613c9957613c98613655565b5b613ca586828701613b91565b925050604084013567ffffffffffffffff811115613cc657613cc5613655565b5b613cd286828701613c23565b9150509250925092565b613ce5816136df565b8114613cf057600080fd5b50565b600081359050613d0281613cdc565b92915050565b60008060408385031215613d1f57613d1e613650565b5b6000613d2d858286016138a6565b9250506020613d3e85828601613cf3565b9150509250929050565b60006bffffffffffffffffffffffff82169050919050565b613d6981613d48565b8114613d7457600080fd5b50565b600081359050613d8681613d60565b92915050565b600080600060608486031215613da557613da4613650565b5b6000613db3868287016137f1565b935050602084013567ffffffffffffffff811115613dd457613dd3613655565b5b613de086828701613ae8565b9250506040613df186828701613d77565b9150509250925092565b60008060008060808587031215613e1557613e14613650565b5b6000613e23878288016138a6565b9450506020613e34878288016138a6565b9350506040613e45878288016137f1565b925050606085013567ffffffffffffffff811115613e6657613e65613655565b5b613e7287828801613c23565b91505092959194509250565b60008060008060808587031215613e9857613e97613650565b5b6000613ea6878288016138a6565b9450506020613eb7878288016137f1565b9350506040613ec8878288016138a6565b9250506060613ed9878288016137f1565b91505092959194509250565b60008060408385031215613efc57613efb613650565b5b6000613f0a858286016138a6565b9250506020613f1b858286016138a6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f6c57607f821691505b60208210811415613f8057613f7f613f25565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613fe2602c83613720565b9150613fed82613f86565b604082019050919050565b6000602082019050818103600083015261401181613fd5565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614074602183613720565b915061407f82614018565b604082019050919050565b600060208201905081810360008301526140a381614067565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614106603883613720565b9150614111826140aa565b604082019050919050565b60006020820190508181036000830152614135816140f9565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614198603183613720565b91506141a38261413c565b604082019050919050565b600060208201905081810360008301526141c78161418b565b9050919050565b60006040820190506141e360008301856138fb565b6141f060208301846138fb565b9392505050565b6000815190506142068161388f565b92915050565b60008151905061421b816137da565b92915050565b6000806040838503121561423857614237613650565b5b6000614246858286016141f7565b92505060206142578582860161420c565b9150509250929050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006142bd602b83613720565b91506142c882614261565b604082019050919050565b600060208201905081810360008301526142ec816142b0565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b600061434f603083613720565b915061435a826142f3565b604082019050919050565b6000602082019050818103600083015261437e81614342565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006143e1602c83613720565b91506143ec82614385565b604082019050919050565b60006020820190508181036000830152614410816143d4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f6e6c7920746865206f776e65722063616e2075736500000000000000000000600082015250565b600061447c601683613720565b915061448782614446565b602082019050919050565b600060208201905081810360008301526144ab8161446f565b9050919050565b7f52524720697320616c7265616479207573656400000000000000000000000000600082015250565b60006144e8601383613720565b91506144f3826144b2565b602082019050919050565b60006020820190508181036000830152614517816144db565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614554602083613720565b915061455f8261451e565b602082019050919050565b6000602082019050818103600083015261458381614547565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006145e6602983613720565b91506145f18261458a565b604082019050919050565b60006020820190508181036000830152614615816145d9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614678602a83613720565b91506146838261461c565b604082019050919050565b600060208201905081810360008301526146a78161466b565b9050919050565b7f54686520766f7563686572206d75737420626520666f72207468697320636f6e60008201527f7472616374000000000000000000000000000000000000000000000000000000602082015250565b600061470a602583613720565b9150614715826146ae565b604082019050919050565b60006020820190508181036000830152614739816146fd565b9050919050565b600061474f60208401846138a6565b905092915050565b61476081613853565b82525050565b600061477560208401846137f1565b905092915050565b614786816137d0565b82525050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126147b8576147b7614796565b5b83810192508235915060208301925067ffffffffffffffff8211156147e0576147df61478c565b5b6001820236038413156147f6576147f5614791565b5b509250929050565b600082825260208201905092915050565b600061481b83856147fe565b9350614828838584613a97565b61483183613764565b840190509392505050565b600061484b6020840184613d77565b905092915050565b61485c81613d48565b82525050565b600060a083016148756000840184614740565b6148826000860182614757565b506148906020840184614766565b61489d602086018261477d565b506148ab604084018461479b565b85830360408701526148be83828461480f565b925050506148cf6060840184614740565b6148dc6060860182614757565b506148ea608084018461483c565b6148f76080860182614853565b508091505092915050565b600081519050919050565b600082825260208201905092915050565b600061492982614902565b614933818561490d565b9350614943818560208601613731565b61494c81613764565b840191505092915050565b600060408201905081810360008301526149718185614862565b90508181036020830152614985818461491e565b90509392505050565b6000602082840312156149a4576149a3613650565b5b60006149b2848285016141f7565b91505092915050565b7f43726561746f72204164647265737320646f6573206e6f74206d617463680000600082015250565b60006149f1601e83613720565b91506149fc826149bb565b602082019050919050565b60006020820190508181036000830152614a20816149e4565b9050919050565b600081519050614a3681613cdc565b92915050565b600060208284031215614a5257614a51613650565b5b6000614a6084828501614a27565b91505092915050565b7f43726561746f72206973206e6f7420612076657269666965642072656379636c60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ac5602283613720565b9150614ad082614a69565b604082019050919050565b60006020820190508181036000830152614af481614ab8565b9050919050565b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112614b2757614b26614afb565b5b80840192508235915067ffffffffffffffff821115614b4957614b48614b00565b5b602083019250600182023603831315614b6557614b64614b05565b5b509250929050565b600060208284031215614b8357614b82613650565b5b6000614b9184828501613d77565b91505092915050565b614ba381613d48565b82525050565b6000606082019050614bbe60008301866138fb565b614bcb6020830185613865565b614bd86040830184614b9a565b949350505050565b7f52524720697320616c7265616479206174746163686564000000000000000000600082015250565b6000614c16601783613720565b9150614c2182614be0565b602082019050919050565b60006020820190508181036000830152614c4581614c09565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614ca8602683613720565b9150614cb382614c4c565b604082019050919050565b60006020820190508181036000830152614cd781614c9b565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614d3a602c83613720565b9150614d4582614cde565b604082019050919050565b60006020820190508181036000830152614d6981614d2d565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614dcc602583613720565b9150614dd782614d70565b604082019050919050565b60006020820190508181036000830152614dfb81614dbf565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614e5e602483613720565b9150614e6982614e02565b604082019050919050565b60006020820190508181036000830152614e8d81614e51565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614ece826137d0565b9150614ed9836137d0565b925082821015614eec57614eeb614e94565b5b828203905092915050565b6000614f02826137d0565b9150614f0d836137d0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f4257614f41614e94565b5b828201905092915050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000614fa9602e83613720565b9150614fb482614f4d565b604082019050919050565b60006020820190508181036000830152614fd881614f9c565b9050919050565b6000606082019050614ff46000830186613865565b6150016020830185613865565b61500e60408301846138fb565b949350505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061504c601983613720565b915061505782615016565b602082019050919050565b6000602082019050818103600083015261507b8161503f565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006150de603283613720565b91506150e982615082565b604082019050919050565b6000602082019050818103600083015261510d816150d1565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000615170603183613720565b915061517b82615114565b604082019050919050565b6000602082019050818103600083015261519f81615163565b9050919050565b600081905092915050565b60006151bc82613715565b6151c681856151a6565b93506151d6818560208601613731565b80840191505092915050565b60006151ee82856151b1565b91506151fa82846151b1565b91508190509392505050565b600060808201905061521b6000830187613865565b6152286020830186613865565b61523560408301856138fb565b8181036060830152615247818461491e565b905095945050505050565b60008151905061526181613686565b92915050565b60006020828403121561527d5761527c613650565b5b600061528b84828501615252565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006152f0602f83613720565b91506152fb82615294565b604082019050919050565b6000602082019050818103600083015261531f816152e3565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061535c602083613720565b915061536782615326565b602082019050919050565b6000602082019050818103600083015261538b8161534f565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006153c8601c83613720565b91506153d382615392565b602082019050919050565b600060208201905081810360008301526153f7816153bb565b9050919050565b6000615409826137d0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561543c5761543b614e94565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615481826137d0565b915061548c836137d0565b92508261549c5761549b615447565b5b828204905092915050565b60006154b2826137d0565b91506154bd836137d0565b9250826154cd576154cc615447565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220672c63c1ee549a962d27174da29f60d3700757ceabb8e6b5d9106c2bc4ea716064736f6c63430008090033

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

00000000000000000000000076eb72515dfd37b789726abdfb1b0da8db3ac0640000000000000000000000004311ba6e4584f1b5ce5237f23e80a0360ba9763e0000000000000000000000003a6ddbd04a65262cbf6733fe96041574a037c9f30000000000000000000000007028e5d59083b213fcc86abaf5813f66bcf09ed9

-----Decoded View---------------
Arg [0] : _addressVerification (address): 0x76Eb72515dfD37B789726aBDfB1B0Da8db3Ac064
Arg [1] : _royaltyCal (address): 0x4311ba6e4584F1b5Ce5237F23E80a0360Ba9763E
Arg [2] : _plastikCrypto (address): 0x3a6Ddbd04A65262cBF6733Fe96041574A037c9F3
Arg [3] : _plastikRole (address): 0x7028E5d59083B213FCC86AbAf5813F66bcF09Ed9

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000076eb72515dfd37b789726abdfb1b0da8db3ac064
Arg [1] : 0000000000000000000000004311ba6e4584f1b5ce5237f23e80a0360ba9763e
Arg [2] : 0000000000000000000000003a6ddbd04a65262cbf6733fe96041574a037c9f3
Arg [3] : 0000000000000000000000007028e5d59083b213fcc86abaf5813f66bcf09ed9


Deployed Bytecode Sourcemap

197:3864:26:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2911:413:24;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2493:98:7;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4004:217;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3542:401;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1615:111:11;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4731:330:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1720:229:24;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;1291:253:11;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5127:179:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;529:241:10;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1798:230:11;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3743:316:26;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1514:98:24;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2196:235:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1934:205;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1668:101:4;;;;;;;;;;;;;:::i;:::-;;1036:85;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2655:102:7;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1269:202:26;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1925:1177;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3631:106;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4288:153:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1477:442:26;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5372:320:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2700:205:24;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3108:517:26;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4507:162:7;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1918:198:4;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2911:413:24;3055:4;3109:33;3094:48;;;:11;:48;;;;:114;;;;3173:35;3158:50;;;:11;:50;;;;3094:114;:171;;;;3239:26;3224:41;;;:11;:41;;;;3094:171;:223;;;;3281:36;3305:11;3281:23;:36::i;:::-;3094:223;3075:242;;2911:413;;;:::o;2493:98:7:-;2547:13;2579:5;2572:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2493:98;:::o;4004:217::-;4080:7;4107:16;4115:7;4107;:16::i;:::-;4099:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;4190:15;:24;4206:7;4190:24;;;;;;;;;;;;;;;;;;;;;4183:31;;4004:217;;;:::o;3542:401::-;3622:13;3638:23;3653:7;3638:14;:23::i;:::-;3622:39;;3685:5;3679:11;;:2;:11;;;;3671:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;3776:5;3760:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;3785:37;3802:5;3809:12;:10;:12::i;:::-;3785:16;:37::i;:::-;3760:62;3739:165;;;;;;;;;;;;:::i;:::-;;;;;;;;;3915:21;3924:2;3928:7;3915:8;:21::i;:::-;3612:331;3542:401;;:::o;1615:111:11:-;1676:7;1702:10;:17;;;;1695:24;;1615:111;:::o;4731:330:7:-;4920:41;4939:12;:10;:12::i;:::-;4953:7;4920:18;:41::i;:::-;4912:103;;;;;;;;;;;;:::i;:::-;;;;;;;;;5026:28;5036:4;5042:2;5046:7;5026:9;:28::i;:::-;4731:330;;;:::o;1720:229:24:-;1859:7;1868;1898:10;;;;;;;;;;;:22;;;1921:8;1931:10;1898:44;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1891:51;;;;1720:229;;;;;:::o;1291:253:11:-;1388:7;1423:23;1440:5;1423:16;:23::i;:::-;1415:5;:31;1407:87;;;;;;;;;;;;:::i;:::-;;;;;;;;;1511:12;:19;1524:5;1511:19;;;;;;;;;;;;;;;:26;1531:5;1511:26;;;;;;;;;;;;1504:33;;1291:253;;;;:::o;5127:179:7:-;5260:39;5277:4;5283:2;5287:7;5260:39;;;;;;;;;;;;:16;:39::i;:::-;5127:179;;;:::o;529:241:10:-;645:41;664:12;:10;:12::i;:::-;678:7;645:18;:41::i;:::-;637:102;;;;;;;;;;;;:::i;:::-;;;;;;;;;749:14;755:7;749:5;:14::i;:::-;529:241;:::o;1798:230:11:-;1873:7;1908:30;:28;:30::i;:::-;1900:5;:38;1892:95;;;;;;;;;;;;:::i;:::-;;;;;;;;;2004:10;2015:5;2004:17;;;;;;;;:::i;:::-;;;;;;;;;;1997:24;;1798:230;;;:::o;3743:316:26:-;3793:4;3831:17;3839:8;3831:7;:17::i;:::-;3817:31;;:10;:31;;;3809:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;3894:8;:18;3903:8;3894:18;;;;;;;;;;;;;;;;;;;;;3893:19;3885:51;;;;;;;;;;;;:::i;:::-;;;;;;;;;3967:4;3946:8;:18;3955:8;3946:18;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;4015:15;4003:10;3986:45;;3993:8;3986:45;;;;;;;;;;4048:4;4041:11;;3743:316;;;:::o;1514:98:24:-;1259:12:4;:10;:12::i;:::-;1248:23;;:7;:5;:7::i;:::-;:23;;;1240:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1597:8:24::1;1585:9;:20;;;;;;;;;;;;:::i;:::-;;1514:98:::0;:::o;2196:235:7:-;2268:7;2287:13;2303:7;:16;2311:7;2303:16;;;;;;;;;;;;;;;;;;;;;2287:32;;2354:1;2337:19;;:5;:19;;;;2329:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;2419:5;2412:12;;;2196:235;;;:::o;1934:205::-;2006:7;2050:1;2033:19;;:5;:19;;;;2025:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;2116:9;:16;2126:5;2116:16;;;;;;;;;;;;;;;;2109:23;;1934:205;;;:::o;1668:101:4:-;1259:12;:10;:12::i;:::-;1248:23;;:7;:5;:7::i;:::-;:23;;;1240:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;1036:85::-;1082:7;1108:6;;;;;;;;;;;1101:13;;1036:85;:::o;2655:102:7:-;2711:13;2743:7;2736:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2655:102;:::o;1269:202:26:-;1370:4;1259:12:4;:10;:12::i;:::-;1248:23;;:7;:5;:7::i;:::-;:23;;;1240:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1426:16:26::1;1390;;:53;;;;;;;;;;;;;;;;;;1460:4;1453:11;;1269:202:::0;;;:::o;1925:1177::-;2086:7;1654:11:24;;;;;;;;;;;:28;;;1683:12;:10;:12::i;:::-;1654:42;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2158:4:26::1;2126:37;;:7;:20;;;;;;;;;;:::i;:::-;:37;;;2105:121;;;;;;;;;;;;:::i;:::-;;;;;;;;;2303:14;2320:13;;;;;;;;;;;:20;;;2341:7;2350:9;2320:40;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2303:57;;2401:7;:22;;;;;;;;;;:::i;:::-;2391:32;;:6;:32;;;2370:109;;;;;;;;;;;;:::i;:::-;;;;;;;;;2566:16;;;;;;;;;;;:27;;;2594:7;:22;;;;;;;;;;:::i;:::-;2566:51;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2545:132;;;;;;;;;;;;:::i;:::-;;;;;;;;;2750:34;2760:6;2768:7;:15;;;2750:9;:34::i;:::-;2794:47;2807:7;:15;;;2824:7;:16;;;;;;;;:::i;:::-;2794:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:12;:47::i;:::-;2870:6;2857:37;;;2878:7;:15;;;2857:37;;;;;;:::i;:::-;;;;;;;;2905:10;;;;;;;;;;;:26;;;2932:7;:15;;;2949:5;2956:7;:15;;;;;;;;;;:::i;:::-;2905:67;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3016:47;3032:6;3040:5;3047:7;:15;;;3016;:47::i;:::-;3080:7;:15;;;3073:22;;;1925:1177:::0;;;;;:::o;3631:106::-;3689:4;3712:8;:18;3721:8;3712:18;;;;;;;;;;;;;;;;;;;;;3705:25;;3631:106;;;:::o;4288:153:7:-;4382:52;4401:12;:10;:12::i;:::-;4415:8;4425;4382:18;:52::i;:::-;4288:153;;:::o;1477:442:26:-;1614:7;1654:11:24;;;;;;;;;;;:28;;;1683:12;:10;:12::i;:::-;1654:42;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1695:32:26::1;1705:12;:10;:12::i;:::-;1719:7;1695:9;:32::i;:::-;1737:31;1750:7;1759:8;1737:12;:31::i;:::-;1797:12;:10;:12::i;:::-;1784:35;;;1811:7;1784:35;;;;;;:::i;:::-;;;;;;;;1830:10;;;;;;;;;;;:26;;;1857:7;1866:12;:10;:12::i;:::-;1880:7;1830:58;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;1905:7;1898:14;;1477:442:::0;;;;;:::o;5372:320:7:-;5541:41;5560:12;:10;:12::i;:::-;5574:7;5541:18;:41::i;:::-;5533:103;;;;;;;;;;;;:::i;:::-;;;;;;;;;5646:39;5660:4;5666:2;5670:7;5679:5;5646:13;:39::i;:::-;5372:320;;;;:::o;2700:205:24:-;2839:13;2875:23;2890:7;2875:14;:23::i;:::-;2868:30;;2700:205;;;:::o;3108:517:26:-;1654:11:24;;;;;;;;;;;:28;;;1683:12;:10;:12::i;:::-;1654:42;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3330:1:26::1;3297:20;:29;3318:7;3297:29;;;;;;;;;;;;:34;3289:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;3406:15;3369:25;:34;3395:7;3369:34;;;;;;;;;;;;:52;;;;;;;;;;;;;;;;;;3463:10;3431:20;:29;3452:7;3431:29;;;;;;;;;;;:42;;;;3598:10;3569:15;3488:130;;3519:15;3488:130;;;3548:7;3488:130;;;;;;:::i;:::-;;;;;;;;3108:517:::0;;;;:::o;4507:162:7:-;4604:4;4627:18;:25;4646:5;4627:25;;;;;;;;;;;;;;;:35;4653:8;4627:35;;;;;;;;;;;;;;;;;;;;;;;;;4620:42;;4507:162;;;;:::o;1918:198:4:-;1259:12;:10;:12::i;:::-;1248:23;;:7;:5;:7::i;:::-;:23;;;1240:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2026:1:::1;2006:22;;:8;:22;;;;1998:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;2081:28;2100:8;2081:18;:28::i;:::-;1918:198:::0;:::o;990:222:11:-;1092:4;1130:35;1115:50;;;:11;:50;;;;:90;;;;1169:36;1193:11;1169:23;:36::i;:::-;1115:90;1108:97;;990:222;;;:::o;7164:125:7:-;7229:4;7280:1;7252:30;;:7;:16;7260:7;7252:16;;;;;;;;;;;;;;;;;;;;;:30;;;;7245:37;;7164:125;;;:::o;640:96:17:-;693:7;719:10;712:17;;640:96;:::o;11173:171:7:-;11274:2;11247:15;:24;11263:7;11247:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;11329:7;11325:2;11291:46;;11300:23;11315:7;11300:14;:23::i;:::-;11291:46;;;;;;;;;;;;11173:171;;:::o;7447:344::-;7540:4;7564:16;7572:7;7564;:16::i;:::-;7556:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;7639:13;7655:23;7670:7;7655:14;:23::i;:::-;7639:39;;7707:5;7696:16;;:7;:16;;;:51;;;;7740:7;7716:31;;:20;7728:7;7716:11;:20::i;:::-;:31;;;7696:51;:87;;;;7751:32;7768:5;7775:7;7751:16;:32::i;:::-;7696:87;7688:96;;;7447:344;;;;:::o;10457:605::-;10611:4;10584:31;;:23;10599:7;10584:14;:23::i;:::-;:31;;;10576:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;10689:1;10675:16;;:2;:16;;;;10667:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;10743:39;10764:4;10770:2;10774:7;10743:20;:39::i;:::-;10844:29;10861:1;10865:7;10844:8;:29::i;:::-;10903:1;10884:9;:15;10894:4;10884:15;;;;;;;;;;;;;;;;:20;;;;;;;:::i;:::-;;;;;;;;10931:1;10914:9;:13;10924:2;10914:13;;;;;;;;;;;;;;;;:18;;;;;;;:::i;:::-;;;;;;;;10961:2;10942:7;:16;10950:7;10942:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;10998:7;10994:2;10979:27;;10988:4;10979:27;;;;;;;;;;;;11017:38;11037:4;11043:2;11047:7;11017:19;:38::i;:::-;10457:605;;;:::o;2170:196:24:-;2292:20;2304:7;2292:11;:20::i;:::-;2322:10;;;;;;;;;;;:28;;;2351:7;2322:37;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2170:196;:::o;2270:187:4:-;2343:16;2362:6;;;;;;;;;;;2343:25;;2387:8;2378:6;;:17;;;;;;;;;;;;;;;;;;2441:8;2410:40;;2431:8;2410:40;;;;;;;;;;;;2333:124;2270:187;:::o;8121:108:7:-;8196:26;8206:2;8210:7;8196:26;;;;;;;;;;;;:9;:26::i;:::-;8121:108;;:::o;1277:214:12:-;1376:16;1384:7;1376;:16::i;:::-;1368:75;;;;;;;;;;;;:::i;:::-;;;;;;;;;1475:9;1453:10;:19;1464:7;1453:19;;;;;;;;;;;:31;;;;;;;;;;;;:::i;:::-;;1277:214;;:::o;2372:322:24:-;2547:6;2531:22;;:12;:10;:12::i;:::-;:22;;;2527:161;;;2569:36;2582:6;2590:5;2597:7;2569:12;:36::i;:::-;2527:161;;;2636:4;:17;;;2654:6;2662:5;2669:7;2636:41;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2527:161;2372:322;;;:::o;11479:307:7:-;11629:8;11620:17;;:5;:17;;;;11612:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;11715:8;11677:18;:25;11696:5;11677:25;;;;;;;;;;;;;;;:35;11703:8;11677:35;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;11760:8;11738:41;;11753:5;11738:41;;;11770:8;11738:41;;;;;;:::i;:::-;;;;;;;;11479:307;;;:::o;6554:::-;6705:28;6715:4;6721:2;6725:7;6705:9;:28::i;:::-;6751:48;6774:4;6780:2;6784:7;6793:5;6751:22;:48::i;:::-;6743:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;6554:307;;;;:::o;467:663:12:-;540:13;573:16;581:7;573;:16::i;:::-;565:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;654:23;680:10;:19;691:7;680:19;;;;;;;;;;;654:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;709:18;730:10;:8;:10::i;:::-;709:31;;835:1;819:4;813:18;:23;809:70;;;859:9;852:16;;;;;;809:70;1007:1;987:9;981:23;:27;977:106;;;1055:4;1061:9;1038:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1024:48;;;;;;977:106;1100:23;1115:7;1100:14;:23::i;:::-;1093:30;;;;467:663;;;;:::o;1575:300:7:-;1677:4;1727:25;1712:40;;;:11;:40;;;;:104;;;;1783:33;1768:48;;;:11;:48;;;;1712:104;:156;;;;1832:36;1856:11;1832:23;:36::i;:::-;1712:156;1693:175;;1575:300;;;:::o;1955:209:24:-;2112:45;2139:4;2145:2;2149:7;2112:26;:45::i;:::-;1955:209;;;:::o;14167:121:7:-;;;;:::o;1708:200:12:-;1776:20;1788:7;1776:11;:20::i;:::-;1848:1;1817:10;:19;1828:7;1817:19;;;;;;;;;;;1811:33;;;;;:::i;:::-;;;:38;1807:95;;1872:10;:19;1883:7;1872:19;;;;;;;;;;;;1865:26;;;;:::i;:::-;1807:95;1708:200;:::o;8450:311:7:-;8575:18;8581:2;8585:7;8575:5;:18::i;:::-;8624:54;8655:1;8659:2;8663:7;8672:5;8624:22;:54::i;:::-;8603:151;;;;;;;;;;;;:::i;:::-;;;;;;;;;8450:311;;;:::o;12339:778::-;12489:4;12509:15;:2;:13;;;:15::i;:::-;12505:606;;;12560:2;12544:36;;;12581:12;:10;:12::i;:::-;12595:4;12601:7;12610:5;12544:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;12540:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12800:1;12783:6;:13;:18;12779:266;;;12825:60;;;;;;;;;;:::i;:::-;;;;;;;;12779:266;12997:6;12991:13;12982:6;12978:2;12974:15;12967:38;12540:519;12676:41;;;12666:51;;;:6;:51;;;;12659:58;;;;;12505:606;13096:4;13089:11;;12339:778;;;;;;;:::o;1408:100:24:-;1460:13;1492:9;1485:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1408:100;:::o;2823:329:7:-;2896:13;2929:16;2937:7;2929;:16::i;:::-;2921:76;;;;;;;;;;;;:::i;:::-;;;;;;;;;3008:21;3032:10;:8;:10::i;:::-;3008:34;;3083:1;3065:7;3059:21;:25;:86;;;;;;;;;;;;;;;;;3111:7;3120:18;:7;:16;:18::i;:::-;3094:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3059:86;3052:93;;;2823:329;;;:::o;829:155:21:-;914:4;952:25;937:40;;;:11;:40;;;;930:47;;829:155;;;:::o;2624:572:11:-;2763:45;2790:4;2796:2;2800:7;2763:26;:45::i;:::-;2839:1;2823:18;;:4;:18;;;2819:183;;;2857:40;2889:7;2857:31;:40::i;:::-;2819:183;;;2926:2;2918:10;;:4;:10;;;2914:88;;2944:47;2977:4;2983:7;2944:32;:47::i;:::-;2914:88;2819:183;3029:1;3015:16;;:2;:16;;;3011:179;;;3047:45;3084:7;3047:36;:45::i;:::-;3011:179;;;3119:4;3113:10;;:2;:10;;;3109:81;;3139:40;3167:2;3171:7;3139:27;:40::i;:::-;3109:81;3011:179;2624:572;;;:::o;9727:406:7:-;9786:13;9802:23;9817:7;9802:14;:23::i;:::-;9786:39;;9836:48;9857:5;9872:1;9876:7;9836:20;:48::i;:::-;9922:29;9939:1;9943:7;9922:8;:29::i;:::-;9982:1;9962:9;:16;9972:5;9962:16;;;;;;;;;;;;;;;;:21;;;;;;;:::i;:::-;;;;;;;;10000:7;:16;10008:7;10000:16;;;;;;;;;;;;9993:23;;;;;;;;;;;10060:7;10056:1;10032:36;;10041:5;10032:36;;;;;;;;;;;;10079:47;10099:5;10114:1;10118:7;10079:19;:47::i;:::-;9776:357;9727:406;:::o;9083:427::-;9176:1;9162:16;;:2;:16;;;;9154:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;9234:16;9242:7;9234;:16::i;:::-;9233:17;9225:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;9294:45;9323:1;9327:2;9331:7;9294:20;:45::i;:::-;9367:1;9350:9;:13;9360:2;9350:13;;;;;;;;;;;;;;;;:18;;;;;;;:::i;:::-;;;;;;;;9397:2;9378:7;:16;9386:7;9378:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;9440:7;9436:2;9415:33;;9432:1;9415:33;;;;;;;;;;;;9459:44;9487:1;9491:2;9495:7;9459:19;:44::i;:::-;9083:427;;:::o;1180:320:16:-;1240:4;1492:1;1470:7;:19;;;:23;1463:30;;1180:320;;;:::o;328:703:18:-;384:13;610:1;601:5;:10;597:51;;;627:10;;;;;;;;;;;;;;;;;;;;;597:51;657:12;672:5;657:20;;687:14;711:75;726:1;718:4;:9;711:75;;743:8;;;;;:::i;:::-;;;;773:2;765:10;;;;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;795:39;;844:150;860:1;851:5;:10;844:150;;887:1;877:11;;;;;:::i;:::-;;;953:2;945:5;:10;;;;:::i;:::-;932:2;:24;;;;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;;:56;;;;;;;;;;;981:2;972:11;;;;;:::i;:::-;;;844:150;;;1017:6;1003:21;;;;;328:703;;;;:::o;13673:122:7:-;;;;:::o;3902:161:11:-;4005:10;:17;;;;3978:15;:24;3994:7;3978:24;;;;;;;;;;;:44;;;;4032:10;4048:7;4032:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3902:161;:::o;4680:970::-;4942:22;4992:1;4967:22;4984:4;4967:16;:22::i;:::-;:26;;;;:::i;:::-;4942:51;;5003:18;5024:17;:26;5042:7;5024:26;;;;;;;;;;;;5003:47;;5168:14;5154:10;:28;5150:323;;5198:19;5220:12;:18;5233:4;5220:18;;;;;;;;;;;;;;;:34;5239:14;5220:34;;;;;;;;;;;;5198:56;;5302:11;5269:12;:18;5282:4;5269:18;;;;;;;;;;;;;;;:30;5288:10;5269:30;;;;;;;;;;;:44;;;;5418:10;5385:17;:30;5403:11;5385:30;;;;;;;;;;;:43;;;;5184:289;5150:323;5566:17;:26;5584:7;5566:26;;;;;;;;;;;5559:33;;;5609:12;:18;5622:4;5609:18;;;;;;;;;;;;;;;:34;5628:14;5609:34;;;;;;;;;;;5602:41;;;4761:889;;4680:970;;:::o;5938:1061::-;6187:22;6232:1;6212:10;:17;;;;:21;;;;:::i;:::-;6187:46;;6243:18;6264:15;:24;6280:7;6264:24;;;;;;;;;;;;6243:45;;6610:19;6632:10;6643:14;6632:26;;;;;;;;:::i;:::-;;;;;;;;;;6610:48;;6694:11;6669:10;6680;6669:22;;;;;;;;:::i;:::-;;;;;;;;;:36;;;;6804:10;6773:15;:28;6789:11;6773:28;;;;;;;;;;;:41;;;;6942:15;:24;6958:7;6942:24;;;;;;;;;;;6935:31;;;6976:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6009:990;;;5938:1061;:::o;3490:217::-;3574:14;3591:20;3608:2;3591:16;:20::i;:::-;3574:37;;3648:7;3621:12;:16;3634:2;3621:16;;;;;;;;;;;;;;;:24;3638:6;3621:24;;;;;;;;;;;:34;;;;3694:6;3665:17;:26;3683:7;3665:26;;;;;;;;;;;:35;;;;3564:143;3490:217;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:75:32:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:307::-;1866:1;1876:113;1890:6;1887:1;1884:13;1876:113;;;1975:1;1970:3;1966:11;1960:18;1956:1;1951:3;1947:11;1940:39;1912:2;1909:1;1905:10;1900:15;;1876:113;;;2007:6;2004:1;2001:13;1998:101;;;2087:1;2078:6;2073:3;2069:16;2062:27;1998:101;1847:258;1798:307;;;:::o;2111:102::-;2152:6;2203:2;2199:7;2194:2;2187:5;2183:14;2179:28;2169:38;;2111:102;;;:::o;2219:364::-;2307:3;2335:39;2368:5;2335:39;:::i;:::-;2390:71;2454:6;2449:3;2390:71;:::i;:::-;2383:78;;2470:52;2515:6;2510:3;2503:4;2496:5;2492:16;2470:52;:::i;:::-;2547:29;2569:6;2547:29;:::i;:::-;2542:3;2538:39;2531:46;;2311:272;2219:364;;;;:::o;2589:313::-;2702:4;2740:2;2729:9;2725:18;2717:26;;2789:9;2783:4;2779:20;2775:1;2764:9;2760:17;2753:47;2817:78;2890:4;2881:6;2817:78;:::i;:::-;2809:86;;2589:313;;;;:::o;2908:77::-;2945:7;2974:5;2963:16;;2908:77;;;:::o;2991:122::-;3064:24;3082:5;3064:24;:::i;:::-;3057:5;3054:35;3044:63;;3103:1;3100;3093:12;3044:63;2991:122;:::o;3119:139::-;3165:5;3203:6;3190:20;3181:29;;3219:33;3246:5;3219:33;:::i;:::-;3119:139;;;;:::o;3264:329::-;3323:6;3372:2;3360:9;3351:7;3347:23;3343:32;3340:119;;;3378:79;;:::i;:::-;3340:119;3498:1;3523:53;3568:7;3559:6;3548:9;3544:22;3523:53;:::i;:::-;3513:63;;3469:117;3264:329;;;;:::o;3599:126::-;3636:7;3676:42;3669:5;3665:54;3654:65;;3599:126;;;:::o;3731:96::-;3768:7;3797:24;3815:5;3797:24;:::i;:::-;3786:35;;3731:96;;;:::o;3833:118::-;3920:24;3938:5;3920:24;:::i;:::-;3915:3;3908:37;3833:118;;:::o;3957:222::-;4050:4;4088:2;4077:9;4073:18;4065:26;;4101:71;4169:1;4158:9;4154:17;4145:6;4101:71;:::i;:::-;3957:222;;;;:::o;4185:122::-;4258:24;4276:5;4258:24;:::i;:::-;4251:5;4248:35;4238:63;;4297:1;4294;4287:12;4238:63;4185:122;:::o;4313:139::-;4359:5;4397:6;4384:20;4375:29;;4413:33;4440:5;4413:33;:::i;:::-;4313:139;;;;:::o;4458:474::-;4526:6;4534;4583:2;4571:9;4562:7;4558:23;4554:32;4551:119;;;4589:79;;:::i;:::-;4551:119;4709:1;4734:53;4779:7;4770:6;4759:9;4755:22;4734:53;:::i;:::-;4724:63;;4680:117;4836:2;4862:53;4907:7;4898:6;4887:9;4883:22;4862:53;:::i;:::-;4852:63;;4807:118;4458:474;;;;;:::o;4938:118::-;5025:24;5043:5;5025:24;:::i;:::-;5020:3;5013:37;4938:118;;:::o;5062:222::-;5155:4;5193:2;5182:9;5178:18;5170:26;;5206:71;5274:1;5263:9;5259:17;5250:6;5206:71;:::i;:::-;5062:222;;;;:::o;5290:619::-;5367:6;5375;5383;5432:2;5420:9;5411:7;5407:23;5403:32;5400:119;;;5438:79;;:::i;:::-;5400:119;5558:1;5583:53;5628:7;5619:6;5608:9;5604:22;5583:53;:::i;:::-;5573:63;;5529:117;5685:2;5711:53;5756:7;5747:6;5736:9;5732:22;5711:53;:::i;:::-;5701:63;;5656:118;5813:2;5839:53;5884:7;5875:6;5864:9;5860:22;5839:53;:::i;:::-;5829:63;;5784:118;5290:619;;;;;:::o;5915:474::-;5983:6;5991;6040:2;6028:9;6019:7;6015:23;6011:32;6008:119;;;6046:79;;:::i;:::-;6008:119;6166:1;6191:53;6236:7;6227:6;6216:9;6212:22;6191:53;:::i;:::-;6181:63;;6137:117;6293:2;6319:53;6364:7;6355:6;6344:9;6340:22;6319:53;:::i;:::-;6309:63;;6264:118;5915:474;;;;;:::o;6395:332::-;6516:4;6554:2;6543:9;6539:18;6531:26;;6567:71;6635:1;6624:9;6620:17;6611:6;6567:71;:::i;:::-;6648:72;6716:2;6705:9;6701:18;6692:6;6648:72;:::i;:::-;6395:332;;;;;:::o;6733:117::-;6842:1;6839;6832:12;6856:117;6965:1;6962;6955:12;6979:180;7027:77;7024:1;7017:88;7124:4;7121:1;7114:15;7148:4;7145:1;7138:15;7165:281;7248:27;7270:4;7248:27;:::i;:::-;7240:6;7236:40;7378:6;7366:10;7363:22;7342:18;7330:10;7327:34;7324:62;7321:88;;;7389:18;;:::i;:::-;7321:88;7429:10;7425:2;7418:22;7208:238;7165:281;;:::o;7452:129::-;7486:6;7513:20;;:::i;:::-;7503:30;;7542:33;7570:4;7562:6;7542:33;:::i;:::-;7452:129;;;:::o;7587:308::-;7649:4;7739:18;7731:6;7728:30;7725:56;;;7761:18;;:::i;:::-;7725:56;7799:29;7821:6;7799:29;:::i;:::-;7791:37;;7883:4;7877;7873:15;7865:23;;7587:308;;;:::o;7901:154::-;7985:6;7980:3;7975;7962:30;8047:1;8038:6;8033:3;8029:16;8022:27;7901:154;;;:::o;8061:412::-;8139:5;8164:66;8180:49;8222:6;8180:49;:::i;:::-;8164:66;:::i;:::-;8155:75;;8253:6;8246:5;8239:21;8291:4;8284:5;8280:16;8329:3;8320:6;8315:3;8311:16;8308:25;8305:112;;;8336:79;;:::i;:::-;8305:112;8426:41;8460:6;8455:3;8450;8426:41;:::i;:::-;8145:328;8061:412;;;;;:::o;8493:340::-;8549:5;8598:3;8591:4;8583:6;8579:17;8575:27;8565:122;;8606:79;;:::i;:::-;8565:122;8723:6;8710:20;8748:79;8823:3;8815:6;8808:4;8800:6;8796:17;8748:79;:::i;:::-;8739:88;;8555:278;8493:340;;;;:::o;8839:509::-;8908:6;8957:2;8945:9;8936:7;8932:23;8928:32;8925:119;;;8963:79;;:::i;:::-;8925:119;9111:1;9100:9;9096:17;9083:31;9141:18;9133:6;9130:30;9127:117;;;9163:79;;:::i;:::-;9127:117;9268:63;9323:7;9314:6;9303:9;9299:22;9268:63;:::i;:::-;9258:73;;9054:287;8839:509;;;;:::o;9354:329::-;9413:6;9462:2;9450:9;9441:7;9437:23;9433:32;9430:119;;;9468:79;;:::i;:::-;9430:119;9588:1;9613:53;9658:7;9649:6;9638:9;9634:22;9613:53;:::i;:::-;9603:63;;9559:117;9354:329;;;;:::o;9689:117::-;9798:1;9795;9788:12;9837:235;9913:5;9954:3;9945:6;9940:3;9936:16;9932:26;9929:113;;;9961:79;;:::i;:::-;9929:113;10060:6;10051:15;;9837:235;;;;:::o;10078:307::-;10139:4;10229:18;10221:6;10218:30;10215:56;;;10251:18;;:::i;:::-;10215:56;10289:29;10311:6;10289:29;:::i;:::-;10281:37;;10373:4;10367;10363:15;10355:23;;10078:307;;;:::o;10391:410::-;10468:5;10493:65;10509:48;10550:6;10509:48;:::i;:::-;10493:65;:::i;:::-;10484:74;;10581:6;10574:5;10567:21;10619:4;10612:5;10608:16;10657:3;10648:6;10643:3;10639:16;10636:25;10633:112;;;10664:79;;:::i;:::-;10633:112;10754:41;10788:6;10783:3;10778;10754:41;:::i;:::-;10474:327;10391:410;;;;;:::o;10820:338::-;10875:5;10924:3;10917:4;10909:6;10905:17;10901:27;10891:122;;10932:79;;:::i;:::-;10891:122;11049:6;11036:20;11074:78;11148:3;11140:6;11133:4;11125:6;11121:17;11074:78;:::i;:::-;11065:87;;10881:277;10820:338;;;;:::o;11164:1017::-;11280:6;11288;11296;11345:2;11333:9;11324:7;11320:23;11316:32;11313:119;;;11351:79;;:::i;:::-;11313:119;11471:1;11496:53;11541:7;11532:6;11521:9;11517:22;11496:53;:::i;:::-;11486:63;;11442:117;11626:2;11615:9;11611:18;11598:32;11657:18;11649:6;11646:30;11643:117;;;11679:79;;:::i;:::-;11643:117;11784:83;11859:7;11850:6;11839:9;11835:22;11784:83;:::i;:::-;11774:93;;11569:308;11944:2;11933:9;11929:18;11916:32;11975:18;11967:6;11964:30;11961:117;;;11997:79;;:::i;:::-;11961:117;12102:62;12156:7;12147:6;12136:9;12132:22;12102:62;:::i;:::-;12092:72;;11887:287;11164:1017;;;;;:::o;12187:116::-;12257:21;12272:5;12257:21;:::i;:::-;12250:5;12247:32;12237:60;;12293:1;12290;12283:12;12237:60;12187:116;:::o;12309:133::-;12352:5;12390:6;12377:20;12368:29;;12406:30;12430:5;12406:30;:::i;:::-;12309:133;;;;:::o;12448:468::-;12513:6;12521;12570:2;12558:9;12549:7;12545:23;12541:32;12538:119;;;12576:79;;:::i;:::-;12538:119;12696:1;12721:53;12766:7;12757:6;12746:9;12742:22;12721:53;:::i;:::-;12711:63;;12667:117;12823:2;12849:50;12891:7;12882:6;12871:9;12867:22;12849:50;:::i;:::-;12839:60;;12794:115;12448:468;;;;;:::o;12922:109::-;12958:7;12998:26;12991:5;12987:38;12976:49;;12922:109;;;:::o;13037:120::-;13109:23;13126:5;13109:23;:::i;:::-;13102:5;13099:34;13089:62;;13147:1;13144;13137:12;13089:62;13037:120;:::o;13163:137::-;13208:5;13246:6;13233:20;13224:29;;13262:32;13288:5;13262:32;:::i;:::-;13163:137;;;;:::o;13306:797::-;13392:6;13400;13408;13457:2;13445:9;13436:7;13432:23;13428:32;13425:119;;;13463:79;;:::i;:::-;13425:119;13583:1;13608:53;13653:7;13644:6;13633:9;13629:22;13608:53;:::i;:::-;13598:63;;13554:117;13738:2;13727:9;13723:18;13710:32;13769:18;13761:6;13758:30;13755:117;;;13791:79;;:::i;:::-;13755:117;13896:63;13951:7;13942:6;13931:9;13927:22;13896:63;:::i;:::-;13886:73;;13681:288;14008:2;14034:52;14078:7;14069:6;14058:9;14054:22;14034:52;:::i;:::-;14024:62;;13979:117;13306:797;;;;;:::o;14109:943::-;14204:6;14212;14220;14228;14277:3;14265:9;14256:7;14252:23;14248:33;14245:120;;;14284:79;;:::i;:::-;14245:120;14404:1;14429:53;14474:7;14465:6;14454:9;14450:22;14429:53;:::i;:::-;14419:63;;14375:117;14531:2;14557:53;14602:7;14593:6;14582:9;14578:22;14557:53;:::i;:::-;14547:63;;14502:118;14659:2;14685:53;14730:7;14721:6;14710:9;14706:22;14685:53;:::i;:::-;14675:63;;14630:118;14815:2;14804:9;14800:18;14787:32;14846:18;14838:6;14835:30;14832:117;;;14868:79;;:::i;:::-;14832:117;14973:62;15027:7;15018:6;15007:9;15003:22;14973:62;:::i;:::-;14963:72;;14758:287;14109:943;;;;;;;:::o;15058:765::-;15144:6;15152;15160;15168;15217:3;15205:9;15196:7;15192:23;15188:33;15185:120;;;15224:79;;:::i;:::-;15185:120;15344:1;15369:53;15414:7;15405:6;15394:9;15390:22;15369:53;:::i;:::-;15359:63;;15315:117;15471:2;15497:53;15542:7;15533:6;15522:9;15518:22;15497:53;:::i;:::-;15487:63;;15442:118;15599:2;15625:53;15670:7;15661:6;15650:9;15646:22;15625:53;:::i;:::-;15615:63;;15570:118;15727:2;15753:53;15798:7;15789:6;15778:9;15774:22;15753:53;:::i;:::-;15743:63;;15698:118;15058:765;;;;;;;:::o;15829:474::-;15897:6;15905;15954:2;15942:9;15933:7;15929:23;15925:32;15922:119;;;15960:79;;:::i;:::-;15922:119;16080:1;16105:53;16150:7;16141:6;16130:9;16126:22;16105:53;:::i;:::-;16095:63;;16051:117;16207:2;16233:53;16278:7;16269:6;16258:9;16254:22;16233:53;:::i;:::-;16223:63;;16178:118;15829:474;;;;;:::o;16309:180::-;16357:77;16354:1;16347:88;16454:4;16451:1;16444:15;16478:4;16475:1;16468:15;16495:320;16539:6;16576:1;16570:4;16566:12;16556:22;;16623:1;16617:4;16613:12;16644:18;16634:81;;16700:4;16692:6;16688:17;16678:27;;16634:81;16762:2;16754:6;16751:14;16731:18;16728:38;16725:84;;;16781:18;;:::i;:::-;16725:84;16546:269;16495:320;;;:::o;16821:231::-;16961:34;16957:1;16949:6;16945:14;16938:58;17030:14;17025:2;17017:6;17013:15;17006:39;16821:231;:::o;17058:366::-;17200:3;17221:67;17285:2;17280:3;17221:67;:::i;:::-;17214:74;;17297:93;17386:3;17297:93;:::i;:::-;17415:2;17410:3;17406:12;17399:19;;17058:366;;;:::o;17430:419::-;17596:4;17634:2;17623:9;17619:18;17611:26;;17683:9;17677:4;17673:20;17669:1;17658:9;17654:17;17647:47;17711:131;17837:4;17711:131;:::i;:::-;17703:139;;17430:419;;;:::o;17855:220::-;17995:34;17991:1;17983:6;17979:14;17972:58;18064:3;18059:2;18051:6;18047:15;18040:28;17855:220;:::o;18081:366::-;18223:3;18244:67;18308:2;18303:3;18244:67;:::i;:::-;18237:74;;18320:93;18409:3;18320:93;:::i;:::-;18438:2;18433:3;18429:12;18422:19;;18081:366;;;:::o;18453:419::-;18619:4;18657:2;18646:9;18642:18;18634:26;;18706:9;18700:4;18696:20;18692:1;18681:9;18677:17;18670:47;18734:131;18860:4;18734:131;:::i;:::-;18726:139;;18453:419;;;:::o;18878:243::-;19018:34;19014:1;19006:6;19002:14;18995:58;19087:26;19082:2;19074:6;19070:15;19063:51;18878:243;:::o;19127:366::-;19269:3;19290:67;19354:2;19349:3;19290:67;:::i;:::-;19283:74;;19366:93;19455:3;19366:93;:::i;:::-;19484:2;19479:3;19475:12;19468:19;;19127:366;;;:::o;19499:419::-;19665:4;19703:2;19692:9;19688:18;19680:26;;19752:9;19746:4;19742:20;19738:1;19727:9;19723:17;19716:47;19780:131;19906:4;19780:131;:::i;:::-;19772:139;;19499:419;;;:::o;19924:236::-;20064:34;20060:1;20052:6;20048:14;20041:58;20133:19;20128:2;20120:6;20116:15;20109:44;19924:236;:::o;20166:366::-;20308:3;20329:67;20393:2;20388:3;20329:67;:::i;:::-;20322:74;;20405:93;20494:3;20405:93;:::i;:::-;20523:2;20518:3;20514:12;20507:19;;20166:366;;;:::o;20538:419::-;20704:4;20742:2;20731:9;20727:18;20719:26;;20791:9;20785:4;20781:20;20777:1;20766:9;20762:17;20755:47;20819:131;20945:4;20819:131;:::i;:::-;20811:139;;20538:419;;;:::o;20963:332::-;21084:4;21122:2;21111:9;21107:18;21099:26;;21135:71;21203:1;21192:9;21188:17;21179:6;21135:71;:::i;:::-;21216:72;21284:2;21273:9;21269:18;21260:6;21216:72;:::i;:::-;20963:332;;;;;:::o;21301:143::-;21358:5;21389:6;21383:13;21374:22;;21405:33;21432:5;21405:33;:::i;:::-;21301:143;;;;:::o;21450:::-;21507:5;21538:6;21532:13;21523:22;;21554:33;21581:5;21554:33;:::i;:::-;21450:143;;;;:::o;21599:507::-;21678:6;21686;21735:2;21723:9;21714:7;21710:23;21706:32;21703:119;;;21741:79;;:::i;:::-;21703:119;21861:1;21886:64;21942:7;21933:6;21922:9;21918:22;21886:64;:::i;:::-;21876:74;;21832:128;21999:2;22025:64;22081:7;22072:6;22061:9;22057:22;22025:64;:::i;:::-;22015:74;;21970:129;21599:507;;;;;:::o;22112:230::-;22252:34;22248:1;22240:6;22236:14;22229:58;22321:13;22316:2;22308:6;22304:15;22297:38;22112:230;:::o;22348:366::-;22490:3;22511:67;22575:2;22570:3;22511:67;:::i;:::-;22504:74;;22587:93;22676:3;22587:93;:::i;:::-;22705:2;22700:3;22696:12;22689:19;;22348:366;;;:::o;22720:419::-;22886:4;22924:2;22913:9;22909:18;22901:26;;22973:9;22967:4;22963:20;22959:1;22948:9;22944:17;22937:47;23001:131;23127:4;23001:131;:::i;:::-;22993:139;;22720:419;;;:::o;23145:235::-;23285:34;23281:1;23273:6;23269:14;23262:58;23354:18;23349:2;23341:6;23337:15;23330:43;23145:235;:::o;23386:366::-;23528:3;23549:67;23613:2;23608:3;23549:67;:::i;:::-;23542:74;;23625:93;23714:3;23625:93;:::i;:::-;23743:2;23738:3;23734:12;23727:19;;23386:366;;;:::o;23758:419::-;23924:4;23962:2;23951:9;23947:18;23939:26;;24011:9;24005:4;24001:20;23997:1;23986:9;23982:17;23975:47;24039:131;24165:4;24039:131;:::i;:::-;24031:139;;23758:419;;;:::o;24183:231::-;24323:34;24319:1;24311:6;24307:14;24300:58;24392:14;24387:2;24379:6;24375:15;24368:39;24183:231;:::o;24420:366::-;24562:3;24583:67;24647:2;24642:3;24583:67;:::i;:::-;24576:74;;24659:93;24748:3;24659:93;:::i;:::-;24777:2;24772:3;24768:12;24761:19;;24420:366;;;:::o;24792:419::-;24958:4;24996:2;24985:9;24981:18;24973:26;;25045:9;25039:4;25035:20;25031:1;25020:9;25016:17;25009:47;25073:131;25199:4;25073:131;:::i;:::-;25065:139;;24792:419;;;:::o;25217:180::-;25265:77;25262:1;25255:88;25362:4;25359:1;25352:15;25386:4;25383:1;25376:15;25403:172;25543:24;25539:1;25531:6;25527:14;25520:48;25403:172;:::o;25581:366::-;25723:3;25744:67;25808:2;25803:3;25744:67;:::i;:::-;25737:74;;25820:93;25909:3;25820:93;:::i;:::-;25938:2;25933:3;25929:12;25922:19;;25581:366;;;:::o;25953:419::-;26119:4;26157:2;26146:9;26142:18;26134:26;;26206:9;26200:4;26196:20;26192:1;26181:9;26177:17;26170:47;26234:131;26360:4;26234:131;:::i;:::-;26226:139;;25953:419;;;:::o;26378:169::-;26518:21;26514:1;26506:6;26502:14;26495:45;26378:169;:::o;26553:366::-;26695:3;26716:67;26780:2;26775:3;26716:67;:::i;:::-;26709:74;;26792:93;26881:3;26792:93;:::i;:::-;26910:2;26905:3;26901:12;26894:19;;26553:366;;;:::o;26925:419::-;27091:4;27129:2;27118:9;27114:18;27106:26;;27178:9;27172:4;27168:20;27164:1;27153:9;27149:17;27142:47;27206:131;27332:4;27206:131;:::i;:::-;27198:139;;26925:419;;;:::o;27350:182::-;27490:34;27486:1;27478:6;27474:14;27467:58;27350:182;:::o;27538:366::-;27680:3;27701:67;27765:2;27760:3;27701:67;:::i;:::-;27694:74;;27777:93;27866:3;27777:93;:::i;:::-;27895:2;27890:3;27886:12;27879:19;;27538:366;;;:::o;27910:419::-;28076:4;28114:2;28103:9;28099:18;28091:26;;28163:9;28157:4;28153:20;28149:1;28138:9;28134:17;28127:47;28191:131;28317:4;28191:131;:::i;:::-;28183:139;;27910:419;;;:::o;28335:228::-;28475:34;28471:1;28463:6;28459:14;28452:58;28544:11;28539:2;28531:6;28527:15;28520:36;28335:228;:::o;28569:366::-;28711:3;28732:67;28796:2;28791:3;28732:67;:::i;:::-;28725:74;;28808:93;28897:3;28808:93;:::i;:::-;28926:2;28921:3;28917:12;28910:19;;28569:366;;;:::o;28941:419::-;29107:4;29145:2;29134:9;29130:18;29122:26;;29194:9;29188:4;29184:20;29180:1;29169:9;29165:17;29158:47;29222:131;29348:4;29222:131;:::i;:::-;29214:139;;28941:419;;;:::o;29366:229::-;29506:34;29502:1;29494:6;29490:14;29483:58;29575:12;29570:2;29562:6;29558:15;29551:37;29366:229;:::o;29601:366::-;29743:3;29764:67;29828:2;29823:3;29764:67;:::i;:::-;29757:74;;29840:93;29929:3;29840:93;:::i;:::-;29958:2;29953:3;29949:12;29942:19;;29601:366;;;:::o;29973:419::-;30139:4;30177:2;30166:9;30162:18;30154:26;;30226:9;30220:4;30216:20;30212:1;30201:9;30197:17;30190:47;30254:131;30380:4;30254:131;:::i;:::-;30246:139;;29973:419;;;:::o;30398:224::-;30538:34;30534:1;30526:6;30522:14;30515:58;30607:7;30602:2;30594:6;30590:15;30583:32;30398:224;:::o;30628:366::-;30770:3;30791:67;30855:2;30850:3;30791:67;:::i;:::-;30784:74;;30867:93;30956:3;30867:93;:::i;:::-;30985:2;30980:3;30976:12;30969:19;;30628:366;;;:::o;31000:419::-;31166:4;31204:2;31193:9;31189:18;31181:26;;31253:9;31247:4;31243:20;31239:1;31228:9;31224:17;31217:47;31281:131;31407:4;31281:131;:::i;:::-;31273:139;;31000:419;;;:::o;31425:122::-;31477:5;31502:39;31537:2;31532:3;31528:12;31523:3;31502:39;:::i;:::-;31493:48;;31425:122;;;;:::o;31553:108::-;31630:24;31648:5;31630:24;:::i;:::-;31625:3;31618:37;31553:108;;:::o;31667:122::-;31719:5;31744:39;31779:2;31774:3;31770:12;31765:3;31744:39;:::i;:::-;31735:48;;31667:122;;;;:::o;31795:108::-;31872:24;31890:5;31872:24;:::i;:::-;31867:3;31860:37;31795:108;;:::o;31909:117::-;32018:1;32015;32008:12;32032:117;32141:1;32138;32131:12;32155:117;32264:1;32261;32254:12;32278:715;32343:5;32350:6;32406:3;32393:17;32498:1;32492:4;32488:12;32477:8;32461:14;32457:29;32453:48;32433:18;32429:73;32419:168;;32506:79;;:::i;:::-;32419:168;32629:8;32609:18;32605:33;32596:42;;32671:5;32658:19;32648:29;;32706:4;32699:5;32695:16;32686:25;;32734:18;32726:6;32723:30;32720:117;;;32756:79;;:::i;:::-;32720:117;32895:4;32887:6;32883:17;32867:14;32863:38;32853:8;32849:53;32846:140;;;32905:79;;:::i;:::-;32846:140;32357:636;32278:715;;;;;:::o;32999:159::-;33073:11;33107:6;33102:3;33095:19;33147:4;33142:3;33138:14;33123:29;;32999:159;;;;:::o;33188:284::-;33276:3;33297:61;33351:6;33346:3;33297:61;:::i;:::-;33290:68;;33368:43;33404:6;33399:3;33392:5;33368:43;:::i;:::-;33436:29;33458:6;33436:29;:::i;:::-;33431:3;33427:39;33420:46;;33188:284;;;;;:::o;33478:120::-;33529:5;33554:38;33588:2;33583:3;33579:12;33574:3;33554:38;:::i;:::-;33545:47;;33478:120;;;;:::o;33604:105::-;33679:23;33696:5;33679:23;:::i;:::-;33674:3;33667:36;33604:105;;:::o;33761:1338::-;33888:3;33924:4;33919:3;33915:14;34002:50;34046:4;34039:5;34035:16;34028:5;34002:50;:::i;:::-;34065:63;34122:4;34117:3;34113:14;34099:12;34065:63;:::i;:::-;33939:199;34206:50;34250:4;34243:5;34239:16;34232:5;34206:50;:::i;:::-;34269:63;34326:4;34321:3;34317:14;34303:12;34269:63;:::i;:::-;34148:194;34425:62;34481:4;34474:5;34470:16;34463:5;34425:62;:::i;:::-;34534:3;34528:4;34524:14;34517:4;34512:3;34508:14;34501:38;34560:89;34644:4;34630:12;34616;34560:89;:::i;:::-;34552:97;;34352:308;;34735:50;34779:4;34772:5;34768:16;34761:5;34735:50;:::i;:::-;34798:63;34855:4;34850:3;34846:14;34832:12;34798:63;:::i;:::-;34670:201;34939:49;34982:4;34975:5;34971:16;34964:5;34939:49;:::i;:::-;35001:61;35056:4;35051:3;35047:14;35033:12;35001:61;:::i;:::-;34881:191;35089:4;35082:11;;33893:1206;33761:1338;;;;:::o;35105:98::-;35156:6;35190:5;35184:12;35174:22;;35105:98;;;:::o;35209:168::-;35292:11;35326:6;35321:3;35314:19;35366:4;35361:3;35357:14;35342:29;;35209:168;;;;:::o;35383:360::-;35469:3;35497:38;35529:5;35497:38;:::i;:::-;35551:70;35614:6;35609:3;35551:70;:::i;:::-;35544:77;;35630:52;35675:6;35670:3;35663:4;35656:5;35652:16;35630:52;:::i;:::-;35707:29;35729:6;35707:29;:::i;:::-;35702:3;35698:39;35691:46;;35473:270;35383:360;;;;:::o;35749:586::-;35946:4;35984:2;35973:9;35969:18;35961:26;;36033:9;36027:4;36023:20;36019:1;36008:9;36004:17;35997:47;36061:116;36172:4;36163:6;36061:116;:::i;:::-;36053:124;;36224:9;36218:4;36214:20;36209:2;36198:9;36194:18;36187:48;36252:76;36323:4;36314:6;36252:76;:::i;:::-;36244:84;;35749:586;;;;;:::o;36341:351::-;36411:6;36460:2;36448:9;36439:7;36435:23;36431:32;36428:119;;;36466:79;;:::i;:::-;36428:119;36586:1;36611:64;36667:7;36658:6;36647:9;36643:22;36611:64;:::i;:::-;36601:74;;36557:128;36341:351;;;;:::o;36698:180::-;36838:32;36834:1;36826:6;36822:14;36815:56;36698:180;:::o;36884:366::-;37026:3;37047:67;37111:2;37106:3;37047:67;:::i;:::-;37040:74;;37123:93;37212:3;37123:93;:::i;:::-;37241:2;37236:3;37232:12;37225:19;;36884:366;;;:::o;37256:419::-;37422:4;37460:2;37449:9;37445:18;37437:26;;37509:9;37503:4;37499:20;37495:1;37484:9;37480:17;37473:47;37537:131;37663:4;37537:131;:::i;:::-;37529:139;;37256:419;;;:::o;37681:137::-;37735:5;37766:6;37760:13;37751:22;;37782:30;37806:5;37782:30;:::i;:::-;37681:137;;;;:::o;37824:345::-;37891:6;37940:2;37928:9;37919:7;37915:23;37911:32;37908:119;;;37946:79;;:::i;:::-;37908:119;38066:1;38091:61;38144:7;38135:6;38124:9;38120:22;38091:61;:::i;:::-;38081:71;;38037:125;37824:345;;;;:::o;38175:221::-;38315:34;38311:1;38303:6;38299:14;38292:58;38384:4;38379:2;38371:6;38367:15;38360:29;38175:221;:::o;38402:366::-;38544:3;38565:67;38629:2;38624:3;38565:67;:::i;:::-;38558:74;;38641:93;38730:3;38641:93;:::i;:::-;38759:2;38754:3;38750:12;38743:19;;38402:366;;;:::o;38774:419::-;38940:4;38978:2;38967:9;38963:18;38955:26;;39027:9;39021:4;39017:20;39013:1;39002:9;38998:17;38991:47;39055:131;39181:4;39055:131;:::i;:::-;39047:139;;38774:419;;;:::o;39199:117::-;39308:1;39305;39298:12;39322:117;39431:1;39428;39421:12;39445:117;39554:1;39551;39544:12;39568:725;39646:4;39652:6;39708:11;39695:25;39808:1;39802:4;39798:12;39787:8;39771:14;39767:29;39763:48;39743:18;39739:73;39729:168;;39816:79;;:::i;:::-;39729:168;39928:18;39918:8;39914:33;39906:41;;39980:4;39967:18;39957:28;;40008:18;40000:6;39997:30;39994:117;;;40030:79;;:::i;:::-;39994:117;40138:2;40132:4;40128:13;40120:21;;40195:4;40187:6;40183:17;40167:14;40163:38;40157:4;40153:49;40150:136;;;40205:79;;:::i;:::-;40150:136;39659:634;39568:725;;;;;:::o;40299:327::-;40357:6;40406:2;40394:9;40385:7;40381:23;40377:32;40374:119;;;40412:79;;:::i;:::-;40374:119;40532:1;40557:52;40601:7;40592:6;40581:9;40577:22;40557:52;:::i;:::-;40547:62;;40503:116;40299:327;;;;:::o;40632:115::-;40717:23;40734:5;40717:23;:::i;:::-;40712:3;40705:36;40632:115;;:::o;40753:438::-;40900:4;40938:2;40927:9;40923:18;40915:26;;40951:71;41019:1;41008:9;41004:17;40995:6;40951:71;:::i;:::-;41032:72;41100:2;41089:9;41085:18;41076:6;41032:72;:::i;:::-;41114:70;41180:2;41169:9;41165:18;41156:6;41114:70;:::i;:::-;40753:438;;;;;;:::o;41197:173::-;41337:25;41333:1;41325:6;41321:14;41314:49;41197:173;:::o;41376:366::-;41518:3;41539:67;41603:2;41598:3;41539:67;:::i;:::-;41532:74;;41615:93;41704:3;41615:93;:::i;:::-;41733:2;41728:3;41724:12;41717:19;;41376:366;;;:::o;41748:419::-;41914:4;41952:2;41941:9;41937:18;41929:26;;42001:9;41995:4;41991:20;41987:1;41976:9;41972:17;41965:47;42029:131;42155:4;42029:131;:::i;:::-;42021:139;;41748:419;;;:::o;42173:225::-;42313:34;42309:1;42301:6;42297:14;42290:58;42382:8;42377:2;42369:6;42365:15;42358:33;42173:225;:::o;42404:366::-;42546:3;42567:67;42631:2;42626:3;42567:67;:::i;:::-;42560:74;;42643:93;42732:3;42643:93;:::i;:::-;42761:2;42756:3;42752:12;42745:19;;42404:366;;;:::o;42776:419::-;42942:4;42980:2;42969:9;42965:18;42957:26;;43029:9;43023:4;43019:20;43015:1;43004:9;43000:17;42993:47;43057:131;43183:4;43057:131;:::i;:::-;43049:139;;42776:419;;;:::o;43201:231::-;43341:34;43337:1;43329:6;43325:14;43318:58;43410:14;43405:2;43397:6;43393:15;43386:39;43201:231;:::o;43438:366::-;43580:3;43601:67;43665:2;43660:3;43601:67;:::i;:::-;43594:74;;43677:93;43766:3;43677:93;:::i;:::-;43795:2;43790:3;43786:12;43779:19;;43438:366;;;:::o;43810:419::-;43976:4;44014:2;44003:9;43999:18;43991:26;;44063:9;44057:4;44053:20;44049:1;44038:9;44034:17;44027:47;44091:131;44217:4;44091:131;:::i;:::-;44083:139;;43810:419;;;:::o;44235:224::-;44375:34;44371:1;44363:6;44359:14;44352:58;44444:7;44439:2;44431:6;44427:15;44420:32;44235:224;:::o;44465:366::-;44607:3;44628:67;44692:2;44687:3;44628:67;:::i;:::-;44621:74;;44704:93;44793:3;44704:93;:::i;:::-;44822:2;44817:3;44813:12;44806:19;;44465:366;;;:::o;44837:419::-;45003:4;45041:2;45030:9;45026:18;45018:26;;45090:9;45084:4;45080:20;45076:1;45065:9;45061:17;45054:47;45118:131;45244:4;45118:131;:::i;:::-;45110:139;;44837:419;;;:::o;45262:223::-;45402:34;45398:1;45390:6;45386:14;45379:58;45471:6;45466:2;45458:6;45454:15;45447:31;45262:223;:::o;45491:366::-;45633:3;45654:67;45718:2;45713:3;45654:67;:::i;:::-;45647:74;;45730:93;45819:3;45730:93;:::i;:::-;45848:2;45843:3;45839:12;45832:19;;45491:366;;;:::o;45863:419::-;46029:4;46067:2;46056:9;46052:18;46044:26;;46116:9;46110:4;46106:20;46102:1;46091:9;46087:17;46080:47;46144:131;46270:4;46144:131;:::i;:::-;46136:139;;45863:419;;;:::o;46288:180::-;46336:77;46333:1;46326:88;46433:4;46430:1;46423:15;46457:4;46454:1;46447:15;46474:191;46514:4;46534:20;46552:1;46534:20;:::i;:::-;46529:25;;46568:20;46586:1;46568:20;:::i;:::-;46563:25;;46607:1;46604;46601:8;46598:34;;;46612:18;;:::i;:::-;46598:34;46657:1;46654;46650:9;46642:17;;46474:191;;;;:::o;46671:305::-;46711:3;46730:20;46748:1;46730:20;:::i;:::-;46725:25;;46764:20;46782:1;46764:20;:::i;:::-;46759:25;;46918:1;46850:66;46846:74;46843:1;46840:81;46837:107;;;46924:18;;:::i;:::-;46837:107;46968:1;46965;46961:9;46954:16;;46671:305;;;;:::o;46982:233::-;47122:34;47118:1;47110:6;47106:14;47099:58;47191:16;47186:2;47178:6;47174:15;47167:41;46982:233;:::o;47221:366::-;47363:3;47384:67;47448:2;47443:3;47384:67;:::i;:::-;47377:74;;47460:93;47549:3;47460:93;:::i;:::-;47578:2;47573:3;47569:12;47562:19;;47221:366;;;:::o;47593:419::-;47759:4;47797:2;47786:9;47782:18;47774:26;;47846:9;47840:4;47836:20;47832:1;47821:9;47817:17;47810:47;47874:131;48000:4;47874:131;:::i;:::-;47866:139;;47593:419;;;:::o;48018:442::-;48167:4;48205:2;48194:9;48190:18;48182:26;;48218:71;48286:1;48275:9;48271:17;48262:6;48218:71;:::i;:::-;48299:72;48367:2;48356:9;48352:18;48343:6;48299:72;:::i;:::-;48381;48449:2;48438:9;48434:18;48425:6;48381:72;:::i;:::-;48018:442;;;;;;:::o;48466:175::-;48606:27;48602:1;48594:6;48590:14;48583:51;48466:175;:::o;48647:366::-;48789:3;48810:67;48874:2;48869:3;48810:67;:::i;:::-;48803:74;;48886:93;48975:3;48886:93;:::i;:::-;49004:2;48999:3;48995:12;48988:19;;48647:366;;;:::o;49019:419::-;49185:4;49223:2;49212:9;49208:18;49200:26;;49272:9;49266:4;49262:20;49258:1;49247:9;49243:17;49236:47;49300:131;49426:4;49300:131;:::i;:::-;49292:139;;49019:419;;;:::o;49444:237::-;49584:34;49580:1;49572:6;49568:14;49561:58;49653:20;49648:2;49640:6;49636:15;49629:45;49444:237;:::o;49687:366::-;49829:3;49850:67;49914:2;49909:3;49850:67;:::i;:::-;49843:74;;49926:93;50015:3;49926:93;:::i;:::-;50044:2;50039:3;50035:12;50028:19;;49687:366;;;:::o;50059:419::-;50225:4;50263:2;50252:9;50248:18;50240:26;;50312:9;50306:4;50302:20;50298:1;50287:9;50283:17;50276:47;50340:131;50466:4;50340:131;:::i;:::-;50332:139;;50059:419;;;:::o;50484:236::-;50624:34;50620:1;50612:6;50608:14;50601:58;50693:19;50688:2;50680:6;50676:15;50669:44;50484:236;:::o;50726:366::-;50868:3;50889:67;50953:2;50948:3;50889:67;:::i;:::-;50882:74;;50965:93;51054:3;50965:93;:::i;:::-;51083:2;51078:3;51074:12;51067:19;;50726:366;;;:::o;51098:419::-;51264:4;51302:2;51291:9;51287:18;51279:26;;51351:9;51345:4;51341:20;51337:1;51326:9;51322:17;51315:47;51379:131;51505:4;51379:131;:::i;:::-;51371:139;;51098:419;;;:::o;51523:148::-;51625:11;51662:3;51647:18;;51523:148;;;;:::o;51677:377::-;51783:3;51811:39;51844:5;51811:39;:::i;:::-;51866:89;51948:6;51943:3;51866:89;:::i;:::-;51859:96;;51964:52;52009:6;52004:3;51997:4;51990:5;51986:16;51964:52;:::i;:::-;52041:6;52036:3;52032:16;52025:23;;51787:267;51677:377;;;;:::o;52060:435::-;52240:3;52262:95;52353:3;52344:6;52262:95;:::i;:::-;52255:102;;52374:95;52465:3;52456:6;52374:95;:::i;:::-;52367:102;;52486:3;52479:10;;52060:435;;;;;:::o;52501:640::-;52696:4;52734:3;52723:9;52719:19;52711:27;;52748:71;52816:1;52805:9;52801:17;52792:6;52748:71;:::i;:::-;52829:72;52897:2;52886:9;52882:18;52873:6;52829:72;:::i;:::-;52911;52979:2;52968:9;52964:18;52955:6;52911:72;:::i;:::-;53030:9;53024:4;53020:20;53015:2;53004:9;53000:18;52993:48;53058:76;53129:4;53120:6;53058:76;:::i;:::-;53050:84;;52501:640;;;;;;;:::o;53147:141::-;53203:5;53234:6;53228:13;53219:22;;53250:32;53276:5;53250:32;:::i;:::-;53147:141;;;;:::o;53294:349::-;53363:6;53412:2;53400:9;53391:7;53387:23;53383:32;53380:119;;;53418:79;;:::i;:::-;53380:119;53538:1;53563:63;53618:7;53609:6;53598:9;53594:22;53563:63;:::i;:::-;53553:73;;53509:127;53294:349;;;;:::o;53649:234::-;53789:34;53785:1;53777:6;53773:14;53766:58;53858:17;53853:2;53845:6;53841:15;53834:42;53649:234;:::o;53889:366::-;54031:3;54052:67;54116:2;54111:3;54052:67;:::i;:::-;54045:74;;54128:93;54217:3;54128:93;:::i;:::-;54246:2;54241:3;54237:12;54230:19;;53889:366;;;:::o;54261:419::-;54427:4;54465:2;54454:9;54450:18;54442:26;;54514:9;54508:4;54504:20;54500:1;54489:9;54485:17;54478:47;54542:131;54668:4;54542:131;:::i;:::-;54534:139;;54261:419;;;:::o;54686:182::-;54826:34;54822:1;54814:6;54810:14;54803:58;54686:182;:::o;54874:366::-;55016:3;55037:67;55101:2;55096:3;55037:67;:::i;:::-;55030:74;;55113:93;55202:3;55113:93;:::i;:::-;55231:2;55226:3;55222:12;55215:19;;54874:366;;;:::o;55246:419::-;55412:4;55450:2;55439:9;55435:18;55427:26;;55499:9;55493:4;55489:20;55485:1;55474:9;55470:17;55463:47;55527:131;55653:4;55527:131;:::i;:::-;55519:139;;55246:419;;;:::o;55671:178::-;55811:30;55807:1;55799:6;55795:14;55788:54;55671:178;:::o;55855:366::-;55997:3;56018:67;56082:2;56077:3;56018:67;:::i;:::-;56011:74;;56094:93;56183:3;56094:93;:::i;:::-;56212:2;56207:3;56203:12;56196:19;;55855:366;;;:::o;56227:419::-;56393:4;56431:2;56420:9;56416:18;56408:26;;56480:9;56474:4;56470:20;56466:1;56455:9;56451:17;56444:47;56508:131;56634:4;56508:131;:::i;:::-;56500:139;;56227:419;;;:::o;56652:233::-;56691:3;56714:24;56732:5;56714:24;:::i;:::-;56705:33;;56760:66;56753:5;56750:77;56747:103;;;56830:18;;:::i;:::-;56747:103;56877:1;56870:5;56866:13;56859:20;;56652:233;;;:::o;56891:180::-;56939:77;56936:1;56929:88;57036:4;57033:1;57026:15;57060:4;57057:1;57050:15;57077:185;57117:1;57134:20;57152:1;57134:20;:::i;:::-;57129:25;;57168:20;57186:1;57168:20;:::i;:::-;57163:25;;57207:1;57197:35;;57212:18;;:::i;:::-;57197:35;57254:1;57251;57247:9;57242:14;;57077:185;;;;:::o;57268:176::-;57300:1;57317:20;57335:1;57317:20;:::i;:::-;57312:25;;57351:20;57369:1;57351:20;:::i;:::-;57346:25;;57390:1;57380:35;;57395:18;;:::i;:::-;57380:35;57436:1;57433;57429:9;57424:14;;57268:176;;;;:::o;57450:180::-;57498:77;57495:1;57488:88;57595:4;57592:1;57585:15;57619:4;57616:1;57609:15

Swarm Source

ipfs://672c63c1ee549a962d27174da29f60d3700757ceabb8e6b5d9106c2bc4ea7160

Block Transaction Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.