ETH Price: $3,259.22 (+4.63%)
Gas: 2 Gwei

Token

Gener8tive Tones (GenTn)
 

Overview

Max Total Supply

0 GenTn

Holders

82

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 GenTn
0xdfFEF5d853E5E1DaD3B909E37Ba2DAE94087c3cC
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:
Gener8tiveTonesERC721

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;
pragma abicoder v2;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

/*
Additional contract info will be added, as needed, to the contractInfo storage variable.
You can read this on etherscan by passing in incrementing indicies as parameter.
*/

contract Gener8tiveTonesERC721 is ERC721URIStorage, ERC721Holder, Ownable
{
    using Counters for Counters.Counter;
    using Strings for uint256;
    using Strings for bytes32;

    // =======================================================
    // EVENTS
    // =======================================================
    event CauseBeneficiaryChanged(address newCauseBeneficiary);
    event TokenUriUpdated(uint256 tokenId, string uri);
    event TokenPurchased(uint256 tokenId, address newOwner, TokenType tokenType);
    event TokenMinted(uint256 tokenIndex, bytes32 hashValue, TokenType tokenType);

    // =======================================================
    // STATE
    // =======================================================
    Counters.Counter public tokenId;
    address payable public causeBeneficiary;
    mapping(uint256 => TokenData) public tokenData;

    uint256 public maxSupply = 125;
    uint256 public mintPrice = 400000000 gwei;
    bool public preSalePurchaseEnabled = true;
    bool public mintingEnabled = false;
    mapping(uint256 => string) public contractInfo;
    
    string mintBaseUri;
    address kCompsContractAddress;
    mapping(address => uint16) numTokensByAddress;

    // =======================================================
    // ENUMS & STRUCTS
    // =======================================================
    enum TokenType { PRESALE, PRESALE_KCOMPSOWNER, OPEN, OPEN_KCOMPSOWNER }

    struct TokenData {
        uint256 price;
        bytes32 seed;
        string name;
        bool forSale;
        TokenType tokenType;
    }

    // =======================================================
    // CONSTRUCTOR
    // =======================================================
    constructor(
        string memory _name,
        string memory _symbol,
        address _kCompsContractAddress,
        string memory _mintBaseUri,
        address payable _causeBeneficiary
    )
        ERC721(_name, _symbol)
    {
        kCompsContractAddress = _kCompsContractAddress;
        mintBaseUri = _mintBaseUri;
        causeBeneficiary = _causeBeneficiary;
    }

    // =======================================================
    // ADMIN
    // =======================================================
    function disableMinting()
        public
        onlyOwner
    {
        mintingEnabled = false;
    }

    function enableMinting()
        public
        onlyOwner
    {
        mintingEnabled = true;
    }

    function disablePreSalePurchase()
        public
        onlyOwner
    {
        preSalePurchaseEnabled = false;
    }

    function enablePreSalePurchase()
        public
        onlyOwner
    {
        preSalePurchaseEnabled = true;
    }

    function setContractInfo(uint _index, string memory _info)
        public
        onlyOwner
    {
        contractInfo[_index] = _info;
    }

    function changeCauseBeneficiary(address payable newCauseBeneficiary)
        public
        onlyOwner
    {
        causeBeneficiary = newCauseBeneficiary;
        emit CauseBeneficiaryChanged(causeBeneficiary);
    }

    function changeMintPrice(uint256 newMintPrice)
        public
        onlyOwner
    {
        mintPrice = newMintPrice;
    }

    function updateTokenURI(uint256 _tokenId, string memory _newTokenURI)
        public
        onlyOwner
    {
        super._setTokenURI(_tokenId,  _newTokenURI);
        emit TokenUriUpdated(_tokenId, _newTokenURI);
    }

    function changePresaleTokenPrice(uint256 _tokenId, uint256 _newPrice)
        public
        onlyOwner
    {
        // ensure token is of PRESALE type
        require(tokenData[_tokenId].tokenType == TokenType.PRESALE, "Token is not of Presale Type");

        // ensure token is owned by the owner
        require(ownerOf(_tokenId) == owner(), "Token has already been sold");
        
        tokenData[_tokenId].price = _newPrice;
    }

    function preSaleMint(uint256 _price, string memory _tokenUri, bool _forSale)
        public
        onlyOwner
    {
        // check max supply
        require(tokenId.current() < maxSupply, "Collection max supply reached");

        // save token data
        tokenData[tokenId.current()] = TokenData({
            price: _price,
            name: string(abi.encodePacked("Tone ", tokenId.current().toString())),
            tokenType: TokenType.PRESALE,
            seed: getHashOfTokenIndex(tokenId.current()),
            forSale: _forSale
        });

        // mint and set tokenuri
        super._safeMint(msg.sender, tokenId.current());
        super._setTokenURI(tokenId.current(), _tokenUri);

        tokenId.increment();
    }

    function withdrawFunds(address payable recipient, uint256 amount)
        public
        onlyOwner
    {
        recipient.transfer(amount);
    }

    // =======================================================
    // INTERNAL UTILS
    // =======================================================
    function getTokenAvailability()
        private
        view
        returns(bool[] memory availableTokens)
    {
        availableTokens = new bool[](tokenId.current());

        for (uint256 i = 0; i < tokenId.current(); i++) {
            if(ownerOf(i) == owner() && tokenData[i].forSale) {
                availableTokens[i] = true;
            }
            else {
                availableTokens[i] = false;
            }
        }
    }

    function div256(uint256 a, uint256 b) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    function mul256(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b);

        return c;
    }

    // =======================================================
    // PUBLIC API
    // =======================================================
    function getHashOfTokenIndex(uint256 _tokenId)
        public
        pure
        returns(bytes32 idKeccak)
    {
        idKeccak = keccak256(abi.encodePacked(_tokenId));
    }

    function getSupplyData()
        public
        view
        returns(
            uint256 _currentTokenId,
            uint256 _maxSupply,
            uint256 _mintPrice,
            bool _mintingEnabled,
            bool _preSalePurchaseEnabled,
            bool _isKCompsOwner,
            bool[] memory _tokenAvailability,
            address payable _causeBeneficiary
        )
    {
        _currentTokenId = tokenId.current();
        _maxSupply = maxSupply;
        _mintPrice = mintPrice;
        _isKCompsOwner = isKCompsOwner(msg.sender);
        _mintingEnabled = mintingEnabled;
        _preSalePurchaseEnabled = preSalePurchaseEnabled;
        _tokenAvailability = getTokenAvailability();
        _causeBeneficiary = _causeBeneficiary;
    }

    function getTokenData(uint256 _tokenId)
        public
        view
        returns(TokenData memory _tokenData, string memory _tokenUri)
    {
        _tokenData = tokenData[_tokenId];
        _tokenUri = tokenURI(_tokenId);
    }

    function isKCompsOwner(address _address)
        public
        view
        returns(bool kCompsOwner)
    {
        AbstractKCompsContract abstractKcomps = AbstractKCompsContract(kCompsContractAddress);
        uint256 numTokensOwned = abstractKcomps.balanceOf(_address);

        if(numTokensOwned > 0) {
            return true;
        }
        return false;
    }

    function purchasePresaleToken(uint256 _tokenId)
        public
        payable
    {
        // ensure pre-sale purchasing is enabled
        require(preSalePurchaseEnabled, "Pre-Sale purchasing is disabled");

        // ensure the token exists
        require(_exists(_tokenId), "Requested token does not exist yet");

        // ensure token is for sale
        require(tokenData[_tokenId].forSale, "Token is not for sale");

        // ensure token is of PRESALE type
        require(tokenData[_tokenId].tokenType == TokenType.PRESALE, "Token is not of Presale Type");

        // ensure token is owned by the owner
        require(ownerOf(_tokenId) == owner(), "Token is not owned by the owner");

        // ensure sufficient funds were sent
        if(isKCompsOwner(msg.sender)) {
            require(msg.value >= div256(tokenData[_tokenId].price, 2), "Insufficient ETH sent");
            tokenData[_tokenId].tokenType = TokenType.PRESALE_KCOMPSOWNER;
        }
        else {
            require(msg.value >= tokenData[_tokenId].price, "Insufficient ETH sent");
        }

        // calculate gener8tive fee & send beneficiary portion
        uint256 gener8tiveFee = div256(mul256(85, msg.value), 100);
        causeBeneficiary.transfer(msg.value - gener8tiveFee);

        // remove from sale
        tokenData[_tokenId].forSale = false;

        _transfer(owner(), msg.sender, _tokenId);

        emit TokenPurchased(_tokenId, msg.sender, tokenData[_tokenId].tokenType);
    }

    function mint()
        public
        payable
    {
        // check mint handbrake
        require(mintingEnabled, "Minting is currently disabled");

        // check max supply
        require(tokenId.current() < maxSupply, "Collection max supply reached");

        // ensure sufficient funds were sent
        if(isKCompsOwner(msg.sender)) {
            require(msg.value >= div256(mintPrice, 2), "Insufficient ETH sent for mint");
        }
        else {
            require(msg.value >= mintPrice, "Insufficient ETH sent for mint");
        }

        TokenType tokenType = TokenType.OPEN;

        // set token type if k-comps owner
        if(isKCompsOwner(msg.sender)) {
            tokenType = TokenType.OPEN_KCOMPSOWNER;
        }

        // calculate gener8tive fee and send to beneficiary
        uint256 gener8tiveFee = div256(mul256(85, msg.value), 100);
        causeBeneficiary.transfer(msg.value - gener8tiveFee);

        // generate unique seed hash for tone
        uint16 numTokensOwnedNySender = numTokensByAddress[msg.sender];
        bytes32 _hash = keccak256(abi.encodePacked(tokenId.current(), numTokensOwnedNySender));

        numTokensByAddress[msg.sender] ++;

        // save token data
        tokenData[tokenId.current()] = TokenData({
            price: 0,
            name: string(abi.encodePacked("Tone ", tokenId.current().toString())),
            tokenType: tokenType,
            seed: _hash,
            forSale: false
        });

        // build mint token uri
        string memory tokenUri = string(abi.encodePacked(mintBaseUri, tokenId.current().toString()));

        super._safeMint(msg.sender, tokenId.current());
        super._setTokenURI(tokenId.current(), tokenUri);

        tokenId.increment();

        emit TokenMinted(tokenId.current() - 1, _hash, tokenType);
    }
}

contract AbstractKCompsContract
{
    function balanceOf(address addr)
        public
        pure
        returns(uint256)
    {
        return 0;
    }
}

File 2 of 14 : 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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping (uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping (address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
        _mint(to, tokenId);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}

File 4 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 6 of 14 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping (uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

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

File 7 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

File 8 of 14 : ERC721Holder.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721Receiver.sol";

  /**
   * @dev Implementation of the {IERC721Receiver} interface.
   *
   * Accepts all token transfers.
   * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}.
   */
contract ERC721Holder is IERC721Receiver {

    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(address, address, uint256, bytes memory) public virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }
}

File 9 of 14 : 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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 14 : 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 11 of 14 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }
}

File 12 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

}

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 14 of 14 : 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
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_kCompsContractAddress","type":"address"},{"internalType":"string","name":"_mintBaseUri","type":"string"},{"internalType":"address payable","name":"_causeBeneficiary","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newCauseBeneficiary","type":"address"}],"name":"CauseBeneficiaryChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenIndex","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"hashValue","type":"bytes32"},{"indexed":false,"internalType":"enum Gener8tiveTonesERC721.TokenType","name":"tokenType","type":"uint8"}],"name":"TokenMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"},{"indexed":false,"internalType":"enum Gener8tiveTonesERC721.TokenType","name":"tokenType","type":"uint8"}],"name":"TokenPurchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"uri","type":"string"}],"name":"TokenUriUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"causeBeneficiary","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"newCauseBeneficiary","type":"address"}],"name":"changeCauseBeneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintPrice","type":"uint256"}],"name":"changeMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"changePresaleTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"contractInfo","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disablePreSalePurchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enablePreSalePurchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getHashOfTokenIndex","outputs":[{"internalType":"bytes32","name":"idKeccak","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getSupplyData","outputs":[{"internalType":"uint256","name":"_currentTokenId","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"bool","name":"_mintingEnabled","type":"bool"},{"internalType":"bool","name":"_preSalePurchaseEnabled","type":"bool"},{"internalType":"bool","name":"_isKCompsOwner","type":"bool"},{"internalType":"bool[]","name":"_tokenAvailability","type":"bool[]"},{"internalType":"address payable","name":"_causeBeneficiary","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTokenData","outputs":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bytes32","name":"seed","type":"bytes32"},{"internalType":"string","name":"name","type":"string"},{"internalType":"bool","name":"forSale","type":"bool"},{"internalType":"enum Gener8tiveTonesERC721.TokenType","name":"tokenType","type":"uint8"}],"internalType":"struct Gener8tiveTonesERC721.TokenData","name":"_tokenData","type":"tuple"},{"internalType":"string","name":"_tokenUri","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isKCompsOwner","outputs":[{"internalType":"bool","name":"kCompsOwner","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"string","name":"_tokenUri","type":"string"},{"internalType":"bool","name":"_forSale","type":"bool"}],"name":"preSaleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"preSalePurchaseEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"purchasePresaleToken","outputs":[],"stateMutability":"payable","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":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"string","name":"_info","type":"string"}],"name":"setContractInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenData","outputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bytes32","name":"seed","type":"bytes32"},{"internalType":"string","name":"name","type":"string"},{"internalType":"bool","name":"forSale","type":"bool"},{"internalType":"enum Gener8tiveTonesERC721.TokenType","name":"tokenType","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenId","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_newTokenURI","type":"string"}],"name":"updateTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052607d600b5567058d15e176280000600c55600d805461ff001960ff199091166001171690553480156200003657600080fd5b5060405162003a3738038062003a3783398101604081905262000059916200029c565b845185908590620000729060009060208501906200014b565b508051620000889060019060208401906200014b565b50505060006200009d6200014760201b60201c565b600780546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350601080546001600160a01b0319166001600160a01b03851617905581516200011b90600f9060208501906200014b565b50600980546001600160a01b0319166001600160a01b039290921691909117905550620003c292505050565b3390565b828054620001599062000356565b90600052602060002090601f0160209004810192826200017d5760008555620001c8565b82601f106200019857805160ff1916838001178555620001c8565b82800160010185558215620001c8579182015b82811115620001c8578251825591602001919060010190620001ab565b50620001d6929150620001da565b5090565b5b80821115620001d65760008155600101620001db565b600082601f83011262000202578081fd5b81516001600160401b03808211156200021f576200021f62000393565b6040516020601f8401601f191682018101838111838210171562000247576200024762000393565b60405283825285840181018710156200025e578485fd5b8492505b8383101562000281578583018101518284018201529182019162000262565b838311156200029257848185840101525b5095945050505050565b600080600080600060a08688031215620002b4578081fd5b85516001600160401b0380821115620002cb578283fd5b620002d989838a01620001f1565b96506020880151915080821115620002ef578283fd5b620002fd89838a01620001f1565b9550604088015191506200031182620003a9565b60608801519194508082111562000326578283fd5b506200033588828901620001f1565b92505060808601516200034881620003a9565b809150509295509295909350565b6002810460018216806200036b57607f821691505b602082108114156200038d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114620003bf57600080fd5b50565b61366580620003d26000396000f3fe6080604052600436106102505760003560e01c80637977433811610139578063b88d4fde116100b6578063d5abeb011161007a578063d5abeb01146106b6578063e797ec1b146106cb578063e985e9c5146106e0578063eaed96ca14610700578063f2fde38b14610715578063fe66a0381461073557610250565b8063b88d4fde14610616578063be35889414610636578063c107532914610656578063c1eec11114610676578063c87b56dd1461069657610250565b80639fd6db12116100fd5780639fd6db1214610562578063a22cb46514610577578063b09afec114610597578063b32ef5ae146105c5578063b4b5b48f146105e557610250565b806379774338146104da5780637e5cd5c11461050357806386efbd33146105185780638da5cb5b1461053857806395d89b411461054d57610250565b806317d70f7c116101d25780633fd17366116101965780633fd173661461043057806342842e0e146104505780636352211e146104705780636817c76c1461049057806370a08231146104a5578063715018a6146104c557610250565b806317d70f7c146103a8578063189b3a1d146103bd57806318e97fd1146103d057806321b48e6b146103f057806323b872dd1461041057610250565b8063095ea7b311610219578063095ea7b3146103115780630bc796c4146103315780631249c58b1461034657806313de56341461034e578063150b7a021461037b57610250565b8062ff44421461025557806301ffc9a71461028057806306fdde03146102ad578063081812fc146102cf578063093e1073146102ef575b600080fd5b34801561026157600080fd5b5061026a61074a565b6040516102779190612b73565b60405180910390f35b34801561028c57600080fd5b506102a061029b3660046128b3565b610759565b6040516102779190612bc4565b3480156102b957600080fd5b506102c26107a1565b6040516102779190612be4565b3480156102db57600080fd5b5061026a6102ea3660046128eb565b610833565b3480156102fb57600080fd5b5061030f61030a366004612731565b61087f565b005b34801561031d57600080fd5b5061030f61032c3660046128a1565b61091a565b34801561033d57600080fd5b5061030f6109b2565b61030f6109fd565b34801561035a57600080fd5b5061036e6103693660046128eb565b610d78565b6040516102779190612b4f565b34801561038757600080fd5b5061039b6103963660046127f0565b610da8565b6040516102779190612bcf565b3480156103b457600080fd5b5061036e610db9565b61030f6103cb3660046128eb565b610dbf565b3480156103dc57600080fd5b5061030f6103eb36600461291b565b611042565b3480156103fc57600080fd5b506102a061040b366004612731565b6110bc565b34801561041c57600080fd5b5061030f61042b3660046127b0565b61115e565b34801561043c57600080fd5b5061030f61044b3660046128eb565b611196565b34801561045c57600080fd5b5061030f61046b3660046127b0565b6111da565b34801561047c57600080fd5b5061026a61048b3660046128eb565b6111f5565b34801561049c57600080fd5b5061036e61122a565b3480156104b157600080fd5b5061036e6104c0366004612731565b611230565b3480156104d157600080fd5b5061030f611274565b3480156104e657600080fd5b506104ef6112fd565b60405161027798979695949392919061340d565b34801561050f57600080fd5b5061030f611350565b34801561052457600080fd5b506102c26105333660046128eb565b61139c565b34801561054457600080fd5b5061026a611436565b34801561055957600080fd5b506102c2611445565b34801561056e57600080fd5b506102a0611454565b34801561058357600080fd5b5061030f61059236600461286d565b611462565b3480156105a357600080fd5b506105b76105b23660046128eb565b611530565b60405161027792919061331d565b3480156105d157600080fd5b5061030f6105e0366004612960565b61166e565b3480156105f157600080fd5b506106056106003660046128eb565b611803565b6040516102779594939291906133be565b34801561062257600080fd5b5061030f6106313660046127f0565b6118c0565b34801561064257600080fd5b5061030f6106513660046129b5565b6118ff565b34801561066257600080fd5b5061030f61067136600461274d565b6119e8565b34801561068257600080fd5b5061030f61069136600461291b565b611a5d565b3480156106a257600080fd5b506102c26106b13660046128eb565b611abb565b3480156106c257600080fd5b5061036e611bd4565b3480156106d757600080fd5b5061030f611bda565b3480156106ec57600080fd5b506102a06106fb366004612778565b611c2a565b34801561070c57600080fd5b506102a0611c5a565b34801561072157600080fd5b5061030f610730366004612731565b611c63565b34801561074157600080fd5b5061030f611d24565b6009546001600160a01b031681565b60006001600160e01b031982166380ac58cd60e01b148061078a57506001600160e01b03198216635b5e139f60e01b145b80610799575061079982611d72565b90505b919050565b6060600080546107b090613533565b80601f01602080910402602001604051908101604052809291908181526020018280546107dc90613533565b80156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b5050505050905090565b600061083e82611d8b565b6108635760405162461bcd60e51b815260040161085a9061305c565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b610887611da8565b6001600160a01b0316610898611436565b6001600160a01b0316146108be5760405162461bcd60e51b815260040161085a906130d7565b600980546001600160a01b0319166001600160a01b0383811691909117918290556040517fc107e672c8fedf7b9c82f11edfe1b1095102ff92cbd17ac360fc508c1ec3de1a9261090f921690612b73565b60405180910390a150565b6000610925826111f5565b9050806001600160a01b0316836001600160a01b031614156109595760405162461bcd60e51b815260040161085a90613212565b806001600160a01b031661096b611da8565b6001600160a01b031614806109875750610987816106fb611da8565b6109a35760405162461bcd60e51b815260040161085a90612e61565b6109ad8383611dac565b505050565b6109ba611da8565b6001600160a01b03166109cb611436565b6001600160a01b0316146109f15760405162461bcd60e51b815260040161085a906130d7565b600d805460ff19169055565b600d54610100900460ff16610a245760405162461bcd60e51b815260040161085a90612e2a565b600b54610a316008611e1a565b10610a4e5760405162461bcd60e51b815260040161085a90612f51565b610a57336110bc565b15610a8d57610a69600c546002611e1e565b341015610a885760405162461bcd60e51b815260040161085a90613295565b610aaf565b600c54341015610aaf5760405162461bcd60e51b815260040161085a90613295565b6002610aba336110bc565b15610ac3575060035b6000610ada610ad3605534611e38565b6064611e1e565b6009549091506001600160a01b03166108fc610af683346134f0565b6040518115909202916000818181858888f19350505050158015610b1e573d6000803e3d6000fd5b503360009081526011602052604081205461ffff1690610b3e6008611e1a565b82604051602001610b50929190612b58565b60408051601f1981840301815291815281516020928301203360009081526011909352908220805491935061ffff90911691610b8b8361356e565b91906101000a81548161ffff021916908361ffff160217905550506040518060a0016040528060008152602001828152602001610bd0610bcb6008611e1a565b611e71565b604051602001610be09190612b22565b60408051601f198184030181529181529082526000602083015201856003811115610c1b57634e487b7160e01b600052602160045260246000fd5b9052600a6000610c2b6008611e1a565b815260200190815260200160002060008201518160000155602082015181600101556040820151816002019080519060200190610c699291906125d0565b5060608201516003828101805460ff1916921515929092178083556080850151929161ff001990911690610100908490811115610cb657634e487b7160e01b600052602160045260246000fd5b02179055509050506000600f610ccf610bcb6008611e1a565b604051602001610ce0929190612a7c565b6040516020818303038152906040529050610d0433610cff6008611e1a565b611f8c565b610d17610d116008611e1a565b82611faa565b610d216008611fee565b7f02802b151b409f57016e8d9990345a87dbed582e1b190ebd06235f7469cf8c736001610d4e6008611e1a565b610d5891906134f0565b8387604051610d69939291906133a3565b60405180910390a15050505050565b600081604051602001610d8b9190612b4f565b604051602081830303815290604052805190602001209050919050565b630a85bd0160e11b5b949350505050565b60085481565b600d5460ff16610de15760405162461bcd60e51b815260040161085a90612bf7565b610dea81611d8b565b610e065760405162461bcd60e51b815260040161085a90613253565b6000818152600a602052604090206003015460ff16610e375760405162461bcd60e51b815260040161085a906130a8565b600080828152600a60205260409020600390810154610100900460ff1690811115610e7257634e487b7160e01b600052602160045260246000fd5b14610e8f5760405162461bcd60e51b815260040161085a906131a4565b610e97611436565b6001600160a01b0316610ea9826111f5565b6001600160a01b031614610ecf5760405162461bcd60e51b815260040161085a90612da7565b610ed8336110bc565b15610f39576000818152600a6020526040902054610ef7906002611e1e565b341015610f165760405162461bcd60e51b815260040161085a90612c2e565b6000818152600a60205260409020600301805461ff001916610100179055610f67565b6000818152600a6020526040902054341015610f675760405162461bcd60e51b815260040161085a90612c2e565b6000610f77610ad3605534611e38565b6009549091506001600160a01b03166108fc610f9383346134f0565b6040518115909202916000818181858888f19350505050158015610fbb573d6000803e3d6000fd5b506000828152600a60205260409020600301805460ff19169055610fe7610fe0611436565b3384611ff7565b6000828152600a6020526040908190206003015490517fa8e708984cb2797a4f9d61e59969ab181b027add72b1f0f2c0212b4acde3411691611036918591339161010090910460ff1690613380565b60405180910390a15050565b61104a611da8565b6001600160a01b031661105b611436565b6001600160a01b0316146110815760405162461bcd60e51b815260040161085a906130d7565b61108b8282611faa565b7f652c9498726ae446882619d79306dfe2594d5d5a008eaad0a720ee55ebf8e8b882826040516110369291906133f4565b6010546040516370a0823160e01b81526000916001600160a01b031690829082906370a08231906110f1908790600401612b73565b60206040518083038186803b15801561110957600080fd5b505afa15801561111d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111419190612903565b905080156111545760019250505061079c565b5060009392505050565b61116f611169611da8565b82612124565b61118b5760405162461bcd60e51b815260040161085a906132cc565b6109ad838383611ff7565b61119e611da8565b6001600160a01b03166111af611436565b6001600160a01b0316146111d55760405162461bcd60e51b815260040161085a906130d7565b600c55565b6109ad838383604051806020016040528060008152506118c0565b6000818152600260205260408120546001600160a01b0316806107995760405162461bcd60e51b815260040161085a90612f08565b600c5481565b60006001600160a01b0382166112585760405162461bcd60e51b815260040161085a90612ebe565b506001600160a01b031660009081526003602052604090205490565b61127c611da8565b6001600160a01b031661128d611436565b6001600160a01b0316146112b35760405162461bcd60e51b815260040161085a906130d7565b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b600080600080600080606060006113146008611e1a565b9750600b549650600c549550611329336110bc565b600d5460ff61010082048116975016945092506113446121a1565b91509091929394959697565b611358611da8565b6001600160a01b0316611369611436565b6001600160a01b03161461138f5760405162461bcd60e51b815260040161085a906130d7565b600d805461ff0019169055565b600e60205260009081526040902080546113b590613533565b80601f01602080910402602001604051908101604052809291908181526020018280546113e190613533565b801561142e5780601f106114035761010080835404028352916020019161142e565b820191906000526020600020905b81548152906001019060200180831161141157829003601f168201915b505050505081565b6007546001600160a01b031690565b6060600180546107b090613533565b600d54610100900460ff1681565b61146a611da8565b6001600160a01b0316826001600160a01b0316141561149b5760405162461bcd60e51b815260040161085a90612d70565b80600560006114a8611da8565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556114ec611da8565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115249190612bc4565b60405180910390a35050565b611538612650565b6060600a60008481526020019081526020016000206040518060a0016040529081600082015481526020016001820154815260200160028201805461157c90613533565b80601f01602080910402602001604051908101604052809291908181526020018280546115a890613533565b80156115f55780601f106115ca576101008083540402835291602001916115f5565b820191906000526020600020905b8154815290600101906020018083116115d857829003601f168201915b505050918352505060038281015460ff80821615156020850152604090930192610100909104169081111561163a57634e487b7160e01b600052602160045260246000fd5b600381111561165957634e487b7160e01b600052602160045260246000fd5b905250915061166783611abb565b9050915091565b611676611da8565b6001600160a01b0316611687611436565b6001600160a01b0316146116ad5760405162461bcd60e51b815260040161085a906130d7565b600b546116ba6008611e1a565b106116d75760405162461bcd60e51b815260040161085a90612f51565b6040518060a001604052808481526020016116f56103696008611e1a565b8152602001611707610bcb6008611e1a565b6040516020016117179190612b22565b60408051601f1981840301815291815290825283151560208301520160009052600a60006117456008611e1a565b8152602001908152602001600020600082015181600001556020820151816001015560408201518160020190805190602001906117839291906125d0565b5060608201516003828101805460ff1916921515929092178083556080850151929161ff0019909116906101009084908111156117d057634e487b7160e01b600052602160045260246000fd5b02179055509050506117e633610cff6008611e1a565b6117f96117f36008611e1a565b83611faa565b6109ad6008611fee565b600a602052600090815260409020805460018201546002830180549293919261182b90613533565b80601f016020809104026020016040519081016040528092919081815260200182805461185790613533565b80156118a45780601f10611879576101008083540402835291602001916118a4565b820191906000526020600020905b81548152906001019060200180831161188757829003601f168201915b5050506003909301549192505060ff8082169161010090041685565b6118d16118cb611da8565b83612124565b6118ed5760405162461bcd60e51b815260040161085a906132cc565b6118f9848484846122d9565b50505050565b611907611da8565b6001600160a01b0316611918611436565b6001600160a01b03161461193e5760405162461bcd60e51b815260040161085a906130d7565b600080838152600a60205260409020600390810154610100900460ff169081111561197957634e487b7160e01b600052602160045260246000fd5b146119965760405162461bcd60e51b815260040161085a906131a4565b61199e611436565b6001600160a01b03166119b0836111f5565b6001600160a01b0316146119d65760405162461bcd60e51b815260040161085a906131db565b6000918252600a602052604090912055565b6119f0611da8565b6001600160a01b0316611a01611436565b6001600160a01b031614611a275760405162461bcd60e51b815260040161085a906130d7565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156109ad573d6000803e3d6000fd5b611a65611da8565b6001600160a01b0316611a76611436565b6001600160a01b031614611a9c5760405162461bcd60e51b815260040161085a906130d7565b6000828152600e6020908152604090912082516109ad928401906125d0565b6060611ac682611d8b565b611ae25760405162461bcd60e51b815260040161085a9061300b565b60008281526006602052604081208054611afb90613533565b80601f0160208091040260200160405190810160405280929190818152602001828054611b2790613533565b8015611b745780601f10611b4957610100808354040283529160200191611b74565b820191906000526020600020905b815481529060010190602001808311611b5757829003601f168201915b505050505090506000611b8561230c565b9050805160001415611b995750905061079c565b815115611bcb578082604051602001611bb3929190612a4d565b6040516020818303038152906040529250505061079c565b610db18461231e565b600b5481565b611be2611da8565b6001600160a01b0316611bf3611436565b6001600160a01b031614611c195760405162461bcd60e51b815260040161085a906130d7565b600d805461ff001916610100179055565b6001600160a01b0380831660009081526005602090815260408083209385168352929052205460ff165b92915050565b600d5460ff1681565b611c6b611da8565b6001600160a01b0316611c7c611436565b6001600160a01b031614611ca25760405162461bcd60e51b815260040161085a906130d7565b6001600160a01b038116611cc85760405162461bcd60e51b815260040161085a90612caf565b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b611d2c611da8565b6001600160a01b0316611d3d611436565b6001600160a01b031614611d635760405162461bcd60e51b815260040161085a906130d7565b600d805460ff19166001179055565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611de1826111f5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5490565b6000808211611e2c57600080fd5b6000610db183856134bd565b600082611e4757506000611c54565b6000611e5383856134d1565b905082611e6085836134bd565b14611e6a57600080fd5b9392505050565b606081611e9657506040805180820190915260018152600360fc1b602082015261079c565b8160005b8115611ec05780611eaa81613590565b9150611eb99050600a836134bd565b9150611e9a565b60008167ffffffffffffffff811115611ee957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f13576020820181803683370190505b5090505b8415610db157611f286001836134f0565b9150611f35600a866135ab565b611f409060306134a5565b60f81b818381518110611f6357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611f85600a866134bd565b9450611f17565b611fa68282604051806020016040528060008152506123a0565b5050565b611fb382611d8b565b611fcf5760405162461bcd60e51b815260040161085a90612f88565b600082815260066020908152604090912082516109ad928401906125d0565b80546001019055565b826001600160a01b031661200a826111f5565b6001600160a01b0316146120305760405162461bcd60e51b815260040161085a9061310c565b6001600160a01b0382166120565760405162461bcd60e51b815260040161085a90612d2c565b6120618383836109ad565b61206c600082611dac565b6001600160a01b03831660009081526003602052604081208054600192906120959084906134f0565b90915550506001600160a01b03821660009081526003602052604081208054600192906120c39084906134a5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061212f82611d8b565b61214b5760405162461bcd60e51b815260040161085a90612dde565b6000612156836111f5565b9050806001600160a01b0316846001600160a01b031614806121915750836001600160a01b031661218684610833565b6001600160a01b0316145b80610db15750610db18185611c2a565b60606121ad6008611e1a565b67ffffffffffffffff8111156121d357634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156121fc578160200160208202803683370190505b50905060005b61220c6008611e1a565b8110156122d55761221b611436565b6001600160a01b031661222d826111f5565b6001600160a01b031614801561225457506000818152600a602052604090206003015460ff165b1561229057600182828151811061227b57634e487b7160e01b600052603260045260246000fd5b911515602092830291909101909101526122c3565b60008282815181106122b257634e487b7160e01b600052603260045260246000fd5b911515602092830291909101909101525b806122cd81613590565b915050612202565b5090565b6122e4848484611ff7565b6122f0848484846123d3565b6118f95760405162461bcd60e51b815260040161085a90612c5d565b60408051602081019091526000815290565b606061232982611d8b565b6123455760405162461bcd60e51b815260040161085a90613155565b600061234f61230c565b9050600081511161236f5760405180602001604052806000815250611e6a565b8061237984611e71565b60405160200161238a929190612a4d565b6040516020818303038152906040529392505050565b6123aa83836124eb565b6123b760008484846123d3565b6109ad5760405162461bcd60e51b815260040161085a90612c5d565b60006123e7846001600160a01b03166125ca565b156124e357836001600160a01b031663150b7a02612403611da8565b8786866040518563ffffffff1660e01b81526004016124259493929190612b87565b602060405180830381600087803b15801561243f57600080fd5b505af192505050801561246f575060408051601f3d908101601f1916820190925261246c918101906128cf565b60015b6124c9573d80801561249d576040519150601f19603f3d011682016040523d82523d6000602084013e6124a2565b606091505b5080516124c15760405162461bcd60e51b815260040161085a90612c5d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610db1565b506001610db1565b6001600160a01b0382166125115760405162461bcd60e51b815260040161085a90612fd6565b61251a81611d8b565b156125375760405162461bcd60e51b815260040161085a90612cf5565b612543600083836109ad565b6001600160a01b038216600090815260036020526040812080546001929061256c9084906134a5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b8280546125dc90613533565b90600052602060002090601f0160209004810192826125fe5760008555612644565b82601f1061261757805160ff1916838001178555612644565b82800160010185558215612644579182015b82811115612644578251825591602001919060010190612629565b506122d592915061267d565b6040805160a081018252600080825260208201819052606092820183905291810182905290608082015290565b5b808211156122d5576000815560010161267e565b600067ffffffffffffffff808411156126ad576126ad6135eb565b604051601f8501601f1916810160200182811182821017156126d1576126d16135eb565b6040528481529150818385018610156126e957600080fd5b8484602083013760006020868301015250509392505050565b8035801515811461079c57600080fd5b600082601f830112612722578081fd5b611e6a83833560208501612692565b600060208284031215612742578081fd5b8135611e6a81613601565b6000806040838503121561275f578081fd5b823561276a81613601565b946020939093013593505050565b6000806040838503121561278a578182fd5b823561279581613601565b915060208301356127a581613601565b809150509250929050565b6000806000606084860312156127c4578081fd5b83356127cf81613601565b925060208401356127df81613601565b929592945050506040919091013590565b60008060008060808587031215612805578081fd5b843561281081613601565b9350602085013561282081613601565b925060408501359150606085013567ffffffffffffffff811115612842578182fd5b8501601f81018713612852578182fd5b61286187823560208401612692565b91505092959194509250565b6000806040838503121561287f578182fd5b823561288a81613601565b915061289860208401612702565b90509250929050565b6000806040838503121561275f578182fd5b6000602082840312156128c4578081fd5b8135611e6a81613619565b6000602082840312156128e0578081fd5b8151611e6a81613619565b6000602082840312156128fc578081fd5b5035919050565b600060208284031215612914578081fd5b5051919050565b6000806040838503121561292d578182fd5b82359150602083013567ffffffffffffffff81111561294a578182fd5b61295685828601612712565b9150509250929050565b600080600060608486031215612974578081fd5b83359250602084013567ffffffffffffffff811115612991578182fd5b61299d86828701612712565b9250506129ac60408501612702565b90509250925092565b600080604083850312156129c7578182fd5b50508035926020909101359150565b6001600160a01b03169052565b600081518084526129fb816020860160208601613507565b601f01601f19169290920160200192915050565b60048110612a2d57634e487b7160e01b600052602160045260246000fd5b9052565b60008151612a43818560208601613507565b9290920192915050565b60008351612a5f818460208801613507565b835190830190612a73818360208801613507565b01949350505050565b8254600090819060028104600180831680612a9857607f831692505b6020808410821415612ab857634e487b7160e01b87526022600452602487fd5b818015612acc5760018114612add57612b09565b60ff19861689528489019650612b09565b612ae68b613499565b885b86811015612b015781548b820152908501908301612ae8565b505084890196505b505050505050612b198185612a31565b95945050505050565b60006402a37b732960dd1b82528251612b42816005850160208701613507565b9190910160050192915050565b90815260200190565b91825260f01b6001600160f01b031916602082015260220190565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612bba908301846129e3565b9695505050505050565b901515815260200190565b6001600160e01b031991909116815260200190565b600060208252611e6a60208301846129e3565b6020808252601f908201527f5072652d53616c652070757263686173696e672069732064697361626c656400604082015260600190565b602080825260159082015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601f908201527f546f6b656e206973206e6f74206f776e656420627920746865206f776e657200604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601d908201527f4d696e74696e672069732063757272656e746c792064697361626c6564000000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252601d908201527f436f6c6c656374696f6e206d617820737570706c792072656163686564000000604082015260600190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201526d32bc34b9ba32b73a103a37b5b2b760911b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f72206040820152703737b732bc34b9ba32b73a103a37b5b2b760791b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b602080825260159082015274546f6b656e206973206e6f7420666f722073616c6560581b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601c908201527f546f6b656e206973206e6f74206f662050726573616c65205479706500000000604082015260600190565b6020808252601b908201527f546f6b656e2068617320616c7265616479206265656e20736f6c640000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526022908201527f52657175657374656420746f6b656e20646f6573206e6f742065786973742079604082015261195d60f21b606082015260800190565b6020808252601e908201527f496e73756666696369656e74204554482073656e7420666f72206d696e740000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000604082528351604083015260208401516060830152604084015160a0608084015261334d60e08401826129e3565b90506060850151151560a0840152608085015161336d60c0850182612a0f565b508281036020840152612b1981856129e3565b8381526001600160a01b038316602082015260608101610db16040830184612a0f565b8381526020810183905260608101610db16040830184612a0f565b600086825285602083015260a060408301526133dd60a08301866129e3565b90508315156060830152612bba6080830184612a0f565b600083825260406020830152610db160408301846129e3565b60006101008083018b845260208b818601528a60408601528915156060860152881515608086015287151560a08601528260c08601528192508651808352610120860193508188019250845b81811015613477578351151585529382019392820192600101613459565b505050508091505061348c60e08301846129d6565b9998505050505050505050565b60009081526020902090565b600082198211156134b8576134b86135bf565b500190565b6000826134cc576134cc6135d5565b500490565b60008160001904831182151516156134eb576134eb6135bf565b500290565b600082821015613502576135026135bf565b500390565b60005b8381101561352257818101518382015260200161350a565b838111156118f95750506000910152565b60028104600182168061354757607f821691505b6020821081141561356857634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415613586576135866135bf565b6001019392505050565b60006000198214156135a4576135a46135bf565b5060010190565b6000826135ba576135ba6135d5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461361657600080fd5b50565b6001600160e01b03198116811461361657600080fdfea2646970667358221220d85e7c2bf17ebaa3a67ece7629281e983f90be30facba93df8007d7be1702f3064736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000003d0c4e9bde15f2681902f9f291b3c905b7ea46f90000000000000000000000000000000000000000000000000000000000000120000000000000000000000000634977e11c823a436e587c1a1eca959588c64287000000000000000000000000000000000000000000000000000000000000001047656e6572387469766520546f6e657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000547656e546e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f6170692e67656e657238746976652e696f2f746f6e65732f6d657461646174612f0000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102505760003560e01c80637977433811610139578063b88d4fde116100b6578063d5abeb011161007a578063d5abeb01146106b6578063e797ec1b146106cb578063e985e9c5146106e0578063eaed96ca14610700578063f2fde38b14610715578063fe66a0381461073557610250565b8063b88d4fde14610616578063be35889414610636578063c107532914610656578063c1eec11114610676578063c87b56dd1461069657610250565b80639fd6db12116100fd5780639fd6db1214610562578063a22cb46514610577578063b09afec114610597578063b32ef5ae146105c5578063b4b5b48f146105e557610250565b806379774338146104da5780637e5cd5c11461050357806386efbd33146105185780638da5cb5b1461053857806395d89b411461054d57610250565b806317d70f7c116101d25780633fd17366116101965780633fd173661461043057806342842e0e146104505780636352211e146104705780636817c76c1461049057806370a08231146104a5578063715018a6146104c557610250565b806317d70f7c146103a8578063189b3a1d146103bd57806318e97fd1146103d057806321b48e6b146103f057806323b872dd1461041057610250565b8063095ea7b311610219578063095ea7b3146103115780630bc796c4146103315780631249c58b1461034657806313de56341461034e578063150b7a021461037b57610250565b8062ff44421461025557806301ffc9a71461028057806306fdde03146102ad578063081812fc146102cf578063093e1073146102ef575b600080fd5b34801561026157600080fd5b5061026a61074a565b6040516102779190612b73565b60405180910390f35b34801561028c57600080fd5b506102a061029b3660046128b3565b610759565b6040516102779190612bc4565b3480156102b957600080fd5b506102c26107a1565b6040516102779190612be4565b3480156102db57600080fd5b5061026a6102ea3660046128eb565b610833565b3480156102fb57600080fd5b5061030f61030a366004612731565b61087f565b005b34801561031d57600080fd5b5061030f61032c3660046128a1565b61091a565b34801561033d57600080fd5b5061030f6109b2565b61030f6109fd565b34801561035a57600080fd5b5061036e6103693660046128eb565b610d78565b6040516102779190612b4f565b34801561038757600080fd5b5061039b6103963660046127f0565b610da8565b6040516102779190612bcf565b3480156103b457600080fd5b5061036e610db9565b61030f6103cb3660046128eb565b610dbf565b3480156103dc57600080fd5b5061030f6103eb36600461291b565b611042565b3480156103fc57600080fd5b506102a061040b366004612731565b6110bc565b34801561041c57600080fd5b5061030f61042b3660046127b0565b61115e565b34801561043c57600080fd5b5061030f61044b3660046128eb565b611196565b34801561045c57600080fd5b5061030f61046b3660046127b0565b6111da565b34801561047c57600080fd5b5061026a61048b3660046128eb565b6111f5565b34801561049c57600080fd5b5061036e61122a565b3480156104b157600080fd5b5061036e6104c0366004612731565b611230565b3480156104d157600080fd5b5061030f611274565b3480156104e657600080fd5b506104ef6112fd565b60405161027798979695949392919061340d565b34801561050f57600080fd5b5061030f611350565b34801561052457600080fd5b506102c26105333660046128eb565b61139c565b34801561054457600080fd5b5061026a611436565b34801561055957600080fd5b506102c2611445565b34801561056e57600080fd5b506102a0611454565b34801561058357600080fd5b5061030f61059236600461286d565b611462565b3480156105a357600080fd5b506105b76105b23660046128eb565b611530565b60405161027792919061331d565b3480156105d157600080fd5b5061030f6105e0366004612960565b61166e565b3480156105f157600080fd5b506106056106003660046128eb565b611803565b6040516102779594939291906133be565b34801561062257600080fd5b5061030f6106313660046127f0565b6118c0565b34801561064257600080fd5b5061030f6106513660046129b5565b6118ff565b34801561066257600080fd5b5061030f61067136600461274d565b6119e8565b34801561068257600080fd5b5061030f61069136600461291b565b611a5d565b3480156106a257600080fd5b506102c26106b13660046128eb565b611abb565b3480156106c257600080fd5b5061036e611bd4565b3480156106d757600080fd5b5061030f611bda565b3480156106ec57600080fd5b506102a06106fb366004612778565b611c2a565b34801561070c57600080fd5b506102a0611c5a565b34801561072157600080fd5b5061030f610730366004612731565b611c63565b34801561074157600080fd5b5061030f611d24565b6009546001600160a01b031681565b60006001600160e01b031982166380ac58cd60e01b148061078a57506001600160e01b03198216635b5e139f60e01b145b80610799575061079982611d72565b90505b919050565b6060600080546107b090613533565b80601f01602080910402602001604051908101604052809291908181526020018280546107dc90613533565b80156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b5050505050905090565b600061083e82611d8b565b6108635760405162461bcd60e51b815260040161085a9061305c565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b610887611da8565b6001600160a01b0316610898611436565b6001600160a01b0316146108be5760405162461bcd60e51b815260040161085a906130d7565b600980546001600160a01b0319166001600160a01b0383811691909117918290556040517fc107e672c8fedf7b9c82f11edfe1b1095102ff92cbd17ac360fc508c1ec3de1a9261090f921690612b73565b60405180910390a150565b6000610925826111f5565b9050806001600160a01b0316836001600160a01b031614156109595760405162461bcd60e51b815260040161085a90613212565b806001600160a01b031661096b611da8565b6001600160a01b031614806109875750610987816106fb611da8565b6109a35760405162461bcd60e51b815260040161085a90612e61565b6109ad8383611dac565b505050565b6109ba611da8565b6001600160a01b03166109cb611436565b6001600160a01b0316146109f15760405162461bcd60e51b815260040161085a906130d7565b600d805460ff19169055565b600d54610100900460ff16610a245760405162461bcd60e51b815260040161085a90612e2a565b600b54610a316008611e1a565b10610a4e5760405162461bcd60e51b815260040161085a90612f51565b610a57336110bc565b15610a8d57610a69600c546002611e1e565b341015610a885760405162461bcd60e51b815260040161085a90613295565b610aaf565b600c54341015610aaf5760405162461bcd60e51b815260040161085a90613295565b6002610aba336110bc565b15610ac3575060035b6000610ada610ad3605534611e38565b6064611e1e565b6009549091506001600160a01b03166108fc610af683346134f0565b6040518115909202916000818181858888f19350505050158015610b1e573d6000803e3d6000fd5b503360009081526011602052604081205461ffff1690610b3e6008611e1a565b82604051602001610b50929190612b58565b60408051601f1981840301815291815281516020928301203360009081526011909352908220805491935061ffff90911691610b8b8361356e565b91906101000a81548161ffff021916908361ffff160217905550506040518060a0016040528060008152602001828152602001610bd0610bcb6008611e1a565b611e71565b604051602001610be09190612b22565b60408051601f198184030181529181529082526000602083015201856003811115610c1b57634e487b7160e01b600052602160045260246000fd5b9052600a6000610c2b6008611e1a565b815260200190815260200160002060008201518160000155602082015181600101556040820151816002019080519060200190610c699291906125d0565b5060608201516003828101805460ff1916921515929092178083556080850151929161ff001990911690610100908490811115610cb657634e487b7160e01b600052602160045260246000fd5b02179055509050506000600f610ccf610bcb6008611e1a565b604051602001610ce0929190612a7c565b6040516020818303038152906040529050610d0433610cff6008611e1a565b611f8c565b610d17610d116008611e1a565b82611faa565b610d216008611fee565b7f02802b151b409f57016e8d9990345a87dbed582e1b190ebd06235f7469cf8c736001610d4e6008611e1a565b610d5891906134f0565b8387604051610d69939291906133a3565b60405180910390a15050505050565b600081604051602001610d8b9190612b4f565b604051602081830303815290604052805190602001209050919050565b630a85bd0160e11b5b949350505050565b60085481565b600d5460ff16610de15760405162461bcd60e51b815260040161085a90612bf7565b610dea81611d8b565b610e065760405162461bcd60e51b815260040161085a90613253565b6000818152600a602052604090206003015460ff16610e375760405162461bcd60e51b815260040161085a906130a8565b600080828152600a60205260409020600390810154610100900460ff1690811115610e7257634e487b7160e01b600052602160045260246000fd5b14610e8f5760405162461bcd60e51b815260040161085a906131a4565b610e97611436565b6001600160a01b0316610ea9826111f5565b6001600160a01b031614610ecf5760405162461bcd60e51b815260040161085a90612da7565b610ed8336110bc565b15610f39576000818152600a6020526040902054610ef7906002611e1e565b341015610f165760405162461bcd60e51b815260040161085a90612c2e565b6000818152600a60205260409020600301805461ff001916610100179055610f67565b6000818152600a6020526040902054341015610f675760405162461bcd60e51b815260040161085a90612c2e565b6000610f77610ad3605534611e38565b6009549091506001600160a01b03166108fc610f9383346134f0565b6040518115909202916000818181858888f19350505050158015610fbb573d6000803e3d6000fd5b506000828152600a60205260409020600301805460ff19169055610fe7610fe0611436565b3384611ff7565b6000828152600a6020526040908190206003015490517fa8e708984cb2797a4f9d61e59969ab181b027add72b1f0f2c0212b4acde3411691611036918591339161010090910460ff1690613380565b60405180910390a15050565b61104a611da8565b6001600160a01b031661105b611436565b6001600160a01b0316146110815760405162461bcd60e51b815260040161085a906130d7565b61108b8282611faa565b7f652c9498726ae446882619d79306dfe2594d5d5a008eaad0a720ee55ebf8e8b882826040516110369291906133f4565b6010546040516370a0823160e01b81526000916001600160a01b031690829082906370a08231906110f1908790600401612b73565b60206040518083038186803b15801561110957600080fd5b505afa15801561111d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111419190612903565b905080156111545760019250505061079c565b5060009392505050565b61116f611169611da8565b82612124565b61118b5760405162461bcd60e51b815260040161085a906132cc565b6109ad838383611ff7565b61119e611da8565b6001600160a01b03166111af611436565b6001600160a01b0316146111d55760405162461bcd60e51b815260040161085a906130d7565b600c55565b6109ad838383604051806020016040528060008152506118c0565b6000818152600260205260408120546001600160a01b0316806107995760405162461bcd60e51b815260040161085a90612f08565b600c5481565b60006001600160a01b0382166112585760405162461bcd60e51b815260040161085a90612ebe565b506001600160a01b031660009081526003602052604090205490565b61127c611da8565b6001600160a01b031661128d611436565b6001600160a01b0316146112b35760405162461bcd60e51b815260040161085a906130d7565b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b600080600080600080606060006113146008611e1a565b9750600b549650600c549550611329336110bc565b600d5460ff61010082048116975016945092506113446121a1565b91509091929394959697565b611358611da8565b6001600160a01b0316611369611436565b6001600160a01b03161461138f5760405162461bcd60e51b815260040161085a906130d7565b600d805461ff0019169055565b600e60205260009081526040902080546113b590613533565b80601f01602080910402602001604051908101604052809291908181526020018280546113e190613533565b801561142e5780601f106114035761010080835404028352916020019161142e565b820191906000526020600020905b81548152906001019060200180831161141157829003601f168201915b505050505081565b6007546001600160a01b031690565b6060600180546107b090613533565b600d54610100900460ff1681565b61146a611da8565b6001600160a01b0316826001600160a01b0316141561149b5760405162461bcd60e51b815260040161085a90612d70565b80600560006114a8611da8565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556114ec611da8565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115249190612bc4565b60405180910390a35050565b611538612650565b6060600a60008481526020019081526020016000206040518060a0016040529081600082015481526020016001820154815260200160028201805461157c90613533565b80601f01602080910402602001604051908101604052809291908181526020018280546115a890613533565b80156115f55780601f106115ca576101008083540402835291602001916115f5565b820191906000526020600020905b8154815290600101906020018083116115d857829003601f168201915b505050918352505060038281015460ff80821615156020850152604090930192610100909104169081111561163a57634e487b7160e01b600052602160045260246000fd5b600381111561165957634e487b7160e01b600052602160045260246000fd5b905250915061166783611abb565b9050915091565b611676611da8565b6001600160a01b0316611687611436565b6001600160a01b0316146116ad5760405162461bcd60e51b815260040161085a906130d7565b600b546116ba6008611e1a565b106116d75760405162461bcd60e51b815260040161085a90612f51565b6040518060a001604052808481526020016116f56103696008611e1a565b8152602001611707610bcb6008611e1a565b6040516020016117179190612b22565b60408051601f1981840301815291815290825283151560208301520160009052600a60006117456008611e1a565b8152602001908152602001600020600082015181600001556020820151816001015560408201518160020190805190602001906117839291906125d0565b5060608201516003828101805460ff1916921515929092178083556080850151929161ff0019909116906101009084908111156117d057634e487b7160e01b600052602160045260246000fd5b02179055509050506117e633610cff6008611e1a565b6117f96117f36008611e1a565b83611faa565b6109ad6008611fee565b600a602052600090815260409020805460018201546002830180549293919261182b90613533565b80601f016020809104026020016040519081016040528092919081815260200182805461185790613533565b80156118a45780601f10611879576101008083540402835291602001916118a4565b820191906000526020600020905b81548152906001019060200180831161188757829003601f168201915b5050506003909301549192505060ff8082169161010090041685565b6118d16118cb611da8565b83612124565b6118ed5760405162461bcd60e51b815260040161085a906132cc565b6118f9848484846122d9565b50505050565b611907611da8565b6001600160a01b0316611918611436565b6001600160a01b03161461193e5760405162461bcd60e51b815260040161085a906130d7565b600080838152600a60205260409020600390810154610100900460ff169081111561197957634e487b7160e01b600052602160045260246000fd5b146119965760405162461bcd60e51b815260040161085a906131a4565b61199e611436565b6001600160a01b03166119b0836111f5565b6001600160a01b0316146119d65760405162461bcd60e51b815260040161085a906131db565b6000918252600a602052604090912055565b6119f0611da8565b6001600160a01b0316611a01611436565b6001600160a01b031614611a275760405162461bcd60e51b815260040161085a906130d7565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156109ad573d6000803e3d6000fd5b611a65611da8565b6001600160a01b0316611a76611436565b6001600160a01b031614611a9c5760405162461bcd60e51b815260040161085a906130d7565b6000828152600e6020908152604090912082516109ad928401906125d0565b6060611ac682611d8b565b611ae25760405162461bcd60e51b815260040161085a9061300b565b60008281526006602052604081208054611afb90613533565b80601f0160208091040260200160405190810160405280929190818152602001828054611b2790613533565b8015611b745780601f10611b4957610100808354040283529160200191611b74565b820191906000526020600020905b815481529060010190602001808311611b5757829003601f168201915b505050505090506000611b8561230c565b9050805160001415611b995750905061079c565b815115611bcb578082604051602001611bb3929190612a4d565b6040516020818303038152906040529250505061079c565b610db18461231e565b600b5481565b611be2611da8565b6001600160a01b0316611bf3611436565b6001600160a01b031614611c195760405162461bcd60e51b815260040161085a906130d7565b600d805461ff001916610100179055565b6001600160a01b0380831660009081526005602090815260408083209385168352929052205460ff165b92915050565b600d5460ff1681565b611c6b611da8565b6001600160a01b0316611c7c611436565b6001600160a01b031614611ca25760405162461bcd60e51b815260040161085a906130d7565b6001600160a01b038116611cc85760405162461bcd60e51b815260040161085a90612caf565b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b611d2c611da8565b6001600160a01b0316611d3d611436565b6001600160a01b031614611d635760405162461bcd60e51b815260040161085a906130d7565b600d805460ff19166001179055565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611de1826111f5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5490565b6000808211611e2c57600080fd5b6000610db183856134bd565b600082611e4757506000611c54565b6000611e5383856134d1565b905082611e6085836134bd565b14611e6a57600080fd5b9392505050565b606081611e9657506040805180820190915260018152600360fc1b602082015261079c565b8160005b8115611ec05780611eaa81613590565b9150611eb99050600a836134bd565b9150611e9a565b60008167ffffffffffffffff811115611ee957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f13576020820181803683370190505b5090505b8415610db157611f286001836134f0565b9150611f35600a866135ab565b611f409060306134a5565b60f81b818381518110611f6357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611f85600a866134bd565b9450611f17565b611fa68282604051806020016040528060008152506123a0565b5050565b611fb382611d8b565b611fcf5760405162461bcd60e51b815260040161085a90612f88565b600082815260066020908152604090912082516109ad928401906125d0565b80546001019055565b826001600160a01b031661200a826111f5565b6001600160a01b0316146120305760405162461bcd60e51b815260040161085a9061310c565b6001600160a01b0382166120565760405162461bcd60e51b815260040161085a90612d2c565b6120618383836109ad565b61206c600082611dac565b6001600160a01b03831660009081526003602052604081208054600192906120959084906134f0565b90915550506001600160a01b03821660009081526003602052604081208054600192906120c39084906134a5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061212f82611d8b565b61214b5760405162461bcd60e51b815260040161085a90612dde565b6000612156836111f5565b9050806001600160a01b0316846001600160a01b031614806121915750836001600160a01b031661218684610833565b6001600160a01b0316145b80610db15750610db18185611c2a565b60606121ad6008611e1a565b67ffffffffffffffff8111156121d357634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156121fc578160200160208202803683370190505b50905060005b61220c6008611e1a565b8110156122d55761221b611436565b6001600160a01b031661222d826111f5565b6001600160a01b031614801561225457506000818152600a602052604090206003015460ff165b1561229057600182828151811061227b57634e487b7160e01b600052603260045260246000fd5b911515602092830291909101909101526122c3565b60008282815181106122b257634e487b7160e01b600052603260045260246000fd5b911515602092830291909101909101525b806122cd81613590565b915050612202565b5090565b6122e4848484611ff7565b6122f0848484846123d3565b6118f95760405162461bcd60e51b815260040161085a90612c5d565b60408051602081019091526000815290565b606061232982611d8b565b6123455760405162461bcd60e51b815260040161085a90613155565b600061234f61230c565b9050600081511161236f5760405180602001604052806000815250611e6a565b8061237984611e71565b60405160200161238a929190612a4d565b6040516020818303038152906040529392505050565b6123aa83836124eb565b6123b760008484846123d3565b6109ad5760405162461bcd60e51b815260040161085a90612c5d565b60006123e7846001600160a01b03166125ca565b156124e357836001600160a01b031663150b7a02612403611da8565b8786866040518563ffffffff1660e01b81526004016124259493929190612b87565b602060405180830381600087803b15801561243f57600080fd5b505af192505050801561246f575060408051601f3d908101601f1916820190925261246c918101906128cf565b60015b6124c9573d80801561249d576040519150601f19603f3d011682016040523d82523d6000602084013e6124a2565b606091505b5080516124c15760405162461bcd60e51b815260040161085a90612c5d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610db1565b506001610db1565b6001600160a01b0382166125115760405162461bcd60e51b815260040161085a90612fd6565b61251a81611d8b565b156125375760405162461bcd60e51b815260040161085a90612cf5565b612543600083836109ad565b6001600160a01b038216600090815260036020526040812080546001929061256c9084906134a5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b8280546125dc90613533565b90600052602060002090601f0160209004810192826125fe5760008555612644565b82601f1061261757805160ff1916838001178555612644565b82800160010185558215612644579182015b82811115612644578251825591602001919060010190612629565b506122d592915061267d565b6040805160a081018252600080825260208201819052606092820183905291810182905290608082015290565b5b808211156122d5576000815560010161267e565b600067ffffffffffffffff808411156126ad576126ad6135eb565b604051601f8501601f1916810160200182811182821017156126d1576126d16135eb565b6040528481529150818385018610156126e957600080fd5b8484602083013760006020868301015250509392505050565b8035801515811461079c57600080fd5b600082601f830112612722578081fd5b611e6a83833560208501612692565b600060208284031215612742578081fd5b8135611e6a81613601565b6000806040838503121561275f578081fd5b823561276a81613601565b946020939093013593505050565b6000806040838503121561278a578182fd5b823561279581613601565b915060208301356127a581613601565b809150509250929050565b6000806000606084860312156127c4578081fd5b83356127cf81613601565b925060208401356127df81613601565b929592945050506040919091013590565b60008060008060808587031215612805578081fd5b843561281081613601565b9350602085013561282081613601565b925060408501359150606085013567ffffffffffffffff811115612842578182fd5b8501601f81018713612852578182fd5b61286187823560208401612692565b91505092959194509250565b6000806040838503121561287f578182fd5b823561288a81613601565b915061289860208401612702565b90509250929050565b6000806040838503121561275f578182fd5b6000602082840312156128c4578081fd5b8135611e6a81613619565b6000602082840312156128e0578081fd5b8151611e6a81613619565b6000602082840312156128fc578081fd5b5035919050565b600060208284031215612914578081fd5b5051919050565b6000806040838503121561292d578182fd5b82359150602083013567ffffffffffffffff81111561294a578182fd5b61295685828601612712565b9150509250929050565b600080600060608486031215612974578081fd5b83359250602084013567ffffffffffffffff811115612991578182fd5b61299d86828701612712565b9250506129ac60408501612702565b90509250925092565b600080604083850312156129c7578182fd5b50508035926020909101359150565b6001600160a01b03169052565b600081518084526129fb816020860160208601613507565b601f01601f19169290920160200192915050565b60048110612a2d57634e487b7160e01b600052602160045260246000fd5b9052565b60008151612a43818560208601613507565b9290920192915050565b60008351612a5f818460208801613507565b835190830190612a73818360208801613507565b01949350505050565b8254600090819060028104600180831680612a9857607f831692505b6020808410821415612ab857634e487b7160e01b87526022600452602487fd5b818015612acc5760018114612add57612b09565b60ff19861689528489019650612b09565b612ae68b613499565b885b86811015612b015781548b820152908501908301612ae8565b505084890196505b505050505050612b198185612a31565b95945050505050565b60006402a37b732960dd1b82528251612b42816005850160208701613507565b9190910160050192915050565b90815260200190565b91825260f01b6001600160f01b031916602082015260220190565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612bba908301846129e3565b9695505050505050565b901515815260200190565b6001600160e01b031991909116815260200190565b600060208252611e6a60208301846129e3565b6020808252601f908201527f5072652d53616c652070757263686173696e672069732064697361626c656400604082015260600190565b602080825260159082015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601f908201527f546f6b656e206973206e6f74206f776e656420627920746865206f776e657200604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601d908201527f4d696e74696e672069732063757272656e746c792064697361626c6564000000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252601d908201527f436f6c6c656374696f6e206d617820737570706c792072656163686564000000604082015260600190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201526d32bc34b9ba32b73a103a37b5b2b760911b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f72206040820152703737b732bc34b9ba32b73a103a37b5b2b760791b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b602080825260159082015274546f6b656e206973206e6f7420666f722073616c6560581b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252601c908201527f546f6b656e206973206e6f74206f662050726573616c65205479706500000000604082015260600190565b6020808252601b908201527f546f6b656e2068617320616c7265616479206265656e20736f6c640000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526022908201527f52657175657374656420746f6b656e20646f6573206e6f742065786973742079604082015261195d60f21b606082015260800190565b6020808252601e908201527f496e73756666696369656e74204554482073656e7420666f72206d696e740000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000604082528351604083015260208401516060830152604084015160a0608084015261334d60e08401826129e3565b90506060850151151560a0840152608085015161336d60c0850182612a0f565b508281036020840152612b1981856129e3565b8381526001600160a01b038316602082015260608101610db16040830184612a0f565b8381526020810183905260608101610db16040830184612a0f565b600086825285602083015260a060408301526133dd60a08301866129e3565b90508315156060830152612bba6080830184612a0f565b600083825260406020830152610db160408301846129e3565b60006101008083018b845260208b818601528a60408601528915156060860152881515608086015287151560a08601528260c08601528192508651808352610120860193508188019250845b81811015613477578351151585529382019392820192600101613459565b505050508091505061348c60e08301846129d6565b9998505050505050505050565b60009081526020902090565b600082198211156134b8576134b86135bf565b500190565b6000826134cc576134cc6135d5565b500490565b60008160001904831182151516156134eb576134eb6135bf565b500290565b600082821015613502576135026135bf565b500390565b60005b8381101561352257818101518382015260200161350a565b838111156118f95750506000910152565b60028104600182168061354757607f821691505b6020821081141561356857634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415613586576135866135bf565b6001019392505050565b60006000198214156135a4576135a46135bf565b5060010190565b6000826135ba576135ba6135d5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461361657600080fd5b50565b6001600160e01b03198116811461361657600080fdfea2646970667358221220d85e7c2bf17ebaa3a67ece7629281e983f90be30facba93df8007d7be1702f3064736f6c63430008000033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000003d0c4e9bde15f2681902f9f291b3c905b7ea46f90000000000000000000000000000000000000000000000000000000000000120000000000000000000000000634977e11c823a436e587c1a1eca959588c64287000000000000000000000000000000000000000000000000000000000000001047656e6572387469766520546f6e657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000547656e546e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f6170692e67656e657238746976652e696f2f746f6e65732f6d657461646174612f0000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Gener8tive Tones
Arg [1] : _symbol (string): GenTn
Arg [2] : _kCompsContractAddress (address): 0x3d0C4e9bDE15f2681902f9F291B3C905B7eA46F9
Arg [3] : _mintBaseUri (string): https://api.gener8tive.io/tones/metadata/
Arg [4] : _causeBeneficiary (address): 0x634977e11C823a436e587C1a1Eca959588C64287

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000003d0c4e9bde15f2681902f9f291b3c905b7ea46f9
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [4] : 000000000000000000000000634977e11c823a436e587c1a1eca959588c64287
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [6] : 47656e6572387469766520546f6e657300000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 47656e546e000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [10] : 68747470733a2f2f6170692e67656e657238746976652e696f2f746f6e65732f
Arg [11] : 6d657461646174612f0000000000000000000000000000000000000000000000


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.