ETH Price: $3,553.10 (+6.80%)

Token

Cult (CULT)
 

Overview

Max Total Supply

200 CULT

Holders

129

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
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:
Cult

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : Cult.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {ERC721} from "solmate/tokens/ERC721.sol";
import "solmate/auth/Owned.sol";
import "openzeppelin/utils/Strings.sol";
import "openzeppelin/access/AccessControl.sol";

//                               8DDDDDDDDDDDDDDDDDD
//                          8DDDDDDDDDDDDDDDDDDDDDDDDDDDD.
//                       DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
//                    NDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDN
//                 .8DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDN
//               .DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD.
//             .   DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
//            ,DDDZ    :DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD.  .DD?
//           DDDDDDDDDD,     ONDDDDDDDDDDDDDDDDDDDDDDDDDDDDDZ    DDDDDDD
//          DDDDDDDDDDDDDDDD8,.      ?8DDDDDDDDDDDDDDO~ .   .NDDDDDDDDDDD.
//         DDDDDDDDDDDDDDDDDDDDDDDDDD+,.             :$NDDDDDDDDDDDDDDDDDD.
//        DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
//      .DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD.
//      NDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
//     =DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDI
//     DDDDDDDDDDDDDDDDD+ .  NDDDDDDDDDDDDDDDDDDDDDDDD$$$$$DDDDDDDDDDDDDDDDDDD.
//    DDDDDDDDDDDDDDN          .NDDDDDDDDDDDDDDDDDDDD.     DDDD????INDDDDDDDDDD
//    DDDDDDDDDDDDD.             NDDDDDDDDDDDDDDDDDDD.     DDD.     DDDDDDDDDDD
//   IDDDDDDDDDDDD:      .        DDDDDDDDDDDDDDDDDDD      DDD.    .DDDDDDDDDDDO
//   DDDDDDDDDDDDD     .DDDD      DD.....,DD8.....~D7      N...     ..=DDDDDDDDD
//   DDDDDDDDDDDD7      DDDD.  ..~D7      DD.     ,D,      D          +DDDDDDDDD.
//  .DDDDDDDDDDDD      ~DDDDDDDDDDD      ~DD      DD      DZ          DDDDDDDDDD,
//  =DDDDDDDDDDDD.     8DDDDDDDDDDD      DDD      DD      DDD      8DDDDDDDDDDDD?
//  7DDDDDDDDDDDD      DDDDDDDDDDDD      DDD      DD      DDD.     DDDDDDDDDDDDD$
//  IDDDDDDDDDDDD      DDDDDDDDDDDD      DDZ      DO      DDD.     DDDDDDDDDDDDD$
//  ~DDDDDDDDDDD$      DDDD?ZDDDDDD      DD,     .D:     .DDD      DDDDDDDDDDDDD+
//   DDDDDDDDDDD:      DDD:      D      :DD      DD      NDDD      DDDDDDDDDDDDD.
//   DDDDDDDDDDD$      ., .     DD      .,.      N:      ..D:      ..DDDDDDDDDDD.
//   DDDDDDDDDDDD.             ZDD               DD       DD.       ODDDDDDDDDDD
//   IDDDDDDDDDDDD            DDDDD             NDI       DDI       DDDDDDDDDDDZ
//    DDDDDDDDDDDDDD.      IDDDDDDDD           IDDDN      DDDN      DDDDDDDDDDD
//    DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
//     DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD.
//     :DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD?
//      NDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD.
//      .DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD.
//       .NDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
//         DDDDDDDDDDDDDDDDDDDDDDD:.                   .,8DDDDDDDDDDDDDDDD
//          DDDDDDDDDDDDDDD,.    .$DDDDDDDDDDDDDDDDDDDDDO.    =DDDDDDDDDD
//           8DDDDDDD?   . ODDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD~   DDDDDD
//            .DD.    NDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD7  :D:
//              :7DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD8
//                8DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
//                 .DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD.
//                    DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
//                       DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
//                          ZDDDDDDDDDDDDDDDDDDDDDDDDDDD8
//                               $DDDDDDDDDDDDDDDDDO

contract Cult is ERC721, Owned, AccessControl {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");

    string baseURI;
    string fileExt;
    string ball;

    uint256 public totalSupply;

    constructor(address premintRecipient)
        ERC721("Cult", "CULT")
        Owned(msg.sender)
    {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(ADMIN_ROLE, msg.sender);

        for (uint256 i = 0; i < 50; i++) {
            _safeMint(premintRecipient, i);
            totalSupply++;
        }

        require(balanceOf(premintRecipient) == 50, "PREMINT FAILED");
        require(totalSupply == 50, "PREMINT FAILED");
    }

    // INTERNAL
    function _exists(uint256 id) internal view returns (bool) {
        return _ownerOf[id] != address(0);
    }

    // ADMIN
    function setBall(string calldata _ball) external onlyRole(ADMIN_ROLE) {
        ball = _ball;
    }

    function setBaseURI(string calldata _baseURI, string calldata _fileExt)
        public
        onlyRole(ADMIN_ROLE)
    {
        baseURI = _baseURI;
        fileExt = _fileExt;
    }

    // PUBLIC
    function tokenURI(uint256 id) public view override returns (string memory) {
        require(_exists(id), "ERC721Metadata: URI query for nonexistent token");

        return
            bytes(baseURI).length > 0
                ? string(
                    abi.encodePacked(baseURI, Strings.toString(id), fileExt)
                )
                : "";
    }

    function supportsInterface(bytes4 interfaceId)
        public
        pure
        override(ERC721, AccessControl)
        returns (bool)
    {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
            interfaceId == 0x5b5e139f ||
            interfaceId == type(IAccessControl).interfaceId;
    }

    // EXTERNAL
    function mint(address to, uint256 quantity) external onlyRole(MINTER_ROLE) {
        for (uint256 i = 0; i < quantity; i++) {
            _safeMint(to, totalSupply);
            totalSupply++;
        }
    }

    function fetch() external view returns (string memory) {
        return ball;
    }
}

File 2 of 9 : 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/Rari-Capital/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/Rari-Capital/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 3 of 9 : 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/Rari-Capital/solmate/blob/main/src/auth/Owned.sol)
abstract contract Owned {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event OwnerUpdated(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 OwnerUpdated(address(0), _owner);
    }

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

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

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

File 4 of 9 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    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) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

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

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

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

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

File 5 of 9 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

    /**
     * @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(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

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

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * 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 6 of 9 : 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 7 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

File 8 of 9 : 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 9 of 9 : 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);
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin/=lib/openzeppelin-contracts/contracts/",
    "solmate/=lib/solmate/src/",
    "src/=src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london"
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"premintRecipient","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":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":"OwnerUpdated","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":"ADMIN_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":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fetch","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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"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":"_ball","type":"string"}],"name":"setBall","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"string","name":"_fileExt","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"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"}]

60806040523480156200001157600080fd5b5060405162002257380380620022578339810160408190526200003491620005ce565b336040518060400160405280600481526020016310dd5b1d60e21b8152506040518060400160405280600481526020016310d5531560e21b81525081600090805190602001906200008792919062000528565b5080516200009d90600190602084019062000528565b5050600680546001600160a01b0319166001600160a01b0384169081179091556040519091506000907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d76908290a350620000f960003362000209565b620001257fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217753362000209565b60005b60328110156200016b576200013e828262000219565b600b8054906000620001508362000600565b91905055508080620001629062000600565b91505062000128565b50620001778162000310565b603214620001bd5760405162461bcd60e51b815260206004820152600e60248201526d141491535253950811905253115160921b60448201526064015b60405180910390fd5b600b54603214620002025760405162461bcd60e51b815260206004820152600e60248201526d141491535253950811905253115160921b6044820152606401620001b4565b5062000690565b62000215828262000375565b5050565b62000225828262000419565b6001600160a01b0382163b1580620002cf5750604051630a85bd0160e11b80825233600483015260006024830181905260448301849052608060648401526084830152906001600160a01b0384169063150b7a029060a4016020604051808303816000875af11580156200029d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c3919062000628565b6001600160e01b031916145b620002155760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b6044820152606401620001b4565b60006001600160a01b038216620003595760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b6044820152606401620001b4565b506001600160a01b031660009081526003602052604090205490565b60008281526007602090815260408083206001600160a01b038516845290915290205460ff16620002155760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003d53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6001600160a01b038216620004655760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401620001b4565b6000818152600260205260409020546001600160a01b031615620004bd5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401620001b4565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054620005369062000654565b90600052602060002090601f0160209004810192826200055a5760008555620005a5565b82601f106200057557805160ff1916838001178555620005a5565b82800160010185558215620005a5579182015b82811115620005a557825182559160200191906001019062000588565b50620005b3929150620005b7565b5090565b5b80821115620005b35760008155600101620005b8565b600060208284031215620005e157600080fd5b81516001600160a01b0381168114620005f957600080fd5b9392505050565b6000600182016200062157634e487b7160e01b600052601160045260246000fd5b5060010190565b6000602082840312156200063b57600080fd5b81516001600160e01b031981168114620005f957600080fd5b600181811c908216806200066957607f821691505b6020821081036200068a57634e487b7160e01b600052602260045260246000fd5b50919050565b611bb780620006a06000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a22cb46511610097578063c87b56dd11610071578063c87b56dd146103df578063d5391393146103f2578063d547741f14610419578063e985e9c51461042c57600080fd5b8063a22cb465146103b1578063a95c372d146103c4578063b88d4fde146103cc57600080fd5b80638da5cb5b116100d35780638da5cb5b1461037b57806391d148541461038e57806395d89b41146103a1578063a217fddf146103a957600080fd5b806370a082311461032e57806375b238fc146103415780638d8fb3b91461036857600080fd5b8063248a9ca31161016657806340c10f191161014057806340c10f19146102e257806342842e0e146102f55780636352211e146103085780636790a9de1461031b57600080fd5b8063248a9ca3146102995780632f2ff15d146102bc57806336568abe146102cf57600080fd5b8063095ea7b3116101a2578063095ea7b31461024757806313af40351461025c57806318160ddd1461026f57806323b872dd1461028657600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d7366004611548565b61045a565b60405190151581526020015b60405180910390f35b6101f96104c7565b6040516101e89190611591565b61022f6102143660046115c4565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101e8565b61025a6102553660046115f4565b610555565b005b61025a61026a36600461161e565b61063c565b610278600b5481565b6040519081526020016101e8565b61025a610294366004611639565b6106d1565b6102786102a73660046115c4565b60009081526007602052604090206001015490565b61025a6102ca366004611675565b610898565b61025a6102dd366004611675565b6108c2565b61025a6102f03660046115f4565b610940565b61025a610303366004611639565b6109af565b61022f6103163660046115c4565b610a7f565b61025a6103293660046116ea565b610ad6565b61027861033c36600461161e565b610b21565b6102787fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b61025a610376366004611756565b610b84565b60065461022f906001600160a01b031681565b6101dc61039c366004611675565b610bba565b6101f9610be5565b610278600081565b61025a6103bf366004611798565b610bf2565b6101f9610c5e565b61025a6103da3660046117d4565b610cf0565b6101f96103ed3660046115c4565b610db5565b6102787f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61025a610427366004611675565b610e93565b6101dc61043a366004611843565b600560209081526000928352604080842090915290825290205460ff1681565b60006301ffc9a760e01b6001600160e01b03198316148061048b57506380ac58cd60e01b6001600160e01b03198316145b806104a65750635b5e139f60e01b6001600160e01b03198316145b806104c157506001600160e01b03198216637965db0b60e01b145b92915050565b600080546104d49061186d565b80601f01602080910402602001604051908101604052809291908181526020018280546105009061186d565b801561054d5780601f106105225761010080835404028352916020019161054d565b820191906000526020600020905b81548152906001019060200180831161053057829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061059e57506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6105e05760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6006546001600160a01b031633146106855760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016105d7565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a350565b6000818152600260205260409020546001600160a01b038481169116146107275760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016105d7565b6001600160a01b0382166107715760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105d7565b336001600160a01b03841614806107ab57506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b806107cc57506000818152600460205260409020546001600160a01b031633145b6108095760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016105d7565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000828152600760205260409020600101546108b381610eb8565b6108bd8383610ec5565b505050565b6001600160a01b03811633146109325760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105d7565b61093c8282610f4b565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661096a81610eb8565b60005b828110156109a95761098184600b54610fb2565b600b8054906000610991836118bd565b919050555080806109a1906118bd565b91505061096d565b50505050565b6109ba8383836106d1565b6001600160a01b0382163b1580610a635750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610a33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5791906118d6565b6001600160e01b031916145b6108bd5760405162461bcd60e51b81526004016105d7906118f3565b6000818152600260205260409020546001600160a01b031680610ad15760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016105d7565b919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610b0081610eb8565b610b0c60088686611499565b50610b1960098484611499565b505050505050565b60006001600160a01b038216610b685760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016105d7565b506001600160a01b031660009081526003602052604090205490565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610bae81610eb8565b6109a9600a8484611499565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600180546104d49061186d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6060600a8054610c6d9061186d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c999061186d565b8015610ce65780601f10610cbb57610100808354040283529160200191610ce6565b820191906000526020600020905b815481529060010190602001808311610cc957829003601f168201915b5050505050905090565b610cfb8585856106d1565b6001600160a01b0384163b1580610d925750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610d439033908a9089908990899060040161191d565b6020604051808303816000875af1158015610d62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8691906118d6565b6001600160e01b031916145b610dae5760405162461bcd60e51b81526004016105d7906118f3565b5050505050565b6000818152600260205260409020546060906001600160a01b0316610e345760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105d7565b600060088054610e439061186d565b905011610e5f57604051806020016040528060008152506104c1565b6008610e6a8361107e565b6009604051602001610e7e93929190611a0a565b60405160208183030381529060405292915050565b600082815260076020526040902060010154610eae81610eb8565b6108bd8383610f4b565b610ec28133611187565b50565b610ecf8282610bba565b61093c5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610f073390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610f558282610bba565b1561093c5760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610fbc82826111eb565b6001600160a01b0382163b15806110625750604051630a85bd0160e11b80825233600483015260006024830181905260448301849052608060648401526084830152906001600160a01b0384169063150b7a029060a4016020604051808303816000875af1158015611032573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105691906118d6565b6001600160e01b031916145b61093c5760405162461bcd60e51b81526004016105d7906118f3565b6060816000036110a55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156110cf57806110b9816118bd565b91506110c89050600a83611a53565b91506110a9565b60008167ffffffffffffffff8111156110ea576110ea611a67565b6040519080825280601f01601f191660200182016040528015611114576020820181803683370190505b5090505b841561117f57611129600183611a7d565b9150611136600a86611a94565b611141906030611aa8565b60f81b81838151811061115657611156611ac0565b60200101906001600160f81b031916908160001a905350611178600a86611a53565b9450611118565b949350505050565b6111918282610bba565b61093c576111a9816001600160a01b031660146112f6565b6111b48360206112f6565b6040516020016111c5929190611ad6565b60408051601f198184030181529082905262461bcd60e51b82526105d791600401611591565b6001600160a01b0382166112355760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105d7565b6000818152600260205260409020546001600160a01b03161561128b5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016105d7565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60606000611305836002611b4b565b611310906002611aa8565b67ffffffffffffffff81111561132857611328611a67565b6040519080825280601f01601f191660200182016040528015611352576020820181803683370190505b509050600360fc1b8160008151811061136d5761136d611ac0565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061139c5761139c611ac0565b60200101906001600160f81b031916908160001a90535060006113c0846002611b4b565b6113cb906001611aa8565b90505b6001811115611443576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106113ff576113ff611ac0565b1a60f81b82828151811061141557611415611ac0565b60200101906001600160f81b031916908160001a90535060049490941c9361143c81611b6a565b90506113ce565b5083156114925760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105d7565b9392505050565b8280546114a59061186d565b90600052602060002090601f0160209004810192826114c7576000855561150d565b82601f106114e05782800160ff1982351617855561150d565b8280016001018555821561150d579182015b8281111561150d5782358255916020019190600101906114f2565b5061151992915061151d565b5090565b5b80821115611519576000815560010161151e565b6001600160e01b031981168114610ec257600080fd5b60006020828403121561155a57600080fd5b813561149281611532565b60005b83811015611580578181015183820152602001611568565b838111156109a95750506000910152565b60208152600082518060208401526115b0816040850160208701611565565b601f01601f19169190910160400192915050565b6000602082840312156115d657600080fd5b5035919050565b80356001600160a01b0381168114610ad157600080fd5b6000806040838503121561160757600080fd5b611610836115dd565b946020939093013593505050565b60006020828403121561163057600080fd5b611492826115dd565b60008060006060848603121561164e57600080fd5b611657846115dd565b9250611665602085016115dd565b9150604084013590509250925092565b6000806040838503121561168857600080fd5b82359150611698602084016115dd565b90509250929050565b60008083601f8401126116b357600080fd5b50813567ffffffffffffffff8111156116cb57600080fd5b6020830191508360208285010111156116e357600080fd5b9250929050565b6000806000806040858703121561170057600080fd5b843567ffffffffffffffff8082111561171857600080fd5b611724888389016116a1565b9096509450602087013591508082111561173d57600080fd5b5061174a878288016116a1565b95989497509550505050565b6000806020838503121561176957600080fd5b823567ffffffffffffffff81111561178057600080fd5b61178c858286016116a1565b90969095509350505050565b600080604083850312156117ab57600080fd5b6117b4836115dd565b9150602083013580151581146117c957600080fd5b809150509250929050565b6000806000806000608086880312156117ec57600080fd5b6117f5866115dd565b9450611803602087016115dd565b935060408601359250606086013567ffffffffffffffff81111561182657600080fd5b611832888289016116a1565b969995985093965092949392505050565b6000806040838503121561185657600080fd5b61185f836115dd565b9150611698602084016115dd565b600181811c9082168061188157607f821691505b6020821081036118a157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000600182016118cf576118cf6118a7565b5060010190565b6000602082840312156118e857600080fd5b815161149281611532565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b8054600090600181811c908083168061198b57607f831692505b602080841082036119ac57634e487b7160e01b600052602260045260246000fd5b8180156119c057600181146119d1576119fe565b60ff198616895284890196506119fe565b60008881526020902060005b868110156119f65781548b8201529085019083016119dd565b505084890196505b50505050505092915050565b6000611a168286611971565b8451611a26818360208901611565565b611a3281830186611971565b979650505050505050565b634e487b7160e01b600052601260045260246000fd5b600082611a6257611a62611a3d565b500490565b634e487b7160e01b600052604160045260246000fd5b600082821015611a8f57611a8f6118a7565b500390565b600082611aa357611aa3611a3d565b500690565b60008219821115611abb57611abb6118a7565b500190565b634e487b7160e01b600052603260045260246000fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611b0e816017850160208801611565565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611b3f816028840160208801611565565b01602801949350505050565b6000816000190483118215151615611b6557611b656118a7565b500290565b600081611b7957611b796118a7565b50600019019056fea2646970667358221220b461607402f24cd15fc76aed3786d1a272e7bf89f3e998157f89b8b5412f43e064736f6c634300080d0033000000000000000000000000f2270f39a96af4040f697769f24969c83f182dbc

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063a22cb46511610097578063c87b56dd11610071578063c87b56dd146103df578063d5391393146103f2578063d547741f14610419578063e985e9c51461042c57600080fd5b8063a22cb465146103b1578063a95c372d146103c4578063b88d4fde146103cc57600080fd5b80638da5cb5b116100d35780638da5cb5b1461037b57806391d148541461038e57806395d89b41146103a1578063a217fddf146103a957600080fd5b806370a082311461032e57806375b238fc146103415780638d8fb3b91461036857600080fd5b8063248a9ca31161016657806340c10f191161014057806340c10f19146102e257806342842e0e146102f55780636352211e146103085780636790a9de1461031b57600080fd5b8063248a9ca3146102995780632f2ff15d146102bc57806336568abe146102cf57600080fd5b8063095ea7b3116101a2578063095ea7b31461024757806313af40351461025c57806318160ddd1461026f57806323b872dd1461028657600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d7366004611548565b61045a565b60405190151581526020015b60405180910390f35b6101f96104c7565b6040516101e89190611591565b61022f6102143660046115c4565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101e8565b61025a6102553660046115f4565b610555565b005b61025a61026a36600461161e565b61063c565b610278600b5481565b6040519081526020016101e8565b61025a610294366004611639565b6106d1565b6102786102a73660046115c4565b60009081526007602052604090206001015490565b61025a6102ca366004611675565b610898565b61025a6102dd366004611675565b6108c2565b61025a6102f03660046115f4565b610940565b61025a610303366004611639565b6109af565b61022f6103163660046115c4565b610a7f565b61025a6103293660046116ea565b610ad6565b61027861033c36600461161e565b610b21565b6102787fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b61025a610376366004611756565b610b84565b60065461022f906001600160a01b031681565b6101dc61039c366004611675565b610bba565b6101f9610be5565b610278600081565b61025a6103bf366004611798565b610bf2565b6101f9610c5e565b61025a6103da3660046117d4565b610cf0565b6101f96103ed3660046115c4565b610db5565b6102787f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61025a610427366004611675565b610e93565b6101dc61043a366004611843565b600560209081526000928352604080842090915290825290205460ff1681565b60006301ffc9a760e01b6001600160e01b03198316148061048b57506380ac58cd60e01b6001600160e01b03198316145b806104a65750635b5e139f60e01b6001600160e01b03198316145b806104c157506001600160e01b03198216637965db0b60e01b145b92915050565b600080546104d49061186d565b80601f01602080910402602001604051908101604052809291908181526020018280546105009061186d565b801561054d5780601f106105225761010080835404028352916020019161054d565b820191906000526020600020905b81548152906001019060200180831161053057829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061059e57506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6105e05760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6006546001600160a01b031633146106855760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016105d7565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a350565b6000818152600260205260409020546001600160a01b038481169116146107275760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016105d7565b6001600160a01b0382166107715760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105d7565b336001600160a01b03841614806107ab57506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b806107cc57506000818152600460205260409020546001600160a01b031633145b6108095760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016105d7565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000828152600760205260409020600101546108b381610eb8565b6108bd8383610ec5565b505050565b6001600160a01b03811633146109325760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105d7565b61093c8282610f4b565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661096a81610eb8565b60005b828110156109a95761098184600b54610fb2565b600b8054906000610991836118bd565b919050555080806109a1906118bd565b91505061096d565b50505050565b6109ba8383836106d1565b6001600160a01b0382163b1580610a635750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610a33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5791906118d6565b6001600160e01b031916145b6108bd5760405162461bcd60e51b81526004016105d7906118f3565b6000818152600260205260409020546001600160a01b031680610ad15760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016105d7565b919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610b0081610eb8565b610b0c60088686611499565b50610b1960098484611499565b505050505050565b60006001600160a01b038216610b685760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016105d7565b506001600160a01b031660009081526003602052604090205490565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610bae81610eb8565b6109a9600a8484611499565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600180546104d49061186d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6060600a8054610c6d9061186d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c999061186d565b8015610ce65780601f10610cbb57610100808354040283529160200191610ce6565b820191906000526020600020905b815481529060010190602001808311610cc957829003601f168201915b5050505050905090565b610cfb8585856106d1565b6001600160a01b0384163b1580610d925750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610d439033908a9089908990899060040161191d565b6020604051808303816000875af1158015610d62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8691906118d6565b6001600160e01b031916145b610dae5760405162461bcd60e51b81526004016105d7906118f3565b5050505050565b6000818152600260205260409020546060906001600160a01b0316610e345760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105d7565b600060088054610e439061186d565b905011610e5f57604051806020016040528060008152506104c1565b6008610e6a8361107e565b6009604051602001610e7e93929190611a0a565b60405160208183030381529060405292915050565b600082815260076020526040902060010154610eae81610eb8565b6108bd8383610f4b565b610ec28133611187565b50565b610ecf8282610bba565b61093c5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610f073390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610f558282610bba565b1561093c5760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610fbc82826111eb565b6001600160a01b0382163b15806110625750604051630a85bd0160e11b80825233600483015260006024830181905260448301849052608060648401526084830152906001600160a01b0384169063150b7a029060a4016020604051808303816000875af1158015611032573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105691906118d6565b6001600160e01b031916145b61093c5760405162461bcd60e51b81526004016105d7906118f3565b6060816000036110a55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156110cf57806110b9816118bd565b91506110c89050600a83611a53565b91506110a9565b60008167ffffffffffffffff8111156110ea576110ea611a67565b6040519080825280601f01601f191660200182016040528015611114576020820181803683370190505b5090505b841561117f57611129600183611a7d565b9150611136600a86611a94565b611141906030611aa8565b60f81b81838151811061115657611156611ac0565b60200101906001600160f81b031916908160001a905350611178600a86611a53565b9450611118565b949350505050565b6111918282610bba565b61093c576111a9816001600160a01b031660146112f6565b6111b48360206112f6565b6040516020016111c5929190611ad6565b60408051601f198184030181529082905262461bcd60e51b82526105d791600401611591565b6001600160a01b0382166112355760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016105d7565b6000818152600260205260409020546001600160a01b03161561128b5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016105d7565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60606000611305836002611b4b565b611310906002611aa8565b67ffffffffffffffff81111561132857611328611a67565b6040519080825280601f01601f191660200182016040528015611352576020820181803683370190505b509050600360fc1b8160008151811061136d5761136d611ac0565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061139c5761139c611ac0565b60200101906001600160f81b031916908160001a90535060006113c0846002611b4b565b6113cb906001611aa8565b90505b6001811115611443576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106113ff576113ff611ac0565b1a60f81b82828151811061141557611415611ac0565b60200101906001600160f81b031916908160001a90535060049490941c9361143c81611b6a565b90506113ce565b5083156114925760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105d7565b9392505050565b8280546114a59061186d565b90600052602060002090601f0160209004810192826114c7576000855561150d565b82601f106114e05782800160ff1982351617855561150d565b8280016001018555821561150d579182015b8281111561150d5782358255916020019190600101906114f2565b5061151992915061151d565b5090565b5b80821115611519576000815560010161151e565b6001600160e01b031981168114610ec257600080fd5b60006020828403121561155a57600080fd5b813561149281611532565b60005b83811015611580578181015183820152602001611568565b838111156109a95750506000910152565b60208152600082518060208401526115b0816040850160208701611565565b601f01601f19169190910160400192915050565b6000602082840312156115d657600080fd5b5035919050565b80356001600160a01b0381168114610ad157600080fd5b6000806040838503121561160757600080fd5b611610836115dd565b946020939093013593505050565b60006020828403121561163057600080fd5b611492826115dd565b60008060006060848603121561164e57600080fd5b611657846115dd565b9250611665602085016115dd565b9150604084013590509250925092565b6000806040838503121561168857600080fd5b82359150611698602084016115dd565b90509250929050565b60008083601f8401126116b357600080fd5b50813567ffffffffffffffff8111156116cb57600080fd5b6020830191508360208285010111156116e357600080fd5b9250929050565b6000806000806040858703121561170057600080fd5b843567ffffffffffffffff8082111561171857600080fd5b611724888389016116a1565b9096509450602087013591508082111561173d57600080fd5b5061174a878288016116a1565b95989497509550505050565b6000806020838503121561176957600080fd5b823567ffffffffffffffff81111561178057600080fd5b61178c858286016116a1565b90969095509350505050565b600080604083850312156117ab57600080fd5b6117b4836115dd565b9150602083013580151581146117c957600080fd5b809150509250929050565b6000806000806000608086880312156117ec57600080fd5b6117f5866115dd565b9450611803602087016115dd565b935060408601359250606086013567ffffffffffffffff81111561182657600080fd5b611832888289016116a1565b969995985093965092949392505050565b6000806040838503121561185657600080fd5b61185f836115dd565b9150611698602084016115dd565b600181811c9082168061188157607f821691505b6020821081036118a157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000600182016118cf576118cf6118a7565b5060010190565b6000602082840312156118e857600080fd5b815161149281611532565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b8054600090600181811c908083168061198b57607f831692505b602080841082036119ac57634e487b7160e01b600052602260045260246000fd5b8180156119c057600181146119d1576119fe565b60ff198616895284890196506119fe565b60008881526020902060005b868110156119f65781548b8201529085019083016119dd565b505084890196505b50505050505092915050565b6000611a168286611971565b8451611a26818360208901611565565b611a3281830186611971565b979650505050505050565b634e487b7160e01b600052601260045260246000fd5b600082611a6257611a62611a3d565b500490565b634e487b7160e01b600052604160045260246000fd5b600082821015611a8f57611a8f6118a7565b500390565b600082611aa357611aa3611a3d565b500690565b60008219821115611abb57611abb6118a7565b500190565b634e487b7160e01b600052603260045260246000fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611b0e816017850160208801611565565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611b3f816028840160208801611565565b01602801949350505050565b6000816000190483118215151615611b6557611b656118a7565b500290565b600081611b7957611b796118a7565b50600019019056fea2646970667358221220b461607402f24cd15fc76aed3786d1a272e7bf89f3e998157f89b8b5412f43e064736f6c634300080d0033

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

000000000000000000000000f2270f39a96af4040f697769f24969c83f182dbc

-----Decoded View---------------
Arg [0] : premintRecipient (address): 0xf2270f39A96Af4040f697769f24969C83F182DBC

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f2270f39a96af4040f697769f24969c83f182dbc


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.