ETH Price: $3,317.17 (+1.32%)
 

Overview

Max Total Supply

30 SHILL

Holders

30

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 SHILL
0x1af26c320f1598a6f447256dd75c3f34d736079f
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:
ShilladelPass

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : ShilladelPass.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// @creator: The Shilladel
/// @author: Wizard

/*

    $$$$$$\  $$\       $$\ $$\ $$\                 $$\           $$\ 
   $$  __$$\ $$ |      \__|$$ |$$ |                $$ |          $$ |
   $$ /  \__|$$$$$$$\  $$\ $$ |$$ | $$$$$$\   $$$$$$$ | $$$$$$\  $$ |
   \$$$$$$\  $$  __$$\ $$ |$$ |$$ | \____$$\ $$  __$$ |$$  __$$\ $$ |
    \____$$\ $$ |  $$ |$$ |$$ |$$ | $$$$$$$ |$$ /  $$ |$$$$$$$$ |$$ |
   $$\   $$ |$$ |  $$ |$$ |$$ |$$ |$$  __$$ |$$ |  $$ |$$   ____|$$ |
   \$$$$$$  |$$ |  $$ |$$ |$$ |$$ |\$$$$$$$ |\$$$$$$$ |\$$$$$$$\ $$ |
    \______/ \__|  \__|\__|\__|\__| \_______| \_______| \_______|\__|

*/

import "erc721a/contracts/ERC721A.sol";
import "./royalties/ERC2981ContractWideRoyalties.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

error SpendCallerNotOwnerNorApproved();
error SpendFromIncorrectOwner();

contract ShilladelPass is
    ERC721A,
    ERC2981ContractWideRoyalties,
    AccessControl,
    Ownable
{
    using Strings for uint256;
    using SafeMath for uint256;

    bytes32 public constant SPENDER_ROLE = keccak256("SPENDER_ROLE");
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    uint256 public constant EARN_RATE = 11574074074000;

    // URI tags and data
    string private constant _NAME_TAG = "<NAME>";
    string private constant _DESCRIPTION_TAG = "<DESCRIPTION>";
    string private constant _TIER_TAG = "<TIER>";
    string private constant _TOKENID_TAG = "<TOKENID>";
    string private constant _IMAGE_TAG = "<IMAGE>";
    string[] private _uriParts;

    struct NFT {
        string name;
        string description;
        string imageURI;
    }

    uint256 public maxIssuance;
    uint256 public maxAllowed;

    // Mapping from token ID to tier
    mapping(uint256 => uint256) private _tier;

    // Mapping of token ID to spent points
    mapping(uint256 => uint256) private _spent;

    // Mapping of token ID to commnuity issued points
    mapping(uint256 => uint256) private _issued;

    // Array of tier point requirements
    uint256[] private tiers;

    NFT[] private _metadata;

    modifier onlyAdmin() {
        require(
            hasRole(DEFAULT_ADMIN_ROLE, _msgSender()),
            "caller is not a spender"
        );
        _;
    }

    modifier onlySpender() {
        require(hasRole(SPENDER_ROLE, _msgSender()), "caller is not a spender");
        _;
    }

    modifier onlyMinter() {
        require(hasRole(MINTER_ROLE, _msgSender()), "caller is not a minter");
        _;
    }

    constructor(
        address shillAdmin,
        address[] memory shilladel,
        NFT memory metadata
    ) ERC721A("Shilladel Pass", "SHILL") {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(SPENDER_ROLE, _msgSender());
        _setupRole(MINTER_ROLE, _msgSender());

        _setupRole(MINTER_ROLE, shillAdmin);
        _setupRole(DEFAULT_ADMIN_ROLE, shillAdmin);
        transferOwnership(shillAdmin);

        addTier(0, metadata);

        _uriParts = [
            'data:application/json;utf8,{"name":"',
            _NAME_TAG,
            " #",
            _TOKENID_TAG,
            '", "description":"',
            _DESCRIPTION_TAG,
            '", "created_by":"The Shilladel"',
            ', "image":"',
            _IMAGE_TAG,
            '", "attributes":[{"trait_type":"Tier","value":"',
            _TIER_TAG,
            '"}]}'
        ];

        for (uint256 i; i < shilladel.length; i++) {
            _mint(shilladel[i], 1, "", false);
        }
    }

    function earned(uint256 tokenId) public view virtual returns (uint256) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        uint256 startTime = _ownershipOf(tokenId).startTimestamp;
        uint256 base = _blockTime().sub(startTime).mul(EARN_RATE).div(1e18);

        return base.add(_issued[tokenId]).sub(_spent[tokenId]);
    }

    function tier(uint256 tokenId) public view virtual returns (uint256) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        uint256 tierCount = tiers.length;
        uint256 index = tierCount.sub(1);
        uint256 points = earned(tokenId);

        do {
            if (points >= tiers[index]) return index;
            index == index--;
        } while (index >= 0);

        return 0;
    }

    function spent(uint256 tokenId) public view virtual returns (uint256) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        return _spent[tokenId];
    }

    function spendFrom(
        address from,
        uint256 tokenId,
        uint256 amount
    ) public virtual onlySpender returns (bool) {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert SpendFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert SpendCallerNotOwnerNorApproved();

        uint256 earned_ = earned(tokenId);
        require(earned_ >= amount, "not enough to spend");

        _spent[tokenId] = _spent[tokenId].add(amount);

        // Update tier if needed
        uint256 tier_ = tier(tokenId);
        _tier[tokenId] = tier_;

        emit Spent(from, tokenId, amount);

        return true;
    }

    function mint(address to, uint256 quantity) public virtual onlyMinter {
        require(
            maxIssuance == 0 || maxIssuance <= _totalMinted().add(quantity),
            "max issuance reached"
        );

        _mint(to, quantity, "", false);
    }

    function issuePoints(uint256 tokenId, uint256 amount)
        public
        virtual
        onlyAdmin
    {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        require(
            maxAllowed == 0 || amount <= maxAllowed,
            "must be below maxAllowed"
        );

        uint256 currIssued = _issued[tokenId];
        _issued[tokenId] = currIssued.add(amount);

        emit Issued(tokenId, amount);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        uint256 tokenTier = tier(tokenId);
        NFT memory metadata = _metadata[tokenTier];

        bytes memory byteString;
        for (uint256 i; i < _uriParts.length; i++) {
            if (_checkTag(_uriParts[i], _NAME_TAG)) {
                byteString = abi.encodePacked(byteString, metadata.name);
            } else if (_checkTag(_uriParts[i], _TOKENID_TAG)) {
                byteString = abi.encodePacked(byteString, tokenId.toString());
            } else if (_checkTag(_uriParts[i], _DESCRIPTION_TAG)) {
                byteString = abi.encodePacked(byteString, metadata.description);
            } else if (_checkTag(_uriParts[i], _IMAGE_TAG)) {
                byteString = abi.encodePacked(byteString, metadata.imageURI);
            } else if (_checkTag(_uriParts[i], _TIER_TAG)) {
                byteString = abi.encodePacked(byteString, tokenTier.toString());
            } else {
                byteString = abi.encodePacked(byteString, _uriParts[i]);
            }
        }
        return string(byteString);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721A, ERC2981Base, AccessControl)
        returns (bool)
    {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(ERC2981Base).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            interfaceId == type(IAccessControl).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    function updateMetadata(uint256 tier_, NFT memory metadata)
        public
        virtual
        onlyAdmin
    {
        require(tiers[tier_] > 0, "tier must exists");
        _metadata[tier_] = metadata;
    }

    function addTier(uint256 points, NFT memory metadata)
        public
        virtual
        onlyAdmin
    {
        tiers.push(points);
        _metadata.push(metadata);
    }

    function setRoyalties(address recipient, uint256 value) public onlyAdmin {
        _setRoyalties(recipient, value);
    }

    function setMaxIssuance(uint256 _masIssuance) public virtual onlyAdmin {
        require(maxIssuance == 0, "max issuance already set");
        maxIssuance = _masIssuance;
    }

    function setMaxAllowed(uint256 _maxAllowd) public virtual onlyAdmin {
        maxAllowed = _maxAllowd;
    }

    function setUriParts(string[] memory uriParts_) public virtual onlyAdmin {
        _uriParts = uriParts_;
    }

    function _checkTag(string storage a, string memory b)
        private
        pure
        returns (bool)
    {
        return (keccak256(abi.encodePacked((a))) ==
            keccak256(abi.encodePacked((b))));
    }

    function _beforeTokenTransfers(
        address from,
        address,
        uint256 startTokenId,
        uint256
    ) internal virtual override {
        if (from == address(0)) return;

        uint256 currTier = _tier[startTokenId];
        uint256 index = tiers.length.sub(1);

        // Update tier if required
        if (currTier != index) {
            currTier = tier(startTokenId);
            _tier[startTokenId] = currTier;
        }

        // Reset spent AFTER locking current tier
        _spent[startTokenId] = 0;

        // if the pass has a tier, issue the tier's base points
        _issued[startTokenId] = currTier > 0 ? tiers[currTier] : 0;

        return;
    }

    function _blockTime() internal view returns (uint256) {
        return block.timestamp;
    }

    event Spent(
        address indexed account,
        uint256 indexed tokenId,
        uint256 amount
    );

    event Issued(uint256 indexed tokenId, uint256 amount);
}

File 2 of 17 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 3 of 17 : ERC2981ContractWideRoyalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

import "./ERC2981Base.sol";

/// @dev This is a contract used to add ERC2981 support to ERC721 and 1155
/// @dev This implementation has the same royalties for each and every tokens
abstract contract ERC2981ContractWideRoyalties is ERC2981Base {
    RoyaltyInfo private _royalties;

    /// @dev Sets token royalties
    /// @param recipient recipient of the royalties
    /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0)
    function _setRoyalties(address recipient, uint256 value) internal {
        require(value <= 10000, "ERC2981Royalties: Too high");
        _royalties = RoyaltyInfo(recipient, uint24(value));
    }

    /// @inheritdoc	IERC2981Royalties
    function royaltyInfo(uint256, uint256 value)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        RoyaltyInfo memory royalties = _royalties;
        receiver = royalties.recipient;
        royaltyAmount = (value * royalties.amount) / 10000;
    }
}

File 4 of 17 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 17 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 6 of 17 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        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 override returns (bytes32) {
        return _roles[role].adminRole;
    }

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

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

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

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    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);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 7 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 8 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

File 9 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 10 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 17 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 17 : Context.sol
// SPDX-License-Identifier: MIT

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 13 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT

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 14 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT

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 15 of 17 : ERC2981Base.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

import "./IERC2981Royalties.sol";

/// @dev This is a contract used to add ERC2981 support to ERC721 and 1155
abstract contract ERC2981Base is ERC165, IERC2981Royalties {
    struct RoyaltyInfo {
        address recipient;
        uint24 amount;
    }

    /// @inheritdoc	ERC165
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return
            interfaceId == type(IERC2981Royalties).interfaceId ||
            super.supportsInterface(interfaceId);
    }
}

File 16 of 17 : IERC2981Royalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// @title IERC2981Royalties
/// @dev Interface for the ERC2981 - Token Royalty standard
interface IERC2981Royalties {
    /// @notice Called with the sale price to determine how much royalty
    //          is owed and to whom.
    /// @param _tokenId - the NFT asset queried for royalty information
    /// @param _value - the sale price of the NFT asset specified by _tokenId
    /// @return _receiver - address of who should be sent the royalty payment
    /// @return _royaltyAmount - the royalty payment amount for value sale price
    function royaltyInfo(uint256 _tokenId, uint256 _value)
        external
        view
        returns (address _receiver, uint256 _royaltyAmount);
}

File 17 of 17 : IAccessControl.sol
// SPDX-License-Identifier: MIT

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;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"shillAdmin","type":"address"},{"internalType":"address[]","name":"shilladel","type":"address[]"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"imageURI","type":"string"}],"internalType":"struct ShilladelPass.NFT","name":"metadata","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"SpendCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"SpendFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Issued","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Spent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EARN_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SPENDER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"points","type":"uint256"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"imageURI","type":"string"}],"internalType":"struct ShilladelPass.NFT","name":"metadata","type":"tuple"}],"name":"addTier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"issuePoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxAllowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxIssuance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxAllowd","type":"uint256"}],"name":"setMaxAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_masIssuance","type":"uint256"}],"name":"setMaxIssuance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"uriParts_","type":"string[]"}],"name":"setUriParts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"spendFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"spent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tier_","type":"uint256"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"imageURI","type":"string"}],"internalType":"struct ShilladelPass.NFT","name":"metadata","type":"tuple"}],"name":"updateMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620042f0380380620042f0833981016040819052620000349162001017565b604080518082018252600e81526d5368696c6c6164656c205061737360901b60208083019182528351808501909452600584526414d212531360da1b908401528151919291620000879160029162000d6d565b5080516200009d90600390602084019062000d6d565b50506000805550620000af336200039c565b620000bc600033620003ee565b620000e87f7434c6f201a551bfd17336985361933e0c4935b520dac8a49d937b325f7d5c0a33620003ee565b620001036000805160206200428183398151915233620003ee565b6200011e6000805160206200428183398151915284620003ee565b6200012b600084620003ee565b6200013683620003fe565b62000143600082620004d3565b604080516101e081019091526024610180820181815282916200425d6101a08401398152602001604051806040016040528060068152602001651e2720a6a29f60d11b815250815260200160405180604001604052806002815260200161202360f01b8152508152602001604051806040016040528060098152602001681e2a27a5a2a724a21f60b91b815250815260200160405180604001604052806012815260200171111610113232b9b1b934b83a34b7b7111d1160711b81525081526020016040518060400160405280600d81526020016c1e2222a9a1a924a82a24a7a71f60991b81525081526020016040518060400160405280601f81526020017f222c2022637265617465645f6279223a22546865205368696c6c6164656c220081525081526020016040518060400160405280600b81526020016a16101134b6b0b3b2911d1160a91b8152508152602001604051806040016040528060078152602001661e24a6a0a3a29f60c91b81525081526020016040518060600160405280602f8152602001620042c1602f91398152602001604051806040016040528060068152602001651e2a24a2a91f60d11b815250815260200160405180604001604052806004815260200163227d5d7d60e01b815250815250600b90600c6200032e92919062000dfc565b5060005b825181101562000392576200037d838281518110620003555762000355620012fc565b602002602001015160016040518060200160405280600081525060006200060d60201b60201c565b806200038981620012c8565b91505062000332565b5050505062001328565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620003fa8282620007de565b5050565b600a546001600160a01b031633146200045e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620004c55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000455565b620004d0816200039c565b50565b3360009081527fec8156718a8372b1db44bb411437d0870f3e3790d4a08526d024ce1b0b668f6b602052604090205460ff16620005535760405162461bcd60e51b815260206004820152601760248201527f63616c6c6572206973206e6f742061207370656e646572000000000000000000604482015260640162000455565b6011805460018181019092557f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c68018390556012805491820181556000528151805183926003027fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440191620005cd9183916020019062000d6d565b506020828101518051620005e8926001850192019062000d6d565b50604082015180516200060691600284019160209091019062000d6d565b5050505050565b6000546001600160a01b0385166200063757604051622e076360e81b815260040160405180910390fd5b83620006565760405163b562e8dd60e01b815260040160405180910390fd5b62000665600086838762000882565b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160401b038083168c018116918217680100000000000000006001600160401b031990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156200071e57506200071e876001600160a01b03166200094660201b620018241760201c565b156200079e575b60405182906001600160a01b03891690600090600080516020620042a1833981519152908290a4600182019162000762906000908990886200094c565b62000780576040516368d2bf6b60e11b815260040160405180910390fd5b80821415620007255782600054146200079857600080fd5b620007d4565b5b6040516001830192906001600160a01b03891690600090600080516020620042a1833981519152908290a4808214156200079f575b5060005562000606565b60008281526009602090815260408083206001600160a01b038516845290915290205460ff16620003fa5760008281526009602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200083e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6001600160a01b038416620008975762000940565b6000828152600e60209081526040822054601154909291620008c691906001906200182a62000a4e821b17901c565b9050808214620008ef57620008db8462000a63565b6000858152600e6020526040902081905591505b6000848152600f6020526040812055816200090c5760006200092e565b60118281548110620009225762000922620012fc565b90600052602060002001545b60008581526010602052604090205550505b50505050565b3b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290620009839033908990889088906004016200113f565b602060405180830381600087803b1580156200099e57600080fd5b505af1925050508015620009d1575060408051601f3d908101601f19168201909252620009ce9181019062001113565b60015b62000a30573d80801562000a02576040519150601f19603f3d011682016040523d82523d6000602084013e62000a07565b606091505b50805162000a28576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600062000a5c828462001228565b9392505050565b600062000a708262000b04565b62000a8e57604051630a14c4b560e41b815260040160405180910390fd5b601154600062000aac82600162000a4e602090811b6200182a17901c565b9050600062000abb8562000b33565b90505b6011828154811062000ad45762000ad4620012fc565b9060005260206000200154811062000aee57509392505050565b8162000afa8162001271565b925062000abe9050565b600080548210801562000b2d5750600082815260046020526040902054600160e01b900460ff16155b92915050565b600062000b408262000b04565b62000b5e57604051630a14c4b560e41b815260040160405180910390fd5b600062000b6b8362000c0f565b602001516001600160401b03169050600062000bd7670de0b6b3a764000062000bc3650a86cc92e39062000baf86425b62000a4e60201b6200182a1790919060201c565b62000d4360201b6200183d1790919060201c565b62000d5160201b620018491790919060201c565b6000858152600f60209081526040808320546010835292205492935062000a469262000b9b918591906200185562000d5f821b17901c565b6040805160608101825260008082526020820181905291810191909152818062000c37600090565b1115801562000c47575060005481105b1562000d2a57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529062000d285780516001600160a01b03161562000cbd579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff161515928101929092521562000d22579392505050565b62000cbd565b505b604051636f96cda160e11b815260040160405180910390fd5b600062000a5c828462001206565b600062000a5c8284620011e3565b600062000a5c8284620011c8565b82805462000d7b906200128b565b90600052602060002090601f01602090048101928262000d9f576000855562000dea565b82601f1062000dba57805160ff191683800117855562000dea565b8280016001018555821562000dea579182015b8281111562000dea57825182559160200191906001019062000dcd565b5062000df892915062000e5c565b5090565b82805482825590600052602060002090810192821562000e4e579160200282015b8281111562000e4e578251805162000e3d91849160209091019062000d6d565b509160200191906001019062000e1d565b5062000df892915062000e73565b5b8082111562000df8576000815560010162000e5d565b8082111562000df857600062000e8a828262000e94565b5060010162000e73565b50805462000ea2906200128b565b6000825580601f1062000eb3575050565b601f016020900490600052602060002090810190620004d0919062000e5c565b80516001600160a01b038116811462000eeb57600080fd5b919050565b600082601f83011262000f0257600080fd5b81516001600160401b0381111562000f1e5762000f1e62001312565b62000f33601f8201601f191660200162001195565b81815284602083860101111562000f4957600080fd5b62000a4682602083016020870162001242565b60006060828403121562000f6f57600080fd5b604051606081016001600160401b03808211838310171562000f955762000f9562001312565b81604052829350845191508082111562000fae57600080fd5b62000fbc8683870162000ef0565b8352602085015191508082111562000fd357600080fd5b62000fe18683870162000ef0565b6020840152604085015191508082111562000ffb57600080fd5b506200100a8582860162000ef0565b6040830152505092915050565b6000806000606084860312156200102d57600080fd5b620010388462000ed3565b602085810151919450906001600160401b03808211156200105857600080fd5b818701915087601f8301126200106d57600080fd5b81518181111562001082576200108262001312565b8060051b6200109385820162001195565b8281528581019085870183870188018d1015620010af57600080fd5b600096505b84871015620010dd57620010c88162000ed3565b835260019690960195918701918701620010b4565b5060408b0151909850955050505080831115620010f957600080fd5b5050620011098682870162000f5c565b9150509250925092565b6000602082840312156200112657600080fd5b81516001600160e01b03198116811462000a5c57600080fd5b600060018060a01b0380871683528086166020840152508360408301526080606083015282518060808401526200117e8160a085016020870162001242565b601f01601f19169190910160a00195945050505050565b604051601f8201601f191681016001600160401b0381118282101715620011c057620011c062001312565b604052919050565b60008219821115620011de57620011de620012e6565b500190565b6000826200120157634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615620012235762001223620012e6565b500290565b6000828210156200123d576200123d620012e6565b500390565b60005b838110156200125f57818101518382015260200162001245565b83811115620009405750506000910152565b600081620012835762001283620012e6565b506000190190565b600181811c90821680620012a057607f821691505b60208210811415620012c257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620012df57620012df620012e6565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b612f2580620013386000396000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c80637a9dc5dc11610146578063b88d4fde116100c3578063d547741f11610087578063d547741f1461053f578063d5b5cc2314610552578063e985e9c514610565578063ee009c0c146105a1578063f2fde38b146105b4578063f46015ed146105c757600080fd5b8063b88d4fde146104d6578063beb033f7146104e9578063c87b56dd146104fc578063ca3996711461050f578063d53913931461051857600080fd5b806395d89b411161010a57806395d89b411461048d578063a217fddf14610495578063a22cb4651461049d578063a6635a17146104b0578063af8609b0146104c357600080fd5b80637a9dc5dc1461043a5780638c7ea24b1461044d5780638da5cb5b1461046057806391d14854146104715780639415e9bf1461048457600080fd5b806336568abe116101d45780636352211e116101985780636352211e146103d25780636dda34db146103e557806370a08231146103f8578063715018a61461040b57806372c16a241461041357600080fd5b806336568abe1461037957806340c10f191461038c57806342842e0e1461039f5780634d6ed8c4146103b2578063567e0dd5146103c557600080fd5b806323b872dd1161021b57806323b872dd146102eb578063248a9ca3146102fe5780632a55205a146103215780632ae8f004146103535780632f2ff15d1461036657600080fd5b806301ffc9a71461025857806306fdde0314610280578063081812fc14610295578063095ea7b3146102c057806318160ddd146102d5575b600080fd5b61026b6102663660046129bf565b6105da565b60405190151581526020015b60405180910390f35b610288610656565b6040516102779190612cd0565b6102a86102a3366004612983565b6106e8565b6040516001600160a01b039091168152602001610277565b6102d36102ce36600461285f565b61072c565b005b600154600054035b604051908152602001610277565b6102d36102f936600461276c565b6107ba565b6102dd61030c366004612983565b60009081526009602052604090206001015490565b61033461032f366004612ab9565b6107c5565b604080516001600160a01b039093168352602083019190915201610277565b61026b610361366004612889565b61081a565b6102d361037436600461299c565b6109f7565b6102d361038736600461299c565b610a1d565b6102d361039a36600461285f565b610a9b565b6102d36103ad36600461276c565b610b8c565b6102dd6103c0366004612983565b610ba7565b6102dd650a86cc92e39081565b6102a86103e0366004612983565b610c4e565b6102dd6103f3366004612983565b610c60565b6102dd61040636600461271e565b610ce7565b6102d3610d35565b6102dd7f7434c6f201a551bfd17336985361933e0c4935b520dac8a49d937b325f7d5c0a81565b6102d36104483660046129f9565b610d9b565b6102d361045b36600461285f565b610e76565b600a546001600160a01b03166102a8565b61026b61047f36600461299c565b610ea7565b6102dd600c5481565b610288610ed2565b6102dd600081565b6102d36104ab366004612823565b610ee1565b6102d36104be366004612ab9565b610f77565b6102d36104d13660046128bc565b611086565b6102d36104e43660046127a8565b6110c0565b6102d36104f73660046129f9565b611111565b61028861050a366004612983565b6111d6565b6102dd600d5481565b6102dd7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102d361054d36600461299c565b611650565b6102dd610560366004612983565b611676565b61026b610573366004612739565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102d36105af366004612983565b6116b1565b6102d36105c236600461271e565b61172d565b6102d36105d5366004612983565b6117f8565b60006001600160e01b031982166380ac58cd60e01b148061060b57506001600160e01b031982166301ffc9a760e01b145b8061062657506001600160e01b03198216635b5e139f60e01b145b8061064157506001600160e01b03198216637965db0b60e01b145b80610650575061065082611861565b92915050565b60606002805461066590612e17565b80601f016020809104026020016040519081016040528092919081815260200182805461069190612e17565b80156106de5780601f106106b3576101008083540402835291602001916106de565b820191906000526020600020905b8154815290600101906020018083116106c157829003601f168201915b5050505050905090565b60006106f382611886565b610710576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061073782610c4e565b9050806001600160a01b0316836001600160a01b0316141561076c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061078c575061078a8133610573565b155b156107aa576040516367d9dca160e11b815260040160405180910390fd5b6107b58383836118b1565b505050565b6107b583838361190d565b604080518082019091526008546001600160a01b038116808352600160a01b90910462ffffff16602083018190529091600091612710906108069086612d9e565b6108109190612d8a565b9150509250929050565b60006108467f7434c6f201a551bfd17336985361933e0c4935b520dac8a49d937b325f7d5c0a33610ea7565b61086b5760405162461bcd60e51b815260040161086290612ce3565b60405180910390fd5b600061087684611b05565b9050846001600160a01b031681600001516001600160a01b0316146108ae5760405163799a465d60e01b815260040160405180910390fd5b6000336001600160a01b03871614806108cc57506108cc8633610573565b806108e75750336108dc866106e8565b6001600160a01b0316145b9050806109075760405163687b9c8b60e01b815260040160405180910390fd5b600061091286610ba7565b90508481101561095a5760405162461bcd60e51b81526020600482015260136024820152721b9bdd08195b9bdd59da081d1bc81cdc195b99606a1b6044820152606401610862565b6000868152600f60205260409020546109739086611855565b6000878152600f602052604081209190915561098e87610c60565b6000888152600e6020526040908190208290555190915087906001600160a01b038a16907f535148561d77998b1c55b0df8e3a745c169a3c2d06073ca7cf45743224cef85d906109e1908a815260200190565b60405180910390a3506001979650505050505050565b600082815260096020526040902060010154610a138133611c1f565b6107b58383611c83565b6001600160a01b0381163314610a8d5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610862565b610a978282611d09565b5050565b610ac57f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610ea7565b610b0a5760405162461bcd60e51b815260206004820152601660248201527531b0b63632b91034b9903737ba10309036b4b73a32b960511b6044820152606401610862565b600c541580610b2d5750610b2781610b2160005490565b90611855565b600c5411155b610b705760405162461bcd60e51b81526020600482015260146024820152731b585e081a5cdcdd585b98d9481c995858da195960621b6044820152606401610862565b610a978282604051806020016040528060008152506000611d70565b6107b5838383604051806020016040528060008152506110c0565b6000610bb282611886565b610bcf57604051630a14c4b560e41b815260040160405180910390fd5b6000610bda83611b05565b602001516001600160401b031690506000610c19670de0b6b3a7640000610c13650a86cc92e390610c0d86425b9061182a565b9061183d565b90611849565b6000858152600f6020908152604080832054601090925290912054919250610c4691610c07908490611855565b949350505050565b6000610c5982611b05565b5192915050565b6000610c6b82611886565b610c8857604051630a14c4b560e41b815260040160405180910390fd5b6011546000610c9882600161182a565b90506000610ca585610ba7565b90505b60118281548110610cbb57610cbb612ead565b90600052602060002001548110610cd457509392505050565b81610cde81612e00565b9250610ca89050565b60006001600160a01b038216610d10576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b600a546001600160a01b03163314610d8f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610862565b610d996000611f4d565b565b610da6600033610ea7565b610dc25760405162461bcd60e51b815260040161086290612ce3565b6011805460018181019092557f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c68018390556012805491820181556000528151805183926003027fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440191610e3a91839160200190612542565b506020828101518051610e539260018501920190612542565b5060408201518051610e6f916002840191602090910190612542565b5050505050565b610e81600033610ea7565b610e9d5760405162461bcd60e51b815260040161086290612ce3565b610a978282611f9f565b60009182526009602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606003805461066590612e17565b6001600160a01b038216331415610f0b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f82600033610ea7565b610f9e5760405162461bcd60e51b815260040161086290612ce3565b610fa782611886565b610fc457604051630a14c4b560e41b815260040160405180910390fd5b600d541580610fd55750600d548111155b6110215760405162461bcd60e51b815260206004820152601860248201527f6d7573742062652062656c6f77206d6178416c6c6f77656400000000000000006044820152606401610862565b60008281526010602052604090205461103a8183611855565b600084815260106020908152604091829020929092555183815284917fc78489adfd47a064bf0299ec23be95156cbec48b06c82c97bfe0b362a7fb0986910160405180910390a2505050565b611091600033610ea7565b6110ad5760405162461bcd60e51b815260040161086290612ce3565b8051610a9790600b9060208401906125c6565b6110cb84848461190d565b6001600160a01b0383163b151580156110ed57506110eb8484848461203b565b155b1561110b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b61111c600033610ea7565b6111385760405162461bcd60e51b815260040161086290612ce3565b60006011838154811061114d5761114d612ead565b9060005260206000200154116111985760405162461bcd60e51b815260206004820152601060248201526f74696572206d7573742065786973747360801b6044820152606401610862565b80601283815481106111ac576111ac612ead565b90600052602060002090600302016000820151816000019080519060200190610e3a929190612542565b60606111e182611886565b6111fe57604051630a14c4b560e41b815260040160405180910390fd5b600061120983610c60565b905060006012828154811061122057611220612ead565b906000526020600020906003020160405180606001604052908160008201805461124990612e17565b80601f016020809104026020016040519081016040528092919081815260200182805461127590612e17565b80156112c25780601f10611297576101008083540402835291602001916112c2565b820191906000526020600020905b8154815290600101906020018083116112a557829003601f168201915b505050505081526020016001820180546112db90612e17565b80601f016020809104026020016040519081016040528092919081815260200182805461130790612e17565b80156113545780601f1061132957610100808354040283529160200191611354565b820191906000526020600020905b81548152906001019060200180831161133757829003601f168201915b5050505050815260200160028201805461136d90612e17565b80601f016020809104026020016040519081016040528092919081815260200182805461139990612e17565b80156113e65780601f106113bb576101008083540402835291602001916113e6565b820191906000526020600020905b8154815290600101906020018083116113c957829003601f168201915b5050505050815250509050606060005b600b5481101561164757611444600b828154811061141657611416612ead565b90600052602060002001604051806040016040528060068152602001651e2720a6a29f60d11b815250612132565b1561147257825160405161145c918491602001612ba0565b6040516020818303038152906040529150611635565b6114b9600b828154811061148857611488612ead565b90600052602060002001604051806040016040528060098152602001681e2a27a5a2a724a21f60b91b815250612132565b156114d957816114c88761218b565b60405160200161145c929190612ba0565b611524600b82815481106114ef576114ef612ead565b906000526020600020016040518060400160405280600d81526020016c1e2222a9a1a924a82a24a7a71f60991b815250612132565b156115405781836020015160405160200161145c929190612ba0565b611585600b828154811061155657611556612ead565b90600052602060002001604051806040016040528060078152602001661e24a6a0a3a29f60c91b815250612132565b156115a15781836040015160405160200161145c929190612ba0565b6115e5600b82815481106115b7576115b7612ead565b90600052602060002001604051806040016040528060068152602001651e2a24a2a91f60d11b815250612132565b156115f457816114c88561218b565b81600b828154811061160857611608612ead565b90600052602060002001604051602001611623929190612bcf565b60405160208183030381529060405291505b8061163f81612e52565b9150506113f6565b50949350505050565b60008281526009602052604090206001015461166c8133611c1f565b6107b58383611d09565b600061168182611886565b61169e57604051630a14c4b560e41b815260040160405180910390fd5b506000908152600f602052604090205490565b6116bc600033610ea7565b6116d85760405162461bcd60e51b815260040161086290612ce3565b600c54156117285760405162461bcd60e51b815260206004820152601860248201527f6d61782069737375616e636520616c72656164792073657400000000000000006044820152606401610862565b600c55565b600a546001600160a01b031633146117875760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610862565b6001600160a01b0381166117ec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610862565b6117f581611f4d565b50565b611803600033610ea7565b61181f5760405162461bcd60e51b815260040161086290612ce3565b600d55565b3b151590565b60006118368284612dbd565b9392505050565b60006118368284612d9e565b60006118368284612d8a565b60006118368284612d72565b60006001600160e01b03198216637965db0b60e01b1480610650575061065082612288565b6000805482108015610650575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061191882611b05565b9050836001600160a01b031681600001516001600160a01b03161461194f5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061196d575061196d8533610573565b8061198857503361197d846106e8565b6001600160a01b0316145b9050806119a857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166119cf57604051633a954ecd60e21b815260040160405180910390fd5b6119dc85858560016122ad565b6119e8600084876118b1565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611abc576000548214611abc57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e6f565b604080516060810182526000808252602082018190529181019190915281600054811015611c0657600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611c045780516001600160a01b031615611b9b579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611bff579392505050565b611b9b565b505b604051636f96cda160e11b815260040160405180910390fd5b611c298282610ea7565b610a9757611c41816001600160a01b03166014612357565b611c4c836020612357565b604051602001611c5d929190612c1e565b60408051601f198184030181529082905262461bcd60e51b825261086291600401612cd0565b611c8d8282610ea7565b610a975760008281526009602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611cc53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611d138282610ea7565b15610a975760008281526009602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000546001600160a01b038516611d9957604051622e076360e81b815260040160405180910390fd5b83611db75760405163b562e8dd60e01b815260040160405180910390fd5b611dc460008683876122ad565b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611e7557506001600160a01b0387163b15155b15611efe575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611ec6600088848060010195508861203b565b611ee3576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611e7b578260005414611ef957600080fd5b611f44565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611eff575b50600055610e6f565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612710811115611ff15760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f20686967680000000000006044820152606401610862565b604080518082019091526001600160a01b0390921680835262ffffff909116602090920182905260088054600160a01b9093026001600160b81b0319909316909117919091179055565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612070903390899088908890600401612c93565b602060405180830381600087803b15801561208a57600080fd5b505af19250505080156120ba575060408051601f3d908101601f191682019092526120b7918101906129dc565b60015b612115573d8080156120e8576040519150601f19603f3d011682016040523d82523d6000602084013e6120ed565b606091505b50805161210d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6000816040516020016121459190612bf6565b604051602081830303815290604052805190602001208360405160200161216c9190612c12565b6040516020818303038152906040528051906020012014905092915050565b6060816121af5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121d957806121c381612e52565b91506121d29050600a83612d8a565b91506121b3565b6000816001600160401b038111156121f3576121f3612ec3565b6040519080825280601f01601f19166020018201604052801561221d576020820181803683370190505b5090505b8415610c4657612232600183612dbd565b915061223f600a86612e6d565b61224a906030612d72565b60f81b81838151811061225f5761225f612ead565b60200101906001600160f81b031916908160001a905350612281600a86612d8a565b9450612221565b60006001600160e01b0319821663152a902d60e11b14806106505750610650826124f2565b6001600160a01b0384166122c05761110b565b6000828152600e60205260408120546011549091906122e090600161182a565b9050808214612306576122f284610c60565b6000858152600e6020526040902081905591505b6000848152600f602052604081205581612321576000612340565b6011828154811061233457612334612ead565b90600052602060002001545b600085815260106020526040902055505050505050565b60606000612366836002612d9e565b612371906002612d72565b6001600160401b0381111561238857612388612ec3565b6040519080825280601f01601f1916602001820160405280156123b2576020820181803683370190505b509050600360fc1b816000815181106123cd576123cd612ead565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106123fc576123fc612ead565b60200101906001600160f81b031916908160001a9053506000612420846002612d9e565b61242b906001612d72565b90505b60018111156124a3576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061245f5761245f612ead565b1a60f81b82828151811061247557612475612ead565b60200101906001600160f81b031916908160001a90535060049490941c9361249c81612e00565b905061242e565b5083156118365760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610862565b60006001600160e01b031982166380ac58cd60e01b148061252357506001600160e01b03198216635b5e139f60e01b145b8061065057506301ffc9a760e01b6001600160e01b0319831614610650565b82805461254e90612e17565b90600052602060002090601f01602090048101928261257057600085556125b6565b82601f1061258957805160ff19168380011785556125b6565b828001600101855582156125b6579182015b828111156125b657825182559160200191906001019061259b565b506125c292915061261f565b5090565b828054828255906000526020600020908101928215612613579160200282015b828111156126135782518051612603918491602090910190612542565b50916020019190600101906125e6565b506125c2929150612634565b5b808211156125c25760008155600101612620565b808211156125c25760006126488282612651565b50600101612634565b50805461265d90612e17565b6000825580601f1061266d575050565b601f0160209004906000526020600020908101906117f5919061261f565b60006001600160401b038311156126a4576126a4612ec3565b6126b7601f8401601f1916602001612d42565b90508281528383830111156126cb57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146126f957600080fd5b919050565b600082601f83011261270f57600080fd5b6118368383356020850161268b565b60006020828403121561273057600080fd5b611836826126e2565b6000806040838503121561274c57600080fd5b612755836126e2565b9150612763602084016126e2565b90509250929050565b60008060006060848603121561278157600080fd5b61278a846126e2565b9250612798602085016126e2565b9150604084013590509250925092565b600080600080608085870312156127be57600080fd5b6127c7856126e2565b93506127d5602086016126e2565b92506040850135915060608501356001600160401b038111156127f757600080fd5b8501601f8101871361280857600080fd5b6128178782356020840161268b565b91505092959194509250565b6000806040838503121561283657600080fd5b61283f836126e2565b91506020830135801515811461285457600080fd5b809150509250929050565b6000806040838503121561287257600080fd5b61287b836126e2565b946020939093013593505050565b60008060006060848603121561289e57600080fd5b6128a7846126e2565b95602085013595506040909401359392505050565b600060208083850312156128cf57600080fd5b82356001600160401b03808211156128e657600080fd5b818501915085601f8301126128fa57600080fd5b81358181111561290c5761290c612ec3565b8060051b61291b858201612d42565b8281528581019085870183870188018b101561293657600080fd5b60009350835b8581101561297357813587811115612952578586fd5b6129608d8b838c01016126fe565b855250928801929088019060010161293c565b50909a9950505050505050505050565b60006020828403121561299557600080fd5b5035919050565b600080604083850312156129af57600080fd5b82359150612763602084016126e2565b6000602082840312156129d157600080fd5b813561183681612ed9565b6000602082840312156129ee57600080fd5b815161183681612ed9565b60008060408385031215612a0c57600080fd5b8235915060208301356001600160401b0380821115612a2a57600080fd5b9084019060608287031215612a3e57600080fd5b612a46612d1a565b823582811115612a5557600080fd5b612a61888286016126fe565b825250602083013582811115612a7657600080fd5b612a82888286016126fe565b602083015250604083013582811115612a9a57600080fd5b612aa6888286016126fe565b6040830152508093505050509250929050565b60008060408385031215612acc57600080fd5b50508035926020909101359150565b60008151808452612af3816020860160208601612dd4565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680612b2157607f831692505b6020808410821415612b4357634e487b7160e01b600052602260045260246000fd5b818015612b575760018114612b6857612b94565b60ff19861689528489019650612b94565b876000528160002060005b86811015612b8c5781548b820152908501908301612b73565b505084890196505b50505050505092915050565b60008351612bb2818460208801612dd4565b835190830190612bc6818360208801612dd4565b01949350505050565b60008351612be1818460208801612dd4565b612bed81840185612b07565b95945050505050565b60008251612c08818460208701612dd4565b9190910192915050565b60006118368284612b07565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612c56816017850160208801612dd4565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612c87816028840160208801612dd4565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cc690830184612adb565b9695505050505050565b6020815260006118366020830184612adb565b60208082526017908201527f63616c6c6572206973206e6f742061207370656e646572000000000000000000604082015260600190565b604051606081016001600160401b0381118282101715612d3c57612d3c612ec3565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612d6a57612d6a612ec3565b604052919050565b60008219821115612d8557612d85612e81565b500190565b600082612d9957612d99612e97565b500490565b6000816000190483118215151615612db857612db8612e81565b500290565b600082821015612dcf57612dcf612e81565b500390565b60005b83811015612def578181015183820152602001612dd7565b8381111561110b5750506000910152565b600081612e0f57612e0f612e81565b506000190190565b600181811c90821680612e2b57607f821691505b60208210811415612e4c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612e6657612e66612e81565b5060010190565b600082612e7c57612e7c612e97565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146117f557600080fdfea2646970667358221220d5c35d7390dad8a109e02ceaabb66ed72b76bb8356e3750cc869fd3c99f9b75164736f6c63430008060033646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b226e616d65223a229f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef222c202261747472696275746573223a5b7b2274726169745f74797065223a2254696572222c2276616c7565223a22000000000000000000000000b73cabaded9b14310df017f88fd35902979397f900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000b73cabaded9b14310df017f88fd35902979397f9000000000000000000000000cf88fa6ee6d111b04be9b06ef6fad6bd6691b88c000000000000000000000000641cba2116aadead2fc3a17e0dc805ba45ef706b00000000000000000000000073f2e04f047931e85b62e4f2652b156199000e140000000000000000000000006761bcaf2b2156c058634d9772f07374d6edef1d000000000000000000000000fb77f548c7f806a9b948a81aa0c37ab40d15ba040000000000000000000000004f714880a5847d335606bb37848ccacbcd6d5836000000000000000000000000c780e0988733cb15495de804da46bb836f1005690000000000000000000000005c25bcba2339f4b0b5f89a61ec87ec9831c09e450000000000000000000000004e8b694141d4df9bf69cb97788e21b6b3a58cec50000000000000000000000001af26c320f1598a6f447256dd75c3f34d736079f0000000000000000000000008c49c1d07579d778cae5a567e77e5ee24216991700000000000000000000000058024b6c1005de40eac2d4c06bc947ebf2a302af000000000000000000000000c6e15a87dff030998548e6f555ca1fb41a177d6b000000000000000000000000e7380b7be1ed475de78b07033a8ef4dfb10205a500000000000000000000000012047c07e08e797fbcb6811529eeb8217bc006bf000000000000000000000000cd815b9302bc6a828294ce6aa7c353b206997a4e000000000000000000000000f461b7e6cc342d2942379cab5332671d4b9eefee00000000000000000000000016332aa0b259f06dbae43a5709ae6dd2adfb935b0000000000000000000000004d8cd0d84e677cd2e13c29c75d7673fed94a14bf00000000000000000000000012f50e138d34d5b9b9f50dffe5ac3068cfa7756b000000000000000000000000f36270c2124829fce84d9aa5d7a7c7a674f29ab10000000000000000000000002e2dbda311f6b34a2a17fcdcecff86597c6bdf4000000000000000000000000088696c4985f64ea1ebfb9e46c1b47197f7a244ab0000000000000000000000005bb3e1774923b75ecb804e2559149bbd2a39a414000000000000000000000000ba29bf8046d46d687dc00f09caddb0c83540caeb0000000000000000000000007c99670ecc3a57cd1a8d1bdfc8e2ff5b4527b3820000000000000000000000007ff8eb786b62d9b1754cc5d9e8817486953da2e1000000000000000000000000ecbf37b005e2739afa723015e760e6215e1d0a55000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000012546865205368696c6c6164656c205061737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013576865726520697420616c6c20626567616e2e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f62616679626569686e796a70613334626432697533726671637761656b7670726c68356e323464776164766e6a6b676c6e6a6d3768327771643371000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102535760003560e01c80637a9dc5dc11610146578063b88d4fde116100c3578063d547741f11610087578063d547741f1461053f578063d5b5cc2314610552578063e985e9c514610565578063ee009c0c146105a1578063f2fde38b146105b4578063f46015ed146105c757600080fd5b8063b88d4fde146104d6578063beb033f7146104e9578063c87b56dd146104fc578063ca3996711461050f578063d53913931461051857600080fd5b806395d89b411161010a57806395d89b411461048d578063a217fddf14610495578063a22cb4651461049d578063a6635a17146104b0578063af8609b0146104c357600080fd5b80637a9dc5dc1461043a5780638c7ea24b1461044d5780638da5cb5b1461046057806391d14854146104715780639415e9bf1461048457600080fd5b806336568abe116101d45780636352211e116101985780636352211e146103d25780636dda34db146103e557806370a08231146103f8578063715018a61461040b57806372c16a241461041357600080fd5b806336568abe1461037957806340c10f191461038c57806342842e0e1461039f5780634d6ed8c4146103b2578063567e0dd5146103c557600080fd5b806323b872dd1161021b57806323b872dd146102eb578063248a9ca3146102fe5780632a55205a146103215780632ae8f004146103535780632f2ff15d1461036657600080fd5b806301ffc9a71461025857806306fdde0314610280578063081812fc14610295578063095ea7b3146102c057806318160ddd146102d5575b600080fd5b61026b6102663660046129bf565b6105da565b60405190151581526020015b60405180910390f35b610288610656565b6040516102779190612cd0565b6102a86102a3366004612983565b6106e8565b6040516001600160a01b039091168152602001610277565b6102d36102ce36600461285f565b61072c565b005b600154600054035b604051908152602001610277565b6102d36102f936600461276c565b6107ba565b6102dd61030c366004612983565b60009081526009602052604090206001015490565b61033461032f366004612ab9565b6107c5565b604080516001600160a01b039093168352602083019190915201610277565b61026b610361366004612889565b61081a565b6102d361037436600461299c565b6109f7565b6102d361038736600461299c565b610a1d565b6102d361039a36600461285f565b610a9b565b6102d36103ad36600461276c565b610b8c565b6102dd6103c0366004612983565b610ba7565b6102dd650a86cc92e39081565b6102a86103e0366004612983565b610c4e565b6102dd6103f3366004612983565b610c60565b6102dd61040636600461271e565b610ce7565b6102d3610d35565b6102dd7f7434c6f201a551bfd17336985361933e0c4935b520dac8a49d937b325f7d5c0a81565b6102d36104483660046129f9565b610d9b565b6102d361045b36600461285f565b610e76565b600a546001600160a01b03166102a8565b61026b61047f36600461299c565b610ea7565b6102dd600c5481565b610288610ed2565b6102dd600081565b6102d36104ab366004612823565b610ee1565b6102d36104be366004612ab9565b610f77565b6102d36104d13660046128bc565b611086565b6102d36104e43660046127a8565b6110c0565b6102d36104f73660046129f9565b611111565b61028861050a366004612983565b6111d6565b6102dd600d5481565b6102dd7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102d361054d36600461299c565b611650565b6102dd610560366004612983565b611676565b61026b610573366004612739565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102d36105af366004612983565b6116b1565b6102d36105c236600461271e565b61172d565b6102d36105d5366004612983565b6117f8565b60006001600160e01b031982166380ac58cd60e01b148061060b57506001600160e01b031982166301ffc9a760e01b145b8061062657506001600160e01b03198216635b5e139f60e01b145b8061064157506001600160e01b03198216637965db0b60e01b145b80610650575061065082611861565b92915050565b60606002805461066590612e17565b80601f016020809104026020016040519081016040528092919081815260200182805461069190612e17565b80156106de5780601f106106b3576101008083540402835291602001916106de565b820191906000526020600020905b8154815290600101906020018083116106c157829003601f168201915b5050505050905090565b60006106f382611886565b610710576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061073782610c4e565b9050806001600160a01b0316836001600160a01b0316141561076c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061078c575061078a8133610573565b155b156107aa576040516367d9dca160e11b815260040160405180910390fd5b6107b58383836118b1565b505050565b6107b583838361190d565b604080518082019091526008546001600160a01b038116808352600160a01b90910462ffffff16602083018190529091600091612710906108069086612d9e565b6108109190612d8a565b9150509250929050565b60006108467f7434c6f201a551bfd17336985361933e0c4935b520dac8a49d937b325f7d5c0a33610ea7565b61086b5760405162461bcd60e51b815260040161086290612ce3565b60405180910390fd5b600061087684611b05565b9050846001600160a01b031681600001516001600160a01b0316146108ae5760405163799a465d60e01b815260040160405180910390fd5b6000336001600160a01b03871614806108cc57506108cc8633610573565b806108e75750336108dc866106e8565b6001600160a01b0316145b9050806109075760405163687b9c8b60e01b815260040160405180910390fd5b600061091286610ba7565b90508481101561095a5760405162461bcd60e51b81526020600482015260136024820152721b9bdd08195b9bdd59da081d1bc81cdc195b99606a1b6044820152606401610862565b6000868152600f60205260409020546109739086611855565b6000878152600f602052604081209190915561098e87610c60565b6000888152600e6020526040908190208290555190915087906001600160a01b038a16907f535148561d77998b1c55b0df8e3a745c169a3c2d06073ca7cf45743224cef85d906109e1908a815260200190565b60405180910390a3506001979650505050505050565b600082815260096020526040902060010154610a138133611c1f565b6107b58383611c83565b6001600160a01b0381163314610a8d5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610862565b610a978282611d09565b5050565b610ac57f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610ea7565b610b0a5760405162461bcd60e51b815260206004820152601660248201527531b0b63632b91034b9903737ba10309036b4b73a32b960511b6044820152606401610862565b600c541580610b2d5750610b2781610b2160005490565b90611855565b600c5411155b610b705760405162461bcd60e51b81526020600482015260146024820152731b585e081a5cdcdd585b98d9481c995858da195960621b6044820152606401610862565b610a978282604051806020016040528060008152506000611d70565b6107b5838383604051806020016040528060008152506110c0565b6000610bb282611886565b610bcf57604051630a14c4b560e41b815260040160405180910390fd5b6000610bda83611b05565b602001516001600160401b031690506000610c19670de0b6b3a7640000610c13650a86cc92e390610c0d86425b9061182a565b9061183d565b90611849565b6000858152600f6020908152604080832054601090925290912054919250610c4691610c07908490611855565b949350505050565b6000610c5982611b05565b5192915050565b6000610c6b82611886565b610c8857604051630a14c4b560e41b815260040160405180910390fd5b6011546000610c9882600161182a565b90506000610ca585610ba7565b90505b60118281548110610cbb57610cbb612ead565b90600052602060002001548110610cd457509392505050565b81610cde81612e00565b9250610ca89050565b60006001600160a01b038216610d10576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b600a546001600160a01b03163314610d8f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610862565b610d996000611f4d565b565b610da6600033610ea7565b610dc25760405162461bcd60e51b815260040161086290612ce3565b6011805460018181019092557f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c68018390556012805491820181556000528151805183926003027fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440191610e3a91839160200190612542565b506020828101518051610e539260018501920190612542565b5060408201518051610e6f916002840191602090910190612542565b5050505050565b610e81600033610ea7565b610e9d5760405162461bcd60e51b815260040161086290612ce3565b610a978282611f9f565b60009182526009602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606003805461066590612e17565b6001600160a01b038216331415610f0b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f82600033610ea7565b610f9e5760405162461bcd60e51b815260040161086290612ce3565b610fa782611886565b610fc457604051630a14c4b560e41b815260040160405180910390fd5b600d541580610fd55750600d548111155b6110215760405162461bcd60e51b815260206004820152601860248201527f6d7573742062652062656c6f77206d6178416c6c6f77656400000000000000006044820152606401610862565b60008281526010602052604090205461103a8183611855565b600084815260106020908152604091829020929092555183815284917fc78489adfd47a064bf0299ec23be95156cbec48b06c82c97bfe0b362a7fb0986910160405180910390a2505050565b611091600033610ea7565b6110ad5760405162461bcd60e51b815260040161086290612ce3565b8051610a9790600b9060208401906125c6565b6110cb84848461190d565b6001600160a01b0383163b151580156110ed57506110eb8484848461203b565b155b1561110b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b61111c600033610ea7565b6111385760405162461bcd60e51b815260040161086290612ce3565b60006011838154811061114d5761114d612ead565b9060005260206000200154116111985760405162461bcd60e51b815260206004820152601060248201526f74696572206d7573742065786973747360801b6044820152606401610862565b80601283815481106111ac576111ac612ead565b90600052602060002090600302016000820151816000019080519060200190610e3a929190612542565b60606111e182611886565b6111fe57604051630a14c4b560e41b815260040160405180910390fd5b600061120983610c60565b905060006012828154811061122057611220612ead565b906000526020600020906003020160405180606001604052908160008201805461124990612e17565b80601f016020809104026020016040519081016040528092919081815260200182805461127590612e17565b80156112c25780601f10611297576101008083540402835291602001916112c2565b820191906000526020600020905b8154815290600101906020018083116112a557829003601f168201915b505050505081526020016001820180546112db90612e17565b80601f016020809104026020016040519081016040528092919081815260200182805461130790612e17565b80156113545780601f1061132957610100808354040283529160200191611354565b820191906000526020600020905b81548152906001019060200180831161133757829003601f168201915b5050505050815260200160028201805461136d90612e17565b80601f016020809104026020016040519081016040528092919081815260200182805461139990612e17565b80156113e65780601f106113bb576101008083540402835291602001916113e6565b820191906000526020600020905b8154815290600101906020018083116113c957829003601f168201915b5050505050815250509050606060005b600b5481101561164757611444600b828154811061141657611416612ead565b90600052602060002001604051806040016040528060068152602001651e2720a6a29f60d11b815250612132565b1561147257825160405161145c918491602001612ba0565b6040516020818303038152906040529150611635565b6114b9600b828154811061148857611488612ead565b90600052602060002001604051806040016040528060098152602001681e2a27a5a2a724a21f60b91b815250612132565b156114d957816114c88761218b565b60405160200161145c929190612ba0565b611524600b82815481106114ef576114ef612ead565b906000526020600020016040518060400160405280600d81526020016c1e2222a9a1a924a82a24a7a71f60991b815250612132565b156115405781836020015160405160200161145c929190612ba0565b611585600b828154811061155657611556612ead565b90600052602060002001604051806040016040528060078152602001661e24a6a0a3a29f60c91b815250612132565b156115a15781836040015160405160200161145c929190612ba0565b6115e5600b82815481106115b7576115b7612ead565b90600052602060002001604051806040016040528060068152602001651e2a24a2a91f60d11b815250612132565b156115f457816114c88561218b565b81600b828154811061160857611608612ead565b90600052602060002001604051602001611623929190612bcf565b60405160208183030381529060405291505b8061163f81612e52565b9150506113f6565b50949350505050565b60008281526009602052604090206001015461166c8133611c1f565b6107b58383611d09565b600061168182611886565b61169e57604051630a14c4b560e41b815260040160405180910390fd5b506000908152600f602052604090205490565b6116bc600033610ea7565b6116d85760405162461bcd60e51b815260040161086290612ce3565b600c54156117285760405162461bcd60e51b815260206004820152601860248201527f6d61782069737375616e636520616c72656164792073657400000000000000006044820152606401610862565b600c55565b600a546001600160a01b031633146117875760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610862565b6001600160a01b0381166117ec5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610862565b6117f581611f4d565b50565b611803600033610ea7565b61181f5760405162461bcd60e51b815260040161086290612ce3565b600d55565b3b151590565b60006118368284612dbd565b9392505050565b60006118368284612d9e565b60006118368284612d8a565b60006118368284612d72565b60006001600160e01b03198216637965db0b60e01b1480610650575061065082612288565b6000805482108015610650575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061191882611b05565b9050836001600160a01b031681600001516001600160a01b03161461194f5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061196d575061196d8533610573565b8061198857503361197d846106e8565b6001600160a01b0316145b9050806119a857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166119cf57604051633a954ecd60e21b815260040160405180910390fd5b6119dc85858560016122ad565b6119e8600084876118b1565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611abc576000548214611abc57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e6f565b604080516060810182526000808252602082018190529181019190915281600054811015611c0657600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611c045780516001600160a01b031615611b9b579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611bff579392505050565b611b9b565b505b604051636f96cda160e11b815260040160405180910390fd5b611c298282610ea7565b610a9757611c41816001600160a01b03166014612357565b611c4c836020612357565b604051602001611c5d929190612c1e565b60408051601f198184030181529082905262461bcd60e51b825261086291600401612cd0565b611c8d8282610ea7565b610a975760008281526009602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611cc53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611d138282610ea7565b15610a975760008281526009602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000546001600160a01b038516611d9957604051622e076360e81b815260040160405180910390fd5b83611db75760405163b562e8dd60e01b815260040160405180910390fd5b611dc460008683876122ad565b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611e7557506001600160a01b0387163b15155b15611efe575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611ec6600088848060010195508861203b565b611ee3576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611e7b578260005414611ef957600080fd5b611f44565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611eff575b50600055610e6f565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612710811115611ff15760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f20686967680000000000006044820152606401610862565b604080518082019091526001600160a01b0390921680835262ffffff909116602090920182905260088054600160a01b9093026001600160b81b0319909316909117919091179055565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612070903390899088908890600401612c93565b602060405180830381600087803b15801561208a57600080fd5b505af19250505080156120ba575060408051601f3d908101601f191682019092526120b7918101906129dc565b60015b612115573d8080156120e8576040519150601f19603f3d011682016040523d82523d6000602084013e6120ed565b606091505b50805161210d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6000816040516020016121459190612bf6565b604051602081830303815290604052805190602001208360405160200161216c9190612c12565b6040516020818303038152906040528051906020012014905092915050565b6060816121af5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121d957806121c381612e52565b91506121d29050600a83612d8a565b91506121b3565b6000816001600160401b038111156121f3576121f3612ec3565b6040519080825280601f01601f19166020018201604052801561221d576020820181803683370190505b5090505b8415610c4657612232600183612dbd565b915061223f600a86612e6d565b61224a906030612d72565b60f81b81838151811061225f5761225f612ead565b60200101906001600160f81b031916908160001a905350612281600a86612d8a565b9450612221565b60006001600160e01b0319821663152a902d60e11b14806106505750610650826124f2565b6001600160a01b0384166122c05761110b565b6000828152600e60205260408120546011549091906122e090600161182a565b9050808214612306576122f284610c60565b6000858152600e6020526040902081905591505b6000848152600f602052604081205581612321576000612340565b6011828154811061233457612334612ead565b90600052602060002001545b600085815260106020526040902055505050505050565b60606000612366836002612d9e565b612371906002612d72565b6001600160401b0381111561238857612388612ec3565b6040519080825280601f01601f1916602001820160405280156123b2576020820181803683370190505b509050600360fc1b816000815181106123cd576123cd612ead565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106123fc576123fc612ead565b60200101906001600160f81b031916908160001a9053506000612420846002612d9e565b61242b906001612d72565b90505b60018111156124a3576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061245f5761245f612ead565b1a60f81b82828151811061247557612475612ead565b60200101906001600160f81b031916908160001a90535060049490941c9361249c81612e00565b905061242e565b5083156118365760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610862565b60006001600160e01b031982166380ac58cd60e01b148061252357506001600160e01b03198216635b5e139f60e01b145b8061065057506301ffc9a760e01b6001600160e01b0319831614610650565b82805461254e90612e17565b90600052602060002090601f01602090048101928261257057600085556125b6565b82601f1061258957805160ff19168380011785556125b6565b828001600101855582156125b6579182015b828111156125b657825182559160200191906001019061259b565b506125c292915061261f565b5090565b828054828255906000526020600020908101928215612613579160200282015b828111156126135782518051612603918491602090910190612542565b50916020019190600101906125e6565b506125c2929150612634565b5b808211156125c25760008155600101612620565b808211156125c25760006126488282612651565b50600101612634565b50805461265d90612e17565b6000825580601f1061266d575050565b601f0160209004906000526020600020908101906117f5919061261f565b60006001600160401b038311156126a4576126a4612ec3565b6126b7601f8401601f1916602001612d42565b90508281528383830111156126cb57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146126f957600080fd5b919050565b600082601f83011261270f57600080fd5b6118368383356020850161268b565b60006020828403121561273057600080fd5b611836826126e2565b6000806040838503121561274c57600080fd5b612755836126e2565b9150612763602084016126e2565b90509250929050565b60008060006060848603121561278157600080fd5b61278a846126e2565b9250612798602085016126e2565b9150604084013590509250925092565b600080600080608085870312156127be57600080fd5b6127c7856126e2565b93506127d5602086016126e2565b92506040850135915060608501356001600160401b038111156127f757600080fd5b8501601f8101871361280857600080fd5b6128178782356020840161268b565b91505092959194509250565b6000806040838503121561283657600080fd5b61283f836126e2565b91506020830135801515811461285457600080fd5b809150509250929050565b6000806040838503121561287257600080fd5b61287b836126e2565b946020939093013593505050565b60008060006060848603121561289e57600080fd5b6128a7846126e2565b95602085013595506040909401359392505050565b600060208083850312156128cf57600080fd5b82356001600160401b03808211156128e657600080fd5b818501915085601f8301126128fa57600080fd5b81358181111561290c5761290c612ec3565b8060051b61291b858201612d42565b8281528581019085870183870188018b101561293657600080fd5b60009350835b8581101561297357813587811115612952578586fd5b6129608d8b838c01016126fe565b855250928801929088019060010161293c565b50909a9950505050505050505050565b60006020828403121561299557600080fd5b5035919050565b600080604083850312156129af57600080fd5b82359150612763602084016126e2565b6000602082840312156129d157600080fd5b813561183681612ed9565b6000602082840312156129ee57600080fd5b815161183681612ed9565b60008060408385031215612a0c57600080fd5b8235915060208301356001600160401b0380821115612a2a57600080fd5b9084019060608287031215612a3e57600080fd5b612a46612d1a565b823582811115612a5557600080fd5b612a61888286016126fe565b825250602083013582811115612a7657600080fd5b612a82888286016126fe565b602083015250604083013582811115612a9a57600080fd5b612aa6888286016126fe565b6040830152508093505050509250929050565b60008060408385031215612acc57600080fd5b50508035926020909101359150565b60008151808452612af3816020860160208601612dd4565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680612b2157607f831692505b6020808410821415612b4357634e487b7160e01b600052602260045260246000fd5b818015612b575760018114612b6857612b94565b60ff19861689528489019650612b94565b876000528160002060005b86811015612b8c5781548b820152908501908301612b73565b505084890196505b50505050505092915050565b60008351612bb2818460208801612dd4565b835190830190612bc6818360208801612dd4565b01949350505050565b60008351612be1818460208801612dd4565b612bed81840185612b07565b95945050505050565b60008251612c08818460208701612dd4565b9190910192915050565b60006118368284612b07565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612c56816017850160208801612dd4565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612c87816028840160208801612dd4565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cc690830184612adb565b9695505050505050565b6020815260006118366020830184612adb565b60208082526017908201527f63616c6c6572206973206e6f742061207370656e646572000000000000000000604082015260600190565b604051606081016001600160401b0381118282101715612d3c57612d3c612ec3565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612d6a57612d6a612ec3565b604052919050565b60008219821115612d8557612d85612e81565b500190565b600082612d9957612d99612e97565b500490565b6000816000190483118215151615612db857612db8612e81565b500290565b600082821015612dcf57612dcf612e81565b500390565b60005b83811015612def578181015183820152602001612dd7565b8381111561110b5750506000910152565b600081612e0f57612e0f612e81565b506000190190565b600181811c90821680612e2b57607f821691505b60208210811415612e4c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612e6657612e66612e81565b5060010190565b600082612e7c57612e7c612e97565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146117f557600080fdfea2646970667358221220d5c35d7390dad8a109e02ceaabb66ed72b76bb8356e3750cc869fd3c99f9b75164736f6c63430008060033

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

000000000000000000000000b73cabaded9b14310df017f88fd35902979397f900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000b73cabaded9b14310df017f88fd35902979397f9000000000000000000000000cf88fa6ee6d111b04be9b06ef6fad6bd6691b88c000000000000000000000000641cba2116aadead2fc3a17e0dc805ba45ef706b00000000000000000000000073f2e04f047931e85b62e4f2652b156199000e140000000000000000000000006761bcaf2b2156c058634d9772f07374d6edef1d000000000000000000000000fb77f548c7f806a9b948a81aa0c37ab40d15ba040000000000000000000000004f714880a5847d335606bb37848ccacbcd6d5836000000000000000000000000c780e0988733cb15495de804da46bb836f1005690000000000000000000000005c25bcba2339f4b0b5f89a61ec87ec9831c09e450000000000000000000000004e8b694141d4df9bf69cb97788e21b6b3a58cec50000000000000000000000001af26c320f1598a6f447256dd75c3f34d736079f0000000000000000000000008c49c1d07579d778cae5a567e77e5ee24216991700000000000000000000000058024b6c1005de40eac2d4c06bc947ebf2a302af000000000000000000000000c6e15a87dff030998548e6f555ca1fb41a177d6b000000000000000000000000e7380b7be1ed475de78b07033a8ef4dfb10205a500000000000000000000000012047c07e08e797fbcb6811529eeb8217bc006bf000000000000000000000000cd815b9302bc6a828294ce6aa7c353b206997a4e000000000000000000000000f461b7e6cc342d2942379cab5332671d4b9eefee00000000000000000000000016332aa0b259f06dbae43a5709ae6dd2adfb935b0000000000000000000000004d8cd0d84e677cd2e13c29c75d7673fed94a14bf00000000000000000000000012f50e138d34d5b9b9f50dffe5ac3068cfa7756b000000000000000000000000f36270c2124829fce84d9aa5d7a7c7a674f29ab10000000000000000000000002e2dbda311f6b34a2a17fcdcecff86597c6bdf4000000000000000000000000088696c4985f64ea1ebfb9e46c1b47197f7a244ab0000000000000000000000005bb3e1774923b75ecb804e2559149bbd2a39a414000000000000000000000000ba29bf8046d46d687dc00f09caddb0c83540caeb0000000000000000000000007c99670ecc3a57cd1a8d1bdfc8e2ff5b4527b3820000000000000000000000007ff8eb786b62d9b1754cc5d9e8817486953da2e1000000000000000000000000ecbf37b005e2739afa723015e760e6215e1d0a55000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000012546865205368696c6c6164656c205061737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013576865726520697420616c6c20626567616e2e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f62616679626569686e796a70613334626432697533726671637761656b7670726c68356e323464776164766e6a6b676c6e6a6d3768327771643371000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : shillAdmin (address): 0xB73cAbadEd9b14310Df017F88fD35902979397f9
Arg [1] : shilladel (address[]): 0xB73cAbadEd9b14310Df017F88fD35902979397f9,0xcf88FA6eE6D111b04bE9b06ef6fAD6bD6691B88c,0x641CBA2116AAdeAd2FC3A17E0dc805ba45eF706B,0x73f2e04F047931E85b62E4f2652B156199000E14,0x6761BcAF2b2156C058634D9772F07374D6eDeF1d,0xFB77F548c7F806A9b948A81Aa0C37aB40d15BA04,0x4f714880A5847D335606bb37848CcAcbcD6d5836,0xc780e0988733cb15495De804Da46BB836f100569,0x5C25BCBA2339F4b0b5f89a61ec87Ec9831c09e45,0x4e8b694141d4dF9bF69Cb97788e21B6b3a58CeC5,0x1Af26c320F1598A6f447256dD75C3F34d736079f,0x8c49C1D07579d778CAe5a567E77E5eE242169917,0x58024B6C1005dE40eAC2D4c06bC947ebf2a302Af,0xc6e15a87dFF030998548e6F555cA1fb41a177D6B,0xE7380b7BE1ed475dE78b07033A8ef4DfB10205a5,0x12047c07E08E797FbCB6811529eEb8217bC006bF,0xcD815B9302bC6a828294CE6aa7C353B206997A4e,0xF461b7E6CC342D2942379caB5332671d4B9EEFee,0x16332AA0B259F06dbAE43a5709aE6DD2ADfb935B,0x4D8cd0D84E677cD2E13C29C75D7673FeD94a14Bf,0x12F50e138d34d5b9b9F50DffE5aC3068cfA7756b,0xF36270C2124829fCE84D9aA5D7A7C7a674F29ab1,0x2e2dBDa311F6b34a2a17fCDCEcFf86597c6bDf40,0x88696C4985f64Ea1EBfb9E46c1B47197F7a244AB,0x5bb3e1774923b75Ecb804E2559149BbD2a39A414,0xBA29bF8046D46D687Dc00f09caddB0C83540CaEB,0x7c99670ECc3A57Cd1A8D1Bdfc8e2Ff5b4527b382,0x7fF8EB786B62d9B1754cc5d9e8817486953da2e1,0xecBf37b005E2739AFa723015e760e6215E1D0A55
Arg [2] : metadata (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]

-----Encoded View---------------
44 Constructor Arguments found :
Arg [0] : 000000000000000000000000b73cabaded9b14310df017f88fd35902979397f9
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000420
Arg [3] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [4] : 000000000000000000000000b73cabaded9b14310df017f88fd35902979397f9
Arg [5] : 000000000000000000000000cf88fa6ee6d111b04be9b06ef6fad6bd6691b88c
Arg [6] : 000000000000000000000000641cba2116aadead2fc3a17e0dc805ba45ef706b
Arg [7] : 00000000000000000000000073f2e04f047931e85b62e4f2652b156199000e14
Arg [8] : 0000000000000000000000006761bcaf2b2156c058634d9772f07374d6edef1d
Arg [9] : 000000000000000000000000fb77f548c7f806a9b948a81aa0c37ab40d15ba04
Arg [10] : 0000000000000000000000004f714880a5847d335606bb37848ccacbcd6d5836
Arg [11] : 000000000000000000000000c780e0988733cb15495de804da46bb836f100569
Arg [12] : 0000000000000000000000005c25bcba2339f4b0b5f89a61ec87ec9831c09e45
Arg [13] : 0000000000000000000000004e8b694141d4df9bf69cb97788e21b6b3a58cec5
Arg [14] : 0000000000000000000000001af26c320f1598a6f447256dd75c3f34d736079f
Arg [15] : 0000000000000000000000008c49c1d07579d778cae5a567e77e5ee242169917
Arg [16] : 00000000000000000000000058024b6c1005de40eac2d4c06bc947ebf2a302af
Arg [17] : 000000000000000000000000c6e15a87dff030998548e6f555ca1fb41a177d6b
Arg [18] : 000000000000000000000000e7380b7be1ed475de78b07033a8ef4dfb10205a5
Arg [19] : 00000000000000000000000012047c07e08e797fbcb6811529eeb8217bc006bf
Arg [20] : 000000000000000000000000cd815b9302bc6a828294ce6aa7c353b206997a4e
Arg [21] : 000000000000000000000000f461b7e6cc342d2942379cab5332671d4b9eefee
Arg [22] : 00000000000000000000000016332aa0b259f06dbae43a5709ae6dd2adfb935b
Arg [23] : 0000000000000000000000004d8cd0d84e677cd2e13c29c75d7673fed94a14bf
Arg [24] : 00000000000000000000000012f50e138d34d5b9b9f50dffe5ac3068cfa7756b
Arg [25] : 000000000000000000000000f36270c2124829fce84d9aa5d7a7c7a674f29ab1
Arg [26] : 0000000000000000000000002e2dbda311f6b34a2a17fcdcecff86597c6bdf40
Arg [27] : 00000000000000000000000088696c4985f64ea1ebfb9e46c1b47197f7a244ab
Arg [28] : 0000000000000000000000005bb3e1774923b75ecb804e2559149bbd2a39a414
Arg [29] : 000000000000000000000000ba29bf8046d46d687dc00f09caddb0c83540caeb
Arg [30] : 0000000000000000000000007c99670ecc3a57cd1a8d1bdfc8e2ff5b4527b382
Arg [31] : 0000000000000000000000007ff8eb786b62d9b1754cc5d9e8817486953da2e1
Arg [32] : 000000000000000000000000ecbf37b005e2739afa723015e760e6215e1d0a55
Arg [33] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [34] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [35] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [36] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [37] : 546865205368696c6c6164656c20506173730000000000000000000000000000
Arg [38] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [39] : 576865726520697420616c6c20626567616e2e00000000000000000000000000
Arg [40] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [41] : 697066733a2f2f62616679626569686e796a7061333462643269753372667163
Arg [42] : 7761656b7670726c68356e323464776164766e6a6b676c6e6a6d376832777164
Arg [43] : 3371000000000000000000000000000000000000000000000000000000000000


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.