ETH Price: $3,350.46 (-3.11%)

Token

Queens+KingsBeard (Q+KTBE)
 

Overview

Max Total Supply

652 Q+KTBE

Holders

272

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
socalbeachdaze.eth
Balance
1 Q+KTBE
0x9ea493786d8be968a9652976543999456d0bb5fc
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Queens+Kings overthrow hierarchies in contemporary art and re-mint your CryptoRealm: Created by Hackatao and NFT Studios, supported by Sotheby’s 6,900 Queens+Kings: interchangeable NFT traits, randomly allocated and algorithmically generated.

# Exchange Pair Price  24H Volume % Volume

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x46AD682c...36A774357
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Trait

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 2000 runs

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

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "./ERC721.sol";
import "./IQueensAndKingsAvatars.sol";

contract Trait is ERC721 {
    event TraitChanged(uint16 indexed _avatarId, uint16 indexed _traitId);

    modifier onlyAvatarContract() {
        require(avatarContractAddress == msg.sender, "Caller is not the avatar contract");

        _;
    }

    string public baseURI = "ipfs://HASH/";
    uint16 public totalSupply = 0;

    address public avatarContractAddress;

    // trait => avatar
    mapping(uint16 => uint16) public traitToAvatar;

    constructor(string memory _name, string memory _symbol) ERC721(_name, _symbol) {}

    // ONLY OWNER

    /**
     * @dev Sets the base URI for the API that provides the NFT data.
     */
    function setBaseTokenURI(string memory _uri) external onlyOwner {
        baseURI = _uri;
    }

    /**
     * @dev Sets the avatar contract address.
     */
    function setAvatarContractAddress(address _avatarContractAddress) external onlyOwner {
        avatarContractAddress = _avatarContractAddress;
    }

    // END ONLY OWNER

    // ONLY MINTER

    /**
     * @dev Mints a token
     */
    function mint(uint256 _tokenId, address _to) external onlyMinter {
        require(_tokenId > 0, "Token ID cannot be 0");

        _mint(_to, _tokenId);

        totalSupply++;
    }

    function burn(uint16 _tokenId) external onlyMinter {
        _burn(_tokenId);
    }

    // END ONLY MINTER

    // ONLY AVATAR CONTRACT

    /**
     * @dev sets to what avatar a trait is assigned
     */
    function onTraitAddedToAvatar(uint16 _tokenId, uint16 _avatarId) external onlyAvatarContract {
        traitToAvatar[_tokenId] = _avatarId;
        emit TraitChanged(_avatarId, _tokenId);
    }

    /**
     * @dev removes the traitToAvatar relation and if the current owner
     * hasn't been updated on the trait, it updates it.
     */
    function onTraitRemovedFromAvatar(uint16 _tokenId, address _owner) external onlyAvatarContract {
        if (_owners[_tokenId] != _owner) {
            _owners[_tokenId] = _owner;
        }

        emit TraitChanged(traitToAvatar[_tokenId], _tokenId);
        traitToAvatar[_tokenId] = 0;
    }

    /**
     * @dev emits the transfer event when an avatar with a trait is transferred
     */
    function onAvatarTransfer(
        address _from,
        address _to,
        uint16 _tokenId
    ) external onlyAvatarContract {
        require(_exists(_tokenId), "Avatar transfer for a non existent token");

        _balances[_from] -= 1;
        _balances[_to] += 1;
        if (_tokenApprovals[_tokenId] != address(0)) {
            _tokenApprovals[_tokenId] = address(0);
        }

        emit Transfer(_from, _to, _tokenId);
    }

    /**
     @dev Returns wether a token exists or not
     */
    function exists(uint256 tokenId) external view returns (bool) {
        return _exists(tokenId);
    }

    // END ONLY AVATAR CONTRACT

    // CUSTOM ERC721

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        IQueensAndKingsAvatars qakContract = IQueensAndKingsAvatars(avatarContractAddress);

        if (traitToAvatar[uint16(tokenId)] != 0) {
            return qakContract.ownerOf(traitToAvatar[uint16(tokenId)]);
        }

        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721 Trait: owner query for nonexistent token");

        return owner;
    }

    /**
     * @dev See {ERC721}.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override {
        ERC721._transfer(from, to, tokenId);
        IQueensAndKingsAvatars qakContract = IQueensAndKingsAvatars(avatarContractAddress);
        uint16 _tokenId = uint16(tokenId);

        if (traitToAvatar[_tokenId] != 0) {
            qakContract.removeTrait(traitToAvatar[_tokenId]);
        }

        traitToAvatar[_tokenId] = 0;
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        IQueensAndKingsAvatars qakContract = IQueensAndKingsAvatars(avatarContractAddress);

        if (traitToAvatar[uint16(tokenId)] != 0) {
            return qakContract.getApproved(traitToAvatar[uint16(tokenId)]);
        }

        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[uint16(tokenId)];
    }

    // END CUSTOM ERC721

    function traitToExternalAvatarID(uint16 _tokenId) external view returns (uint256) {
        IQueensAndKingsAvatars qakContract = IQueensAndKingsAvatars(avatarContractAddress);

        return qakContract.internalToExternalMapping(traitToAvatar[_tokenId]);
    }

    /**
     * @dev See {ERC721}.
     */
    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 15 : 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 4 of 15 : 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 5 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 6 of 15 : 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 7 of 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 9 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 10 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 12 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "./ProtectedMint.sol";
import "./IOpenSeaProxy.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, ProtectedMint {
    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) internal _owners;

    // Mapping owner address to token count
    mapping(address => uint16) internal _balances;

    // Mapping from token ID to approved address
    mapping(uint16 => address) internal _tokenApprovals;

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

    // OpenSea's proxy registry address
    address proxyRegistryAddress;

    /**
     * @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}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = 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, uint16(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[uint16(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) {
        if (proxyRegistryAddress != address(0)) {
            ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
            if (address(proxyRegistry.proxies(owner)) == operator) {
                return true;
            }
        }

        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 Sets OpenSea's proxy registry address
     */
    function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner {
        proxyRegistryAddress = _proxyRegistryAddress;
    }

    /**
     * @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 = 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(uint16 tokenId) internal virtual {
        address owner = 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(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), uint16(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, uint16 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(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.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    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` and `to` are never both zero.
     *
     * 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 13 of 15 : IOpenSeaProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

File 14 of 15 : IQueensAndKingsAvatars.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

interface IQueensAndKingsAvatars is IERC721 {
    function mint(uint256 _tokenId, address _to) external payable;

    function removeTrait(uint16 _tokenId) external;

    function internalToExternalMapping(uint16 _iTokenId) external view returns (uint256);
}

File 15 of 15 : ProtectedMint.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract ProtectedMint is Ownable {
    address[] public minterAddresses;

    modifier onlyMinter() {
        bool isAllowed;

        for (uint256 i; i < minterAddresses.length; i++) {
            if (minterAddresses[i] == msg.sender) {
                isAllowed = true;

                break;
            }
        }

        require(isAllowed, "Minter: caller is not an allowed minter");

        _;
    }

    /**
     * @dev Adds an address that is allowed to mint
     */
    function addMinterAddress(address _minterAddress) external onlyOwner {
        minterAddresses.push(_minterAddress);
    }

    /**
     * @dev Removes
     */
    function removeMinterAddress(address _minterAddress) external onlyOwner {
        for (uint256 i; i < minterAddresses.length; i++) {
            if (minterAddresses[i] != _minterAddress) {
                continue;
            }

            minterAddresses[i] = minterAddresses[minterAddresses.length - 1];

            minterAddresses.pop();
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint16","name":"_avatarId","type":"uint16"},{"indexed":true,"internalType":"uint16","name":"_traitId","type":"uint16"}],"name":"TraitChanged","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":"_minterAddress","type":"address"}],"name":"addMinterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"avatarContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minterAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint16","name":"_tokenId","type":"uint16"}],"name":"onAvatarTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"},{"internalType":"uint16","name":"_avatarId","type":"uint16"}],"name":"onTraitAddedToAvatar","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"},{"internalType":"address","name":"_owner","type":"address"}],"name":"onTraitRemovedFromAvatar","outputs":[],"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":"address","name":"_minterAddress","type":"address"}],"name":"removeMinterAddress","outputs":[],"stateMutability":"nonpayable","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":"address","name":"_avatarContractAddress","type":"address"}],"name":"setAvatarContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"traitToAvatar","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_tokenId","type":"uint16"}],"name":"traitToExternalAvatarID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052600c60808190526b697066733a2f2f484153482f60a01b60a09081526200002f9160099190620000fe565b50600a805461ffff191690553480156200004857600080fd5b5060405162002f6638038062002f668339810160408190526200006b9162000271565b81816200007833620000ae565b81516200008d906002906020850190620000fe565b508051620000a3906003906020840190620000fe565b505050505062000318565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200010c90620002db565b90600052602060002090601f0160209004810192826200013057600085556200017b565b82601f106200014b57805160ff19168380011785556200017b565b828001600101855582156200017b579182015b828111156200017b5782518255916020019190600101906200015e565b50620001899291506200018d565b5090565b5b808211156200018957600081556001016200018e565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001cc57600080fd5b81516001600160401b0380821115620001e957620001e9620001a4565b604051601f8301601f19908116603f01168101908282118183101715620002145762000214620001a4565b816040528381526020925086838588010111156200023157600080fd5b600091505b8382101562000255578582018301518183018401529082019062000236565b83821115620002675760008385830101525b9695505050505050565b600080604083850312156200028557600080fd5b82516001600160401b03808211156200029d57600080fd5b620002ab86838701620001ba565b93506020850151915080821115620002c257600080fd5b50620002d185828601620001ba565b9150509250929050565b600181811c90821680620002f057607f821691505b602082108114156200031257634e487b7160e01b600052602260045260246000fd5b50919050565b612c3e80620003286000396000f3fe608060405234801561001057600080fd5b506004361061020b5760003560e01c8063715018a61161012a578063c87b56dd116100bd578063e5f8b4ba1161008c578063e9cf98ae11610071578063e9cf98ae1461047a578063f25b18361461048d578063f2fde38b146104b157600080fd5b8063e5f8b4ba14610454578063e985e9c51461046757600080fd5b8063c87b56dd14610402578063d26ea6c014610415578063d86bd3f814610428578063e3f512bb1461044157600080fd5b806394bf804d116100f957806394bf804d146103c157806395d89b41146103d4578063a22cb465146103dc578063b88d4fde146103ef57600080fd5b8063715018a61461038257806383ca5a051461038a5780638da5cb5b1461039d5780638f1004b1146103ae57600080fd5b806323b872dd116101a25780636352211e116101715780636352211e1461033357806369807b83146103465780636c0360eb1461036757806370a082311461036f57600080fd5b806323b872dd146102e757806330176e13146102fa57806342842e0e1461030d5780634f558e791461032057600080fd5b8063095ea7b3116101de578063095ea7b31461028b5780630a28a87c146102a057806318160ddd146102b357806319ac6f69146102d457600080fd5b806301ffc9a714610210578063028850971461023857806306fdde0314610263578063081812fc14610278575b600080fd5b61022361021e3660046125f5565b6104c4565b60405190151581526020015b60405180910390f35b61024b610246366004612612565b6105a9565b6040516001600160a01b03909116815260200161022f565b61026b6105d3565b60405161022f9190612683565b61024b610286366004612612565b610665565b61029e6102993660046126ab565b6107e5565b005b61029e6102ae3660046126ee565b610917565b600a546102c19061ffff1681565b60405161ffff909116815260200161022f565b61029e6102e2366004612735565b610b2c565b61029e6102f5366004612750565b610c0e565b61029e61030836600461281d565b610c95565b61029e61031b366004612750565b610d02565b61022361032e366004612612565b610d1d565b61024b610341366004612612565b610d3c565b610359610354366004612735565b610e53565b60405190815260200161022f565b61026b610ef5565b61035961037d366004612866565b610f83565b61029e611021565b61029e610398366004612866565b611087565b6000546001600160a01b031661024b565b61029e6103bc366004612883565b611132565b61029e6103cf3660046128ba565b61124d565b61026b6113b0565b61029e6103ea3660046128df565b6113bf565b61029e6103fd366004612912565b6114a2565b61026b610410366004612612565b611530565b61029e610423366004612866565b611618565b600a5461024b906201000090046001600160a01b031681565b61029e61044f366004612992565b611694565b61029e610462366004612866565b61174e565b6102236104753660046129c5565b6117e8565b61029e610488366004612866565b6118d2565b6102c161049b366004612735565b600b6020526000908152604090205461ffff1681565b61029e6104bf366004612866565b611a34565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061055757507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806105a357507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b600181815481106105b957600080fd5b6000918252602090912001546001600160a01b0316905081565b6060600280546105e2906129e3565b80601f016020809104026020016040519081016040528092919081815260200182805461060e906129e3565b801561065b5780601f106106305761010080835404028352916020019161065b565b820191906000526020600020905b81548152906001019060200180831161063e57829003601f168201915b5050505050905090565b600a5461ffff8281166000908152600b602052604081205490926201000090046001600160a01b03169116156107355761ffff8381166000908152600b6020526040908190205490517f081812fc000000000000000000000000000000000000000000000000000000008152911660048201526001600160a01b0382169063081812fc906024015b602060405180830381865afa15801561070a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072e9190612a1e565b9392505050565b6000838152600460205260409020546001600160a01b03166107c45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b505061ffff166000908152600660205260409020546001600160a01b031690565b60006107f082610d3c565b9050806001600160a01b0316836001600160a01b0316141561087a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107bb565b336001600160a01b0382161480610896575061089681336117e8565b6109085760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107bb565b6109128383611b16565b505050565b600a546201000090046001600160a01b031633146109815760405162461bcd60e51b815260206004820152602160248201527f43616c6c6572206973206e6f74207468652061766174617220636f6e747261636044820152601d60fa1b60648201526084016107bb565b61ffff81166000908152600460205260409020546001600160a01b0316610a105760405162461bcd60e51b815260206004820152602860248201527f417661746172207472616e7366657220666f722061206e6f6e2065786973746560448201527f6e7420746f6b656e00000000000000000000000000000000000000000000000060648201526084016107bb565b6001600160a01b0383166000908152600560205260408120805460019290610a3d90849061ffff16612a51565b82546101009290920a61ffff8181021990931691831602179091556001600160a01b03841660009081526005602052604081208054600194509092610a8491859116612a74565b82546101009290920a61ffff81810219909316918316021790915582166000908152600660205260409020546001600160a01b0316159050610ae25761ffff8116600090815260066020526040902080546001600160a01b03191690555b8061ffff16826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000805b600154811015610b8d57336001600160a01b031660018281548110610b5757610b57612a9a565b6000918252602090912001546001600160a01b03161415610b7b5760019150610b8d565b80610b8581612ab0565b915050610b30565b5080610c015760405162461bcd60e51b815260206004820152602760248201527f4d696e7465723a2063616c6c6572206973206e6f7420616e20616c6c6f77656460448201527f206d696e7465720000000000000000000000000000000000000000000000000060648201526084016107bb565b610c0a82611b87565b5050565b610c183382611c43565b610c8a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107bb565b610912838383611d2b565b6000546001600160a01b03163314610cef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b8051610c0a90600990602084019061252e565b610912838383604051806020016040528060008152506114a2565b6000818152600460205260408120546001600160a01b031615156105a3565b600a5461ffff8281166000908152600b602052604081205490926201000090046001600160a01b0316911615610dc85761ffff8381166000908152600b6020526040908190205490517f6352211e000000000000000000000000000000000000000000000000000000008152911660048201526001600160a01b03821690636352211e906024016106ed565b6000838152600460205260409020546001600160a01b03168061072e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732312054726169743a206f776e657220717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107bb565b600a5461ffff8281166000908152600b60205260408082205490517f096a31a400000000000000000000000000000000000000000000000000000000815292166004830152916201000090046001600160a01b031690819063096a31a490602401602060405180830381865afa158015610ed1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072e9190612acb565b60098054610f02906129e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2e906129e3565b8015610f7b5780601f10610f5057610100808354040283529160200191610f7b565b820191906000526020600020905b815481529060010190602001808311610f5e57829003601f168201915b505050505081565b60006001600160a01b0382166110015760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107bb565b506001600160a01b031660009081526005602052604090205461ffff1690565b6000546001600160a01b0316331461107b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b6110856000611e12565b565b6000546001600160a01b031633146110e15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b6001805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60180546001600160a01b0319166001600160a01b0392909216919091179055565b600a546201000090046001600160a01b0316331461119c5760405162461bcd60e51b815260206004820152602160248201527f43616c6c6572206973206e6f74207468652061766174617220636f6e747261636044820152601d60fa1b60648201526084016107bb565b61ffff82166000908152600460205260409020546001600160a01b038281169116146111ef5761ffff8216600090815260046020526040902080546001600160a01b0319166001600160a01b0383161790555b61ffff8083166000818152600b6020526040808220549051929316917f7032a4baaed8ebe309ea030f9d3243bcc48dda3aa165e39dc9c96390560774d29190a35061ffff166000908152600b60205260409020805461ffff19169055565b6000805b6001548110156112ae57336001600160a01b03166001828154811061127857611278612a9a565b6000918252602090912001546001600160a01b0316141561129c57600191506112ae565b806112a681612ab0565b915050611251565b50806113225760405162461bcd60e51b815260206004820152602760248201527f4d696e7465723a2063616c6c6572206973206e6f7420616e20616c6c6f77656460448201527f206d696e7465720000000000000000000000000000000000000000000000000060648201526084016107bb565b600083116113725760405162461bcd60e51b815260206004820152601460248201527f546f6b656e2049442063616e6e6f74206265203000000000000000000000000060448201526064016107bb565b61137c8284611e62565b600a805461ffff1690600061139083612ae4565b91906101000a81548161ffff021916908361ffff16021790555050505050565b6060600380546105e2906129e3565b6001600160a01b0382163314156114185760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107bb565b3360008181526007602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114ac3383611c43565b61151e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107bb565b61152a84848484611fc2565b50505050565b6000818152600460205260409020546060906001600160a01b03166115bd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107bb565b60006115c761204b565b905060008151116115e7576040518060200160405280600081525061072e565b806115f18461205a565b604051602001611602929190612b06565b6040516020818303038152906040529392505050565b6000546001600160a01b031633146116725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600a546201000090046001600160a01b031633146116fe5760405162461bcd60e51b815260206004820152602160248201527f43616c6c6572206973206e6f74207468652061766174617220636f6e747261636044820152601d60fa1b60648201526084016107bb565b61ffff8281166000818152600b6020526040808220805461ffff19169486169485179055519192917f7032a4baaed8ebe309ea030f9d3243bcc48dda3aa165e39dc9c96390560774d29190a35050565b6000546001600160a01b031633146117a85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b600a80546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b6008546000906001600160a01b0316156118a3576008546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03858116600483015291821691841690829063c455279190602401602060405180830381865afa158015611864573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118889190612a1e565b6001600160a01b031614156118a15760019150506105a3565b505b506001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b0316331461192c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b60005b600154811015610c0a57816001600160a01b03166001828154811061195657611956612a9a565b6000918252602090912001546001600160a01b03161461197557611a22565b60018054611984908290612b2c565b8154811061199457611994612a9a565b600091825260209091200154600180546001600160a01b0390921691839081106119c0576119c0612a9a565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060018054806119ff576119ff612b43565b600082815260209020810160001990810180546001600160a01b03191690550190555b80611a2c81612ab0565b91505061192f565b6000546001600160a01b03163314611a8e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b6001600160a01b038116611b0a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107bb565b611b1381611e12565b50565b61ffff8116600081815260066020526040902080546001600160a01b0319166001600160a01b038516908117909155611b4e82610d3c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611b968261ffff16610d3c565b9050611ba3600083611b16565b6001600160a01b0381166000908152600560205260408120805460019290611bd090849061ffff16612a51565b82546101009290920a61ffff818102199093169183160217909155831660008181526004602052604080822080546001600160a01b031916905551919250906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000818152600460205260408120546001600160a01b0316611ccd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016107bb565b6000611cd883610d3c565b9050806001600160a01b0316846001600160a01b03161480611d135750836001600160a01b0316611d0884610665565b6001600160a01b0316145b80611d235750611d2381856117e8565b949350505050565b611d3683838361218c565b600a5461ffff8281166000908152600b6020526040902054620100009092046001600160a01b03169183911615611df15761ffff8181166000908152600b6020526040908190205490517fe6ad01b7000000000000000000000000000000000000000000000000000000008152911660048201526001600160a01b0383169063e6ad01b790602401600060405180830381600087803b158015611dd857600080fd5b505af1158015611dec573d6000803e3d6000fd5b505050505b61ffff166000908152600b60205260409020805461ffff1916905550505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216611eb85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107bb565b6000818152600460205260409020546001600160a01b031615611f1d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107bb565b6001600160a01b0382166000908152600560205260408120805460019290611f4a90849061ffff16612a74565b825461ffff9182166101009390930a92830291909202199091161790555060008181526004602052604080822080546001600160a01b0386166001600160a01b0319909116811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611fcd848484611d2b565b611fd984848484612390565b61152a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107bb565b6060600980546105e2906129e3565b60608161209a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156120c457806120ae81612ab0565b91506120bd9050600a83612b6f565b915061209e565b60008167ffffffffffffffff8111156120df576120df612791565b6040519080825280601f01601f191660200182016040528015612109576020820181803683370190505b5090505b8415611d235761211e600183612b2c565b915061212b600a86612b83565b612136906030612b97565b60f81b81838151811061214b5761214b612a9a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612185600a86612b6f565b945061210d565b826001600160a01b031661219f82610d3c565b6001600160a01b03161461221b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016107bb565b6001600160a01b0382166122965760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107bb565b6122a1600082611b16565b6001600160a01b03831660009081526005602052604081208054600192906122ce90849061ffff16612a51565b82546101009290920a61ffff8181021990931691831602179091556001600160a01b0384166000908152600560205260408120805460019450909261231591859116612a74565b825461ffff9182166101009390930a92830291909202199091161790555060008181526004602052604080822080546001600160a01b038087166001600160a01b0319909216821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006001600160a01b0384163b15612523576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906123ed903390899088908890600401612baf565b6020604051808303816000875af1925050508015612428575060408051601f3d908101601f1916820190925261242591810190612beb565b60015b6124d8573d808015612456576040519150601f19603f3d011682016040523d82523d6000602084013e61245b565b606091505b5080516124d05760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107bb565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611d23565b506001949350505050565b82805461253a906129e3565b90600052602060002090601f01602090048101928261255c57600085556125a2565b82601f1061257557805160ff19168380011785556125a2565b828001600101855582156125a2579182015b828111156125a2578251825591602001919060010190612587565b506125ae9291506125b2565b5090565b5b808211156125ae57600081556001016125b3565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611b1357600080fd5b60006020828403121561260757600080fd5b813561072e816125c7565b60006020828403121561262457600080fd5b5035919050565b60005b8381101561264657818101518382015260200161262e565b8381111561152a5750506000910152565b6000815180845261266f81602086016020860161262b565b601f01601f19169290920160200192915050565b60208152600061072e6020830184612657565b6001600160a01b0381168114611b1357600080fd5b600080604083850312156126be57600080fd5b82356126c981612696565b946020939093013593505050565b803561ffff811681146126e957600080fd5b919050565b60008060006060848603121561270357600080fd5b833561270e81612696565b9250602084013561271e81612696565b915061272c604085016126d7565b90509250925092565b60006020828403121561274757600080fd5b61072e826126d7565b60008060006060848603121561276557600080fd5b833561277081612696565b9250602084013561278081612696565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156127c2576127c2612791565b604051601f8501601f19908116603f011681019082821181831017156127ea576127ea612791565b8160405280935085815286868601111561280357600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561282f57600080fd5b813567ffffffffffffffff81111561284657600080fd5b8201601f8101841361285757600080fd5b611d23848235602084016127a7565b60006020828403121561287857600080fd5b813561072e81612696565b6000806040838503121561289657600080fd5b61289f836126d7565b915060208301356128af81612696565b809150509250929050565b600080604083850312156128cd57600080fd5b8235915060208301356128af81612696565b600080604083850312156128f257600080fd5b82356128fd81612696565b9150602083013580151581146128af57600080fd5b6000806000806080858703121561292857600080fd5b843561293381612696565b9350602085013561294381612696565b925060408501359150606085013567ffffffffffffffff81111561296657600080fd5b8501601f8101871361297757600080fd5b612986878235602084016127a7565b91505092959194509250565b600080604083850312156129a557600080fd5b6129ae836126d7565b91506129bc602084016126d7565b90509250929050565b600080604083850312156129d857600080fd5b823561289f81612696565b600181811c908216806129f757607f821691505b60208210811415612a1857634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612a3057600080fd5b815161072e81612696565b634e487b7160e01b600052601160045260246000fd5b600061ffff83811690831681811015612a6c57612a6c612a3b565b039392505050565b600061ffff808316818516808303821115612a9157612a91612a3b565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612ac457612ac4612a3b565b5060010190565b600060208284031215612add57600080fd5b5051919050565b600061ffff80831681811415612afc57612afc612a3b565b6001019392505050565b60008351612b1881846020880161262b565b835190830190612a9181836020880161262b565b600082821015612b3e57612b3e612a3b565b500390565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b600082612b7e57612b7e612b59565b500490565b600082612b9257612b92612b59565b500690565b60008219821115612baa57612baa612a3b565b500190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612be16080830184612657565b9695505050505050565b600060208284031215612bfd57600080fd5b815161072e816125c756fea264697066735822122024b6f7b6d2327774c140336c280f801355d9c1671f18d037e8a6518b27cc740964736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000016517565656e732b4b696e67734261636b67726f756e64000000000000000000000000000000000000000000000000000000000000000000000000000000000006512b4b5442410000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061020b5760003560e01c8063715018a61161012a578063c87b56dd116100bd578063e5f8b4ba1161008c578063e9cf98ae11610071578063e9cf98ae1461047a578063f25b18361461048d578063f2fde38b146104b157600080fd5b8063e5f8b4ba14610454578063e985e9c51461046757600080fd5b8063c87b56dd14610402578063d26ea6c014610415578063d86bd3f814610428578063e3f512bb1461044157600080fd5b806394bf804d116100f957806394bf804d146103c157806395d89b41146103d4578063a22cb465146103dc578063b88d4fde146103ef57600080fd5b8063715018a61461038257806383ca5a051461038a5780638da5cb5b1461039d5780638f1004b1146103ae57600080fd5b806323b872dd116101a25780636352211e116101715780636352211e1461033357806369807b83146103465780636c0360eb1461036757806370a082311461036f57600080fd5b806323b872dd146102e757806330176e13146102fa57806342842e0e1461030d5780634f558e791461032057600080fd5b8063095ea7b3116101de578063095ea7b31461028b5780630a28a87c146102a057806318160ddd146102b357806319ac6f69146102d457600080fd5b806301ffc9a714610210578063028850971461023857806306fdde0314610263578063081812fc14610278575b600080fd5b61022361021e3660046125f5565b6104c4565b60405190151581526020015b60405180910390f35b61024b610246366004612612565b6105a9565b6040516001600160a01b03909116815260200161022f565b61026b6105d3565b60405161022f9190612683565b61024b610286366004612612565b610665565b61029e6102993660046126ab565b6107e5565b005b61029e6102ae3660046126ee565b610917565b600a546102c19061ffff1681565b60405161ffff909116815260200161022f565b61029e6102e2366004612735565b610b2c565b61029e6102f5366004612750565b610c0e565b61029e61030836600461281d565b610c95565b61029e61031b366004612750565b610d02565b61022361032e366004612612565b610d1d565b61024b610341366004612612565b610d3c565b610359610354366004612735565b610e53565b60405190815260200161022f565b61026b610ef5565b61035961037d366004612866565b610f83565b61029e611021565b61029e610398366004612866565b611087565b6000546001600160a01b031661024b565b61029e6103bc366004612883565b611132565b61029e6103cf3660046128ba565b61124d565b61026b6113b0565b61029e6103ea3660046128df565b6113bf565b61029e6103fd366004612912565b6114a2565b61026b610410366004612612565b611530565b61029e610423366004612866565b611618565b600a5461024b906201000090046001600160a01b031681565b61029e61044f366004612992565b611694565b61029e610462366004612866565b61174e565b6102236104753660046129c5565b6117e8565b61029e610488366004612866565b6118d2565b6102c161049b366004612735565b600b6020526000908152604090205461ffff1681565b61029e6104bf366004612866565b611a34565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061055757507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806105a357507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b600181815481106105b957600080fd5b6000918252602090912001546001600160a01b0316905081565b6060600280546105e2906129e3565b80601f016020809104026020016040519081016040528092919081815260200182805461060e906129e3565b801561065b5780601f106106305761010080835404028352916020019161065b565b820191906000526020600020905b81548152906001019060200180831161063e57829003601f168201915b5050505050905090565b600a5461ffff8281166000908152600b602052604081205490926201000090046001600160a01b03169116156107355761ffff8381166000908152600b6020526040908190205490517f081812fc000000000000000000000000000000000000000000000000000000008152911660048201526001600160a01b0382169063081812fc906024015b602060405180830381865afa15801561070a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072e9190612a1e565b9392505050565b6000838152600460205260409020546001600160a01b03166107c45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b505061ffff166000908152600660205260409020546001600160a01b031690565b60006107f082610d3c565b9050806001600160a01b0316836001600160a01b0316141561087a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107bb565b336001600160a01b0382161480610896575061089681336117e8565b6109085760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107bb565b6109128383611b16565b505050565b600a546201000090046001600160a01b031633146109815760405162461bcd60e51b815260206004820152602160248201527f43616c6c6572206973206e6f74207468652061766174617220636f6e747261636044820152601d60fa1b60648201526084016107bb565b61ffff81166000908152600460205260409020546001600160a01b0316610a105760405162461bcd60e51b815260206004820152602860248201527f417661746172207472616e7366657220666f722061206e6f6e2065786973746560448201527f6e7420746f6b656e00000000000000000000000000000000000000000000000060648201526084016107bb565b6001600160a01b0383166000908152600560205260408120805460019290610a3d90849061ffff16612a51565b82546101009290920a61ffff8181021990931691831602179091556001600160a01b03841660009081526005602052604081208054600194509092610a8491859116612a74565b82546101009290920a61ffff81810219909316918316021790915582166000908152600660205260409020546001600160a01b0316159050610ae25761ffff8116600090815260066020526040902080546001600160a01b03191690555b8061ffff16826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000805b600154811015610b8d57336001600160a01b031660018281548110610b5757610b57612a9a565b6000918252602090912001546001600160a01b03161415610b7b5760019150610b8d565b80610b8581612ab0565b915050610b30565b5080610c015760405162461bcd60e51b815260206004820152602760248201527f4d696e7465723a2063616c6c6572206973206e6f7420616e20616c6c6f77656460448201527f206d696e7465720000000000000000000000000000000000000000000000000060648201526084016107bb565b610c0a82611b87565b5050565b610c183382611c43565b610c8a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107bb565b610912838383611d2b565b6000546001600160a01b03163314610cef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b8051610c0a90600990602084019061252e565b610912838383604051806020016040528060008152506114a2565b6000818152600460205260408120546001600160a01b031615156105a3565b600a5461ffff8281166000908152600b602052604081205490926201000090046001600160a01b0316911615610dc85761ffff8381166000908152600b6020526040908190205490517f6352211e000000000000000000000000000000000000000000000000000000008152911660048201526001600160a01b03821690636352211e906024016106ed565b6000838152600460205260409020546001600160a01b03168061072e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732312054726169743a206f776e657220717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107bb565b600a5461ffff8281166000908152600b60205260408082205490517f096a31a400000000000000000000000000000000000000000000000000000000815292166004830152916201000090046001600160a01b031690819063096a31a490602401602060405180830381865afa158015610ed1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072e9190612acb565b60098054610f02906129e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2e906129e3565b8015610f7b5780601f10610f5057610100808354040283529160200191610f7b565b820191906000526020600020905b815481529060010190602001808311610f5e57829003601f168201915b505050505081565b60006001600160a01b0382166110015760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107bb565b506001600160a01b031660009081526005602052604090205461ffff1690565b6000546001600160a01b0316331461107b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b6110856000611e12565b565b6000546001600160a01b031633146110e15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b6001805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60180546001600160a01b0319166001600160a01b0392909216919091179055565b600a546201000090046001600160a01b0316331461119c5760405162461bcd60e51b815260206004820152602160248201527f43616c6c6572206973206e6f74207468652061766174617220636f6e747261636044820152601d60fa1b60648201526084016107bb565b61ffff82166000908152600460205260409020546001600160a01b038281169116146111ef5761ffff8216600090815260046020526040902080546001600160a01b0319166001600160a01b0383161790555b61ffff8083166000818152600b6020526040808220549051929316917f7032a4baaed8ebe309ea030f9d3243bcc48dda3aa165e39dc9c96390560774d29190a35061ffff166000908152600b60205260409020805461ffff19169055565b6000805b6001548110156112ae57336001600160a01b03166001828154811061127857611278612a9a565b6000918252602090912001546001600160a01b0316141561129c57600191506112ae565b806112a681612ab0565b915050611251565b50806113225760405162461bcd60e51b815260206004820152602760248201527f4d696e7465723a2063616c6c6572206973206e6f7420616e20616c6c6f77656460448201527f206d696e7465720000000000000000000000000000000000000000000000000060648201526084016107bb565b600083116113725760405162461bcd60e51b815260206004820152601460248201527f546f6b656e2049442063616e6e6f74206265203000000000000000000000000060448201526064016107bb565b61137c8284611e62565b600a805461ffff1690600061139083612ae4565b91906101000a81548161ffff021916908361ffff16021790555050505050565b6060600380546105e2906129e3565b6001600160a01b0382163314156114185760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107bb565b3360008181526007602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114ac3383611c43565b61151e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107bb565b61152a84848484611fc2565b50505050565b6000818152600460205260409020546060906001600160a01b03166115bd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107bb565b60006115c761204b565b905060008151116115e7576040518060200160405280600081525061072e565b806115f18461205a565b604051602001611602929190612b06565b6040516020818303038152906040529392505050565b6000546001600160a01b031633146116725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600a546201000090046001600160a01b031633146116fe5760405162461bcd60e51b815260206004820152602160248201527f43616c6c6572206973206e6f74207468652061766174617220636f6e747261636044820152601d60fa1b60648201526084016107bb565b61ffff8281166000818152600b6020526040808220805461ffff19169486169485179055519192917f7032a4baaed8ebe309ea030f9d3243bcc48dda3aa165e39dc9c96390560774d29190a35050565b6000546001600160a01b031633146117a85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b600a80546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b6008546000906001600160a01b0316156118a3576008546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03858116600483015291821691841690829063c455279190602401602060405180830381865afa158015611864573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118889190612a1e565b6001600160a01b031614156118a15760019150506105a3565b505b506001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6000546001600160a01b0316331461192c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b60005b600154811015610c0a57816001600160a01b03166001828154811061195657611956612a9a565b6000918252602090912001546001600160a01b03161461197557611a22565b60018054611984908290612b2c565b8154811061199457611994612a9a565b600091825260209091200154600180546001600160a01b0390921691839081106119c0576119c0612a9a565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060018054806119ff576119ff612b43565b600082815260209020810160001990810180546001600160a01b03191690550190555b80611a2c81612ab0565b91505061192f565b6000546001600160a01b03163314611a8e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bb565b6001600160a01b038116611b0a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107bb565b611b1381611e12565b50565b61ffff8116600081815260066020526040902080546001600160a01b0319166001600160a01b038516908117909155611b4e82610d3c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611b968261ffff16610d3c565b9050611ba3600083611b16565b6001600160a01b0381166000908152600560205260408120805460019290611bd090849061ffff16612a51565b82546101009290920a61ffff818102199093169183160217909155831660008181526004602052604080822080546001600160a01b031916905551919250906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000818152600460205260408120546001600160a01b0316611ccd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016107bb565b6000611cd883610d3c565b9050806001600160a01b0316846001600160a01b03161480611d135750836001600160a01b0316611d0884610665565b6001600160a01b0316145b80611d235750611d2381856117e8565b949350505050565b611d3683838361218c565b600a5461ffff8281166000908152600b6020526040902054620100009092046001600160a01b03169183911615611df15761ffff8181166000908152600b6020526040908190205490517fe6ad01b7000000000000000000000000000000000000000000000000000000008152911660048201526001600160a01b0383169063e6ad01b790602401600060405180830381600087803b158015611dd857600080fd5b505af1158015611dec573d6000803e3d6000fd5b505050505b61ffff166000908152600b60205260409020805461ffff1916905550505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216611eb85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107bb565b6000818152600460205260409020546001600160a01b031615611f1d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107bb565b6001600160a01b0382166000908152600560205260408120805460019290611f4a90849061ffff16612a74565b825461ffff9182166101009390930a92830291909202199091161790555060008181526004602052604080822080546001600160a01b0386166001600160a01b0319909116811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611fcd848484611d2b565b611fd984848484612390565b61152a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107bb565b6060600980546105e2906129e3565b60608161209a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156120c457806120ae81612ab0565b91506120bd9050600a83612b6f565b915061209e565b60008167ffffffffffffffff8111156120df576120df612791565b6040519080825280601f01601f191660200182016040528015612109576020820181803683370190505b5090505b8415611d235761211e600183612b2c565b915061212b600a86612b83565b612136906030612b97565b60f81b81838151811061214b5761214b612a9a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612185600a86612b6f565b945061210d565b826001600160a01b031661219f82610d3c565b6001600160a01b03161461221b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016107bb565b6001600160a01b0382166122965760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107bb565b6122a1600082611b16565b6001600160a01b03831660009081526005602052604081208054600192906122ce90849061ffff16612a51565b82546101009290920a61ffff8181021990931691831602179091556001600160a01b0384166000908152600560205260408120805460019450909261231591859116612a74565b825461ffff9182166101009390930a92830291909202199091161790555060008181526004602052604080822080546001600160a01b038087166001600160a01b0319909216821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006001600160a01b0384163b15612523576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906123ed903390899088908890600401612baf565b6020604051808303816000875af1925050508015612428575060408051601f3d908101601f1916820190925261242591810190612beb565b60015b6124d8573d808015612456576040519150601f19603f3d011682016040523d82523d6000602084013e61245b565b606091505b5080516124d05760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107bb565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611d23565b506001949350505050565b82805461253a906129e3565b90600052602060002090601f01602090048101928261255c57600085556125a2565b82601f1061257557805160ff19168380011785556125a2565b828001600101855582156125a2579182015b828111156125a2578251825591602001919060010190612587565b506125ae9291506125b2565b5090565b5b808211156125ae57600081556001016125b3565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611b1357600080fd5b60006020828403121561260757600080fd5b813561072e816125c7565b60006020828403121561262457600080fd5b5035919050565b60005b8381101561264657818101518382015260200161262e565b8381111561152a5750506000910152565b6000815180845261266f81602086016020860161262b565b601f01601f19169290920160200192915050565b60208152600061072e6020830184612657565b6001600160a01b0381168114611b1357600080fd5b600080604083850312156126be57600080fd5b82356126c981612696565b946020939093013593505050565b803561ffff811681146126e957600080fd5b919050565b60008060006060848603121561270357600080fd5b833561270e81612696565b9250602084013561271e81612696565b915061272c604085016126d7565b90509250925092565b60006020828403121561274757600080fd5b61072e826126d7565b60008060006060848603121561276557600080fd5b833561277081612696565b9250602084013561278081612696565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156127c2576127c2612791565b604051601f8501601f19908116603f011681019082821181831017156127ea576127ea612791565b8160405280935085815286868601111561280357600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561282f57600080fd5b813567ffffffffffffffff81111561284657600080fd5b8201601f8101841361285757600080fd5b611d23848235602084016127a7565b60006020828403121561287857600080fd5b813561072e81612696565b6000806040838503121561289657600080fd5b61289f836126d7565b915060208301356128af81612696565b809150509250929050565b600080604083850312156128cd57600080fd5b8235915060208301356128af81612696565b600080604083850312156128f257600080fd5b82356128fd81612696565b9150602083013580151581146128af57600080fd5b6000806000806080858703121561292857600080fd5b843561293381612696565b9350602085013561294381612696565b925060408501359150606085013567ffffffffffffffff81111561296657600080fd5b8501601f8101871361297757600080fd5b612986878235602084016127a7565b91505092959194509250565b600080604083850312156129a557600080fd5b6129ae836126d7565b91506129bc602084016126d7565b90509250929050565b600080604083850312156129d857600080fd5b823561289f81612696565b600181811c908216806129f757607f821691505b60208210811415612a1857634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612a3057600080fd5b815161072e81612696565b634e487b7160e01b600052601160045260246000fd5b600061ffff83811690831681811015612a6c57612a6c612a3b565b039392505050565b600061ffff808316818516808303821115612a9157612a91612a3b565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612ac457612ac4612a3b565b5060010190565b600060208284031215612add57600080fd5b5051919050565b600061ffff80831681811415612afc57612afc612a3b565b6001019392505050565b60008351612b1881846020880161262b565b835190830190612a9181836020880161262b565b600082821015612b3e57612b3e612a3b565b500390565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b600082612b7e57612b7e612b59565b500490565b600082612b9257612b92612b59565b500690565b60008219821115612baa57612baa612a3b565b500190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612be16080830184612657565b9695505050505050565b600060208284031215612bfd57600080fd5b815161072e816125c756fea264697066735822122024b6f7b6d2327774c140336c280f801355d9c1671f18d037e8a6518b27cc740964736f6c634300080a0033

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.