ETH Price: $2,376.21 (-0.55%)

Token

Art On Ledger Stax (AOLS)
 

Overview

Max Total Supply

804 AOLS

Holders

442

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
4 AOLS
0x5b568692508879232ec9ec8b3b7365d6582da29f
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
ArtOnLedgerStax

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : ArtOnLedgerStax.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.17;

import { AccessControl } from "@openzeppelin/contracts/access/AccessControl.sol";
import "../libs/Strings.sol";
import "../libs/ERC721.sol";
import "../libs/Errors.sol";
import "../libs/Owned.sol";
import "./IPass.sol";
import "./TokenData.sol";


contract ArtOnLedgerStax is ERC721, TokenData, Owned, AccessControl {
    using Strings for uint256;

    //// STORAGE ////

    // Roles
    bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");

    // Supply & Mint
    IPass public immutable PASS;
    uint256 public constant maxSupply = 4779;
    uint256 public constant mintsPerAccountOnPublicSale = 4779;
    uint256 public constant mintPrice = 0;
    uint256 public totalSupply;
    mapping(address => uint256) public minted;
    uint8 public phase; // @dev 0 - NONE, 1 - PRE SALE (not used), 2 - PUBLIC SALE

    // Metadata
    string private _baseURI;
    string public contractURI;

    // Lock
    mapping(uint256 => bool) private _notTransferable;

    //// MODIFIERS ////
    modifier transferable(uint256 id_) {
        if (_notTransferable[id_]) revert Errors.TokenNotTransferable();
        _;
    }

    //// CONSTRUCTOR ////

    constructor(
        address owner_,
        IPass pass_
    ) ERC721("Art On Ledger Stax", "AOLS") Owned(owner_) {
        _grantRole(DEFAULT_ADMIN_ROLE, owner_);
        PASS = pass_;
        totalSupply = 0;
        phase = 0;
    }

    //// ERC721 METADATA ////

    function tokenURI(
        uint256 id_
    ) public view override returns (string memory) {
        return string.concat(_baseURI, id_.toString());
    }

    //// MINT / BURN IMPLEMENTATION ////

    function mint(
        uint256 passId_
    ) public {
        if (msg.sender != owner) {
            require(phase == 2, "ArtOnLedgerStax: Mint is not active");
        }
        require(totalSupply < maxSupply, "ArtOnLedgerStax: Max Supply is reached");

        uint256 id_ = totalSupply + 1;
        _setTokenData(id_);
        totalSupply = id_;
        minted[msg.sender] += 1;

        PASS.burn(passId_, msg.sender);
        _mint(msg.sender, id_);
    }

    function burn(
        uint256 id_,
        address tokenOwner_
    ) external onlyRole(BURNER_ROLE) {
        address owner_ = ownerOf(id_);
        if (tokenOwner_ != owner_) revert Errors.InvalidOwner();
        _burn(id_);
    }

    //// TOKEN STATUS ////

    function isTransferable(
        uint256 id_
    ) public view returns(bool) {
        return !_notTransferable[id_];
    }

    //// ONLY OWNER ////

    function setContractURI(
        string calldata contractURI_
    ) public onlyOwner {
        contractURI = contractURI_;
    }

    function setBaseURI(
        string calldata baseURI_
    ) public onlyOwner {
        _baseURI = baseURI_;
    }

    function setIsTransferable(
        uint256 id_,
        bool transferable_
    ) public onlyOwner {
        _notTransferable[id_] = !transferable_;
    }

    function switchPhase() public onlyOwner {
        if (phase == 0) phase = 2;
        else phase = 0;
    }

    //// ERC721 OVERRIDE ////

    function transferFrom(
        address from_,
        address to_,
        uint256 id_
    ) public override transferable(id_) {
        ERC721.transferFrom(from_, to_, id_);
    }

    function safeTransferFrom(
        address from_,
        address to_,
        uint256 id_
    ) public override transferable(id_) {
        ERC721.safeTransferFrom(from_, to_, id_);
    }

    function safeTransferFrom(
        address from_,
        address to_,
        uint256 id_,
        bytes calldata data_
    ) public override transferable(id_) {
        ERC721.safeTransferFrom(from_, to_, id_, data_);
    }

    //// EIP-165 OVERRIDE ////

    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC721, AccessControl) returns (bool) {
        return
            ERC721.supportsInterface(interfaceId) ||
            AccessControl.supportsInterface(interfaceId);
    }

}

File 2 of 16 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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:
 *
 * ```solidity
 * 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}:
 *
 * ```solidity
 * 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. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
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);
        _;
    }

    /**
     * @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 `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @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(account),
                        " 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.
     *
     * May emit a {RoleGranted} event.
     */
    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.
     *
     * May emit a {RoleRevoked} event.
     */
    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`.
     *
     * May emit a {RoleRevoked} event.
     */
    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.
     *
     * May emit a {RoleGranted} event.
     *
     * [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.
     *
     * May emit a {RoleGranted} event.
     */
    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.
     *
     * May emit a {RoleRevoked} event.
     */
    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 16 : 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 4 of 16 : 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 5 of 16 : 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 6 of 16 : 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 7 of 16 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

File 8 of 16 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 9 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 10 of 16 : IPass.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

interface IPass {
    function burn(uint256 id, address tokenOwner) external;
}

File 11 of 16 : TokenData.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

contract TokenData {

    struct TokenDetails {
        uint256 seed;
        uint256 artist;
        uint256 artistTokenId;
    }

    uint256 private constant MAX_PER_ARTIST = 956; // 4779 / 5
    uint256[5] public artDistribution;
    mapping(uint256 => TokenDetails) public tokenDetails;

    // @dev shouldn't be called if supply == artDistribution.length * MAX_PER_ARTIST
    function _setTokenData(uint256 id_) internal {

        uint256 seed_ = uint256(keccak256(
            abi.encodePacked(
                tx.origin,
                blockhash(block.number - 1),
                block.timestamp,
                id_
            )
        ));

        uint256 artist_ = seed_ % 5; // @dev 5 is artDistribution.length
        while(artDistribution[artist_] == MAX_PER_ARTIST) {
            artist_ += 1;
            if (artist_ > 4) {
                artist_ = 0;
            }
        }
        artDistribution[artist_] += 1;

        tokenDetails[id_] = TokenDetails(seed_, artist_, artDistribution[artist_]);
    }

}

File 12 of 16 : ERC721.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721 {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 indexed id);

    event Approval(address indexed owner, address indexed spender, uint256 indexed id);

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /*//////////////////////////////////////////////////////////////
                         METADATA STORAGE/LOGIC
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    function tokenURI(uint256 id) public view virtual returns (string memory);

    /*//////////////////////////////////////////////////////////////
                      ERC721 BALANCE/OWNER STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(uint256 => address) internal _ownerOf;

    mapping(address => uint256) internal _balanceOf;

    function ownerOf(uint256 id) public view virtual returns (address owner) {
        require((owner = _ownerOf[id]) != address(0), "NOT_MINTED");
    }

    function balanceOf(address owner) public view virtual returns (uint256) {
        require(owner != address(0), "ZERO_ADDRESS");

        return _balanceOf[owner];
    }

    /*//////////////////////////////////////////////////////////////
                         ERC721 APPROVAL STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(uint256 => address) public getApproved;

    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(string memory _name, string memory _symbol) {
        name = _name;
        symbol = _symbol;
    }

    /*//////////////////////////////////////////////////////////////
                              ERC721 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 id) public virtual {
        address owner = _ownerOf[id];

        require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED");

        getApproved[id] = spender;

        emit Approval(owner, spender, id);
    }

    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function transferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        require(from == _ownerOf[id], "WRONG_FROM");

        require(to != address(0), "INVALID_RECIPIENT");

        require(
            msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id],
            "NOT_AUTHORIZED"
        );

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _balanceOf[from]--;

            _balanceOf[to]++;
        }

        _ownerOf[id] = to;

        delete getApproved[id];

        emit Transfer(from, to, id);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
            ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") ==
            ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes calldata data
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
            ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) ==
            ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    /*//////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return
        interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
        interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
        interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 id) internal virtual {
        require(to != address(0), "INVALID_RECIPIENT");

        require(_ownerOf[id] == address(0), "ALREADY_MINTED");

        // Counter overflow is incredibly unrealistic.
        unchecked {
            _balanceOf[to]++;
        }

        _ownerOf[id] = to;

        emit Transfer(address(0), to, id);
    }

    function _burn(uint256 id) internal virtual {
        address owner = _ownerOf[id];

        require(owner != address(0), "NOT_MINTED");

        // Ownership check above ensures no underflow.
        unchecked {
            _balanceOf[owner]--;
        }

        delete _ownerOf[id];

        delete getApproved[id];

        emit Transfer(owner, address(0), id);
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL SAFE MINT LOGIC
    //////////////////////////////////////////////////////////////*/

    function _safeMint(address to, uint256 id) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
            ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") ==
            ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _safeMint(
        address to,
        uint256 id,
        bytes memory data
    ) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
            ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) ==
            ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }
}

/// @notice A generic interface for a contract which properly accepts ERC721 tokens.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721TokenReceiver {
    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC721TokenReceiver.onERC721Received.selector;
    }
}

File 13 of 16 : Errors.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.17;

library Errors {
    error WithdrawalPercentageWrongSize();
    error WithdrawalPercentageNot100();
    error WithdrawalPercentageZero();
    error MintNotAvailable();
    error InsufficientFunds();
    error SupplyLimitReached();
    error ContractCantMint();
    error InvalidSignature();
    error AccountAlreadyMintedMax();
    error TokenDoesNotExist();
    error NotOwner();
    error NotAuthorized();
    error MaxSupplyTooSmall();
    error CanNotIncreaseMaxSupply();
    error InvalidOwner();
    error TokenNotTransferable();

    error RoyaltiesPercentageTooHigh();
    error NothingToWithdraw();
    error WithdrawFailed();

    /* ReentrancyGuard.sol */
    error ContractLocked();

    /* Signable.sol */
    error NewSignerCantBeZero();

    /* StableMultiMintERC721.sol */
    error PaymentTypeNotEnabled();

    /* AgoriaXLedger.sol */
    error WrongInputSize();
    error IdBeyondSupplyLimit();
    error InvalidBaseContractURL();
    error InvalidBaseURI();

    /* MultiMint1155.sol */
    error MismatchLengths();
    error AccountMaxMintAmountExceeded();
    error InvalidMintMaxAmount();
    error InvalidMintPrice();
    error InsufficientBalance();
    error TokenSaleClosed(uint256 tokenId);
    error TokenGatedIdAlreadyUsed(uint256 tokenGatedId);
    error TokenAlreadyMinted();
    error MintDeadlinePassed();
    error TokenGatedIdAlreadyUsedInSeason(
        uint256 tokenGatedId,
        uint256 seasonId
    );
    error TokenNotSupported();
    error InvalidDeadlineLength();
    error OneTokenPerPass();
    error SignatureLengthMismatch();
    error TokenPriceNotSet();
    error DeadlineNotSet();
    error InvalidDeadlines();
}

File 14 of 16 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/math/Math.sol)

pragma solidity 0.8.17;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

}

File 15 of 16 : Owned.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Simple single owner authorization mixin.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol)
abstract contract Owned {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

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

    /*//////////////////////////////////////////////////////////////
                            OWNERSHIP STORAGE
    //////////////////////////////////////////////////////////////*/

    address public owner;

    modifier onlyOwner() virtual {
        require(msg.sender == owner, "UNAUTHORIZED");

        _;
    }

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(address _owner) {
        owner = _owner;

        emit OwnershipTransferred(address(0), _owner);
    }

    /*//////////////////////////////////////////////////////////////
                             OWNERSHIP LOGIC
    //////////////////////////////////////////////////////////////*/

    function transferOwnership(address newOwner) public virtual onlyOwner {
        owner = newOwner;

        emit OwnershipTransferred(msg.sender, newOwner);
    }
}

File 16 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity 0.8.17;

import "./Math.sol";

/**
 * @dev String operations.
 */
library Strings {

    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
        /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"contract IPass","name":"pass_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidOwner","type":"error"},{"inputs":[],"name":"TokenNotTransferable","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","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":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PASS","outputs":[{"internalType":"contract IPass","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"artDistribution","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"id_","type":"uint256"},{"internalType":"address","name":"tokenOwner_","type":"address"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"isTransferable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"passId_","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintsPerAccountOnPublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"id_","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":"id_","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":"string","name":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"bool","name":"transferable_","type":"bool"}],"name":"setIsTransferable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"switchPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenDetails","outputs":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint256","name":"artist","type":"uint256"},{"internalType":"uint256","name":"artistTokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","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":"id_","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b5060405162004a5d38038062004a5d8339818101604052810190620000379190620003f0565b816040518060400160405280601281526020017f417274204f6e204c6564676572205374617800000000000000000000000000008152506040518060400160405280600481526020017f414f4c53000000000000000000000000000000000000000000000000000000008152508160009081620000b59190620006b1565b508060019081620000c79190620006b1565b50505080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506200017c6000801b83620001dc60201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250506000600e819055506000601060006101000a81548160ff021916908360ff160217905550505062000798565b620001ee8282620002ce60201b60201c565b620002ca576001600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200026f6200033960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003738262000346565b9050919050565b620003858162000366565b81146200039157600080fd5b50565b600081519050620003a5816200037a565b92915050565b6000620003b88262000366565b9050919050565b620003ca81620003ab565b8114620003d657600080fd5b50565b600081519050620003ea81620003bf565b92915050565b600080604083850312156200040a576200040962000341565b5b60006200041a8582860162000394565b92505060206200042d85828601620003d9565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004b957607f821691505b602082108103620004cf57620004ce62000471565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005397fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004fa565b620005458683620004fa565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005926200058c62000586846200055d565b62000567565b6200055d565b9050919050565b6000819050919050565b620005ae8362000571565b620005c6620005bd8262000599565b84845462000507565b825550505050565b600090565b620005dd620005ce565b620005ea818484620005a3565b505050565b5b81811015620006125762000606600082620005d3565b600181019050620005f0565b5050565b601f82111562000661576200062b81620004d5565b6200063684620004ea565b8101602085101562000646578190505b6200065e6200065585620004ea565b830182620005ef565b50505b505050565b600082821c905092915050565b6000620006866000198460080262000666565b1980831691505092915050565b6000620006a1838362000673565b9150826002028217905092915050565b620006bc8262000437565b67ffffffffffffffff811115620006d857620006d762000442565b5b620006e48254620004a0565b620006f182828562000616565b600060209050601f83116001811462000729576000841562000714578287015190505b62000720858262000693565b86555062000790565b601f1984166200073986620004d5565b60005b8281101562000763578489015182556001820191506020850194506020810190506200073c565b868310156200078357848901516200077f601f89168262000673565b8355505b6001600288020188555050505b505050505050565b6080516142a2620007bb6000396000818161118401526115ad01526142a26000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c806391d148541161013b578063b88d4fde116100b8578063e8a3d4851161007c578063e8a3d485146106c6578063e985e9c5146106e4578063f2fde38b14610714578063fc314e3114610730578063fcd3533c146107625761023d565b8063b88d4fde14610622578063c87b56dd1461063e578063cfbbbd9e1461066e578063d547741f1461068c578063d5abeb01146106a85761023d565b8063a22cb465116100ff578063a22cb46514610592578063ab0eb62d146105ae578063ac777422146105b8578063b1c9fe6e146105d4578063b2564569146105f25761023d565b806391d14854146104ee578063938e3d7b1461051e57806395d89b411461053a578063a0712d6814610558578063a217fddf146105745761023d565b80632f2ff15d116101c957806355f804b31161018d57806355f804b3146104365780636352211e146104525780636817c76c1461048257806370a08231146104a05780638da5cb5b146104d05761023d565b80632f2ff15d146103945780633098e25e146103b057806336568abe146103e057806342842e0e146103fc57806343353561146104185761023d565b806318160ddd1161021057806318160ddd146102dc5780631e7269c5146102fa57806323b872dd1461032a578063248a9ca314610346578063282c51f3146103765761023d565b806301ffc9a71461024257806306fdde0314610272578063081812fc14610290578063095ea7b3146102c0575b600080fd5b61025c60048036038101906102579190612cef565b61077e565b6040516102699190612d37565b60405180910390f35b61027a6107a0565b6040516102879190612de2565b60405180910390f35b6102aa60048036038101906102a59190612e3a565b61082e565b6040516102b79190612ea8565b60405180910390f35b6102da60048036038101906102d59190612eef565b610861565b005b6102e4610a4a565b6040516102f19190612f3e565b60405180910390f35b610314600480360381019061030f9190612f59565b610a50565b6040516103219190612f3e565b60405180910390f35b610344600480360381019061033f9190612f86565b610a68565b005b610360600480360381019061035b919061300f565b610ad2565b60405161036d919061304b565b60405180910390f35b61037e610af2565b60405161038b919061304b565b60405180910390f35b6103ae60048036038101906103a99190613066565b610b16565b005b6103ca60048036038101906103c59190612e3a565b610b37565b6040516103d79190612f3e565b60405180910390f35b6103fa60048036038101906103f59190613066565b610b52565b005b61041660048036038101906104119190612f86565b610bd5565b005b610420610c3f565b60405161042d9190612f3e565b60405180910390f35b610450600480360381019061044b919061310b565b610c45565b005b61046c60048036038101906104679190612e3a565b610ceb565b6040516104799190612ea8565b60405180910390f35b61048a610d96565b6040516104979190612f3e565b60405180910390f35b6104ba60048036038101906104b59190612f59565b610d9b565b6040516104c79190612f3e565b60405180910390f35b6104d8610e52565b6040516104e59190612ea8565b60405180910390f35b61050860048036038101906105039190613066565b610e78565b6040516105159190612d37565b60405180910390f35b6105386004803603810190610533919061310b565b610ee3565b005b610542610f89565b60405161054f9190612de2565b60405180910390f35b610572600480360381019061056d9190612e3a565b611017565b005b61057c61121d565b604051610589919061304b565b60405180910390f35b6105ac60048036038101906105a79190613184565b611224565b005b6105b6611321565b005b6105d260048036038101906105cd91906131c4565b61140b565b005b6105dc6114cb565b6040516105e99190613220565b60405180910390f35b61060c60048036038101906106079190612e3a565b6114de565b6040516106199190612d37565b60405180910390f35b61063c60048036038101906106379190613291565b611509565b005b61065860048036038101906106539190612e3a565b611577565b6040516106659190612de2565b60405180910390f35b6106766115ab565b6040516106839190613378565b60405180910390f35b6106a660048036038101906106a19190613066565b6115cf565b005b6106b06115f0565b6040516106bd9190612f3e565b60405180910390f35b6106ce6115f6565b6040516106db9190612de2565b60405180910390f35b6106fe60048036038101906106f99190613393565b611684565b60405161070b9190612d37565b60405180910390f35b61072e60048036038101906107299190612f59565b6116b3565b005b61074a60048036038101906107459190612e3a565b6117e1565b604051610759939291906133d3565b60405180910390f35b61077c6004803603810190610777919061340a565b61180b565b005b6000610789826118b6565b80610799575061079882611948565b5b9050919050565b600080546107ad90613479565b80601f01602080910402602001604051908101604052809291908181526020018280546107d990613479565b80156108265780601f106107fb57610100808354040283529160200191610826565b820191906000526020600020905b81548152906001019060200180831161080957829003601f168201915b505050505081565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109595750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098f906134f6565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600e5481565b600f6020528060005260406000206000915090505481565b806013600082815260200190815260200160002060009054906101000a900460ff1615610ac1576040517fc8fb086200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610acc8484846119c2565b50505050565b6000600d6000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b610b1f82610ad2565b610b2881611dc1565b610b328383611dd5565b505050565b60068160058110610b4757600080fd5b016000915090505481565b610b5a611eb6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbe90613588565b60405180910390fd5b610bd18282611ebe565b5050565b806013600082815260200190815260200160002060009054906101000a900460ff1615610c2e576040517fc8fb086200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c39848484611fa0565b50505050565b6112ab81565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccc906135f4565b60405180910390fd5b818160119182610ce69291906137f0565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff1603610d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d889061390c565b60405180910390fd5b919050565b600081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0290613978565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a906135f4565b60405180910390fd5b818160129182610f849291906137f0565b505050565b60018054610f9690613479565b80601f0160208091040260200160405190810160405280929190818152602001828054610fc290613479565b801561100f5780601f10610fe45761010080835404028352916020019161100f565b820191906000526020600020905b815481529060010190602001808311610ff257829003601f168201915b505050505081565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110c2576002601060009054906101000a900460ff1660ff16146110c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b890613a0a565b60405180910390fd5b5b6112ab600e5410611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff90613a9c565b60405180910390fd5b60006001600e546111199190613aeb565b9050611124816120d8565b80600e819055506001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461117b9190613aeb565b925050819055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663fcd3533c83336040518363ffffffff1660e01b81526004016111dd929190613b1f565b600060405180830381600087803b1580156111f757600080fd5b505af115801561120b573d6000803e3d6000fd5b505050506112193382612201565b5050565b6000801b81565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113159190612d37565b60405180910390a35050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146113b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a8906135f4565b60405180910390fd5b6000601060009054906101000a900460ff1660ff16036113ec576002601060006101000a81548160ff021916908360ff160217905550611409565b6000601060006101000a81548160ff021916908360ff1602179055505b565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461149b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611492906135f4565b60405180910390fd5b80156013600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b601060009054906101000a900460ff1681565b60006013600083815260200190815260200160002060009054906101000a900460ff16159050919050565b826013600082815260200190815260200160002060009054906101000a900460ff1615611562576040517fc8fb086200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61156f8686868686612413565b505050505050565b6060601161158483612551565b604051602001611595929190613c07565b6040516020818303038152906040529050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6115d882610ad2565b6115e181611dc1565b6115eb8383611ebe565b505050565b6112ab81565b6012805461160390613479565b80601f016020809104026020016040519081016040528092919081815260200182805461162f90613479565b801561167c5780601f106116515761010080835404028352916020019161167c565b820191906000526020600020905b81548152906001019060200180831161165f57829003601f168201915b505050505081565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173a906135f4565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b600b6020528060005260406000206000915090508060000154908060010154908060020154905083565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84861183581611dc1565b600061184084610ceb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146118a7576040517f49e27cff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6118b08461261f565b50505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061191157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119415750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119bb57506119ba826127e2565b5b9050919050565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5a90613c77565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac990613ce3565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b925750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80611bfb57506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c31906134f6565b60405180910390fd5b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611dd281611dcd611eb6565b61284c565b50565b611ddf8282610e78565b611eb2576001600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e57611eb6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b611ec88282610e78565b15611f9c576000600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f41611eb6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611fab838383610a68565b60008273ffffffffffffffffffffffffffffffffffffffff163b1480612094575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b815260040161203093929190613d3a565b6020604051808303816000875af115801561204f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120739190613d99565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b6120d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ca90613e12565b60405180910390fd5b505050565b6000326001436120e89190613e32565b4042846040516020016120fe9493929190613ef0565b6040516020818303038152906040528051906020012060001c905060006005826121289190613f6d565b90505b6103bc6006826005811061214257612141613f9e565b5b01540361216b576001816121569190613aeb565b9050600481111561216657600090505b61212b565b60016006826005811061218157612180613f9e565b5b0160008282546121919190613aeb565b925050819055506040518060600160405280838152602001828152602001600683600581106121c3576121c2613f9e565b5b0154815250600b6000858152602001908152602001600020600082015181600001556020820151816001015560408201518160020155905050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226790613ce3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230990614019565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61241e858585610a68565b60008473ffffffffffffffffffffffffffffffffffffffff163b148061250b575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b81526004016124a7959493929190614075565b6020604051808303816000875af11580156124c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ea9190613d99565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b61254a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254190613e12565b60405180910390fd5b5050505050565b606060006001612560846128d1565b01905060008167ffffffffffffffff81111561257f5761257e61361f565b5b6040519080825280601f01601f1916602001820160405280156125b15781602001600182028036833780820191505090505b509050600082602001820190505b600115612614578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161260857612607613f3e565b5b049450600085036125bf575b819350505050919050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036126c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bd9061390c565b60405180910390fd5b600360008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001900391905055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128568282610e78565b6128cd5761286381612a24565b6128718360001c6020612a51565b60405160200161288292919061415b565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c49190612de2565b60405180910390fd5b5050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061292f577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161292557612924613f3e565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061296c576d04ee2d6d415b85acef8100000000838161296257612961613f3e565b5b0492506020810190505b662386f26fc10000831061299b57662386f26fc10000838161299157612990613f3e565b5b0492506010810190505b6305f5e10083106129c4576305f5e10083816129ba576129b9613f3e565b5b0492506008810190505b61271083106129e95761271083816129df576129de613f3e565b5b0492506004810190505b60648310612a0c5760648381612a0257612a01613f3e565b5b0492506002810190505b600a8310612a1b576001810190505b80915050919050565b6060612a4a8273ffffffffffffffffffffffffffffffffffffffff16601460ff16612a51565b9050919050565b606060006002836002612a649190614195565b612a6e9190613aeb565b67ffffffffffffffff811115612a8757612a8661361f565b5b6040519080825280601f01601f191660200182016040528015612ab95781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612af157612af0613f9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612b5557612b54613f9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612b959190614195565b612b9f9190613aeb565b90505b6001811115612c3f577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612be157612be0613f9e565b5b1a60f81b828281518110612bf857612bf7613f9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612c38906141d7565b9050612ba2565b5060008414612c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7a9061424c565b60405180910390fd5b8091505092915050565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ccc81612c97565b8114612cd757600080fd5b50565b600081359050612ce981612cc3565b92915050565b600060208284031215612d0557612d04612c8d565b5b6000612d1384828501612cda565b91505092915050565b60008115159050919050565b612d3181612d1c565b82525050565b6000602082019050612d4c6000830184612d28565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d8c578082015181840152602081019050612d71565b60008484015250505050565b6000601f19601f8301169050919050565b6000612db482612d52565b612dbe8185612d5d565b9350612dce818560208601612d6e565b612dd781612d98565b840191505092915050565b60006020820190508181036000830152612dfc8184612da9565b905092915050565b6000819050919050565b612e1781612e04565b8114612e2257600080fd5b50565b600081359050612e3481612e0e565b92915050565b600060208284031215612e5057612e4f612c8d565b5b6000612e5e84828501612e25565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e9282612e67565b9050919050565b612ea281612e87565b82525050565b6000602082019050612ebd6000830184612e99565b92915050565b612ecc81612e87565b8114612ed757600080fd5b50565b600081359050612ee981612ec3565b92915050565b60008060408385031215612f0657612f05612c8d565b5b6000612f1485828601612eda565b9250506020612f2585828601612e25565b9150509250929050565b612f3881612e04565b82525050565b6000602082019050612f536000830184612f2f565b92915050565b600060208284031215612f6f57612f6e612c8d565b5b6000612f7d84828501612eda565b91505092915050565b600080600060608486031215612f9f57612f9e612c8d565b5b6000612fad86828701612eda565b9350506020612fbe86828701612eda565b9250506040612fcf86828701612e25565b9150509250925092565b6000819050919050565b612fec81612fd9565b8114612ff757600080fd5b50565b60008135905061300981612fe3565b92915050565b60006020828403121561302557613024612c8d565b5b600061303384828501612ffa565b91505092915050565b61304581612fd9565b82525050565b6000602082019050613060600083018461303c565b92915050565b6000806040838503121561307d5761307c612c8d565b5b600061308b85828601612ffa565b925050602061309c85828601612eda565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126130cb576130ca6130a6565b5b8235905067ffffffffffffffff8111156130e8576130e76130ab565b5b602083019150836001820283011115613104576131036130b0565b5b9250929050565b6000806020838503121561312257613121612c8d565b5b600083013567ffffffffffffffff8111156131405761313f612c92565b5b61314c858286016130b5565b92509250509250929050565b61316181612d1c565b811461316c57600080fd5b50565b60008135905061317e81613158565b92915050565b6000806040838503121561319b5761319a612c8d565b5b60006131a985828601612eda565b92505060206131ba8582860161316f565b9150509250929050565b600080604083850312156131db576131da612c8d565b5b60006131e985828601612e25565b92505060206131fa8582860161316f565b9150509250929050565b600060ff82169050919050565b61321a81613204565b82525050565b60006020820190506132356000830184613211565b92915050565b60008083601f840112613251576132506130a6565b5b8235905067ffffffffffffffff81111561326e5761326d6130ab565b5b60208301915083600182028301111561328a576132896130b0565b5b9250929050565b6000806000806000608086880312156132ad576132ac612c8d565b5b60006132bb88828901612eda565b95505060206132cc88828901612eda565b94505060406132dd88828901612e25565b935050606086013567ffffffffffffffff8111156132fe576132fd612c92565b5b61330a8882890161323b565b92509250509295509295909350565b6000819050919050565b600061333e61333961333484612e67565b613319565b612e67565b9050919050565b600061335082613323565b9050919050565b600061336282613345565b9050919050565b61337281613357565b82525050565b600060208201905061338d6000830184613369565b92915050565b600080604083850312156133aa576133a9612c8d565b5b60006133b885828601612eda565b92505060206133c985828601612eda565b9150509250929050565b60006060820190506133e86000830186612f2f565b6133f56020830185612f2f565b6134026040830184612f2f565b949350505050565b6000806040838503121561342157613420612c8d565b5b600061342f85828601612e25565b925050602061344085828601612eda565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061349157607f821691505b6020821081036134a4576134a361344a565b5b50919050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b60006134e0600e83612d5d565b91506134eb826134aa565b602082019050919050565b6000602082019050818103600083015261350f816134d3565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613572602f83612d5d565b915061357d82613516565b604082019050919050565b600060208201905081810360008301526135a181613565565b9050919050565b7f554e415554484f52495a45440000000000000000000000000000000000000000600082015250565b60006135de600c83612d5d565b91506135e9826135a8565b602082019050919050565b6000602082019050818103600083015261360d816135d1565b9050919050565b600082905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026136b07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613673565b6136ba8683613673565b95508019841693508086168417925050509392505050565b60006136ed6136e86136e384612e04565b613319565b612e04565b9050919050565b6000819050919050565b613707836136d2565b61371b613713826136f4565b848454613680565b825550505050565b600090565b613730613723565b61373b8184846136fe565b505050565b5b8181101561375f57613754600082613728565b600181019050613741565b5050565b601f8211156137a4576137758161364e565b61377e84613663565b8101602085101561378d578190505b6137a161379985613663565b830182613740565b50505b505050565b600082821c905092915050565b60006137c7600019846008026137a9565b1980831691505092915050565b60006137e083836137b6565b9150826002028217905092915050565b6137fa8383613614565b67ffffffffffffffff8111156138135761381261361f565b5b61381d8254613479565b613828828285613763565b6000601f8311600181146138575760008415613845578287013590505b61384f85826137d4565b8655506138b7565b601f1984166138658661364e565b60005b8281101561388d57848901358255600182019150602085019450602081019050613868565b868310156138aa57848901356138a6601f8916826137b6565b8355505b6001600288020188555050505b50505050505050565b7f4e4f545f4d494e54454400000000000000000000000000000000000000000000600082015250565b60006138f6600a83612d5d565b9150613901826138c0565b602082019050919050565b60006020820190508181036000830152613925816138e9565b9050919050565b7f5a45524f5f414444524553530000000000000000000000000000000000000000600082015250565b6000613962600c83612d5d565b915061396d8261392c565b602082019050919050565b6000602082019050818103600083015261399181613955565b9050919050565b7f4172744f6e4c6564676572537461783a204d696e74206973206e6f742061637460008201527f6976650000000000000000000000000000000000000000000000000000000000602082015250565b60006139f4602383612d5d565b91506139ff82613998565b604082019050919050565b60006020820190508181036000830152613a23816139e7565b9050919050565b7f4172744f6e4c6564676572537461783a204d617820537570706c79206973207260008201527f6561636865640000000000000000000000000000000000000000000000000000602082015250565b6000613a86602683612d5d565b9150613a9182613a2a565b604082019050919050565b60006020820190508181036000830152613ab581613a79565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613af682612e04565b9150613b0183612e04565b9250828201905080821115613b1957613b18613abc565b5b92915050565b6000604082019050613b346000830185612f2f565b613b416020830184612e99565b9392505050565b600081905092915050565b60008154613b6081613479565b613b6a8186613b48565b94506001821660008114613b855760018114613b9a57613bcd565b60ff1983168652811515820286019350613bcd565b613ba38561364e565b60005b83811015613bc557815481890152600182019150602081019050613ba6565b838801955050505b50505092915050565b6000613be182612d52565b613beb8185613b48565b9350613bfb818560208601612d6e565b80840191505092915050565b6000613c138285613b53565b9150613c1f8284613bd6565b91508190509392505050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b6000613c61600a83612d5d565b9150613c6c82613c2b565b602082019050919050565b60006020820190508181036000830152613c9081613c54565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b6000613ccd601183612d5d565b9150613cd882613c97565b602082019050919050565b60006020820190508181036000830152613cfc81613cc0565b9050919050565b600082825260208201905092915050565b50565b6000613d24600083613d03565b9150613d2f82613d14565b600082019050919050565b6000608082019050613d4f6000830186612e99565b613d5c6020830185612e99565b613d696040830184612f2f565b8181036060830152613d7a81613d17565b9050949350505050565b600081519050613d9381612cc3565b92915050565b600060208284031215613daf57613dae612c8d565b5b6000613dbd84828501613d84565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b6000613dfc601083612d5d565b9150613e0782613dc6565b602082019050919050565b60006020820190508181036000830152613e2b81613def565b9050919050565b6000613e3d82612e04565b9150613e4883612e04565b9250828203905081811115613e6057613e5f613abc565b5b92915050565b60008160601b9050919050565b6000613e7e82613e66565b9050919050565b6000613e9082613e73565b9050919050565b613ea8613ea382612e87565b613e85565b82525050565b6000819050919050565b613ec9613ec482612fd9565b613eae565b82525050565b6000819050919050565b613eea613ee582612e04565b613ecf565b82525050565b6000613efc8287613e97565b601482019150613f0c8286613eb8565b602082019150613f1c8285613ed9565b602082019150613f2c8284613ed9565b60208201915081905095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f7882612e04565b9150613f8383612e04565b925082613f9357613f92613f3e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b6000614003600e83612d5d565b915061400e82613fcd565b602082019050919050565b6000602082019050818103600083015261403281613ff6565b9050919050565b82818337600083830152505050565b60006140548385613d03565b9350614061838584614039565b61406a83612d98565b840190509392505050565b600060808201905061408a6000830188612e99565b6140976020830187612e99565b6140a46040830186612f2f565b81810360608301526140b7818486614048565b90509695505050505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006140f9601783613b48565b9150614104826140c3565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614145601183613b48565b91506141508261410f565b601182019050919050565b6000614166826140ec565b91506141728285613bd6565b915061417d82614138565b91506141898284613bd6565b91508190509392505050565b60006141a082612e04565b91506141ab83612e04565b92508282026141b981612e04565b915082820484148315176141d0576141cf613abc565b5b5092915050565b60006141e282612e04565b9150600082036141f5576141f4613abc565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614236602083612d5d565b915061424182614200565b602082019050919050565b6000602082019050818103600083015261426581614229565b905091905056fea2646970667358221220b1d93141971bd834ffde847d8ef60b032d37ac74700a5e65c0915f949245eebc64736f6c63430008110033000000000000000000000000adf49b9f133fb137e82b24f06d23e49c51f586c70000000000000000000000004229fb41559289527a483599a18ffd0305a0ded7

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061023d5760003560e01c806391d148541161013b578063b88d4fde116100b8578063e8a3d4851161007c578063e8a3d485146106c6578063e985e9c5146106e4578063f2fde38b14610714578063fc314e3114610730578063fcd3533c146107625761023d565b8063b88d4fde14610622578063c87b56dd1461063e578063cfbbbd9e1461066e578063d547741f1461068c578063d5abeb01146106a85761023d565b8063a22cb465116100ff578063a22cb46514610592578063ab0eb62d146105ae578063ac777422146105b8578063b1c9fe6e146105d4578063b2564569146105f25761023d565b806391d14854146104ee578063938e3d7b1461051e57806395d89b411461053a578063a0712d6814610558578063a217fddf146105745761023d565b80632f2ff15d116101c957806355f804b31161018d57806355f804b3146104365780636352211e146104525780636817c76c1461048257806370a08231146104a05780638da5cb5b146104d05761023d565b80632f2ff15d146103945780633098e25e146103b057806336568abe146103e057806342842e0e146103fc57806343353561146104185761023d565b806318160ddd1161021057806318160ddd146102dc5780631e7269c5146102fa57806323b872dd1461032a578063248a9ca314610346578063282c51f3146103765761023d565b806301ffc9a71461024257806306fdde0314610272578063081812fc14610290578063095ea7b3146102c0575b600080fd5b61025c60048036038101906102579190612cef565b61077e565b6040516102699190612d37565b60405180910390f35b61027a6107a0565b6040516102879190612de2565b60405180910390f35b6102aa60048036038101906102a59190612e3a565b61082e565b6040516102b79190612ea8565b60405180910390f35b6102da60048036038101906102d59190612eef565b610861565b005b6102e4610a4a565b6040516102f19190612f3e565b60405180910390f35b610314600480360381019061030f9190612f59565b610a50565b6040516103219190612f3e565b60405180910390f35b610344600480360381019061033f9190612f86565b610a68565b005b610360600480360381019061035b919061300f565b610ad2565b60405161036d919061304b565b60405180910390f35b61037e610af2565b60405161038b919061304b565b60405180910390f35b6103ae60048036038101906103a99190613066565b610b16565b005b6103ca60048036038101906103c59190612e3a565b610b37565b6040516103d79190612f3e565b60405180910390f35b6103fa60048036038101906103f59190613066565b610b52565b005b61041660048036038101906104119190612f86565b610bd5565b005b610420610c3f565b60405161042d9190612f3e565b60405180910390f35b610450600480360381019061044b919061310b565b610c45565b005b61046c60048036038101906104679190612e3a565b610ceb565b6040516104799190612ea8565b60405180910390f35b61048a610d96565b6040516104979190612f3e565b60405180910390f35b6104ba60048036038101906104b59190612f59565b610d9b565b6040516104c79190612f3e565b60405180910390f35b6104d8610e52565b6040516104e59190612ea8565b60405180910390f35b61050860048036038101906105039190613066565b610e78565b6040516105159190612d37565b60405180910390f35b6105386004803603810190610533919061310b565b610ee3565b005b610542610f89565b60405161054f9190612de2565b60405180910390f35b610572600480360381019061056d9190612e3a565b611017565b005b61057c61121d565b604051610589919061304b565b60405180910390f35b6105ac60048036038101906105a79190613184565b611224565b005b6105b6611321565b005b6105d260048036038101906105cd91906131c4565b61140b565b005b6105dc6114cb565b6040516105e99190613220565b60405180910390f35b61060c60048036038101906106079190612e3a565b6114de565b6040516106199190612d37565b60405180910390f35b61063c60048036038101906106379190613291565b611509565b005b61065860048036038101906106539190612e3a565b611577565b6040516106659190612de2565b60405180910390f35b6106766115ab565b6040516106839190613378565b60405180910390f35b6106a660048036038101906106a19190613066565b6115cf565b005b6106b06115f0565b6040516106bd9190612f3e565b60405180910390f35b6106ce6115f6565b6040516106db9190612de2565b60405180910390f35b6106fe60048036038101906106f99190613393565b611684565b60405161070b9190612d37565b60405180910390f35b61072e60048036038101906107299190612f59565b6116b3565b005b61074a60048036038101906107459190612e3a565b6117e1565b604051610759939291906133d3565b60405180910390f35b61077c6004803603810190610777919061340a565b61180b565b005b6000610789826118b6565b80610799575061079882611948565b5b9050919050565b600080546107ad90613479565b80601f01602080910402602001604051908101604052809291908181526020018280546107d990613479565b80156108265780601f106107fb57610100808354040283529160200191610826565b820191906000526020600020905b81548152906001019060200180831161080957829003601f168201915b505050505081565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109595750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098f906134f6565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600e5481565b600f6020528060005260406000206000915090505481565b806013600082815260200190815260200160002060009054906101000a900460ff1615610ac1576040517fc8fb086200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610acc8484846119c2565b50505050565b6000600d6000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b610b1f82610ad2565b610b2881611dc1565b610b328383611dd5565b505050565b60068160058110610b4757600080fd5b016000915090505481565b610b5a611eb6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbe90613588565b60405180910390fd5b610bd18282611ebe565b5050565b806013600082815260200190815260200160002060009054906101000a900460ff1615610c2e576040517fc8fb086200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c39848484611fa0565b50505050565b6112ab81565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccc906135f4565b60405180910390fd5b818160119182610ce69291906137f0565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff1603610d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d889061390c565b60405180910390fd5b919050565b600081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0290613978565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a906135f4565b60405180910390fd5b818160129182610f849291906137f0565b505050565b60018054610f9690613479565b80601f0160208091040260200160405190810160405280929190818152602001828054610fc290613479565b801561100f5780601f10610fe45761010080835404028352916020019161100f565b820191906000526020600020905b815481529060010190602001808311610ff257829003601f168201915b505050505081565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110c2576002601060009054906101000a900460ff1660ff16146110c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b890613a0a565b60405180910390fd5b5b6112ab600e5410611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff90613a9c565b60405180910390fd5b60006001600e546111199190613aeb565b9050611124816120d8565b80600e819055506001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461117b9190613aeb565b925050819055507f0000000000000000000000004229fb41559289527a483599a18ffd0305a0ded773ffffffffffffffffffffffffffffffffffffffff1663fcd3533c83336040518363ffffffff1660e01b81526004016111dd929190613b1f565b600060405180830381600087803b1580156111f757600080fd5b505af115801561120b573d6000803e3d6000fd5b505050506112193382612201565b5050565b6000801b81565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113159190612d37565b60405180910390a35050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146113b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a8906135f4565b60405180910390fd5b6000601060009054906101000a900460ff1660ff16036113ec576002601060006101000a81548160ff021916908360ff160217905550611409565b6000601060006101000a81548160ff021916908360ff1602179055505b565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461149b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611492906135f4565b60405180910390fd5b80156013600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b601060009054906101000a900460ff1681565b60006013600083815260200190815260200160002060009054906101000a900460ff16159050919050565b826013600082815260200190815260200160002060009054906101000a900460ff1615611562576040517fc8fb086200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61156f8686868686612413565b505050505050565b6060601161158483612551565b604051602001611595929190613c07565b6040516020818303038152906040529050919050565b7f0000000000000000000000004229fb41559289527a483599a18ffd0305a0ded781565b6115d882610ad2565b6115e181611dc1565b6115eb8383611ebe565b505050565b6112ab81565b6012805461160390613479565b80601f016020809104026020016040519081016040528092919081815260200182805461162f90613479565b801561167c5780601f106116515761010080835404028352916020019161167c565b820191906000526020600020905b81548152906001019060200180831161165f57829003601f168201915b505050505081565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173a906135f4565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b600b6020528060005260406000206000915090508060000154908060010154908060020154905083565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84861183581611dc1565b600061184084610ceb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146118a7576040517f49e27cff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6118b08461261f565b50505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061191157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119415750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119bb57506119ba826127e2565b5b9050919050565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5a90613c77565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac990613ce3565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b925750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80611bfb57506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c31906134f6565b60405180910390fd5b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611dd281611dcd611eb6565b61284c565b50565b611ddf8282610e78565b611eb2576001600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e57611eb6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b611ec88282610e78565b15611f9c576000600d600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f41611eb6565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611fab838383610a68565b60008273ffffffffffffffffffffffffffffffffffffffff163b1480612094575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b815260040161203093929190613d3a565b6020604051808303816000875af115801561204f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120739190613d99565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b6120d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ca90613e12565b60405180910390fd5b505050565b6000326001436120e89190613e32565b4042846040516020016120fe9493929190613ef0565b6040516020818303038152906040528051906020012060001c905060006005826121289190613f6d565b90505b6103bc6006826005811061214257612141613f9e565b5b01540361216b576001816121569190613aeb565b9050600481111561216657600090505b61212b565b60016006826005811061218157612180613f9e565b5b0160008282546121919190613aeb565b925050819055506040518060600160405280838152602001828152602001600683600581106121c3576121c2613f9e565b5b0154815250600b6000858152602001908152602001600020600082015181600001556020820151816001015560408201518160020155905050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226790613ce3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230990614019565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61241e858585610a68565b60008473ffffffffffffffffffffffffffffffffffffffff163b148061250b575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b81526004016124a7959493929190614075565b6020604051808303816000875af11580156124c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ea9190613d99565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b61254a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254190613e12565b60405180910390fd5b5050505050565b606060006001612560846128d1565b01905060008167ffffffffffffffff81111561257f5761257e61361f565b5b6040519080825280601f01601f1916602001820160405280156125b15781602001600182028036833780820191505090505b509050600082602001820190505b600115612614578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161260857612607613f3e565b5b049450600085036125bf575b819350505050919050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036126c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bd9061390c565b60405180910390fd5b600360008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001900391905055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128568282610e78565b6128cd5761286381612a24565b6128718360001c6020612a51565b60405160200161288292919061415b565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c49190612de2565b60405180910390fd5b5050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000831061292f577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161292557612924613f3e565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061296c576d04ee2d6d415b85acef8100000000838161296257612961613f3e565b5b0492506020810190505b662386f26fc10000831061299b57662386f26fc10000838161299157612990613f3e565b5b0492506010810190505b6305f5e10083106129c4576305f5e10083816129ba576129b9613f3e565b5b0492506008810190505b61271083106129e95761271083816129df576129de613f3e565b5b0492506004810190505b60648310612a0c5760648381612a0257612a01613f3e565b5b0492506002810190505b600a8310612a1b576001810190505b80915050919050565b6060612a4a8273ffffffffffffffffffffffffffffffffffffffff16601460ff16612a51565b9050919050565b606060006002836002612a649190614195565b612a6e9190613aeb565b67ffffffffffffffff811115612a8757612a8661361f565b5b6040519080825280601f01601f191660200182016040528015612ab95781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612af157612af0613f9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612b5557612b54613f9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612b959190614195565b612b9f9190613aeb565b90505b6001811115612c3f577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612be157612be0613f9e565b5b1a60f81b828281518110612bf857612bf7613f9e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612c38906141d7565b9050612ba2565b5060008414612c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7a9061424c565b60405180910390fd5b8091505092915050565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ccc81612c97565b8114612cd757600080fd5b50565b600081359050612ce981612cc3565b92915050565b600060208284031215612d0557612d04612c8d565b5b6000612d1384828501612cda565b91505092915050565b60008115159050919050565b612d3181612d1c565b82525050565b6000602082019050612d4c6000830184612d28565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d8c578082015181840152602081019050612d71565b60008484015250505050565b6000601f19601f8301169050919050565b6000612db482612d52565b612dbe8185612d5d565b9350612dce818560208601612d6e565b612dd781612d98565b840191505092915050565b60006020820190508181036000830152612dfc8184612da9565b905092915050565b6000819050919050565b612e1781612e04565b8114612e2257600080fd5b50565b600081359050612e3481612e0e565b92915050565b600060208284031215612e5057612e4f612c8d565b5b6000612e5e84828501612e25565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e9282612e67565b9050919050565b612ea281612e87565b82525050565b6000602082019050612ebd6000830184612e99565b92915050565b612ecc81612e87565b8114612ed757600080fd5b50565b600081359050612ee981612ec3565b92915050565b60008060408385031215612f0657612f05612c8d565b5b6000612f1485828601612eda565b9250506020612f2585828601612e25565b9150509250929050565b612f3881612e04565b82525050565b6000602082019050612f536000830184612f2f565b92915050565b600060208284031215612f6f57612f6e612c8d565b5b6000612f7d84828501612eda565b91505092915050565b600080600060608486031215612f9f57612f9e612c8d565b5b6000612fad86828701612eda565b9350506020612fbe86828701612eda565b9250506040612fcf86828701612e25565b9150509250925092565b6000819050919050565b612fec81612fd9565b8114612ff757600080fd5b50565b60008135905061300981612fe3565b92915050565b60006020828403121561302557613024612c8d565b5b600061303384828501612ffa565b91505092915050565b61304581612fd9565b82525050565b6000602082019050613060600083018461303c565b92915050565b6000806040838503121561307d5761307c612c8d565b5b600061308b85828601612ffa565b925050602061309c85828601612eda565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126130cb576130ca6130a6565b5b8235905067ffffffffffffffff8111156130e8576130e76130ab565b5b602083019150836001820283011115613104576131036130b0565b5b9250929050565b6000806020838503121561312257613121612c8d565b5b600083013567ffffffffffffffff8111156131405761313f612c92565b5b61314c858286016130b5565b92509250509250929050565b61316181612d1c565b811461316c57600080fd5b50565b60008135905061317e81613158565b92915050565b6000806040838503121561319b5761319a612c8d565b5b60006131a985828601612eda565b92505060206131ba8582860161316f565b9150509250929050565b600080604083850312156131db576131da612c8d565b5b60006131e985828601612e25565b92505060206131fa8582860161316f565b9150509250929050565b600060ff82169050919050565b61321a81613204565b82525050565b60006020820190506132356000830184613211565b92915050565b60008083601f840112613251576132506130a6565b5b8235905067ffffffffffffffff81111561326e5761326d6130ab565b5b60208301915083600182028301111561328a576132896130b0565b5b9250929050565b6000806000806000608086880312156132ad576132ac612c8d565b5b60006132bb88828901612eda565b95505060206132cc88828901612eda565b94505060406132dd88828901612e25565b935050606086013567ffffffffffffffff8111156132fe576132fd612c92565b5b61330a8882890161323b565b92509250509295509295909350565b6000819050919050565b600061333e61333961333484612e67565b613319565b612e67565b9050919050565b600061335082613323565b9050919050565b600061336282613345565b9050919050565b61337281613357565b82525050565b600060208201905061338d6000830184613369565b92915050565b600080604083850312156133aa576133a9612c8d565b5b60006133b885828601612eda565b92505060206133c985828601612eda565b9150509250929050565b60006060820190506133e86000830186612f2f565b6133f56020830185612f2f565b6134026040830184612f2f565b949350505050565b6000806040838503121561342157613420612c8d565b5b600061342f85828601612e25565b925050602061344085828601612eda565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061349157607f821691505b6020821081036134a4576134a361344a565b5b50919050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b60006134e0600e83612d5d565b91506134eb826134aa565b602082019050919050565b6000602082019050818103600083015261350f816134d3565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613572602f83612d5d565b915061357d82613516565b604082019050919050565b600060208201905081810360008301526135a181613565565b9050919050565b7f554e415554484f52495a45440000000000000000000000000000000000000000600082015250565b60006135de600c83612d5d565b91506135e9826135a8565b602082019050919050565b6000602082019050818103600083015261360d816135d1565b9050919050565b600082905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026136b07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613673565b6136ba8683613673565b95508019841693508086168417925050509392505050565b60006136ed6136e86136e384612e04565b613319565b612e04565b9050919050565b6000819050919050565b613707836136d2565b61371b613713826136f4565b848454613680565b825550505050565b600090565b613730613723565b61373b8184846136fe565b505050565b5b8181101561375f57613754600082613728565b600181019050613741565b5050565b601f8211156137a4576137758161364e565b61377e84613663565b8101602085101561378d578190505b6137a161379985613663565b830182613740565b50505b505050565b600082821c905092915050565b60006137c7600019846008026137a9565b1980831691505092915050565b60006137e083836137b6565b9150826002028217905092915050565b6137fa8383613614565b67ffffffffffffffff8111156138135761381261361f565b5b61381d8254613479565b613828828285613763565b6000601f8311600181146138575760008415613845578287013590505b61384f85826137d4565b8655506138b7565b601f1984166138658661364e565b60005b8281101561388d57848901358255600182019150602085019450602081019050613868565b868310156138aa57848901356138a6601f8916826137b6565b8355505b6001600288020188555050505b50505050505050565b7f4e4f545f4d494e54454400000000000000000000000000000000000000000000600082015250565b60006138f6600a83612d5d565b9150613901826138c0565b602082019050919050565b60006020820190508181036000830152613925816138e9565b9050919050565b7f5a45524f5f414444524553530000000000000000000000000000000000000000600082015250565b6000613962600c83612d5d565b915061396d8261392c565b602082019050919050565b6000602082019050818103600083015261399181613955565b9050919050565b7f4172744f6e4c6564676572537461783a204d696e74206973206e6f742061637460008201527f6976650000000000000000000000000000000000000000000000000000000000602082015250565b60006139f4602383612d5d565b91506139ff82613998565b604082019050919050565b60006020820190508181036000830152613a23816139e7565b9050919050565b7f4172744f6e4c6564676572537461783a204d617820537570706c79206973207260008201527f6561636865640000000000000000000000000000000000000000000000000000602082015250565b6000613a86602683612d5d565b9150613a9182613a2a565b604082019050919050565b60006020820190508181036000830152613ab581613a79565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613af682612e04565b9150613b0183612e04565b9250828201905080821115613b1957613b18613abc565b5b92915050565b6000604082019050613b346000830185612f2f565b613b416020830184612e99565b9392505050565b600081905092915050565b60008154613b6081613479565b613b6a8186613b48565b94506001821660008114613b855760018114613b9a57613bcd565b60ff1983168652811515820286019350613bcd565b613ba38561364e565b60005b83811015613bc557815481890152600182019150602081019050613ba6565b838801955050505b50505092915050565b6000613be182612d52565b613beb8185613b48565b9350613bfb818560208601612d6e565b80840191505092915050565b6000613c138285613b53565b9150613c1f8284613bd6565b91508190509392505050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b6000613c61600a83612d5d565b9150613c6c82613c2b565b602082019050919050565b60006020820190508181036000830152613c9081613c54565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b6000613ccd601183612d5d565b9150613cd882613c97565b602082019050919050565b60006020820190508181036000830152613cfc81613cc0565b9050919050565b600082825260208201905092915050565b50565b6000613d24600083613d03565b9150613d2f82613d14565b600082019050919050565b6000608082019050613d4f6000830186612e99565b613d5c6020830185612e99565b613d696040830184612f2f565b8181036060830152613d7a81613d17565b9050949350505050565b600081519050613d9381612cc3565b92915050565b600060208284031215613daf57613dae612c8d565b5b6000613dbd84828501613d84565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b6000613dfc601083612d5d565b9150613e0782613dc6565b602082019050919050565b60006020820190508181036000830152613e2b81613def565b9050919050565b6000613e3d82612e04565b9150613e4883612e04565b9250828203905081811115613e6057613e5f613abc565b5b92915050565b60008160601b9050919050565b6000613e7e82613e66565b9050919050565b6000613e9082613e73565b9050919050565b613ea8613ea382612e87565b613e85565b82525050565b6000819050919050565b613ec9613ec482612fd9565b613eae565b82525050565b6000819050919050565b613eea613ee582612e04565b613ecf565b82525050565b6000613efc8287613e97565b601482019150613f0c8286613eb8565b602082019150613f1c8285613ed9565b602082019150613f2c8284613ed9565b60208201915081905095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f7882612e04565b9150613f8383612e04565b925082613f9357613f92613f3e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b6000614003600e83612d5d565b915061400e82613fcd565b602082019050919050565b6000602082019050818103600083015261403281613ff6565b9050919050565b82818337600083830152505050565b60006140548385613d03565b9350614061838584614039565b61406a83612d98565b840190509392505050565b600060808201905061408a6000830188612e99565b6140976020830187612e99565b6140a46040830186612f2f565b81810360608301526140b7818486614048565b90509695505050505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006140f9601783613b48565b9150614104826140c3565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614145601183613b48565b91506141508261410f565b601182019050919050565b6000614166826140ec565b91506141728285613bd6565b915061417d82614138565b91506141898284613bd6565b91508190509392505050565b60006141a082612e04565b91506141ab83612e04565b92508282026141b981612e04565b915082820484148315176141d0576141cf613abc565b5b5092915050565b60006141e282612e04565b9150600082036141f5576141f4613abc565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614236602083612d5d565b915061424182614200565b602082019050919050565b6000602082019050818103600083015261426581614229565b905091905056fea2646970667358221220b1d93141971bd834ffde847d8ef60b032d37ac74700a5e65c0915f949245eebc64736f6c63430008110033

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

000000000000000000000000adf49b9f133fb137e82b24f06d23e49c51f586c70000000000000000000000004229fb41559289527a483599a18ffd0305a0ded7

-----Decoded View---------------
Arg [0] : owner_ (address): 0xaDf49b9f133fb137e82b24F06D23E49c51f586C7
Arg [1] : pass_ (address): 0x4229fb41559289527a483599a18fFD0305A0DEd7

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000adf49b9f133fb137e82b24f06d23e49c51f586c7
Arg [1] : 0000000000000000000000004229fb41559289527a483599a18ffd0305a0ded7


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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