ETH Price: $2,405.54 (+2.84%)

Token

Avocado Guild NFT (AGGC)
 

Overview

Max Total Supply

300 AGGC

Holders

171

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0xc071b420447dc59263bb886c7d24204819f3efd0
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:
AvocadoGuild

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 999999 runs

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

pragma solidity ^0.8.0;

import "./utils/Ownable.sol";
import "./utils/Pausable.sol";
import "./utils/MultiURI.sol";
import "./BaseERC1155.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract AvocadoGuild is Ownable, Pausable, MultiURI, BaseERC1155 {
    // Mapping from account to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;
    // Contract name
    string public name;
    // Contract symbol
    string public symbol;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory _name, string memory _symbol)
        Ownable()
        BaseERC1155()
    {
        name = _name;
        symbol = _symbol;
    }

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        return _tokenURI(tokenId);
    }

    /**
     * @dev Sets the paused failsafe. Can only be called by owner
     * @param _setPaused - paused state
     */
    function setPaused(bool _setPaused) public onlyOwner {
        return (_setPaused) ? _pause() : _unpause();
    }

    /**
     * @dev Creates a brand new token of a given id, base uri and uri
     * @param _tokenId - token id to create new token
     * @param _uri - uri for meta data
     * @param _baseUri -prefix for the uri for this token
     */
    function createToken(
        uint256 _tokenId,
        string memory _uri,
        string memory _baseUri
    ) public onlyOwner {
        require(bytes(_tokenURI(_tokenId)).length == 0, "token exists");
        _setTokenURI(_tokenId, _uri);
        _setTokenBaseURI(_tokenId, _baseUri);
    }

    /**
     * @dev Sets token URI for a given tokenId
     * @param tokenId -
     */
    function setTokenURI(uint256 tokenId, string memory _uri) public onlyOwner {
        _setTokenURI(tokenId, _uri);
    }

    /**
     * @dev Sets token Base URI for a given tokenId
     * @param tokenId - paused state
     */
    function setTokenBaseURI(uint256 tokenId, string memory _uri)
        public
        onlyOwner
    {
        _setTokenBaseURI(tokenId, _uri);
    }

    /**
     * @dev Mints some amount of tokens to an address
     * @param account          Address of the future owner of the token
     * @param id          Token ID to mint
     * @param amount    Amount of tokens to mint
     * @param data        Data to pass if receiver is contract
     */
    function mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public onlyOwner {
        _mint(account, id, amount, data);
    }

    /**
     * @dev Mints some amount of tokens to an address
     * - `ids` and `amounts` must have the same length.
     * @param to          Address of the future owner of the token
     * @param ids          Token IDs to mint
     * @param amounts    Amount of tokens for each token ID to mint
     * @param data        Data to pass if receiver is contract
     */
    function mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public onlyOwner {
        _mintBatch(to, ids, amounts, data);
    }

    /**
     * @dev Burns amount of tokens of an address
     * @param owner          Owner to burn token from. this is usually the message sender
     * @param id          Token IDs to burn
     * @param value    Amount of tokens to burn
     */
    function burn(
        address owner,
        uint256 id,
        uint256 value
    ) public {
        require(
            owner == msg.sender || isApprovedForAll(owner, msg.sender) == true,
            "Need operator approval for 3rd party burns."
        );
        _burn(owner, id, value);
    }

    /**
     * @dev Burns amount of tokens in batches of an address
     * @param owner          Owner to burn token from. this is usually the message sender
     * @param ids          Token IDs to burn
     * @param amounts    Amount of tokens for each token ID to burn
     */
    function burnBatch(
        address owner,
        uint256[] memory ids,
        uint256[] memory amounts
    ) public {
        require(
            owner == msg.sender || isApprovedForAll(owner, msg.sender) == true,
            "Need operator approval for 3rd party burns."
        );
        _burnBatch(owner, ids, amounts);
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override whenNotPaused {}
}

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./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 3 of 13 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

    bool private _paused;

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

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

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

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

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

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

File 4 of 13 : MultiURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Strings.sol";

abstract contract MultiURI {
    using Strings for string;

    // Mutli-token URIs where the URI will be baseTokenURI + tokenURI identified by tokenId. For example baseTokenURI could be ipfs:// and tokenURI could be the ipfs identifier.
    mapping(uint256 => string) private _tokenBaseURIs;
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev Returns an URI for a given token ID.
     * Throws if the token ID does not exist. May return an empty string.
     * @param tokenId uint256 ID of the token to query
     */
    function _tokenURI(uint256 tokenId) internal view returns (string memory) {
        return Strings.strConcat(_tokenBaseURIs[tokenId], _tokenURIs[tokenId]);
    }

    /**
     * @dev Internal function to set the base token URI for a given token.
     * Reverts if the token ID does not exist.
     * @param tokenId uint256 ID of the token to set its URI
     * @param uri string URI to assign
     */
    function _setTokenBaseURI(uint256 tokenId, string memory uri) internal {
        _tokenBaseURIs[tokenId] = uri;
    }

    /**
     * @dev Internal function to set the token URI for a given token.
     * Reverts if the token ID does not exist.
     * @param tokenId uint256 ID of the token to set its URI
     * @param uri string URI to assign
     */
    function _setTokenURI(uint256 tokenId, string memory uri) internal {
        _tokenURIs[tokenId] = uri;
    }

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

    function _clearTokenBaseURI(uint256 tokenId) internal {
        if (bytes(_tokenBaseURIs[tokenId]).length != 0) {
            delete _tokenBaseURIs[tokenId];
        }
    }
}

File 5 of 13 : BaseERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./interfaces/IERC1155.sol";
import "./interfaces/IERC1155Receiver.sol";
import "./interfaces/IERC1155MetadataURI.sol";
import "./utils/Address.sol";
import "./utils/Context.sol";
import "./ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
abstract contract BaseERC1155 is
    Context,
    ERC165,
    IERC1155,
    IERC1155MetadataURI
{
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

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

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id)
        public
        view
        virtual
        override
        returns (uint256)
    {
        require(
            account != address(0),
            "ERC1155: balance query for the zero address"
        );
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(
            accounts.length == ids.length,
            "ERC1155: accounts and ids length mismatch"
        );

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        require(
            _msgSender() != operator,
            "ERC1155: setting approval status for self"
        );

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(
            operator,
            from,
            to,
            _asSingletonArray(id),
            _asSingletonArray(amount),
            data
        );

        uint256 fromBalance = _balances[id][from];
        require(
            fromBalance >= amount,
            "ERC1155: insufficient balance for transfer"
        );
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(
            ids.length == amounts.length,
            "ERC1155: ids and amounts length mismatch"
        );
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(
                fromBalance >= amount,
                "ERC1155: insufficient balance for transfer"
            );
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(
            operator,
            from,
            to,
            ids,
            amounts,
            data
        );
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        _beforeTokenTransfer(
            operator,
            address(0),
            account,
            _asSingletonArray(id),
            _asSingletonArray(amount),
            data
        );

        _balances[id][account] += amount;
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(
            operator,
            address(0),
            account,
            id,
            amount,
            data
        );
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(
            ids.length == amounts.length,
            "ERC1155: ids and amounts length mismatch"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(
            operator,
            address(0),
            to,
            ids,
            amounts,
            data
        );
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(
            operator,
            account,
            address(0),
            _asSingletonArray(id),
            _asSingletonArray(amount),
            ""
        );

        uint256 accountBalance = _balances[id][account];
        require(
            accountBalance >= amount,
            "ERC1155: burn amount exceeds balance"
        );
        unchecked {
            _balances[id][account] = accountBalance - amount;
        }

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(
            ids.length == amounts.length,
            "ERC1155: ids and amounts length mismatch"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 accountBalance = _balances[id][account];
            require(
                accountBalance >= amount,
                "ERC1155: burn amount exceeds balance"
            );
            unchecked {
                _balances[id][account] = accountBalance - amount;
            }
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try
                IERC1155Receiver(to).onERC1155Received(
                    operator,
                    from,
                    id,
                    amount,
                    data
                )
            returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try
                IERC1155Receiver(to).onERC1155BatchReceived(
                    operator,
                    from,
                    ids,
                    amounts,
                    data
                )
            returns (bytes4 response) {
                if (
                    response != IERC1155Receiver.onERC1155BatchReceived.selector
                ) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element)
        private
        pure
        returns (uint256[] memory)
    {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 6 of 13 : 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 7 of 13 : Strings.sol
pragma solidity ^0.8.0;

library Strings {
    // via https://github.com/oraclize/ethereum-api/blob/master/oraclizeAPI_0.5.sol
    function strConcat(
        string memory _a,
        string memory _b,
        string memory _c,
        string memory _d,
        string memory _e
    ) internal pure returns (string memory) {
        bytes memory _ba = bytes(_a);
        bytes memory _bb = bytes(_b);
        bytes memory _bc = bytes(_c);
        bytes memory _bd = bytes(_d);
        bytes memory _be = bytes(_e);
        string memory abcde = new string(
            _ba.length + _bb.length + _bc.length + _bd.length + _be.length
        );
        bytes memory babcde = bytes(abcde);
        uint256 k = 0;
        for (uint256 i = 0; i < _ba.length; i++) babcde[k++] = _ba[i];
        for (uint256 i = 0; i < _bb.length; i++) babcde[k++] = _bb[i];
        for (uint256 i = 0; i < _bc.length; i++) babcde[k++] = _bc[i];
        for (uint256 i = 0; i < _bd.length; i++) babcde[k++] = _bd[i];
        for (uint256 i = 0; i < _be.length; i++) babcde[k++] = _be[i];
        return string(babcde);
    }

    function strConcat(
        string memory _a,
        string memory _b,
        string memory _c,
        string memory _d
    ) internal pure returns (string memory) {
        return strConcat(_a, _b, _c, _d, "");
    }

    function strConcat(
        string memory _a,
        string memory _b,
        string memory _c
    ) internal pure returns (string memory) {
        return strConcat(_a, _b, _c, "", "");
    }

    function strConcat(string memory _a, string memory _b)
        internal
        pure
        returns (string memory)
    {
        return strConcat(_a, _b, "", "", "");
    }

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

File 8 of 13 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256 id,
        uint256 value
    );

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(
        address indexed account,
        address indexed operator,
        bool approved
    );

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id)
        external
        view
        returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator)
        external
        view
        returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 9 of 13 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 13 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

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

pragma solidity ^0.8.0;

import "./interfaces/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 13 of 13 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"string","name":"_baseUri","type":"string"}],"name":"createToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mintBatch","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":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"bool","name":"_setPaused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"}],"name":"setTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162003bde38038062003bde83398101604081905262000034916200022d565b6200003f3362000080565b6000805460ff60a01b19169055815162000061906006906020850190620000d0565b50805162000077906007906020840190620000d0565b505050620002ea565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620000de9062000297565b90600052602060002090601f0160209004810192826200010257600085556200014d565b82601f106200011d57805160ff19168380011785556200014d565b828001600101855582156200014d579182015b828111156200014d57825182559160200191906001019062000130565b506200015b9291506200015f565b5090565b5b808211156200015b576000815560010162000160565b600082601f8301126200018857600080fd5b81516001600160401b0380821115620001a557620001a5620002d4565b604051601f8301601f19908116603f01168101908282118183101715620001d057620001d0620002d4565b81604052838152602092508683858801011115620001ed57600080fd5b600091505b83821015620002115785820183015181830184015290820190620001f2565b83821115620002235760008385830101525b9695505050505050565b600080604083850312156200024157600080fd5b82516001600160401b03808211156200025957600080fd5b620002678683870162000176565b935060208501519150808211156200027e57600080fd5b506200028d8582860162000176565b9150509250929050565b600181811c90821680620002ac57607f821691505b60208210811415620002ce57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6138e480620002fa6000396000f3fe608060405234801561001057600080fd5b50600436106101815760003560e01c8063715018a6116100d8578063b1037e781161008c578063f242432a11610066578063f242432a14610368578063f2fde38b1461037b578063f5298aca1461038e57600080fd5b8063b1037e78146102f9578063c7e752be1461030c578063e985e9c51461031f57600080fd5b80638da5cb5b116100bd5780638da5cb5b146102b657806395d89b41146102de578063a22cb465146102e657600080fd5b8063715018a61461029b578063731133e9146102a357600080fd5b806316c38b3c1161013a5780634e1273f4116101145780634e1273f4146102455780635c975abb146102655780636b20c4541461028857600080fd5b806316c38b3c1461020c5780631f7fdffa1461021f5780632eb2c2d61461023257600080fd5b806306fdde031161016b57806306fdde03146101cf5780630e89341c146101e4578063162094c4146101f757600080fd5b8062fdd58e1461018657806301ffc9a7146101ac575b600080fd5b6101996101943660046131d5565b6103a1565b6040519081526020015b60405180910390f35b6101bf6101ba366004613373565b610480565b60405190151581526020016101a3565b6101d7610565565b6040516101a39190613608565b6101d76101f23660046133ad565b6105f3565b61020a6102053660046133c6565b6105fe565b005b61020a61021a366004613358565b61068d565b61020a61022d366004613112565b610726565b61020a610240366004612f8f565b6107b9565b610258610253366004613287565b610882565b6040516101a391906135c7565b60005474010000000000000000000000000000000000000000900460ff166101bf565b61020a61029636600461309e565b6109da565b61020a610acf565b61020a6102b1366004613232565b610b5c565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101a3565b6101d7610be9565b61020a6102f43660046131ab565b610bf6565b61020a610307366004613403565b610d33565b61020a61031a3660046133c6565b610e39565b6101bf61032d366004612f5c565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b61020a610376366004613039565b610ec4565b61020a610389366004612f41565b610f86565b61020a61039c3660046131ff565b6110b3565b600073ffffffffffffffffffffffffffffffffffffffff831661044b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600090815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000148061051357507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061055f57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6006805461057290613657565b80601f016020809104026020016040519081016040528092919081815260200182805461059e90613657565b80156105eb5780601f106105c0576101008083540402835291602001916105eb565b820191906000526020600020905b8154815290600101906020018083116105ce57829003601f168201915b505050505081565b606061055f826111a3565b60005473ffffffffffffffffffffffffffffffffffffffff16331461067f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b61068982826112df565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461070e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b8061071e5761071b6112fe565b50565b61071b6113f7565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b6107b3848484846114e3565b50505050565b73ffffffffffffffffffffffffffffffffffffffff85163314806107e257506107e2853361032d565b61086e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610442565b61087b858585858561176c565b5050505050565b60608151835114610915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610442565b6000835167ffffffffffffffff8111156109315761093161378d565b60405190808252806020026020018201604052801561095a578160200160208202803683370190505b50905060005b84518110156109d2576109a585828151811061097e5761097e61375e565b60200260200101518583815181106109985761099861375e565b60200260200101516103a1565b8282815181106109b7576109b761375e565b60209081029190910101526109cb816136f6565b9050610960565b509392505050565b73ffffffffffffffffffffffffffffffffffffffff8316331480610a33575073ffffffffffffffffffffffffffffffffffffffff8316600090815260046020908152604080832033845290915290205460ff1615156001145b610abf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4e656564206f70657261746f7220617070726f76616c20666f7220337264207060448201527f61727479206275726e732e0000000000000000000000000000000000000000006064820152608401610442565b610aca838383611ab7565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b610b5a6000611de5565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610bdd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b6107b384848484611e5a565b6007805461057290613657565b3373ffffffffffffffffffffffffffffffffffffffff83161415610c9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610442565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610db4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b610dbd836111a3565b5115610e25576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f746f6b656e2065786973747300000000000000000000000000000000000000006044820152606401610442565b610e2f83836112df565b610aca8382611fc9565b60005473ffffffffffffffffffffffffffffffffffffffff163314610eba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b6106898282611fc9565b73ffffffffffffffffffffffffffffffffffffffff8516331480610eed5750610eed853361032d565b610f79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610442565b61087b8585858585611fe8565b60005473ffffffffffffffffffffffffffffffffffffffff163314611007576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b73ffffffffffffffffffffffffffffffffffffffff81166110aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610442565b61071b81611de5565b73ffffffffffffffffffffffffffffffffffffffff831633148061110c575073ffffffffffffffffffffffffffffffffffffffff8316600090815260046020908152604080832033845290915290205460ff1615156001145b611198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4e656564206f70657261746f7220617070726f76616c20666f7220337264207060448201527f61727479206275726e732e0000000000000000000000000000000000000000006064820152608401610442565b610aca83838361221d565b6000818152600160205260409020805460609161055f916111c390613657565b80601f01602080910402602001604051908101604052809291908181526020018280546111ef90613657565b801561123c5780601f106112115761010080835404028352916020019161123c565b820191906000526020600020905b81548152906001019060200180831161121f57829003601f168201915b5050506000868152600260205260409020805490925061125c9150613657565b80601f016020809104026020016040519081016040528092919081815260200182805461128890613657565b80156112d55780601f106112aa576101008083540402835291602001916112d5565b820191906000526020600020905b8154815290600101906020018083116112b857829003601f168201915b5050505050612428565b60008281526002602090815260409091208251610aca92840190612d66565b60005474010000000000000000000000000000000000000000900460ff16611382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610442565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b60005474010000000000000000000000000000000000000000900460ff161561147c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610442565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113cd3390565b73ffffffffffffffffffffffffffffffffffffffff8416611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610442565b8151835114611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610442565b336116278160008787878761246b565b60005b84518110156116dd578381815181106116455761164561375e565b6020026020010151600360008784815181106116635761166361375e565b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116c5919061363f565b909155508190506116d5816136f6565b91505061162a565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117559291906135da565b60405180910390a461087b816000878787876124f0565b81518351146117fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610442565b73ffffffffffffffffffffffffffffffffffffffff84166118a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610442565b336118af81878787878761246b565b60005b8451811015611a225760008582815181106118cf576118cf61375e565b6020026020010151905060008583815181106118ed576118ed61375e565b602090810291909101810151600084815260038352604080822073ffffffffffffffffffffffffffffffffffffffff8e1683529093529190912054909150818110156119bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610442565b600083815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8e8116855292528083208585039055908b16825281208054849290611a0790849061363f565b9250508190555050505080611a1b906136f6565b90506118b2565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a999291906135da565b60405180910390a4611aaf8187878787876124f0565b505050505050565b73ffffffffffffffffffffffffffffffffffffffff8316611b5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610442565b8051825114611beb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610442565b6000339050611c0e8185600086866040518060200160405280600081525061246b565b60005b8351811015611d5f576000848281518110611c2e57611c2e61375e565b602002602001015190506000848381518110611c4c57611c4c61375e565b602090810291909101810151600084815260038352604080822073ffffffffffffffffffffffffffffffffffffffff8c168352909352919091205490915081811015611d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610442565b600092835260036020908152604080852073ffffffffffffffffffffffffffffffffffffffff8b1686529091529092209103905580611d57816136f6565b915050611c11565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611dd79291906135da565b60405180910390a450505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff8416611efd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610442565b33611f1d81600087611f0e8861278a565b611f178861278a565b8761246b565b600084815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8916845290915281208054859290611f5c90849061363f565b9091555050604080518581526020810185905273ffffffffffffffffffffffffffffffffffffffff80881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461087b816000878787876127d5565b60008281526001602090815260409091208251610aca92840190612d66565b73ffffffffffffffffffffffffffffffffffffffff841661208b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610442565b3361209b818787611f0e8861278a565b600084815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8a1684529091529020548381101561215b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610442565b600085815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8b81168552925280832087850390559088168252812080548692906121a790849061363f565b9091555050604080518681526020810186905273ffffffffffffffffffffffffffffffffffffffff808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46122148288888888886127d5565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff83166122c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610442565b336122ef818560006122d18761278a565b6122da8761278a565b6040518060200160405280600081525061246b565b600083815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff88168452909152902054828110156123ae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610442565b600084815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b60606124648383604051806020016040528060008152506040518060200160405280600081525060405180602001604052806000815250612991565b9392505050565b60005474010000000000000000000000000000000000000000900460ff1615611aaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610442565b73ffffffffffffffffffffffffffffffffffffffff84163b15611aaf576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c8190612567908990899088908890889060040161350c565b602060405180830381600087803b15801561258157600080fd5b505af19250505080156125cf575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526125cc91810190613390565b60015b6126b9576125db6137bc565b806308c379a0141561262f57506125f06137d8565b806125fb5750612631565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104429190613608565b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610442565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014612214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610442565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106127c4576127c461375e565b602090810291909101015292915050565b73ffffffffffffffffffffffffffffffffffffffff84163b15611aaf576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e619061284c9089908990889088908890600401613577565b602060405180830381600087803b15801561286657600080fd5b505af19250505080156128b4575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526128b191810190613390565b60015b6128c0576125db6137bc565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014612214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610442565b805182518451865188516060948a948a948a948a948a946000949093909290916129bb919061363f565b6129c5919061363f565b6129cf919061363f565b6129d9919061363f565b67ffffffffffffffff8111156129f1576129f161378d565b6040519080825280601f01601f191660200182016040528015612a1b576020820181803683370190505b509050806000805b8851811015612ac357888181518110612a3e57612a3e61375e565b01602001517fff00000000000000000000000000000000000000000000000000000000000000168383612a70816136f6565b945081518110612a8257612a8261375e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080612abb816136f6565b915050612a23565b5060005b8751811015612b6757878181518110612ae257612ae261375e565b01602001517fff00000000000000000000000000000000000000000000000000000000000000168383612b14816136f6565b945081518110612b2657612b2661375e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080612b5f816136f6565b915050612ac7565b5060005b8651811015612c0b57868181518110612b8657612b8661375e565b01602001517fff00000000000000000000000000000000000000000000000000000000000000168383612bb8816136f6565b945081518110612bca57612bca61375e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080612c03816136f6565b915050612b6b565b5060005b8551811015612caf57858181518110612c2a57612c2a61375e565b01602001517fff00000000000000000000000000000000000000000000000000000000000000168383612c5c816136f6565b945081518110612c6e57612c6e61375e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080612ca7816136f6565b915050612c0f565b5060005b8451811015612d5357848181518110612cce57612cce61375e565b01602001517fff00000000000000000000000000000000000000000000000000000000000000168383612d00816136f6565b945081518110612d1257612d1261375e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080612d4b816136f6565b915050612cb3565b50909d9c50505050505050505050505050565b828054612d7290613657565b90600052602060002090601f016020900481019282612d945760008555612dda565b82601f10612dad57805160ff1916838001178555612dda565b82800160010185558215612dda579182015b82811115612dda578251825591602001919060010190612dbf565b50612de6929150612dea565b5090565b5b80821115612de65760008155600101612deb565b803573ffffffffffffffffffffffffffffffffffffffff81168114612e2357600080fd5b919050565b600082601f830112612e3957600080fd5b81356020612e468261361b565b604051612e5382826136ab565b8381528281019150858301600585901b87018401881015612e7357600080fd5b60005b85811015612e9257813584529284019290840190600101612e76565b5090979650505050505050565b80358015158114612e2357600080fd5b600082601f830112612ec057600080fd5b813567ffffffffffffffff811115612eda57612eda61378d565b604051612f0f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011601826136ab565b818152846020838601011115612f2457600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215612f5357600080fd5b61246482612dff565b60008060408385031215612f6f57600080fd5b612f7883612dff565b9150612f8660208401612dff565b90509250929050565b600080600080600060a08688031215612fa757600080fd5b612fb086612dff565b9450612fbe60208701612dff565b9350604086013567ffffffffffffffff80821115612fdb57600080fd5b612fe789838a01612e28565b94506060880135915080821115612ffd57600080fd5b61300989838a01612e28565b9350608088013591508082111561301f57600080fd5b5061302c88828901612eaf565b9150509295509295909350565b600080600080600060a0868803121561305157600080fd5b61305a86612dff565b945061306860208701612dff565b93506040860135925060608601359150608086013567ffffffffffffffff81111561309257600080fd5b61302c88828901612eaf565b6000806000606084860312156130b357600080fd5b6130bc84612dff565b9250602084013567ffffffffffffffff808211156130d957600080fd5b6130e587838801612e28565b935060408601359150808211156130fb57600080fd5b5061310886828701612e28565b9150509250925092565b6000806000806080858703121561312857600080fd5b61313185612dff565b9350602085013567ffffffffffffffff8082111561314e57600080fd5b61315a88838901612e28565b9450604087013591508082111561317057600080fd5b61317c88838901612e28565b9350606087013591508082111561319257600080fd5b5061319f87828801612eaf565b91505092959194509250565b600080604083850312156131be57600080fd5b6131c783612dff565b9150612f8660208401612e9f565b600080604083850312156131e857600080fd5b6131f183612dff565b946020939093013593505050565b60008060006060848603121561321457600080fd5b61321d84612dff565b95602085013595506040909401359392505050565b6000806000806080858703121561324857600080fd5b61325185612dff565b93506020850135925060408501359150606085013567ffffffffffffffff81111561327b57600080fd5b61319f87828801612eaf565b6000806040838503121561329a57600080fd5b823567ffffffffffffffff808211156132b257600080fd5b818501915085601f8301126132c657600080fd5b813560206132d38261361b565b6040516132e082826136ab565b8381528281019150858301600585901b870184018b101561330057600080fd5b600096505b8487101561332a5761331681612dff565b835260019690960195918301918301613305565b509650508601359250508082111561334157600080fd5b5061334e85828601612e28565b9150509250929050565b60006020828403121561336a57600080fd5b61246482612e9f565b60006020828403121561338557600080fd5b813561246481613880565b6000602082840312156133a257600080fd5b815161246481613880565b6000602082840312156133bf57600080fd5b5035919050565b600080604083850312156133d957600080fd5b82359150602083013567ffffffffffffffff8111156133f757600080fd5b61334e85828601612eaf565b60008060006060848603121561341857600080fd5b83359250602084013567ffffffffffffffff8082111561343757600080fd5b61344387838801612eaf565b9350604086013591508082111561345957600080fd5b5061310886828701612eaf565b600081518084526020808501945080840160005b838110156134965781518752958201959082019060010161347a565b509495945050505050565b6000815180845260005b818110156134c7576020818501810151868301820152016134ab565b818111156134d9576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a0604083015261354560a0830186613466565b82810360608401526135578186613466565b9050828103608084015261356b81856134a1565b98975050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a060808301526135bc60a08301846134a1565b979650505050505050565b6020815260006124646020830184613466565b6040815260006135ed6040830185613466565b82810360208401526135ff8185613466565b95945050505050565b60208152600061246460208301846134a1565b600067ffffffffffffffff8211156136355761363561378d565b5060051b60200190565b600082198211156136525761365261372f565b500190565b600181811c9082168061366b57607f821691505b602082108114156136a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff821117156136ef576136ef61378d565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156137285761372861372f565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156137d55760046000803e5060005160e01c5b90565b600060443d10156137e65790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff816024840111818411171561383457505050505090565b828501915081518181111561384c5750505050505090565b843d87010160208285010111156138665750505050505090565b613875602082860101876136ab565b509095945050505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461071b57600080fdfea264697066735822122060c937f07c66400fa1286ea9313639c7fa916a13137d9a604f1612d2c423d16964736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001141766f6361646f204775696c64204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044147474300000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101815760003560e01c8063715018a6116100d8578063b1037e781161008c578063f242432a11610066578063f242432a14610368578063f2fde38b1461037b578063f5298aca1461038e57600080fd5b8063b1037e78146102f9578063c7e752be1461030c578063e985e9c51461031f57600080fd5b80638da5cb5b116100bd5780638da5cb5b146102b657806395d89b41146102de578063a22cb465146102e657600080fd5b8063715018a61461029b578063731133e9146102a357600080fd5b806316c38b3c1161013a5780634e1273f4116101145780634e1273f4146102455780635c975abb146102655780636b20c4541461028857600080fd5b806316c38b3c1461020c5780631f7fdffa1461021f5780632eb2c2d61461023257600080fd5b806306fdde031161016b57806306fdde03146101cf5780630e89341c146101e4578063162094c4146101f757600080fd5b8062fdd58e1461018657806301ffc9a7146101ac575b600080fd5b6101996101943660046131d5565b6103a1565b6040519081526020015b60405180910390f35b6101bf6101ba366004613373565b610480565b60405190151581526020016101a3565b6101d7610565565b6040516101a39190613608565b6101d76101f23660046133ad565b6105f3565b61020a6102053660046133c6565b6105fe565b005b61020a61021a366004613358565b61068d565b61020a61022d366004613112565b610726565b61020a610240366004612f8f565b6107b9565b610258610253366004613287565b610882565b6040516101a391906135c7565b60005474010000000000000000000000000000000000000000900460ff166101bf565b61020a61029636600461309e565b6109da565b61020a610acf565b61020a6102b1366004613232565b610b5c565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101a3565b6101d7610be9565b61020a6102f43660046131ab565b610bf6565b61020a610307366004613403565b610d33565b61020a61031a3660046133c6565b610e39565b6101bf61032d366004612f5c565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b61020a610376366004613039565b610ec4565b61020a610389366004612f41565b610f86565b61020a61039c3660046131ff565b6110b3565b600073ffffffffffffffffffffffffffffffffffffffff831661044b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600090815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000148061051357507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061055f57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6006805461057290613657565b80601f016020809104026020016040519081016040528092919081815260200182805461059e90613657565b80156105eb5780601f106105c0576101008083540402835291602001916105eb565b820191906000526020600020905b8154815290600101906020018083116105ce57829003601f168201915b505050505081565b606061055f826111a3565b60005473ffffffffffffffffffffffffffffffffffffffff16331461067f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b61068982826112df565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461070e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b8061071e5761071b6112fe565b50565b61071b6113f7565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b6107b3848484846114e3565b50505050565b73ffffffffffffffffffffffffffffffffffffffff85163314806107e257506107e2853361032d565b61086e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610442565b61087b858585858561176c565b5050505050565b60608151835114610915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610442565b6000835167ffffffffffffffff8111156109315761093161378d565b60405190808252806020026020018201604052801561095a578160200160208202803683370190505b50905060005b84518110156109d2576109a585828151811061097e5761097e61375e565b60200260200101518583815181106109985761099861375e565b60200260200101516103a1565b8282815181106109b7576109b761375e565b60209081029190910101526109cb816136f6565b9050610960565b509392505050565b73ffffffffffffffffffffffffffffffffffffffff8316331480610a33575073ffffffffffffffffffffffffffffffffffffffff8316600090815260046020908152604080832033845290915290205460ff1615156001145b610abf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4e656564206f70657261746f7220617070726f76616c20666f7220337264207060448201527f61727479206275726e732e0000000000000000000000000000000000000000006064820152608401610442565b610aca838383611ab7565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b610b5a6000611de5565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610bdd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b6107b384848484611e5a565b6007805461057290613657565b3373ffffffffffffffffffffffffffffffffffffffff83161415610c9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610442565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610db4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b610dbd836111a3565b5115610e25576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f746f6b656e2065786973747300000000000000000000000000000000000000006044820152606401610442565b610e2f83836112df565b610aca8382611fc9565b60005473ffffffffffffffffffffffffffffffffffffffff163314610eba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b6106898282611fc9565b73ffffffffffffffffffffffffffffffffffffffff8516331480610eed5750610eed853361032d565b610f79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610442565b61087b8585858585611fe8565b60005473ffffffffffffffffffffffffffffffffffffffff163314611007576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610442565b73ffffffffffffffffffffffffffffffffffffffff81166110aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610442565b61071b81611de5565b73ffffffffffffffffffffffffffffffffffffffff831633148061110c575073ffffffffffffffffffffffffffffffffffffffff8316600090815260046020908152604080832033845290915290205460ff1615156001145b611198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f4e656564206f70657261746f7220617070726f76616c20666f7220337264207060448201527f61727479206275726e732e0000000000000000000000000000000000000000006064820152608401610442565b610aca83838361221d565b6000818152600160205260409020805460609161055f916111c390613657565b80601f01602080910402602001604051908101604052809291908181526020018280546111ef90613657565b801561123c5780601f106112115761010080835404028352916020019161123c565b820191906000526020600020905b81548152906001019060200180831161121f57829003601f168201915b5050506000868152600260205260409020805490925061125c9150613657565b80601f016020809104026020016040519081016040528092919081815260200182805461128890613657565b80156112d55780601f106112aa576101008083540402835291602001916112d5565b820191906000526020600020905b8154815290600101906020018083116112b857829003601f168201915b5050505050612428565b60008281526002602090815260409091208251610aca92840190612d66565b60005474010000000000000000000000000000000000000000900460ff16611382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610442565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b60005474010000000000000000000000000000000000000000900460ff161561147c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610442565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113cd3390565b73ffffffffffffffffffffffffffffffffffffffff8416611586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610442565b8151835114611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610442565b336116278160008787878761246b565b60005b84518110156116dd578381815181106116455761164561375e565b6020026020010151600360008784815181106116635761166361375e565b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116c5919061363f565b909155508190506116d5816136f6565b91505061162a565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117559291906135da565b60405180910390a461087b816000878787876124f0565b81518351146117fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610442565b73ffffffffffffffffffffffffffffffffffffffff84166118a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610442565b336118af81878787878761246b565b60005b8451811015611a225760008582815181106118cf576118cf61375e565b6020026020010151905060008583815181106118ed576118ed61375e565b602090810291909101810151600084815260038352604080822073ffffffffffffffffffffffffffffffffffffffff8e1683529093529190912054909150818110156119bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610442565b600083815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8e8116855292528083208585039055908b16825281208054849290611a0790849061363f565b9250508190555050505080611a1b906136f6565b90506118b2565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a999291906135da565b60405180910390a4611aaf8187878787876124f0565b505050505050565b73ffffffffffffffffffffffffffffffffffffffff8316611b5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610442565b8051825114611beb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610442565b6000339050611c0e8185600086866040518060200160405280600081525061246b565b60005b8351811015611d5f576000848281518110611c2e57611c2e61375e565b602002602001015190506000848381518110611c4c57611c4c61375e565b602090810291909101810151600084815260038352604080822073ffffffffffffffffffffffffffffffffffffffff8c168352909352919091205490915081811015611d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610442565b600092835260036020908152604080852073ffffffffffffffffffffffffffffffffffffffff8b1686529091529092209103905580611d57816136f6565b915050611c11565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611dd79291906135da565b60405180910390a450505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff8416611efd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610442565b33611f1d81600087611f0e8861278a565b611f178861278a565b8761246b565b600084815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8916845290915281208054859290611f5c90849061363f565b9091555050604080518581526020810185905273ffffffffffffffffffffffffffffffffffffffff80881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461087b816000878787876127d5565b60008281526001602090815260409091208251610aca92840190612d66565b73ffffffffffffffffffffffffffffffffffffffff841661208b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610442565b3361209b818787611f0e8861278a565b600084815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8a1684529091529020548381101561215b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610442565b600085815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8b81168552925280832087850390559088168252812080548692906121a790849061363f565b9091555050604080518681526020810186905273ffffffffffffffffffffffffffffffffffffffff808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46122148288888888886127d5565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff83166122c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610442565b336122ef818560006122d18761278a565b6122da8761278a565b6040518060200160405280600081525061246b565b600083815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff88168452909152902054828110156123ae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610442565b600084815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b60606124648383604051806020016040528060008152506040518060200160405280600081525060405180602001604052806000815250612991565b9392505050565b60005474010000000000000000000000000000000000000000900460ff1615611aaf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610442565b73ffffffffffffffffffffffffffffffffffffffff84163b15611aaf576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c8190612567908990899088908890889060040161350c565b602060405180830381600087803b15801561258157600080fd5b505af19250505080156125cf575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526125cc91810190613390565b60015b6126b9576125db6137bc565b806308c379a0141561262f57506125f06137d8565b806125fb5750612631565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104429190613608565b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610442565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014612214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610442565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106127c4576127c461375e565b602090810291909101015292915050565b73ffffffffffffffffffffffffffffffffffffffff84163b15611aaf576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e619061284c9089908990889088908890600401613577565b602060405180830381600087803b15801561286657600080fd5b505af19250505080156128b4575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526128b191810190613390565b60015b6128c0576125db6137bc565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014612214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610442565b805182518451865188516060948a948a948a948a948a946000949093909290916129bb919061363f565b6129c5919061363f565b6129cf919061363f565b6129d9919061363f565b67ffffffffffffffff8111156129f1576129f161378d565b6040519080825280601f01601f191660200182016040528015612a1b576020820181803683370190505b509050806000805b8851811015612ac357888181518110612a3e57612a3e61375e565b01602001517fff00000000000000000000000000000000000000000000000000000000000000168383612a70816136f6565b945081518110612a8257612a8261375e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080612abb816136f6565b915050612a23565b5060005b8751811015612b6757878181518110612ae257612ae261375e565b01602001517fff00000000000000000000000000000000000000000000000000000000000000168383612b14816136f6565b945081518110612b2657612b2661375e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080612b5f816136f6565b915050612ac7565b5060005b8651811015612c0b57868181518110612b8657612b8661375e565b01602001517fff00000000000000000000000000000000000000000000000000000000000000168383612bb8816136f6565b945081518110612bca57612bca61375e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080612c03816136f6565b915050612b6b565b5060005b8551811015612caf57858181518110612c2a57612c2a61375e565b01602001517fff00000000000000000000000000000000000000000000000000000000000000168383612c5c816136f6565b945081518110612c6e57612c6e61375e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080612ca7816136f6565b915050612c0f565b5060005b8451811015612d5357848181518110612cce57612cce61375e565b01602001517fff00000000000000000000000000000000000000000000000000000000000000168383612d00816136f6565b945081518110612d1257612d1261375e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080612d4b816136f6565b915050612cb3565b50909d9c50505050505050505050505050565b828054612d7290613657565b90600052602060002090601f016020900481019282612d945760008555612dda565b82601f10612dad57805160ff1916838001178555612dda565b82800160010185558215612dda579182015b82811115612dda578251825591602001919060010190612dbf565b50612de6929150612dea565b5090565b5b80821115612de65760008155600101612deb565b803573ffffffffffffffffffffffffffffffffffffffff81168114612e2357600080fd5b919050565b600082601f830112612e3957600080fd5b81356020612e468261361b565b604051612e5382826136ab565b8381528281019150858301600585901b87018401881015612e7357600080fd5b60005b85811015612e9257813584529284019290840190600101612e76565b5090979650505050505050565b80358015158114612e2357600080fd5b600082601f830112612ec057600080fd5b813567ffffffffffffffff811115612eda57612eda61378d565b604051612f0f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011601826136ab565b818152846020838601011115612f2457600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215612f5357600080fd5b61246482612dff565b60008060408385031215612f6f57600080fd5b612f7883612dff565b9150612f8660208401612dff565b90509250929050565b600080600080600060a08688031215612fa757600080fd5b612fb086612dff565b9450612fbe60208701612dff565b9350604086013567ffffffffffffffff80821115612fdb57600080fd5b612fe789838a01612e28565b94506060880135915080821115612ffd57600080fd5b61300989838a01612e28565b9350608088013591508082111561301f57600080fd5b5061302c88828901612eaf565b9150509295509295909350565b600080600080600060a0868803121561305157600080fd5b61305a86612dff565b945061306860208701612dff565b93506040860135925060608601359150608086013567ffffffffffffffff81111561309257600080fd5b61302c88828901612eaf565b6000806000606084860312156130b357600080fd5b6130bc84612dff565b9250602084013567ffffffffffffffff808211156130d957600080fd5b6130e587838801612e28565b935060408601359150808211156130fb57600080fd5b5061310886828701612e28565b9150509250925092565b6000806000806080858703121561312857600080fd5b61313185612dff565b9350602085013567ffffffffffffffff8082111561314e57600080fd5b61315a88838901612e28565b9450604087013591508082111561317057600080fd5b61317c88838901612e28565b9350606087013591508082111561319257600080fd5b5061319f87828801612eaf565b91505092959194509250565b600080604083850312156131be57600080fd5b6131c783612dff565b9150612f8660208401612e9f565b600080604083850312156131e857600080fd5b6131f183612dff565b946020939093013593505050565b60008060006060848603121561321457600080fd5b61321d84612dff565b95602085013595506040909401359392505050565b6000806000806080858703121561324857600080fd5b61325185612dff565b93506020850135925060408501359150606085013567ffffffffffffffff81111561327b57600080fd5b61319f87828801612eaf565b6000806040838503121561329a57600080fd5b823567ffffffffffffffff808211156132b257600080fd5b818501915085601f8301126132c657600080fd5b813560206132d38261361b565b6040516132e082826136ab565b8381528281019150858301600585901b870184018b101561330057600080fd5b600096505b8487101561332a5761331681612dff565b835260019690960195918301918301613305565b509650508601359250508082111561334157600080fd5b5061334e85828601612e28565b9150509250929050565b60006020828403121561336a57600080fd5b61246482612e9f565b60006020828403121561338557600080fd5b813561246481613880565b6000602082840312156133a257600080fd5b815161246481613880565b6000602082840312156133bf57600080fd5b5035919050565b600080604083850312156133d957600080fd5b82359150602083013567ffffffffffffffff8111156133f757600080fd5b61334e85828601612eaf565b60008060006060848603121561341857600080fd5b83359250602084013567ffffffffffffffff8082111561343757600080fd5b61344387838801612eaf565b9350604086013591508082111561345957600080fd5b5061310886828701612eaf565b600081518084526020808501945080840160005b838110156134965781518752958201959082019060010161347a565b509495945050505050565b6000815180845260005b818110156134c7576020818501810151868301820152016134ab565b818111156134d9576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a0604083015261354560a0830186613466565b82810360608401526135578186613466565b9050828103608084015261356b81856134a1565b98975050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a060808301526135bc60a08301846134a1565b979650505050505050565b6020815260006124646020830184613466565b6040815260006135ed6040830185613466565b82810360208401526135ff8185613466565b95945050505050565b60208152600061246460208301846134a1565b600067ffffffffffffffff8211156136355761363561378d565b5060051b60200190565b600082198211156136525761365261372f565b500190565b600181811c9082168061366b57607f821691505b602082108114156136a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff821117156136ef576136ef61378d565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156137285761372861372f565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156137d55760046000803e5060005160e01c5b90565b600060443d10156137e65790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff816024840111818411171561383457505050505090565b828501915081518181111561384c5750505050505090565b843d87010160208285010111156138665750505050505090565b613875602082860101876136ab565b509095945050505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461071b57600080fdfea264697066735822122060c937f07c66400fa1286ea9313639c7fa916a13137d9a604f1612d2c423d16964736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001141766f6361646f204775696c64204e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044147474300000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Avocado Guild NFT
Arg [1] : _symbol (string): AGGC

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [3] : 41766f6361646f204775696c64204e4654000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4147474300000000000000000000000000000000000000000000000000000000


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.