ETH Price: $2,389.11 (-4.02%)

Token

The Gallery by NFT Culture ()
 

Overview

Max Total Supply

0

Holders

70

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
chrisbailey.eth
0x587c2fa9802d26628b54e994b73b7d9a0b072408
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:
TheGalleryByNFTCulture

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 15 : TheGalleryByNFTCulture.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import './NFTCultureCollectionBase.sol';

/**
 * @title The Gallery by NFT Culture wrapper contract
 *
 *oooooooo_oo____________________oooo___________ooo___ooo___________________________
 *___oo____oo_ooo___ooooo______oo____oo__ooooo___oo____oo____ooooo__oo_ooo___o___oo_
 *___oo____ooo___o_oo____o____oo________oo___oo__oo____oo___oo____o_ooo___o__o___oo_
 *___oo____oo____o_ooooooo____oo____ooo_oo___oo__oo____oo___ooooooo_oo_______o___oo_
 *___oo____oo____o_oo__________oo____oo_oo___oo__oo____oo___oo______oo________ooooo_
 *___oo____oo____o__ooooo________oooo____oooo_o_ooooo_ooooo__ooooo__oo______o____oo_
 *___________________________________________________________________________ooooo__
 *
 * Credit to https://patorjk.com/ for text generator.
 */
contract TheGalleryByNFTCulture is NFTCultureCollectionBase {
    constructor()
        NFTCultureCollectionBase(
            'The Gallery by NFT Culture',
            'https://gateway.pinata.cloud/ipfs/QmNrPi8VYbjorH9Ms4BShUFerAn7CfG6CJqWcSRb5oN4bW/{id}.json', //V4B
            0,
            0x5d75c1b764AFd64fe02a28B5eFF79E2f81DB5bad, // The NFTCult contract on mainnet.
            0x8C811d9E8F4b734066cF2832168421504FA441b0  // The NFTCultForgeComponents contract on mainnet.
        )
    {
        // Implementation version: 1
    }
}

File 2 of 15 : NFTCultureCollectionBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import './INFTCult_ForTheGallery.sol';
import './INFTCForgeComponents_ForTheGallery.sol';

/**
 * @title NFT Culture Collection
 * @author @NiftyMike, NFT Culture
 * @dev An ERC 1155 implementation for gas efficient claiming of
 * airdrip pieces.
 */
abstract contract NFTCultureCollectionBase is
    ERC1155Supply,
    Ownable,
    ReentrancyGuard
{
    uint256 public constant EMBER_SUPPLY = 10**12;
    uint256 public constant NFT_CULT_TOKEN_COUNT = 3333;

    uint256 public constant OG_FOURD_PIECE_ID = 1;
    uint256 public constant OG_PAVEL_PIECE_ID = 2;
    uint256 public constant OG_CHISS_PIECE_ID = 3;
    uint256 public constant OG_ANONY_PIECE_ID = 4;

    string public name;
    uint256 public pricePerToken;
    bool public claimingActive;
    uint256 public emberPieceId;
    uint256[] public emberIds;
    uint256[] public pieceIds;

    INFTCult_ForTheGallery private _nftCult;
    INFTCForgeComponents_ForTheGallery private _nftCultForgeComponents;

    // For future extension
    mapping(uint256 => uint256) private _emberLookup;

    // Format: [64 bit claims consumed][64 bit claims yield][64 bit ember received][64 bit ember yield]
    mapping(uint256 => mapping(uint256 => uint256)) private _cache;
    uint256 private _cacheIndexer = 1;

    function _getForgeComponentYieldFromMapping(uint256 nftCultTokenId)
        internal
        view
        returns (uint256)
    {
        return
            _nftCultForgeComponents.getYieldFromMapping(
                _nftCult.tokenURI(nftCultTokenId)
            );
    }

    constructor(
        string memory __name,
        string memory __uri,
        uint256 __pricePerToken,
        address __nftCult,
        address __nftCultForgeComponents
    ) ERC1155(__uri) {
        name = __name;
        pricePerToken = __pricePerToken;

        emberPieceId = 0;
        emberIds.push(0);
        _emberLookup[0] = 1;

        _setNewDependencies(__nftCult, __nftCultForgeComponents);

        _mint(msg.sender, emberPieceId, EMBER_SUPPLY, '');
        _mint(msg.sender, OG_FOURD_PIECE_ID, NFT_CULT_TOKEN_COUNT, '');
        _mint(msg.sender, OG_PAVEL_PIECE_ID, NFT_CULT_TOKEN_COUNT, '');
        _mint(msg.sender, OG_CHISS_PIECE_ID, NFT_CULT_TOKEN_COUNT, '');
        _mint(msg.sender, OG_ANONY_PIECE_ID, NFT_CULT_TOKEN_COUNT, '');

        pieceIds = [
            OG_FOURD_PIECE_ID,
            OG_PAVEL_PIECE_ID,
            OG_CHISS_PIECE_ID,
            OG_ANONY_PIECE_ID
        ];
    }

    function _setNewDependencies(
        address __nftCult,
        address __nftCultForgeComponents
    ) internal {
        if (__nftCult != address(0)) {
            _nftCult = INFTCult_ForTheGallery(__nftCult);
        }

        if (__nftCultForgeComponents != address(0)) {
            _nftCultForgeComponents = INFTCForgeComponents_ForTheGallery(
                __nftCultForgeComponents
            );
        }
    }

    function getClaimsRemaining(uint256 nftCultTokenId)
        external
        view
        returns (uint256)
    {
        // Uninitialized
        if (_cache[_cacheIndexer][nftCultTokenId] == 0) {
            return _getForgeComponentYieldFromMapping(nftCultTokenId) >> 128;
        }

        // Initialized
        uint256 statsBitMap = _cache[_cacheIndexer][nftCultTokenId];
        return uint64(statsBitMap >> 128) - uint64(statsBitMap >> 192);
    }

    function getEmberRemaining(uint256 nftCultTokenId)
        external
        view
        returns (uint256)
    {
        // Uninitialized
        if (_cache[_cacheIndexer][nftCultTokenId] == 0) {
            return uint128(_getForgeComponentYieldFromMapping(nftCultTokenId));
        }

        // Initialized
        uint256 statsBitMap = _cache[_cacheIndexer][nftCultTokenId];
        return uint64(statsBitMap) - uint64(statsBitMap >> 64);
    }

    function isEmber(uint256 pieceId) external view returns (bool) {
        return _emberLookup[pieceId] == 1;
    }

    function setMintingState(
        bool __claimingActive,
        uint256 __pricePerToken,
        uint256 __emberPieceId,
        uint256 __cacheIndexer
    ) external onlyOwner {
        claimingActive = __claimingActive;

        if (__pricePerToken > 0) {
            // note: can't ever go back to zero.
            pricePerToken = __pricePerToken;
        }

        if (__emberPieceId > 0) {
            emberPieceId = __emberPieceId;
            emberIds.push(emberPieceId);
            _emberLookup[emberPieceId] = 1;
        }

        if (__cacheIndexer > 0) {
            _cacheIndexer = __cacheIndexer;
        }
    }

    function setNewURI(string memory newURI) external onlyOwner {
        _setURI(newURI);
    }

    function setNewDependencies(
        address __nftCult,
        address __nftCultForgeComponents
    ) external onlyOwner {
        _setNewDependencies(__nftCult, __nftCultForgeComponents);
    }

    function withdraw() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    function addPieceToCollection(uint256 pieceId, uint256 tokenQuantity)
        external
        onlyOwner
    {
        require(balanceOf(msg.sender, pieceId) == 0, 'Cant add to collection');

        _mint(msg.sender, pieceId, tokenQuantity, '');

        pieceIds.push(pieceId);
    }

    function burnRemainingPieces(uint256 pieceId) external onlyOwner {
        uint256 balance = balanceOf(msg.sender, pieceId);

        _burn(msg.sender, pieceId, balance);
    }

    function claimPiecesInCollection(
        uint256 nftCultTokenId,
        uint256 pieceId,
        uint256 count
    ) external payable nonReentrant {
        require(claimingActive == true, 'Claiming disabled');
        require(exists(pieceId), 'Invalid piece to claim');
        require(
            _nftCult.ownerOf(nftCultTokenId) == msg.sender,
            'Cult token not owned'
        );

        uint256 statsBitMap = _cache[_cacheIndexer][nftCultTokenId];
        if (statsBitMap == 0) {
            // We havent seen this token before, so we must look up.
            statsBitMap = _getForgeComponentYieldFromMapping(nftCultTokenId);
        }
        require(statsBitMap > 0, 'Invalid forge component Id');

        uint64 claimYield = uint64(statsBitMap >> 128);
        uint64 claimsConsumed = uint64(statsBitMap >> 192);

        require(claimYield > 0, 'Cult token has no claims');
        require(claimsConsumed + count <= claimYield, 'No claims remaining');

        // Transfer the pieces.
        _safeTransferFrom(owner(), msg.sender, pieceId, count, '');

        // A fun bonus.
        uint64 emberYield = uint64(statsBitMap);
        uint64 embersReceived = uint64(statsBitMap >> 64);
        uint256 emberCount;
        if (emberYield > embersReceived) {
            emberCount = emberYield - embersReceived;
            _safeTransferFrom(
                owner(),
                msg.sender,
                emberPieceId,
                emberCount,
                ''
            );
        }

        _cache[_cacheIndexer][nftCultTokenId] =
            statsBitMap +
            (count << 192) +
            (emberCount << 64);
    }

    function batchClaimPiecesInCollection(
        uint256[] calldata nftCultTokens,
        uint256[] calldata pieceIdsToClaim,
        uint256[] calldata pieceCounts,
        bool useAlter
    ) external payable nonReentrant {
        require(claimingActive == true, 'Claiming disabled');
        require(nftCultTokens.length > 0, 'Must have claims');
        require(
            nftCultTokens.length == pieceIdsToClaim.length &&
                nftCultTokens.length == pieceCounts.length,
            'Bad inputs'
        );

        uint256 perTokenStatsBitMap;

        // value array since out of local var space.
        uint64[4] memory perToken;
        //uint256 perTokenPieceCount;
        //uint256 perTokenClaimYield;
        //uint256 perTokenClaimsConsumed;
        //uint256 perTokenAvailableEmbers;

        uint256 bonusEmber;

        uint256[] memory idsArr = new uint256[](nftCultTokens.length + 1);
        uint256[] memory countArr = new uint256[](nftCultTokens.length + 1);

        // Process each token one at a time. A token can be in the list multiple times if one of the claims is incomplete.
        for (uint256 i = 0; i < nftCultTokens.length; i++) {
            perToken[0] = uint64(pieceCounts[i]); // requested count

            require(exists(pieceIdsToClaim[i]), 'Invalid piece to claim');
            require(
                _nftCult.ownerOf(nftCultTokens[i]) == msg.sender,
                'Cult token not owned'
            );

            perTokenStatsBitMap = _cache[_cacheIndexer][nftCultTokens[i]];

            if (perTokenStatsBitMap == 0) {
                // We havent seen this token before, so we must look up.
                perTokenStatsBitMap = _getForgeComponentYieldFromMapping(
                    nftCultTokens[i]
                );
            }
            require(perTokenStatsBitMap > 0, 'Invalid forge component Id');

            perToken[1] = uint64(perTokenStatsBitMap >> 128); // yield
            perToken[2] = uint64(perTokenStatsBitMap >> 192); // consumed

            require(perToken[1] > 0, 'Cult token has no claims');
            require(
                perToken[2] + perToken[0] <= perToken[1],
                'No claims remaining'
            );

            if (pieceIdsToClaim[i] == emberPieceId) {
                require(useAlter, 'Use alter to claim ember.');
            }

            idsArr[i] = pieceIdsToClaim[i];
            countArr[i] = perToken[0];

            perToken[3] = uint64(_computeBonusEmber(perTokenStatsBitMap));

            bonusEmber += perToken[3];

            // update the token stats.
            _cache[_cacheIndexer][nftCultTokens[i]] =
                perTokenStatsBitMap +
                (uint256(perToken[0]) << 192) +
                (uint256(perToken[3]) << 64); // dont include alter ember here.
        }

        // use the last slot in the array for ember. this will be slightly inefficient if no ember claimed, but that should be the
        // less likely case.
        idsArr[nftCultTokens.length] = emberPieceId;
        countArr[nftCultTokens.length] = bonusEmber;

        // now do the transfers all as a batch.
        _safeBatchTransferFrom(owner(), msg.sender, idsArr, countArr, '');
    }

    function _computeBonusEmber(uint256 bitMap)
        internal
        pure
        returns (uint256)
    {
        uint256 perTokenEmberYield = uint64(bitMap);
        uint256 pertokenEmbersRecieved = uint64(bitMap >> 64);

        uint256 bonusEmber;
        if (perTokenEmberYield > pertokenEmbersRecieved) {
            bonusEmber = perTokenEmberYield - pertokenEmbersRecieved;
        }

        return bonusEmber;
    }
}

File 3 of 15 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates weither any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_mint}.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override {
        super._mint(account, id, amount, data);
        _totalSupply[id] += amount;
    }

    /**
     * @dev See {ERC1155-_mintBatch}.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._mintBatch(to, ids, amounts, data);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] += amounts[i];
        }
    }

    /**
     * @dev See {ERC1155-_burn}.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual override {
        super._burn(account, id, amount);
        _totalSupply[id] -= amount;
    }

    /**
     * @dev See {ERC1155-_burnBatch}.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual override {
        super._burnBatch(account, ids, amounts);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] -= amounts[i];
        }
    }
}

File 4 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 15 : INFTCult_ForTheGallery.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/**
 * @title INFTCult_V1_Thin
 * @author @NiftyMike, NFT Culture
 * @dev Super thin interface definition to enable ownership checking and forge component
 * retrieval.
 */
interface INFTCult_ForTheGallery {
    function ownerOf(uint256 tokenId) external view returns (address);

    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 7 of 15 : INFTCForgeComponents_ForTheGallery.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/**
 * @title INFTCForgeComponents_ForTheGallery
 * @author @NiftyMike, NFT Culture
 * @dev Interface definition for contracts providing forge component lookup capabilities.
 */
interface INFTCForgeComponents_ForTheGallery {
    function getYieldFromMapping(string calldata tokenUri) external view returns (uint256);
}

File 8 of 15 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/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._
 */
contract ERC1155 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;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

    /**
     * @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 {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) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @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 Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @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 9 of 15 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/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 10 of 15 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/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 11 of 15 : 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 12 of 15 : 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 13 of 15 : 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 14 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 15 of 15 : 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": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":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"},{"inputs":[],"name":"EMBER_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_CULT_TOKEN_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OG_ANONY_PIECE_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OG_CHISS_PIECE_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OG_FOURD_PIECE_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OG_PAVEL_PIECE_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pieceId","type":"uint256"},{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"addPieceToCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":"uint256[]","name":"nftCultTokens","type":"uint256[]"},{"internalType":"uint256[]","name":"pieceIdsToClaim","type":"uint256[]"},{"internalType":"uint256[]","name":"pieceCounts","type":"uint256[]"},{"internalType":"bool","name":"useAlter","type":"bool"}],"name":"batchClaimPiecesInCollection","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pieceId","type":"uint256"}],"name":"burnRemainingPieces","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftCultTokenId","type":"uint256"},{"internalType":"uint256","name":"pieceId","type":"uint256"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"claimPiecesInCollection","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"emberIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emberPieceId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftCultTokenId","type":"uint256"}],"name":"getClaimsRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftCultTokenId","type":"uint256"}],"name":"getEmberRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uint256","name":"pieceId","type":"uint256"}],"name":"isEmber","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pieceIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"__claimingActive","type":"bool"},{"internalType":"uint256","name":"__pricePerToken","type":"uint256"},{"internalType":"uint256","name":"__emberPieceId","type":"uint256"},{"internalType":"uint256","name":"__cacheIndexer","type":"uint256"}],"name":"setMintingState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"__nftCult","type":"address"},{"internalType":"address","name":"__nftCultForgeComponents","type":"address"}],"name":"setNewDependencies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setNewURI","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":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260016010553480156200001657600080fd5b506040518060400160405280601a81526020017f5468652047616c6c657279206279204e46542043756c747572650000000000008152506040518060800160405280605a815260200162003fe6605a91396000735d75c1b764afd64fe02a28b5eff79e2f81db5bad738c811d9e8f4b734066cf2832168421504fa441b0836200009f816200023e565b50620000ab3362000257565b60016005558451620000c5906006906020880190620006ac565b50600783905560006009819055600a805460018181019092557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a801829055908052600e6020527fe710864318d4a32f37d6ce54cb3fadbef648dd12d8dbdf53973564d56b7f881c55620001398282620002a9565b620001633360095464e8d4a51000604051806020016040528060008152506200030660201b60201c565b62000189336001610d05604051806020016040528060008152506200030660201b60201c565b620001af336002610d05604051806020016040528060008152506200030660201b60201c565b620001d5336003610d05604051806020016040528060008152506200030660201b60201c565b620001fb336004610d05604051806020016040528060008152506200030660201b60201c565b60405180608001604052806001815260200160028152602001600381526020016004815250600b906004620002329291906200073b565b505050505050620009cf565b805162000253906002906020840190620006ac565b5050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821615620002d557600c80546001600160a01b0319166001600160a01b0384161790555b6001600160a01b038116156200025357600d80546001600160a01b0383166001600160a01b03199091161790555050565b6200031f848484846200034a60201b62001e411760201c565b600083815260036020526040812080548492906200033f9084906200078f565b909155505050505050565b6001600160a01b038416620003b05760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084015b60405180910390fd5b33620003d681600087620003c4886200046a565b620003cf886200046a565b5050505050565b6000848152602081815260408083206001600160a01b038916845290915281208054859290620004089084906200078f565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4620003cf81600087878787620004c0565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110620004a757620004a7620007b6565b602090810291909101015292915050565b505050505050565b620004df846001600160a01b0316620006a660201b62001f671760201c565b15620004b85760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906200051b90899089908890889088906004016200081c565b602060405180830381600087803b1580156200053657600080fd5b505af192505050801562000569575060408051601f3d908101601f19168201909252620005669181019062000863565b60015b6200062a576200057862000896565b806308c379a01415620005b9575062000590620008ee565b806200059d5750620005bb565b8060405162461bcd60e51b8152600401620003a791906200097d565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401620003a7565b6001600160e01b0319811663f23a6e6160e01b146200069d5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401620003a7565b50505050505050565b3b151590565b828054620006ba9062000992565b90600052602060002090601f016020900481019282620006de576000855562000729565b82601f10620006f957805160ff191683800117855562000729565b8280016001018555821562000729579182015b82811115620007295782518255916020019190600101906200070c565b506200073792915062000778565b5090565b828054828255906000526020600020908101928215620007295791602002820182811115620007295782518255916020019190600101906200070c565b5b8082111562000737576000815560010162000779565b60008219821115620007b157634e487b7160e01b600052601160045260246000fd5b500190565b634e487b7160e01b600052603260045260246000fd5b6000815180845260005b81811015620007f457602081850181015186830182015201620007d6565b8181111562000807576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906200085890830184620007cc565b979650505050505050565b6000602082840312156200087657600080fd5b81516001600160e01b0319811681146200088f57600080fd5b9392505050565b600060033d1115620008b05760046000803e5060005160e01c5b90565b601f8201601f191681016001600160401b0381118282101715620008e757634e487b7160e01b600052604160045260246000fd5b6040525050565b600060443d1015620008fd5790565b6040516003193d81016004833e81513d6001600160401b0380831160248401831017156200092d57505050505090565b8285019150815181811115620009465750505050505090565b843d8701016020828501011115620009615750505050505090565b6200097260208286010187620008b3565b509095945050505050565b6020815260006200088f6020830184620007cc565b600181811c90821680620009a757607f821691505b60208210811415620009c957634e487b7160e01b600052602260045260246000fd5b50919050565b61360780620009df6000396000f3fe60806040526004361061024e5760003560e01c8063715018a611610138578063b82f12ca116100b0578063cfecc6de1161007f578063e985e9c511610064578063e985e9c514610654578063f242432a1461069d578063f2fde38b146106bd57600080fd5b8063cfecc6de1461061b578063dc526f8e1461063b57600080fd5b8063b82f12ca146105a5578063bbb00e95146105b8578063bd85b039146105ce578063c2ec239f146105fb57600080fd5b806389d3800711610107578063a22cb465116100ec578063a22cb46514610550578063b15d770a14610570578063b44c11831461058557600080fd5b806389d38007146105085780638da5cb5b1461052857600080fd5b8063715018a6146104a75780637b1b1de6146104bc5780637e67209c146104d2578063828717be146104e857600080fd5b8063383f9d96116101cb5780634e1273f41161019a5780635192c6fe1161017f5780635192c6fe1461044d578063538eff331461046d5780636ccd5e501461048d57600080fd5b80634e1273f4146103f15780634f558e791461041e57600080fd5b8063383f9d961461039f5780633cc55c10146103b45780633ccfd60b146103c9578063408b5695146103de57600080fd5b80630e89341c116102225780631b990fc6116102075780631b990fc61461032f5780631c6fef8d1461034f5780632eb2c2d61461037f57600080fd5b80630e89341c146102fa5780631b4a87ba1461031a57600080fd5b8062fdd58e1461025357806301ffc9a71461028657806306fdde03146102b65780630e709b1b146102d8575b600080fd5b34801561025f57600080fd5b5061027361026e366004612b98565b6106dd565b6040519081526020015b60405180910390f35b34801561029257600080fd5b506102a66102a1366004612bda565b610786565b604051901515815260200161027d565b3480156102c257600080fd5b506102cb610823565b60405161027d9190612c56565b3480156102e457600080fd5b506102f86102f3366004612d1a565b6108b1565b005b34801561030657600080fd5b506102cb610315366004612d63565b610917565b34801561032657600080fd5b50610273600281565b34801561033b57600080fd5b5061027361034a366004612d63565b6109ab565b34801561035b57600080fd5b506102a661036a366004612d63565b6000908152600e602052604090205460011490565b34801561038b57600080fd5b506102f861039a366004612e31565b610a1f565b3480156103ab57600080fd5b50610273600181565b3480156103c057600080fd5b50610273600481565b3480156103d557600080fd5b506102f8610ac1565b6102f86103ec366004612f40565b610b47565b3480156103fd57600080fd5b5061041161040c366004612feb565b6112c9565b60405161027d91906130f3565b34801561042a57600080fd5b506102a6610439366004612d63565b600090815260036020526040902054151590565b34801561045957600080fd5b506102f8610468366004612d63565b611407565b34801561047957600080fd5b506102f8610488366004613106565b61147e565b34801561049957600080fd5b506008546102a69060ff1681565b3480156104b357600080fd5b506102f86114e2565b3480156104c857600080fd5b5061027360075481565b3480156104de57600080fd5b5061027360095481565b3480156104f457600080fd5b506102f861050336600461313f565b611548565b34801561051457600080fd5b506102f8610523366004613161565b61164a565b34801561053457600080fd5b506004546040516001600160a01b03909116815260200161027d565b34801561055c57600080fd5b506102f861056b36600461319a565b61171c565b34801561057c57600080fd5b50610273600381565b34801561059157600080fd5b506102736105a0366004612d63565b611807565b6102f86105b33660046131cf565b611876565b3480156105c457600080fd5b50610273610d0581565b3480156105da57600080fd5b506102736105e9366004612d63565b60009081526003602052604090205490565b34801561060757600080fd5b50610273610616366004612d63565b611c96565b34801561062757600080fd5b50610273610636366004612d63565b611cb7565b34801561064757600080fd5b5061027364e8d4a5100081565b34801561066057600080fd5b506102a661066f366004613106565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156106a957600080fd5b506102f86106b83660046131fb565b611cc7565b3480156106c957600080fd5b506102f86106d8366004613264565b611d62565b60006001600160a01b0383166107605760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b031982167fd9b67a260000000000000000000000000000000000000000000000000000000014806107e957506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061081d57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6006805461083090613281565b80601f016020809104026020016040519081016040528092919081815260200182805461085c90613281565b80156108a95780601f1061087e576101008083540402835291602001916108a9565b820191906000526020600020905b81548152906001019060200180831161088c57829003601f168201915b505050505081565b6004546001600160a01b0316331461090b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b61091481611f6d565b50565b60606002805461092690613281565b80601f016020809104026020016040519081016040528092919081815260200182805461095290613281565b801561099f5780601f106109745761010080835404028352916020019161099f565b820191906000526020600020905b81548152906001019060200180831161098257829003601f168201915b50505050509050919050565b6010546000908152600f602090815260408083208484529091528120546109df5760806109d783611f80565b901c92915050565b6010546000908152600f60209081526040808320858452909152902054610a0e60c082901c608083901c6132d2565b67ffffffffffffffff169392505050565b6001600160a01b038516331480610a3b5750610a3b853361066f565b610aad5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610757565b610aba8585858585612094565b5050505050565b6004546001600160a01b03163314610b1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b60405133904780156108fc02916000818181858888f19350505050158015610914573d6000803e3d6000fd5b60026005541415610b9a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610757565b600260055560085460ff161515600114610bf65760405162461bcd60e51b815260206004820152601160248201527f436c61696d696e672064697361626c65640000000000000000000000000000006044820152606401610757565b85610c435760405162461bcd60e51b815260206004820152601060248201527f4d757374206861766520636c61696d73000000000000000000000000000000006044820152606401610757565b8584148015610c5157508582145b610c9d5760405162461bcd60e51b815260206004820152600a60248201527f42616420696e70757473000000000000000000000000000000000000000000006044820152606401610757565b6000610ca7612acc565b600080610cb58a60016132fb565b67ffffffffffffffff811115610ccd57610ccd612c69565b604051908082528060200260200182016040528015610cf6578160200160208202803683370190505b5090506000610d068b60016132fb565b67ffffffffffffffff811115610d1e57610d1e612c69565b604051908082528060200260200182016040528015610d47578160200160208202803683370190505b50905060005b8b81101561124357888882818110610d6757610d67613313565b9050602002013585600060048110610d8157610d81613313565b67ffffffffffffffff9092166020929092020152610dc58b8b83818110610daa57610daa613313565b90506020020135600090815260036020526040902054151590565b610e115760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420706965636520746f20636c61696d000000000000000000006044820152606401610757565b600c5433906001600160a01b0316636352211e8f8f85818110610e3657610e36613313565b905060200201356040518263ffffffff1660e01b8152600401610e5b91815260200190565b60206040518083038186803b158015610e7357600080fd5b505afa158015610e87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eab9190613329565b6001600160a01b031614610f015760405162461bcd60e51b815260206004820152601460248201527f43756c7420746f6b656e206e6f74206f776e65640000000000000000000000006044820152606401610757565b6010546000908152600f60205260408120908e8e84818110610f2557610f25613313565b9050602002013581526020019081526020016000205495508560001415610f6a57610f678d8d83818110610f5b57610f5b613313565b90506020020135611f80565b95505b60008611610fba5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420666f72676520636f6d706f6e656e742049640000000000006044820152606401610757565b67ffffffffffffffff608087901c166020860181905260c087901c60408701526110265760405162461bcd60e51b815260206004820152601860248201527f43756c7420746f6b656e20686173206e6f20636c61696d7300000000000000006044820152606401610757565b60208501518551604087015167ffffffffffffffff909216916110499190613346565b67ffffffffffffffff1611156110a15760405162461bcd60e51b815260206004820152601360248201527f4e6f20636c61696d732072656d61696e696e67000000000000000000000000006044820152606401610757565b6009548b8b838181106110b6576110b6613313565b90506020020135141561111057866111105760405162461bcd60e51b815260206004820152601960248201527f55736520616c74657220746f20636c61696d20656d6265722e000000000000006044820152606401610757565b8a8a8281811061112257611122613313565b9050602002013583828151811061113b5761113b613313565b6020908102919091010152846000602002015167ffffffffffffffff1682828151811061116a5761116a613313565b60200260200101818152505061117f86612307565b67ffffffffffffffff166060860181905261119a90856132fb565b6060860151865191955060401b6fffffffffffffffff000000000000000016906111e99060c01b7fffffffffffffffff00000000000000000000000000000000000000000000000016886132fb565b6111f391906132fb565b6010546000908152600f60205260408120908f8f8581811061121757611217613313565b90506020020135815260200190815260200160002081905550808061123b90613372565b915050610d4d565b50600954825183908d90811061125b5761125b613313565b60200260200101818152505082818d8d90508151811061127d5761127d613313565b6020026020010181815250506112b661129e6004546001600160a01b031690565b33848460405180602001604052806000815250612094565b5050600160055550505050505050505050565b606081518351146113425760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610757565b6000835167ffffffffffffffff81111561135e5761135e612c69565b604051908082528060200260200182016040528015611387578160200160208202803683370190505b50905060005b84518110156113ff576113d28582815181106113ab576113ab613313565b60200260200101518583815181106113c5576113c5613313565b60200260200101516106dd565b8282815181106113e4576113e4613313565b60209081029190910101526113f881613372565b905061138d565b509392505050565b6004546001600160a01b031633146114615760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b600061146d33836106dd565b905061147a33838361233a565b5050565b6004546001600160a01b031633146114d85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b61147a828261236d565b6004546001600160a01b0316331461153c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b61154660006123e2565b565b6004546001600160a01b031633146115a25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b6115ac33836106dd565b156115f95760405162461bcd60e51b815260206004820152601660248201527f43616e742061646420746f20636f6c6c656374696f6e000000000000000000006044820152606401610757565b61161433838360405180602001604052806000815250612441565b50600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90155565b6004546001600160a01b031633146116a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b6008805460ff191685151517905582156116be5760078390555b811561170a576009829055600a805460018181019092557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8018390556000838152600e60205260409020555b80156117165760108190555b50505050565b336001600160a01b038316141561179b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610757565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6010546000908152600f602090815260408083208484529091528120546118495761183182611f80565b6fffffffffffffffffffffffffffffffff1692915050565b6010546000908152600f60209081526040808320858452909152908190205490610a0e9082901c826132d2565b600260055414156118c95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610757565b600260055560085460ff1615156001146119255760405162461bcd60e51b815260206004820152601160248201527f436c61696d696e672064697361626c65640000000000000000000000000000006044820152606401610757565b6000828152600360205260409020546119805760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420706965636520746f20636c61696d000000000000000000006044820152606401610757565b600c546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810185905233916001600160a01b031690636352211e9060240160206040518083038186803b1580156119dd57600080fd5b505afa1580156119f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a159190613329565b6001600160a01b031614611a6b5760405162461bcd60e51b815260206004820152601460248201527f43756c7420746f6b656e206e6f74206f776e65640000000000000000000000006044820152606401610757565b6010546000908152600f6020908152604080832086845290915290205480611a9957611a9684611f80565b90505b60008111611ae95760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420666f72676520636f6d706f6e656e742049640000000000006044820152606401610757565b608081901c60c082901c67ffffffffffffffff8216611b4a5760405162461bcd60e51b815260206004820152601860248201527f43756c7420746f6b656e20686173206e6f20636c61696d7300000000000000006044820152606401610757565b8167ffffffffffffffff16848267ffffffffffffffff16611b6b91906132fb565b1115611bb95760405162461bcd60e51b815260206004820152601360248201527f4e6f20636c61696d732072656d61696e696e67000000000000000000000000006044820152606401610757565b611be6611bce6004546001600160a01b031690565b33878760405180602001604052806000815250612476565b82604081901c600067ffffffffffffffff8083169084161115611c4857611c0d82846132d2565b67ffffffffffffffff169050611c48611c2e6004546001600160a01b031690565b336009548460405180602001604052806000815250612476565b604081901b611c5b60c089901b886132fb565b611c6591906132fb565b6010546000908152600f602090815260408083209c83529b9052999099209890985550506001600555505050505050565b600a8181548110611ca657600080fd5b600091825260209091200154905081565b600b8181548110611ca657600080fd5b6001600160a01b038516331480611ce35750611ce3853361066f565b611d555760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610757565b610aba8585858585612476565b6004546001600160a01b03163314611dbc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b6001600160a01b038116611e385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610757565b610914816123e2565b6001600160a01b038416611ebd5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610757565b33611ed781600087611ece88612614565b610aba88612614565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611f079084906132fb565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610aba8160008787878761265f565b3b151590565b805161147a906002906020840190612aea565b600d54600c546040517fc87b56dd000000000000000000000000000000000000000000000000000000008152600481018490526000926001600160a01b0390811692638fe35c209291169063c87b56dd9060240160006040518083038186803b158015611fec57600080fd5b505afa158015612000573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612028919081019061338d565b6040518263ffffffff1660e01b81526004016120449190612c56565b60206040518083038186803b15801561205c57600080fd5b505afa158015612070573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d919061340f565b815183511461210b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610757565b6001600160a01b03841661216f5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610757565b3360005b845181101561229957600085828151811061219057612190613313565b6020026020010151905060008583815181106121ae576121ae613313565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156122415760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610757565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061227e9084906132fb565b925050819055505050508061229290613372565b9050612173565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516122e9929190613428565b60405180910390a46122ff818787878787612814565b505050505050565b600067ffffffffffffffff80831690604084901c1682818311156123325761232f8284613456565b90505b949350505050565b61234583838361291f565b60008281526003602052604081208054839290612363908490613456565b9091555050505050565b6001600160a01b038216156123a557600c805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384161790555b6001600160a01b0381161561147a57600d80546001600160a01b03831673ffffffffffffffffffffffffffffffffffffffff199091161790555050565b600480546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61244d84848484611e41565b6000838152600360205260408120805484929061246b9084906132fb565b909155505050505050565b6001600160a01b0384166124da5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610757565b336124ea818787611ece88612614565b6000848152602081815260408083206001600160a01b038a1684529091529020548381101561256e5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610757565b6000858152602081815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906125ab9084906132fb565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461260b82888888888861265f565b50505050505050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061264e5761264e613313565b602090810291909101015292915050565b6001600160a01b0384163b156122ff5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906126a3908990899088908890889060040161346d565b602060405180830381600087803b1580156126bd57600080fd5b505af19250505080156126ed575060408051601f3d908101601f191682019092526126ea918101906134b0565b60015b6127a3576126f96134cd565b806308c379a01415612733575061270e6134e9565b806127195750612735565b8060405162461bcd60e51b81526004016107579190612c56565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610757565b6001600160e01b0319811663f23a6e6160e01b1461260b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610757565b6001600160a01b0384163b156122ff5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906128589089908990889088908890600401613573565b602060405180830381600087803b15801561287257600080fd5b505af19250505080156128a2575060408051601f3d908101601f1916820190925261289f918101906134b0565b60015b6128ae576126f96134cd565b6001600160e01b0319811663bc197c8160e01b1461260b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610757565b6001600160a01b03831661299b5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610757565b336129cb818560006129ac87612614565b6129b587612614565b5050604080516020810190915260009052505050565b6000838152602081815260408083206001600160a01b038816845290915290205482811015612a615760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610757565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b60405180608001604052806004906020820280368337509192915050565b828054612af690613281565b90600052602060002090601f016020900481019282612b185760008555612b5e565b82601f10612b3157805160ff1916838001178555612b5e565b82800160010185558215612b5e579182015b82811115612b5e578251825591602001919060010190612b43565b50612b6a929150612b6e565b5090565b5b80821115612b6a5760008155600101612b6f565b6001600160a01b038116811461091457600080fd5b60008060408385031215612bab57600080fd5b8235612bb681612b83565b946020939093013593505050565b6001600160e01b03198116811461091457600080fd5b600060208284031215612bec57600080fd5b8135612bf781612bc4565b9392505050565b60005b83811015612c19578181015183820152602001612c01565b838111156117165750506000910152565b60008151808452612c42816020860160208601612bfe565b601f01601f19169290920160200192915050565b602081526000612bf76020830184612c2a565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715612ca557612ca5612c69565b6040525050565b600067ffffffffffffffff821115612cc657612cc6612c69565b50601f01601f191660200190565b6000612cdf83612cac565b604051612cec8282612c7f565b809250848152858585011115612d0157600080fd5b8484602083013760006020868301015250509392505050565b600060208284031215612d2c57600080fd5b813567ffffffffffffffff811115612d4357600080fd5b8201601f81018413612d5457600080fd5b61233284823560208401612cd4565b600060208284031215612d7557600080fd5b5035919050565b600067ffffffffffffffff821115612d9657612d96612c69565b5060051b60200190565b600082601f830112612db157600080fd5b81356020612dbe82612d7c565b604051612dcb8282612c7f565b83815260059390931b8501820192828101915086841115612deb57600080fd5b8286015b84811015612e065780358352918301918301612def565b509695505050505050565b600082601f830112612e2257600080fd5b612bf783833560208501612cd4565b600080600080600060a08688031215612e4957600080fd5b8535612e5481612b83565b94506020860135612e6481612b83565b9350604086013567ffffffffffffffff80821115612e8157600080fd5b612e8d89838a01612da0565b94506060880135915080821115612ea357600080fd5b612eaf89838a01612da0565b93506080880135915080821115612ec557600080fd5b50612ed288828901612e11565b9150509295509295909350565b60008083601f840112612ef157600080fd5b50813567ffffffffffffffff811115612f0957600080fd5b6020830191508360208260051b8501011115612f2457600080fd5b9250929050565b80358015158114612f3b57600080fd5b919050565b60008060008060008060006080888a031215612f5b57600080fd5b873567ffffffffffffffff80821115612f7357600080fd5b612f7f8b838c01612edf565b909950975060208a0135915080821115612f9857600080fd5b612fa48b838c01612edf565b909750955060408a0135915080821115612fbd57600080fd5b50612fca8a828b01612edf565b9094509250612fdd905060608901612f2b565b905092959891949750929550565b60008060408385031215612ffe57600080fd5b823567ffffffffffffffff8082111561301657600080fd5b818501915085601f83011261302a57600080fd5b8135602061303782612d7c565b6040516130448282612c7f565b83815260059390931b850182019282810191508984111561306457600080fd5b948201945b8386101561308b57853561307c81612b83565b82529482019490820190613069565b965050860135925050808211156130a157600080fd5b506130ae85828601612da0565b9150509250929050565b600081518084526020808501945080840160005b838110156130e8578151875295820195908201906001016130cc565b509495945050505050565b602081526000612bf760208301846130b8565b6000806040838503121561311957600080fd5b823561312481612b83565b9150602083013561313481612b83565b809150509250929050565b6000806040838503121561315257600080fd5b50508035926020909101359150565b6000806000806080858703121561317757600080fd5b61318085612f2b565b966020860135965060408601359560600135945092505050565b600080604083850312156131ad57600080fd5b82356131b881612b83565b91506131c660208401612f2b565b90509250929050565b6000806000606084860312156131e457600080fd5b505081359360208301359350604090920135919050565b600080600080600060a0868803121561321357600080fd5b853561321e81612b83565b9450602086013561322e81612b83565b93506040860135925060608601359150608086013567ffffffffffffffff81111561325857600080fd5b612ed288828901612e11565b60006020828403121561327657600080fd5b8135612bf781612b83565b600181811c9082168061329557607f821691505b602082108114156132b657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600067ffffffffffffffff838116908316818110156132f3576132f36132bc565b039392505050565b6000821982111561330e5761330e6132bc565b500190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561333b57600080fd5b8151612bf781612b83565b600067ffffffffffffffff808316818516808303821115613369576133696132bc565b01949350505050565b6000600019821415613386576133866132bc565b5060010190565b60006020828403121561339f57600080fd5b815167ffffffffffffffff8111156133b657600080fd5b8201601f810184136133c757600080fd5b80516133d281612cac565b6040516133df8282612c7f565b8281528660208486010111156133f457600080fd5b613405836020830160208701612bfe565b9695505050505050565b60006020828403121561342157600080fd5b5051919050565b60408152600061343b60408301856130b8565b828103602084015261344d81856130b8565b95945050505050565b600082821015613468576134686132bc565b500390565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a060808301526134a560a0830184612c2a565b979650505050505050565b6000602082840312156134c257600080fd5b8151612bf781612bc4565b600060033d11156134e65760046000803e5060005160e01c5b90565b600060443d10156134f75790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561352757505050505090565b828501915081518181111561353f5750505050505090565b843d87010160208285010111156135595750505050505090565b61356860208286010187612c7f565b509095945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261359f60a08301866130b8565b82810360608401526135b181866130b8565b905082810360808401526135c58185612c2a565b9897505050505050505056fea2646970667358221220a5971804d4b7c4270b596d26522496816f0b81a14df7afe28bd02cef073638ab64736f6c6343000809003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d4e725069385659626a6f7248394d733442536855466572416e3743664736434a715763535262356f4e3462572f7b69647d2e6a736f6e

Deployed Bytecode

0x60806040526004361061024e5760003560e01c8063715018a611610138578063b82f12ca116100b0578063cfecc6de1161007f578063e985e9c511610064578063e985e9c514610654578063f242432a1461069d578063f2fde38b146106bd57600080fd5b8063cfecc6de1461061b578063dc526f8e1461063b57600080fd5b8063b82f12ca146105a5578063bbb00e95146105b8578063bd85b039146105ce578063c2ec239f146105fb57600080fd5b806389d3800711610107578063a22cb465116100ec578063a22cb46514610550578063b15d770a14610570578063b44c11831461058557600080fd5b806389d38007146105085780638da5cb5b1461052857600080fd5b8063715018a6146104a75780637b1b1de6146104bc5780637e67209c146104d2578063828717be146104e857600080fd5b8063383f9d96116101cb5780634e1273f41161019a5780635192c6fe1161017f5780635192c6fe1461044d578063538eff331461046d5780636ccd5e501461048d57600080fd5b80634e1273f4146103f15780634f558e791461041e57600080fd5b8063383f9d961461039f5780633cc55c10146103b45780633ccfd60b146103c9578063408b5695146103de57600080fd5b80630e89341c116102225780631b990fc6116102075780631b990fc61461032f5780631c6fef8d1461034f5780632eb2c2d61461037f57600080fd5b80630e89341c146102fa5780631b4a87ba1461031a57600080fd5b8062fdd58e1461025357806301ffc9a71461028657806306fdde03146102b65780630e709b1b146102d8575b600080fd5b34801561025f57600080fd5b5061027361026e366004612b98565b6106dd565b6040519081526020015b60405180910390f35b34801561029257600080fd5b506102a66102a1366004612bda565b610786565b604051901515815260200161027d565b3480156102c257600080fd5b506102cb610823565b60405161027d9190612c56565b3480156102e457600080fd5b506102f86102f3366004612d1a565b6108b1565b005b34801561030657600080fd5b506102cb610315366004612d63565b610917565b34801561032657600080fd5b50610273600281565b34801561033b57600080fd5b5061027361034a366004612d63565b6109ab565b34801561035b57600080fd5b506102a661036a366004612d63565b6000908152600e602052604090205460011490565b34801561038b57600080fd5b506102f861039a366004612e31565b610a1f565b3480156103ab57600080fd5b50610273600181565b3480156103c057600080fd5b50610273600481565b3480156103d557600080fd5b506102f8610ac1565b6102f86103ec366004612f40565b610b47565b3480156103fd57600080fd5b5061041161040c366004612feb565b6112c9565b60405161027d91906130f3565b34801561042a57600080fd5b506102a6610439366004612d63565b600090815260036020526040902054151590565b34801561045957600080fd5b506102f8610468366004612d63565b611407565b34801561047957600080fd5b506102f8610488366004613106565b61147e565b34801561049957600080fd5b506008546102a69060ff1681565b3480156104b357600080fd5b506102f86114e2565b3480156104c857600080fd5b5061027360075481565b3480156104de57600080fd5b5061027360095481565b3480156104f457600080fd5b506102f861050336600461313f565b611548565b34801561051457600080fd5b506102f8610523366004613161565b61164a565b34801561053457600080fd5b506004546040516001600160a01b03909116815260200161027d565b34801561055c57600080fd5b506102f861056b36600461319a565b61171c565b34801561057c57600080fd5b50610273600381565b34801561059157600080fd5b506102736105a0366004612d63565b611807565b6102f86105b33660046131cf565b611876565b3480156105c457600080fd5b50610273610d0581565b3480156105da57600080fd5b506102736105e9366004612d63565b60009081526003602052604090205490565b34801561060757600080fd5b50610273610616366004612d63565b611c96565b34801561062757600080fd5b50610273610636366004612d63565b611cb7565b34801561064757600080fd5b5061027364e8d4a5100081565b34801561066057600080fd5b506102a661066f366004613106565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156106a957600080fd5b506102f86106b83660046131fb565b611cc7565b3480156106c957600080fd5b506102f86106d8366004613264565b611d62565b60006001600160a01b0383166107605760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b031982167fd9b67a260000000000000000000000000000000000000000000000000000000014806107e957506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061081d57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6006805461083090613281565b80601f016020809104026020016040519081016040528092919081815260200182805461085c90613281565b80156108a95780601f1061087e576101008083540402835291602001916108a9565b820191906000526020600020905b81548152906001019060200180831161088c57829003601f168201915b505050505081565b6004546001600160a01b0316331461090b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b61091481611f6d565b50565b60606002805461092690613281565b80601f016020809104026020016040519081016040528092919081815260200182805461095290613281565b801561099f5780601f106109745761010080835404028352916020019161099f565b820191906000526020600020905b81548152906001019060200180831161098257829003601f168201915b50505050509050919050565b6010546000908152600f602090815260408083208484529091528120546109df5760806109d783611f80565b901c92915050565b6010546000908152600f60209081526040808320858452909152902054610a0e60c082901c608083901c6132d2565b67ffffffffffffffff169392505050565b6001600160a01b038516331480610a3b5750610a3b853361066f565b610aad5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610757565b610aba8585858585612094565b5050505050565b6004546001600160a01b03163314610b1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b60405133904780156108fc02916000818181858888f19350505050158015610914573d6000803e3d6000fd5b60026005541415610b9a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610757565b600260055560085460ff161515600114610bf65760405162461bcd60e51b815260206004820152601160248201527f436c61696d696e672064697361626c65640000000000000000000000000000006044820152606401610757565b85610c435760405162461bcd60e51b815260206004820152601060248201527f4d757374206861766520636c61696d73000000000000000000000000000000006044820152606401610757565b8584148015610c5157508582145b610c9d5760405162461bcd60e51b815260206004820152600a60248201527f42616420696e70757473000000000000000000000000000000000000000000006044820152606401610757565b6000610ca7612acc565b600080610cb58a60016132fb565b67ffffffffffffffff811115610ccd57610ccd612c69565b604051908082528060200260200182016040528015610cf6578160200160208202803683370190505b5090506000610d068b60016132fb565b67ffffffffffffffff811115610d1e57610d1e612c69565b604051908082528060200260200182016040528015610d47578160200160208202803683370190505b50905060005b8b81101561124357888882818110610d6757610d67613313565b9050602002013585600060048110610d8157610d81613313565b67ffffffffffffffff9092166020929092020152610dc58b8b83818110610daa57610daa613313565b90506020020135600090815260036020526040902054151590565b610e115760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420706965636520746f20636c61696d000000000000000000006044820152606401610757565b600c5433906001600160a01b0316636352211e8f8f85818110610e3657610e36613313565b905060200201356040518263ffffffff1660e01b8152600401610e5b91815260200190565b60206040518083038186803b158015610e7357600080fd5b505afa158015610e87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eab9190613329565b6001600160a01b031614610f015760405162461bcd60e51b815260206004820152601460248201527f43756c7420746f6b656e206e6f74206f776e65640000000000000000000000006044820152606401610757565b6010546000908152600f60205260408120908e8e84818110610f2557610f25613313565b9050602002013581526020019081526020016000205495508560001415610f6a57610f678d8d83818110610f5b57610f5b613313565b90506020020135611f80565b95505b60008611610fba5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420666f72676520636f6d706f6e656e742049640000000000006044820152606401610757565b67ffffffffffffffff608087901c166020860181905260c087901c60408701526110265760405162461bcd60e51b815260206004820152601860248201527f43756c7420746f6b656e20686173206e6f20636c61696d7300000000000000006044820152606401610757565b60208501518551604087015167ffffffffffffffff909216916110499190613346565b67ffffffffffffffff1611156110a15760405162461bcd60e51b815260206004820152601360248201527f4e6f20636c61696d732072656d61696e696e67000000000000000000000000006044820152606401610757565b6009548b8b838181106110b6576110b6613313565b90506020020135141561111057866111105760405162461bcd60e51b815260206004820152601960248201527f55736520616c74657220746f20636c61696d20656d6265722e000000000000006044820152606401610757565b8a8a8281811061112257611122613313565b9050602002013583828151811061113b5761113b613313565b6020908102919091010152846000602002015167ffffffffffffffff1682828151811061116a5761116a613313565b60200260200101818152505061117f86612307565b67ffffffffffffffff166060860181905261119a90856132fb565b6060860151865191955060401b6fffffffffffffffff000000000000000016906111e99060c01b7fffffffffffffffff00000000000000000000000000000000000000000000000016886132fb565b6111f391906132fb565b6010546000908152600f60205260408120908f8f8581811061121757611217613313565b90506020020135815260200190815260200160002081905550808061123b90613372565b915050610d4d565b50600954825183908d90811061125b5761125b613313565b60200260200101818152505082818d8d90508151811061127d5761127d613313565b6020026020010181815250506112b661129e6004546001600160a01b031690565b33848460405180602001604052806000815250612094565b5050600160055550505050505050505050565b606081518351146113425760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610757565b6000835167ffffffffffffffff81111561135e5761135e612c69565b604051908082528060200260200182016040528015611387578160200160208202803683370190505b50905060005b84518110156113ff576113d28582815181106113ab576113ab613313565b60200260200101518583815181106113c5576113c5613313565b60200260200101516106dd565b8282815181106113e4576113e4613313565b60209081029190910101526113f881613372565b905061138d565b509392505050565b6004546001600160a01b031633146114615760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b600061146d33836106dd565b905061147a33838361233a565b5050565b6004546001600160a01b031633146114d85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b61147a828261236d565b6004546001600160a01b0316331461153c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b61154660006123e2565b565b6004546001600160a01b031633146115a25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b6115ac33836106dd565b156115f95760405162461bcd60e51b815260206004820152601660248201527f43616e742061646420746f20636f6c6c656374696f6e000000000000000000006044820152606401610757565b61161433838360405180602001604052806000815250612441565b50600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90155565b6004546001600160a01b031633146116a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b6008805460ff191685151517905582156116be5760078390555b811561170a576009829055600a805460018181019092557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8018390556000838152600e60205260409020555b80156117165760108190555b50505050565b336001600160a01b038316141561179b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610757565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6010546000908152600f602090815260408083208484529091528120546118495761183182611f80565b6fffffffffffffffffffffffffffffffff1692915050565b6010546000908152600f60209081526040808320858452909152908190205490610a0e9082901c826132d2565b600260055414156118c95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610757565b600260055560085460ff1615156001146119255760405162461bcd60e51b815260206004820152601160248201527f436c61696d696e672064697361626c65640000000000000000000000000000006044820152606401610757565b6000828152600360205260409020546119805760405162461bcd60e51b815260206004820152601660248201527f496e76616c696420706965636520746f20636c61696d000000000000000000006044820152606401610757565b600c546040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810185905233916001600160a01b031690636352211e9060240160206040518083038186803b1580156119dd57600080fd5b505afa1580156119f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a159190613329565b6001600160a01b031614611a6b5760405162461bcd60e51b815260206004820152601460248201527f43756c7420746f6b656e206e6f74206f776e65640000000000000000000000006044820152606401610757565b6010546000908152600f6020908152604080832086845290915290205480611a9957611a9684611f80565b90505b60008111611ae95760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420666f72676520636f6d706f6e656e742049640000000000006044820152606401610757565b608081901c60c082901c67ffffffffffffffff8216611b4a5760405162461bcd60e51b815260206004820152601860248201527f43756c7420746f6b656e20686173206e6f20636c61696d7300000000000000006044820152606401610757565b8167ffffffffffffffff16848267ffffffffffffffff16611b6b91906132fb565b1115611bb95760405162461bcd60e51b815260206004820152601360248201527f4e6f20636c61696d732072656d61696e696e67000000000000000000000000006044820152606401610757565b611be6611bce6004546001600160a01b031690565b33878760405180602001604052806000815250612476565b82604081901c600067ffffffffffffffff8083169084161115611c4857611c0d82846132d2565b67ffffffffffffffff169050611c48611c2e6004546001600160a01b031690565b336009548460405180602001604052806000815250612476565b604081901b611c5b60c089901b886132fb565b611c6591906132fb565b6010546000908152600f602090815260408083209c83529b9052999099209890985550506001600555505050505050565b600a8181548110611ca657600080fd5b600091825260209091200154905081565b600b8181548110611ca657600080fd5b6001600160a01b038516331480611ce35750611ce3853361066f565b611d555760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610757565b610aba8585858585612476565b6004546001600160a01b03163314611dbc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610757565b6001600160a01b038116611e385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610757565b610914816123e2565b6001600160a01b038416611ebd5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610757565b33611ed781600087611ece88612614565b610aba88612614565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611f079084906132fb565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610aba8160008787878761265f565b3b151590565b805161147a906002906020840190612aea565b600d54600c546040517fc87b56dd000000000000000000000000000000000000000000000000000000008152600481018490526000926001600160a01b0390811692638fe35c209291169063c87b56dd9060240160006040518083038186803b158015611fec57600080fd5b505afa158015612000573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612028919081019061338d565b6040518263ffffffff1660e01b81526004016120449190612c56565b60206040518083038186803b15801561205c57600080fd5b505afa158015612070573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d919061340f565b815183511461210b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610757565b6001600160a01b03841661216f5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610757565b3360005b845181101561229957600085828151811061219057612190613313565b6020026020010151905060008583815181106121ae576121ae613313565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156122415760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610757565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061227e9084906132fb565b925050819055505050508061229290613372565b9050612173565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516122e9929190613428565b60405180910390a46122ff818787878787612814565b505050505050565b600067ffffffffffffffff80831690604084901c1682818311156123325761232f8284613456565b90505b949350505050565b61234583838361291f565b60008281526003602052604081208054839290612363908490613456565b9091555050505050565b6001600160a01b038216156123a557600c805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384161790555b6001600160a01b0381161561147a57600d80546001600160a01b03831673ffffffffffffffffffffffffffffffffffffffff199091161790555050565b600480546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61244d84848484611e41565b6000838152600360205260408120805484929061246b9084906132fb565b909155505050505050565b6001600160a01b0384166124da5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610757565b336124ea818787611ece88612614565b6000848152602081815260408083206001600160a01b038a1684529091529020548381101561256e5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610757565b6000858152602081815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906125ab9084906132fb565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461260b82888888888861265f565b50505050505050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061264e5761264e613313565b602090810291909101015292915050565b6001600160a01b0384163b156122ff5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906126a3908990899088908890889060040161346d565b602060405180830381600087803b1580156126bd57600080fd5b505af19250505080156126ed575060408051601f3d908101601f191682019092526126ea918101906134b0565b60015b6127a3576126f96134cd565b806308c379a01415612733575061270e6134e9565b806127195750612735565b8060405162461bcd60e51b81526004016107579190612c56565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610757565b6001600160e01b0319811663f23a6e6160e01b1461260b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610757565b6001600160a01b0384163b156122ff5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906128589089908990889088908890600401613573565b602060405180830381600087803b15801561287257600080fd5b505af19250505080156128a2575060408051601f3d908101601f1916820190925261289f918101906134b0565b60015b6128ae576126f96134cd565b6001600160e01b0319811663bc197c8160e01b1461260b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610757565b6001600160a01b03831661299b5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610757565b336129cb818560006129ac87612614565b6129b587612614565b5050604080516020810190915260009052505050565b6000838152602081815260408083206001600160a01b038816845290915290205482811015612a615760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610757565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b60405180608001604052806004906020820280368337509192915050565b828054612af690613281565b90600052602060002090601f016020900481019282612b185760008555612b5e565b82601f10612b3157805160ff1916838001178555612b5e565b82800160010185558215612b5e579182015b82811115612b5e578251825591602001919060010190612b43565b50612b6a929150612b6e565b5090565b5b80821115612b6a5760008155600101612b6f565b6001600160a01b038116811461091457600080fd5b60008060408385031215612bab57600080fd5b8235612bb681612b83565b946020939093013593505050565b6001600160e01b03198116811461091457600080fd5b600060208284031215612bec57600080fd5b8135612bf781612bc4565b9392505050565b60005b83811015612c19578181015183820152602001612c01565b838111156117165750506000910152565b60008151808452612c42816020860160208601612bfe565b601f01601f19169290920160200192915050565b602081526000612bf76020830184612c2a565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715612ca557612ca5612c69565b6040525050565b600067ffffffffffffffff821115612cc657612cc6612c69565b50601f01601f191660200190565b6000612cdf83612cac565b604051612cec8282612c7f565b809250848152858585011115612d0157600080fd5b8484602083013760006020868301015250509392505050565b600060208284031215612d2c57600080fd5b813567ffffffffffffffff811115612d4357600080fd5b8201601f81018413612d5457600080fd5b61233284823560208401612cd4565b600060208284031215612d7557600080fd5b5035919050565b600067ffffffffffffffff821115612d9657612d96612c69565b5060051b60200190565b600082601f830112612db157600080fd5b81356020612dbe82612d7c565b604051612dcb8282612c7f565b83815260059390931b8501820192828101915086841115612deb57600080fd5b8286015b84811015612e065780358352918301918301612def565b509695505050505050565b600082601f830112612e2257600080fd5b612bf783833560208501612cd4565b600080600080600060a08688031215612e4957600080fd5b8535612e5481612b83565b94506020860135612e6481612b83565b9350604086013567ffffffffffffffff80821115612e8157600080fd5b612e8d89838a01612da0565b94506060880135915080821115612ea357600080fd5b612eaf89838a01612da0565b93506080880135915080821115612ec557600080fd5b50612ed288828901612e11565b9150509295509295909350565b60008083601f840112612ef157600080fd5b50813567ffffffffffffffff811115612f0957600080fd5b6020830191508360208260051b8501011115612f2457600080fd5b9250929050565b80358015158114612f3b57600080fd5b919050565b60008060008060008060006080888a031215612f5b57600080fd5b873567ffffffffffffffff80821115612f7357600080fd5b612f7f8b838c01612edf565b909950975060208a0135915080821115612f9857600080fd5b612fa48b838c01612edf565b909750955060408a0135915080821115612fbd57600080fd5b50612fca8a828b01612edf565b9094509250612fdd905060608901612f2b565b905092959891949750929550565b60008060408385031215612ffe57600080fd5b823567ffffffffffffffff8082111561301657600080fd5b818501915085601f83011261302a57600080fd5b8135602061303782612d7c565b6040516130448282612c7f565b83815260059390931b850182019282810191508984111561306457600080fd5b948201945b8386101561308b57853561307c81612b83565b82529482019490820190613069565b965050860135925050808211156130a157600080fd5b506130ae85828601612da0565b9150509250929050565b600081518084526020808501945080840160005b838110156130e8578151875295820195908201906001016130cc565b509495945050505050565b602081526000612bf760208301846130b8565b6000806040838503121561311957600080fd5b823561312481612b83565b9150602083013561313481612b83565b809150509250929050565b6000806040838503121561315257600080fd5b50508035926020909101359150565b6000806000806080858703121561317757600080fd5b61318085612f2b565b966020860135965060408601359560600135945092505050565b600080604083850312156131ad57600080fd5b82356131b881612b83565b91506131c660208401612f2b565b90509250929050565b6000806000606084860312156131e457600080fd5b505081359360208301359350604090920135919050565b600080600080600060a0868803121561321357600080fd5b853561321e81612b83565b9450602086013561322e81612b83565b93506040860135925060608601359150608086013567ffffffffffffffff81111561325857600080fd5b612ed288828901612e11565b60006020828403121561327657600080fd5b8135612bf781612b83565b600181811c9082168061329557607f821691505b602082108114156132b657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600067ffffffffffffffff838116908316818110156132f3576132f36132bc565b039392505050565b6000821982111561330e5761330e6132bc565b500190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561333b57600080fd5b8151612bf781612b83565b600067ffffffffffffffff808316818516808303821115613369576133696132bc565b01949350505050565b6000600019821415613386576133866132bc565b5060010190565b60006020828403121561339f57600080fd5b815167ffffffffffffffff8111156133b657600080fd5b8201601f810184136133c757600080fd5b80516133d281612cac565b6040516133df8282612c7f565b8281528660208486010111156133f457600080fd5b613405836020830160208701612bfe565b9695505050505050565b60006020828403121561342157600080fd5b5051919050565b60408152600061343b60408301856130b8565b828103602084015261344d81856130b8565b95945050505050565b600082821015613468576134686132bc565b500390565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a060808301526134a560a0830184612c2a565b979650505050505050565b6000602082840312156134c257600080fd5b8151612bf781612bc4565b600060033d11156134e65760046000803e5060005160e01c5b90565b600060443d10156134f75790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561352757505050505090565b828501915081518181111561353f5750505050505090565b843d87010160208285010111156135595750505050505090565b61356860208286010187612c7f565b509095945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261359f60a08301866130b8565b82810360608401526135b181866130b8565b905082810360808401526135c58185612c2a565b9897505050505050505056fea2646970667358221220a5971804d4b7c4270b596d26522496816f0b81a14df7afe28bd02cef073638ab64736f6c63430008090033

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.