ETH Price: $2,840.11 (-7.00%)
Gas: 10 Gwei

Token

Uppercut (HERO)
 

Overview

Max Total Supply

501 HERO

Holders

340

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 HERO
0x2a8f1C9d50e7647A30b2694e676fBC508D9241F9
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Uppercut

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./ERC721A.sol";

contract Uppercut is ERC721A, Ownable, ReentrancyGuard {
    using Strings for uint256;

    // TODO: provenance hashes - these will be set before contract deployment and will not change. empty strins for now
    string public OQO_PROVENANCE = "";
    string public TNGO_PROVENANCE = "";
    string public GNASIS_PROVENANCE = "";

    // constants
    uint256 public constant NUMBER_OF_DOMOS = 3;

    // immutable
    uint256 public immutable numberOfHeroes;
    uint256 public immutable numberOfHeroesPerDomos;

    // global vars public
    uint256 public startingIndex = 0;
    uint256 public startingIndexBlock = 0;

    // [domosOqoBalance, domosTngoBalance, domosGnasisBalance]
    uint256[3] public balances = [0, 0, 0];

    string private baseTokenURI;
    address public season2ContractAddress;

    mapping(uint256 => uint256) public mintIndexToDomosIndex; // between 0 and 2
    mapping(uint256 => uint256) public mintIndexToHeroInDomosIndex; // between 0 and numberOfHeroesPerDomos

    constructor(uint32 _numberOfHeroes) ERC721A("Uppercut", "HERO") {
        require(_numberOfHeroes % NUMBER_OF_DOMOS == 0, "heroes % 3 == 0");
        numberOfHeroes = _numberOfHeroes;
        numberOfHeroesPerDomos = _numberOfHeroes / NUMBER_OF_DOMOS;
    }

    function teamMint() external onlyOwner {
        require(_currentIndex == 0, "Sold out");

        uint256 _domosId = 0;

        for (uint256 i = _currentIndex; i < numberOfHeroes; i++) {
            _domosId = i % NUMBER_OF_DOMOS;
            mintIndexToHeroInDomosIndex[i] = uint256(i / 3);
            mintIndexToDomosIndex[i] = _domosId;
        }

        uint256 perDomos = numberOfHeroes / NUMBER_OF_DOMOS;

        balances = [perDomos, perDomos, perDomos];

        _safeMint(msg.sender, numberOfHeroes);
    }

    function airdrop(address[] calldata _addresses, uint256[] calldata ids)
        external
        onlyOwner
    {
        require(
            _addresses.length == ids.length,
            "addresses and ids do not match"
        );
        for (uint256 i = 0; i < _addresses.length; i++) {
            transferFrom(msg.sender, _addresses[i], ids[i]);
        }
    }

    function calculateTokenURIId(uint256 _heroId)
        public
        view
        virtual
        returns (uint256)
    {
        uint256 domosOffset = mintIndexToDomosIndex[_heroId] *
            numberOfHeroesPerDomos;
        uint256 randomizedIndexOfHeroInDomos = (mintIndexToHeroInDomosIndex[
            _heroId
        ] + startingIndex) % numberOfHeroesPerDomos;

        return randomizedIndexOfHeroInDomos + domosOffset;
    }

    function setBaseURI(string calldata _uri) external onlyOwner {
        baseTokenURI = _uri;
    }

    function tokenURI(uint256 _heroId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(_heroId), "Nonexistent token");

        if (startingIndex == 0) {
            return
                string(
                    abi.encodePacked(
                        baseTokenURI,
                        "/",
                        mintIndexToDomosIndex[_heroId].toString()
                    )
                );
        }

        return
            string(
                abi.encodePacked(
                    baseTokenURI,
                    "/",
                    calculateTokenURIId(_heroId).toString()
                )
            );
    }

    function withdrawEthereum() external onlyOwner nonReentrant {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed");
    }

    function setStartingIndexBlock() external onlyOwner {
        require(startingIndexBlock == 0, "Already set");
        startingIndexBlock = block.number;
    }

    function setStartingIndex() external onlyOwner {
        require(startingIndex == 0, "Already set");
        require(startingIndexBlock != 0, "Call setStartingIndexBlock");

        startingIndex =
            (block.number - startingIndexBlock) %
            numberOfHeroesPerDomos;

        // Prevent default sequence
        if (startingIndex == 0) {
            startingIndex = 1;
        }
    }

    function setSeason2ContractAddress(address _addr) public onlyOwner {
        season2ContractAddress = _addr;
    }

    modifier onlySeason2Contract() {
        require(season2ContractAddress != address(0), "Invalid addr");
        require(
            msg.sender == season2ContractAddress,
            "Only Season 2 Contract can call function"
        );
        _;
    }

    function burnHero(uint256 _heroId) external onlySeason2Contract {
        _burn(_heroId);
    }

    function burn(uint256 _heroId) public virtual {
        require(
            _isApprovedOrOwner(_msgSender(), _heroId),
            "Caller is not owner/approved"
        );
        _burn(_heroId);
    }

    function _isApprovedOrOwner(address messageSender, uint256 _heroId)
        private
        view
        returns (bool)
    {
        TokenOwnership memory prevOwnership = ownershipOf(_heroId);

        return (messageSender == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, messageSender) ||
            getApproved(_heroId) == messageSender);
    }
}

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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 4 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/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";

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

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

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

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

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

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

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

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

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

File 6 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 7 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

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 8 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

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 9 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 10 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

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 11 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint32","name":"_numberOfHeroes","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"GNASIS_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUMBER_OF_DOMOS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OQO_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TNGO_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_heroId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_heroId","type":"uint256"}],"name":"burnHero","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_heroId","type":"uint256"}],"name":"calculateTokenURIId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"","type":"uint256"}],"name":"mintIndexToDomosIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintIndexToHeroInDomosIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberOfHeroes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberOfHeroesPerDomos","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[],"name":"season2ContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setSeason2ContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndexBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_heroId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEthereum","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405260405180602001604052806000815250600a90805190602001906200002b9291906200032f565b5060405180602001604052806000815250600b9080519060200190620000539291906200032f565b5060405180602001604052806000815250600c90805190602001906200007b9291906200032f565b506000600d556000600e556040518060600160405280600060ff168152602001600060ff168152602001600060ff16815250600f906003620000bf929190620003c0565b50348015620000cd57600080fd5b5060405162004bfc38038062004bfc8339818101604052810190620000f3919062000440565b6040518060400160405280600881526020017f55707065726375740000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4845524f000000000000000000000000000000000000000000000000000000008152508160029080519060200190620001779291906200032f565b508060039080519060200190620001909291906200032f565b50620001a16200025c60201b60201c565b6000819055505050620001c9620001bd6200026160201b60201c565b6200026960201b60201c565b6001600981905550600060038263ffffffff16620001e891906200054e565b146200022b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002229062000493565b60405180910390fd5b8063ffffffff166080818152505060038163ffffffff166200024e9190620004c6565b60a081815250505062000627565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200033d9062000518565b90600052602060002090601f016020900481019282620003615760008555620003ad565b82601f106200037c57805160ff1916838001178555620003ad565b82800160010185558215620003ad579182015b82811115620003ac5782518255916020019190600101906200038f565b5b509050620003bc91906200040a565b5090565b8260038101928215620003f7579160200282015b82811115620003f6578251829060ff16905591602001919060010190620003d4565b5b5090506200040691906200040a565b5090565b5b80821115620004255760008160009055506001016200040b565b5090565b6000815190506200043a816200060d565b92915050565b6000602082840312156200045357600080fd5b6000620004638482850162000429565b91505092915050565b60006200047b600f83620004b5565b91506200048882620005e4565b602082019050919050565b60006020820190508181036000830152620004ae816200046c565b9050919050565b600082825260208201905092915050565b6000620004d382620004fe565b9150620004e083620004fe565b925082620004f357620004f262000586565b5b828204905092915050565b6000819050919050565b600063ffffffff82169050919050565b600060028204905060018216806200053157607f821691505b60208210811415620005485762000547620005b5565b5b50919050565b60006200055b82620004fe565b91506200056883620004fe565b9250826200057b576200057a62000586565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f6865726f657320252033203d3d20300000000000000000000000000000000000600082015250565b620006188162000508565b81146200062457600080fd5b50565b60805160a0516145856200067760003960008181610b8701528181610bca0152818161184b0152611ada015260008181610b600152818161159e01528181611629015261168601526145856000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c80638449965a1161013b578063c87b56dd116100b8578063e985e9c51161007c578063e985e9c514610690578063e9866550146106c0578063f1b7ed15146106ca578063f2fde38b146106d4578063f3a9a156146106f05761023d565b8063c87b56dd146105fc578063cb774d471461062c578063d04237d71461064a578063d5dc3efd14610668578063e36d6498146106725761023d565b8063a70f32bb116100ff578063a70f32bb1461056c578063b88d4fde1461058a578063b8c1afec146105a6578063ba7a86b8146105d6578063bd2548ba146105e05761023d565b80638449965a146104d85780638da5cb5b146104f657806395d89b4114610514578063a22cb46514610532578063a37f9d1c1461054e5761023d565b806342842e0e116101c95780636352211e1161018d5780636352211e1461043457806367243482146104645780636aa217d61461048057806370a082311461049e578063715018a6146104ce5761023d565b806342842e0e1461038057806342966c681461039c5780634903b0d1146103b85780634a56032d146103e857806355f804b3146104185761023d565b806318160ddd1161021057806318160ddd146102dc57806323b872dd146102fa57806327e50b1814610316578063311d10d5146103325780633ab1dd16146103505761023d565b806301ffc9a71461024257806306fdde0314610272578063081812fc14610290578063095ea7b3146102c0575b600080fd5b61025c600480360381019061025791906137e5565b61070e565b6040516102699190613c89565b60405180910390f35b61027a6107f0565b6040516102879190613ca4565b60405180910390f35b6102aa60048036038101906102a5919061387c565b610882565b6040516102b79190613c22565b60405180910390f35b6102da60048036038101906102d59190613734565b6108fe565b005b6102e4610a09565b6040516102f19190613e46565b60405180910390f35b610314600480360381019061030f919061362e565b610a20565b005b610330600480360381019061032b919061387c565b610a30565b005b61033a610b5e565b6040516103479190613e46565b60405180910390f35b61036a6004803603810190610365919061387c565b610b82565b6040516103779190613e46565b60405180910390f35b61039a6004803603810190610395919061362e565b610c2b565b005b6103b660048036038101906103b1919061387c565b610c4b565b005b6103d260048036038101906103cd919061387c565b610ca7565b6040516103df9190613e46565b60405180910390f35b61040260048036038101906103fd919061387c565b610cc2565b60405161040f9190613e46565b60405180910390f35b610432600480360381019061042d9190613837565b610cda565b005b61044e6004803603810190610449919061387c565b610d6c565b60405161045b9190613c22565b60405180910390f35b61047e60048036038101906104799190613770565b610d82565b005b610488610f05565b6040516104959190613ca4565b60405180910390f35b6104b860048036038101906104b391906135c9565b610f93565b6040516104c59190613e46565b60405180910390f35b6104d6611063565b005b6104e06110eb565b6040516104ed9190613e46565b60405180910390f35b6104fe6110f0565b60405161050b9190613c22565b60405180910390f35b61051c61111a565b6040516105299190613ca4565b60405180910390f35b61054c600480360381019061054791906136f8565b6111ac565b005b610556611324565b6040516105639190613ca4565b60405180910390f35b6105746113b2565b6040516105819190613ca4565b60405180910390f35b6105a4600480360381019061059f919061367d565b611440565b005b6105c060048036038101906105bb919061387c565b6114bc565b6040516105cd9190613e46565b60405180910390f35b6105de6114d4565b005b6105fa60048036038101906105f591906135c9565b6116ae565b005b6106166004803603810190610611919061387c565b61176e565b6040516106239190613ca4565b60405180910390f35b610634611843565b6040516106419190613e46565b60405180910390f35b610652611849565b60405161065f9190613e46565b60405180910390f35b61067061186d565b005b61067a611937565b6040516106879190613e46565b60405180910390f35b6106aa60048036038101906106a591906135f2565b61193d565b6040516106b79190613c89565b60405180910390f35b6106c86119d1565b005b6106d2611b2d565b005b6106ee60048036038101906106e991906135c9565b611cae565b005b6106f8611da6565b6040516107059190613c22565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107d957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107e957506107e882611dcc565b5b9050919050565b6060600280546107ff906140e5565b80601f016020809104026020016040519081016040528092919081815260200182805461082b906140e5565b80156108785780601f1061084d57610100808354040283529160200191610878565b820191906000526020600020905b81548152906001019060200180831161085b57829003601f168201915b5050505050905090565b600061088d82611e36565b6108c3576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061090982610d6c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610971576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610990611e84565b73ffffffffffffffffffffffffffffffffffffffff16141580156109c257506109c0816109bb611e84565b61193d565b155b156109f9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a04838383611e8c565b505050565b6000610a13611f3e565b6001546000540303905090565b610a2b838383611f43565b505050565b600073ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab990613d26565b60405180910390fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4990613da6565b60405180910390fd5b610b5b81612434565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000807f00000000000000000000000000000000000000000000000000000000000000006014600085815260200190815260200160002054610bc49190613fa1565b905060007f0000000000000000000000000000000000000000000000000000000000000000600d546015600087815260200190815260200160002054610c0a9190613f1a565b610c149190614191565b90508181610c229190613f1a565b92505050919050565b610c4683838360405180602001604052806000815250611440565b505050565b610c5c610c56611e84565b826127d8565b610c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9290613e26565b60405180910390fd5b610ca481612434565b50565b600f8160038110610cb757600080fd5b016000915090505481565b60156020528060005260406000206000915090505481565b610ce2611e84565b73ffffffffffffffffffffffffffffffffffffffff16610d006110f0565b73ffffffffffffffffffffffffffffffffffffffff1614610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d90613d86565b60405180910390fd5b818160129190610d679291906132f4565b505050565b6000610d7782612875565b600001519050919050565b610d8a611e84565b73ffffffffffffffffffffffffffffffffffffffff16610da86110f0565b73ffffffffffffffffffffffffffffffffffffffff1614610dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df590613d86565b60405180910390fd5b818190508484905014610e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3d90613e06565b60405180910390fd5b60005b84849050811015610efe57610eeb33868684818110610e91577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610ea691906135c9565b858585818110610edf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135610a20565b8080610ef690614148565b915050610e49565b5050505050565b600c8054610f12906140e5565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3e906140e5565b8015610f8b5780601f10610f6057610100808354040283529160200191610f8b565b820191906000526020600020905b815481529060010190602001808311610f6e57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ffb576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61106b611e84565b73ffffffffffffffffffffffffffffffffffffffff166110896110f0565b73ffffffffffffffffffffffffffffffffffffffff16146110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d690613d86565b60405180910390fd5b6110e96000612b04565b565b600381565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611129906140e5565b80601f0160208091040260200160405190810160405280929190818152602001828054611155906140e5565b80156111a25780601f10611177576101008083540402835291602001916111a2565b820191906000526020600020905b81548152906001019060200180831161118557829003601f168201915b5050505050905090565b6111b4611e84565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611219576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611226611e84565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112d3611e84565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113189190613c89565b60405180910390a35050565b600a8054611331906140e5565b80601f016020809104026020016040519081016040528092919081815260200182805461135d906140e5565b80156113aa5780601f1061137f576101008083540402835291602001916113aa565b820191906000526020600020905b81548152906001019060200180831161138d57829003601f168201915b505050505081565b600b80546113bf906140e5565b80601f01602080910402602001604051908101604052809291908181526020018280546113eb906140e5565b80156114385780601f1061140d57610100808354040283529160200191611438565b820191906000526020600020905b81548152906001019060200180831161141b57829003601f168201915b505050505081565b61144b848484611f43565b61146a8373ffffffffffffffffffffffffffffffffffffffff16612bca565b801561147f575061147d84848484612bdd565b155b156114b6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60146020528060005260406000206000915090505481565b6114dc611e84565b73ffffffffffffffffffffffffffffffffffffffff166114fa6110f0565b73ffffffffffffffffffffffffffffffffffffffff1614611550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154790613d86565b60405180910390fd5b6000805414611594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158b90613dc6565b60405180910390fd5b600080805490505b7f0000000000000000000000000000000000000000000000000000000000000000811015611622576003816115d19190614191565b91506003816115e09190613f70565b6015600083815260200190815260200160002081905550816014600083815260200190815260200160002081905550808061161a90614148565b91505061159c565b50600060037f00000000000000000000000000000000000000000000000000000000000000006116529190613f70565b9050604051806060016040528082815260200182815260200182815250600f90600361167f92919061337a565b506116aa337f0000000000000000000000000000000000000000000000000000000000000000612d3d565b5050565b6116b6611e84565b73ffffffffffffffffffffffffffffffffffffffff166116d46110f0565b73ffffffffffffffffffffffffffffffffffffffff161461172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172190613d86565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606061177982611e36565b6117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af90613d46565b60405180910390fd5b6000600d5414156118085760126117e16014600085815260200190815260200160002054612d5b565b6040516020016117f2929190613bde565b604051602081830303815290604052905061183e565b601261181b61181684610b82565b612d5b565b60405160200161182c929190613bde565b60405160208183030381529060405290505b919050565b600d5481565b7f000000000000000000000000000000000000000000000000000000000000000081565b611875611e84565b73ffffffffffffffffffffffffffffffffffffffff166118936110f0565b73ffffffffffffffffffffffffffffffffffffffff16146118e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e090613d86565b60405180910390fd5b6000600e541461192e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192590613d66565b60405180910390fd5b43600e81905550565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119d9611e84565b73ffffffffffffffffffffffffffffffffffffffff166119f76110f0565b73ffffffffffffffffffffffffffffffffffffffff1614611a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4490613d86565b60405180910390fd5b6000600d5414611a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8990613d66565b60405180910390fd5b6000600e541415611ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acf90613cc6565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000600e5443611b079190613ffb565b611b119190614191565b600d819055506000600d541415611b2b576001600d819055505b565b611b35611e84565b73ffffffffffffffffffffffffffffffffffffffff16611b536110f0565b73ffffffffffffffffffffffffffffffffffffffff1614611ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba090613d86565b60405180910390fd5b60026009541415611bef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be690613de6565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051611c1d90613c0d565b60006040518083038185875af1925050503d8060008114611c5a576040519150601f19603f3d011682016040523d82523d6000602084013e611c5f565b606091505b5050905080611ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9a90613d06565b60405180910390fd5b506001600981905550565b611cb6611e84565b73ffffffffffffffffffffffffffffffffffffffff16611cd46110f0565b73ffffffffffffffffffffffffffffffffffffffff1614611d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2190613d86565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9190613ce6565b60405180910390fd5b611da381612b04565b50565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611e41611f3e565b11158015611e50575060005482105b8015611e7d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611f4e82612875565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611f75611e84565b73ffffffffffffffffffffffffffffffffffffffff161480611fa85750611fa78260000151611fa2611e84565b61193d565b5b80611fed5750611fb6611e84565b73ffffffffffffffffffffffffffffffffffffffff16611fd584610882565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612026576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461208f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156120f6576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121038585856001612f08565b6121136000848460000151611e8c565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156123c4576000548110156123c35782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461242d8585856001612f0e565b5050505050565b600061243f82612875565b905061245381600001516000846001612f08565b6124636000838360000151611e8c565b600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516004600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160046000848152602001908152602001600020600001601c6101000a81548160ff0219169083151502179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561274f5760005481101561274e5781600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5081600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127c281600001516000846001612f0e565b6001600081548092919060010191905055505050565b6000806127e483612875565b9050806000015173ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061282e575061282d81600001518561193d565b5b8061286c57508373ffffffffffffffffffffffffffffffffffffffff1661285484610882565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b61287d6133ba565b60008290508061288b611f3e565b1115801561289a575060005481105b15612acd576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612acb57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146129af578092505050612aff565b5b600115612aca57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ac5578092505050612aff565b6129b0565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c03611e84565b8786866040518563ffffffff1660e01b8152600401612c259493929190613c3d565b602060405180830381600087803b158015612c3f57600080fd5b505af1925050508015612c7057506040513d601f19601f82011682018060405250810190612c6d919061380e565b60015b612cea573d8060008114612ca0576040519150601f19603f3d011682016040523d82523d6000602084013e612ca5565b606091505b50600081511415612ce2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b612d57828260405180602001604052806000815250612f14565b5050565b60606000821415612da3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f03565b600082905060005b60008214612dd5578080612dbe90614148565b915050600a82612dce9190613f70565b9150612dab565b60008167ffffffffffffffff811115612e17577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e495781602001600182028036833780820191505090505b5090505b60008514612efc57600182612e629190613ffb565b9150600a85612e719190614191565b6030612e7d9190613f1a565b60f81b818381518110612eb9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ef59190613f70565b9450612e4d565b8093505050505b919050565b50505050565b50505050565b612f218383836001612f26565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612f93576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612fce576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fdb6000868387612f08565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156131a557506131a48773ffffffffffffffffffffffffffffffffffffffff16612bca565b5b1561326b575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461321a6000888480600101955088612bdd565b613250576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156131ab57826000541461326657600080fd5b6132d7565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561326c575b8160008190555050506132ed6000868387612f0e565b5050505050565b828054613300906140e5565b90600052602060002090601f0160209004810192826133225760008555613369565b82601f1061333b57803560ff1916838001178555613369565b82800160010185558215613369579182015b8281111561336857823582559160200191906001019061334d565b5b50905061337691906133fd565b5090565b82600381019282156133a9579160200282015b828111156133a857825182559160200191906001019061338d565b5b5090506133b691906133fd565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156134165760008160009055506001016133fe565b5090565b600061342d61342884613e86565b613e61565b90508281526020810184848401111561344557600080fd5b6134508482856140a3565b509392505050565b600081359050613467816144f3565b92915050565b60008083601f84011261347f57600080fd5b8235905067ffffffffffffffff81111561349857600080fd5b6020830191508360208202830111156134b057600080fd5b9250929050565b60008083601f8401126134c957600080fd5b8235905067ffffffffffffffff8111156134e257600080fd5b6020830191508360208202830111156134fa57600080fd5b9250929050565b6000813590506135108161450a565b92915050565b60008135905061352581614521565b92915050565b60008151905061353a81614521565b92915050565b600082601f83011261355157600080fd5b813561356184826020860161341a565b91505092915050565b60008083601f84011261357c57600080fd5b8235905067ffffffffffffffff81111561359557600080fd5b6020830191508360018202830111156135ad57600080fd5b9250929050565b6000813590506135c381614538565b92915050565b6000602082840312156135db57600080fd5b60006135e984828501613458565b91505092915050565b6000806040838503121561360557600080fd5b600061361385828601613458565b925050602061362485828601613458565b9150509250929050565b60008060006060848603121561364357600080fd5b600061365186828701613458565b935050602061366286828701613458565b9250506040613673868287016135b4565b9150509250925092565b6000806000806080858703121561369357600080fd5b60006136a187828801613458565b94505060206136b287828801613458565b93505060406136c3878288016135b4565b925050606085013567ffffffffffffffff8111156136e057600080fd5b6136ec87828801613540565b91505092959194509250565b6000806040838503121561370b57600080fd5b600061371985828601613458565b925050602061372a85828601613501565b9150509250929050565b6000806040838503121561374757600080fd5b600061375585828601613458565b9250506020613766858286016135b4565b9150509250929050565b6000806000806040858703121561378657600080fd5b600085013567ffffffffffffffff8111156137a057600080fd5b6137ac8782880161346d565b9450945050602085013567ffffffffffffffff8111156137cb57600080fd5b6137d7878288016134b7565b925092505092959194509250565b6000602082840312156137f757600080fd5b600061380584828501613516565b91505092915050565b60006020828403121561382057600080fd5b600061382e8482850161352b565b91505092915050565b6000806020838503121561384a57600080fd5b600083013567ffffffffffffffff81111561386457600080fd5b6138708582860161356a565b92509250509250929050565b60006020828403121561388e57600080fd5b600061389c848285016135b4565b91505092915050565b6138ae8161402f565b82525050565b6138bd81614041565b82525050565b60006138ce82613ecc565b6138d88185613ee2565b93506138e88185602086016140b2565b6138f18161427e565b840191505092915050565b600061390782613ed7565b6139118185613efe565b93506139218185602086016140b2565b61392a8161427e565b840191505092915050565b600061394082613ed7565b61394a8185613f0f565b935061395a8185602086016140b2565b80840191505092915050565b60008154613973816140e5565b61397d8186613f0f565b9450600182166000811461399857600181146139a9576139dc565b60ff198316865281860193506139dc565b6139b285613eb7565b60005b838110156139d4578154818901526001820191506020810190506139b5565b838801955050505b50505092915050565b60006139f2601a83613efe565b91506139fd8261428f565b602082019050919050565b6000613a15602683613efe565b9150613a20826142b8565b604082019050919050565b6000613a38600f83613efe565b9150613a4382614307565b602082019050919050565b6000613a5b600c83613efe565b9150613a6682614330565b602082019050919050565b6000613a7e601183613efe565b9150613a8982614359565b602082019050919050565b6000613aa1600b83613efe565b9150613aac82614382565b602082019050919050565b6000613ac4602083613efe565b9150613acf826143ab565b602082019050919050565b6000613ae7602883613efe565b9150613af2826143d4565b604082019050919050565b6000613b0a600083613ef3565b9150613b1582614423565b600082019050919050565b6000613b2d600883613efe565b9150613b3882614426565b602082019050919050565b6000613b50601f83613efe565b9150613b5b8261444f565b602082019050919050565b6000613b73601e83613efe565b9150613b7e82614478565b602082019050919050565b6000613b96601c83613efe565b9150613ba1826144a1565b602082019050919050565b6000613bb9600183613f0f565b9150613bc4826144ca565b600182019050919050565b613bd881614099565b82525050565b6000613bea8285613966565b9150613bf582613bac565b9150613c018284613935565b91508190509392505050565b6000613c1882613afd565b9150819050919050565b6000602082019050613c3760008301846138a5565b92915050565b6000608082019050613c5260008301876138a5565b613c5f60208301866138a5565b613c6c6040830185613bcf565b8181036060830152613c7e81846138c3565b905095945050505050565b6000602082019050613c9e60008301846138b4565b92915050565b60006020820190508181036000830152613cbe81846138fc565b905092915050565b60006020820190508181036000830152613cdf816139e5565b9050919050565b60006020820190508181036000830152613cff81613a08565b9050919050565b60006020820190508181036000830152613d1f81613a2b565b9050919050565b60006020820190508181036000830152613d3f81613a4e565b9050919050565b60006020820190508181036000830152613d5f81613a71565b9050919050565b60006020820190508181036000830152613d7f81613a94565b9050919050565b60006020820190508181036000830152613d9f81613ab7565b9050919050565b60006020820190508181036000830152613dbf81613ada565b9050919050565b60006020820190508181036000830152613ddf81613b20565b9050919050565b60006020820190508181036000830152613dff81613b43565b9050919050565b60006020820190508181036000830152613e1f81613b66565b9050919050565b60006020820190508181036000830152613e3f81613b89565b9050919050565b6000602082019050613e5b6000830184613bcf565b92915050565b6000613e6b613e7c565b9050613e778282614117565b919050565b6000604051905090565b600067ffffffffffffffff821115613ea157613ea061424f565b5b613eaa8261427e565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613f2582614099565b9150613f3083614099565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f6557613f646141c2565b5b828201905092915050565b6000613f7b82614099565b9150613f8683614099565b925082613f9657613f956141f1565b5b828204905092915050565b6000613fac82614099565b9150613fb783614099565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ff057613fef6141c2565b5b828202905092915050565b600061400682614099565b915061401183614099565b925082821015614024576140236141c2565b5b828203905092915050565b600061403a82614079565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156140d05780820151818401526020810190506140b5565b838111156140df576000848401525b50505050565b600060028204905060018216806140fd57607f821691505b6020821081141561411157614110614220565b5b50919050565b6141208261427e565b810181811067ffffffffffffffff8211171561413f5761413e61424f565b5b80604052505050565b600061415382614099565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614186576141856141c2565b5b600182019050919050565b600061419c82614099565b91506141a783614099565b9250826141b7576141b66141f1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f43616c6c207365745374617274696e67496e646578426c6f636b000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f496e76616c696420616464720000000000000000000000000000000000000000600082015250565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f416c726561647920736574000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f6e6c7920536561736f6e203220436f6e74726163742063616e2063616c6c2060008201527f66756e6374696f6e000000000000000000000000000000000000000000000000602082015250565b50565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f61646472657373657320616e642069647320646f206e6f74206d617463680000600082015250565b7f43616c6c6572206973206e6f74206f776e65722f617070726f76656400000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6144fc8161402f565b811461450757600080fd5b50565b61451381614041565b811461451e57600080fd5b50565b61452a8161404d565b811461453557600080fd5b50565b61454181614099565b811461454c57600080fd5b5056fea26469706673582212201146a28d2d47e24c28ac6da5391619a7c231b2a333e14008f99f2b3a596ea27164736f6c6343000804003300000000000000000000000000000000000000000000000000000000000001f5

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061023d5760003560e01c80638449965a1161013b578063c87b56dd116100b8578063e985e9c51161007c578063e985e9c514610690578063e9866550146106c0578063f1b7ed15146106ca578063f2fde38b146106d4578063f3a9a156146106f05761023d565b8063c87b56dd146105fc578063cb774d471461062c578063d04237d71461064a578063d5dc3efd14610668578063e36d6498146106725761023d565b8063a70f32bb116100ff578063a70f32bb1461056c578063b88d4fde1461058a578063b8c1afec146105a6578063ba7a86b8146105d6578063bd2548ba146105e05761023d565b80638449965a146104d85780638da5cb5b146104f657806395d89b4114610514578063a22cb46514610532578063a37f9d1c1461054e5761023d565b806342842e0e116101c95780636352211e1161018d5780636352211e1461043457806367243482146104645780636aa217d61461048057806370a082311461049e578063715018a6146104ce5761023d565b806342842e0e1461038057806342966c681461039c5780634903b0d1146103b85780634a56032d146103e857806355f804b3146104185761023d565b806318160ddd1161021057806318160ddd146102dc57806323b872dd146102fa57806327e50b1814610316578063311d10d5146103325780633ab1dd16146103505761023d565b806301ffc9a71461024257806306fdde0314610272578063081812fc14610290578063095ea7b3146102c0575b600080fd5b61025c600480360381019061025791906137e5565b61070e565b6040516102699190613c89565b60405180910390f35b61027a6107f0565b6040516102879190613ca4565b60405180910390f35b6102aa60048036038101906102a5919061387c565b610882565b6040516102b79190613c22565b60405180910390f35b6102da60048036038101906102d59190613734565b6108fe565b005b6102e4610a09565b6040516102f19190613e46565b60405180910390f35b610314600480360381019061030f919061362e565b610a20565b005b610330600480360381019061032b919061387c565b610a30565b005b61033a610b5e565b6040516103479190613e46565b60405180910390f35b61036a6004803603810190610365919061387c565b610b82565b6040516103779190613e46565b60405180910390f35b61039a6004803603810190610395919061362e565b610c2b565b005b6103b660048036038101906103b1919061387c565b610c4b565b005b6103d260048036038101906103cd919061387c565b610ca7565b6040516103df9190613e46565b60405180910390f35b61040260048036038101906103fd919061387c565b610cc2565b60405161040f9190613e46565b60405180910390f35b610432600480360381019061042d9190613837565b610cda565b005b61044e6004803603810190610449919061387c565b610d6c565b60405161045b9190613c22565b60405180910390f35b61047e60048036038101906104799190613770565b610d82565b005b610488610f05565b6040516104959190613ca4565b60405180910390f35b6104b860048036038101906104b391906135c9565b610f93565b6040516104c59190613e46565b60405180910390f35b6104d6611063565b005b6104e06110eb565b6040516104ed9190613e46565b60405180910390f35b6104fe6110f0565b60405161050b9190613c22565b60405180910390f35b61051c61111a565b6040516105299190613ca4565b60405180910390f35b61054c600480360381019061054791906136f8565b6111ac565b005b610556611324565b6040516105639190613ca4565b60405180910390f35b6105746113b2565b6040516105819190613ca4565b60405180910390f35b6105a4600480360381019061059f919061367d565b611440565b005b6105c060048036038101906105bb919061387c565b6114bc565b6040516105cd9190613e46565b60405180910390f35b6105de6114d4565b005b6105fa60048036038101906105f591906135c9565b6116ae565b005b6106166004803603810190610611919061387c565b61176e565b6040516106239190613ca4565b60405180910390f35b610634611843565b6040516106419190613e46565b60405180910390f35b610652611849565b60405161065f9190613e46565b60405180910390f35b61067061186d565b005b61067a611937565b6040516106879190613e46565b60405180910390f35b6106aa60048036038101906106a591906135f2565b61193d565b6040516106b79190613c89565b60405180910390f35b6106c86119d1565b005b6106d2611b2d565b005b6106ee60048036038101906106e991906135c9565b611cae565b005b6106f8611da6565b6040516107059190613c22565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107d957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107e957506107e882611dcc565b5b9050919050565b6060600280546107ff906140e5565b80601f016020809104026020016040519081016040528092919081815260200182805461082b906140e5565b80156108785780601f1061084d57610100808354040283529160200191610878565b820191906000526020600020905b81548152906001019060200180831161085b57829003601f168201915b5050505050905090565b600061088d82611e36565b6108c3576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061090982610d6c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610971576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610990611e84565b73ffffffffffffffffffffffffffffffffffffffff16141580156109c257506109c0816109bb611e84565b61193d565b155b156109f9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a04838383611e8c565b505050565b6000610a13611f3e565b6001546000540303905090565b610a2b838383611f43565b505050565b600073ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab990613d26565b60405180910390fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4990613da6565b60405180910390fd5b610b5b81612434565b50565b7f00000000000000000000000000000000000000000000000000000000000001f581565b6000807f00000000000000000000000000000000000000000000000000000000000000a76014600085815260200190815260200160002054610bc49190613fa1565b905060007f00000000000000000000000000000000000000000000000000000000000000a7600d546015600087815260200190815260200160002054610c0a9190613f1a565b610c149190614191565b90508181610c229190613f1a565b92505050919050565b610c4683838360405180602001604052806000815250611440565b505050565b610c5c610c56611e84565b826127d8565b610c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9290613e26565b60405180910390fd5b610ca481612434565b50565b600f8160038110610cb757600080fd5b016000915090505481565b60156020528060005260406000206000915090505481565b610ce2611e84565b73ffffffffffffffffffffffffffffffffffffffff16610d006110f0565b73ffffffffffffffffffffffffffffffffffffffff1614610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d90613d86565b60405180910390fd5b818160129190610d679291906132f4565b505050565b6000610d7782612875565b600001519050919050565b610d8a611e84565b73ffffffffffffffffffffffffffffffffffffffff16610da86110f0565b73ffffffffffffffffffffffffffffffffffffffff1614610dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df590613d86565b60405180910390fd5b818190508484905014610e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3d90613e06565b60405180910390fd5b60005b84849050811015610efe57610eeb33868684818110610e91577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610ea691906135c9565b858585818110610edf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135610a20565b8080610ef690614148565b915050610e49565b5050505050565b600c8054610f12906140e5565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3e906140e5565b8015610f8b5780601f10610f6057610100808354040283529160200191610f8b565b820191906000526020600020905b815481529060010190602001808311610f6e57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ffb576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61106b611e84565b73ffffffffffffffffffffffffffffffffffffffff166110896110f0565b73ffffffffffffffffffffffffffffffffffffffff16146110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d690613d86565b60405180910390fd5b6110e96000612b04565b565b600381565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611129906140e5565b80601f0160208091040260200160405190810160405280929190818152602001828054611155906140e5565b80156111a25780601f10611177576101008083540402835291602001916111a2565b820191906000526020600020905b81548152906001019060200180831161118557829003601f168201915b5050505050905090565b6111b4611e84565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611219576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611226611e84565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112d3611e84565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113189190613c89565b60405180910390a35050565b600a8054611331906140e5565b80601f016020809104026020016040519081016040528092919081815260200182805461135d906140e5565b80156113aa5780601f1061137f576101008083540402835291602001916113aa565b820191906000526020600020905b81548152906001019060200180831161138d57829003601f168201915b505050505081565b600b80546113bf906140e5565b80601f01602080910402602001604051908101604052809291908181526020018280546113eb906140e5565b80156114385780601f1061140d57610100808354040283529160200191611438565b820191906000526020600020905b81548152906001019060200180831161141b57829003601f168201915b505050505081565b61144b848484611f43565b61146a8373ffffffffffffffffffffffffffffffffffffffff16612bca565b801561147f575061147d84848484612bdd565b155b156114b6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60146020528060005260406000206000915090505481565b6114dc611e84565b73ffffffffffffffffffffffffffffffffffffffff166114fa6110f0565b73ffffffffffffffffffffffffffffffffffffffff1614611550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154790613d86565b60405180910390fd5b6000805414611594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158b90613dc6565b60405180910390fd5b600080805490505b7f00000000000000000000000000000000000000000000000000000000000001f5811015611622576003816115d19190614191565b91506003816115e09190613f70565b6015600083815260200190815260200160002081905550816014600083815260200190815260200160002081905550808061161a90614148565b91505061159c565b50600060037f00000000000000000000000000000000000000000000000000000000000001f56116529190613f70565b9050604051806060016040528082815260200182815260200182815250600f90600361167f92919061337a565b506116aa337f00000000000000000000000000000000000000000000000000000000000001f5612d3d565b5050565b6116b6611e84565b73ffffffffffffffffffffffffffffffffffffffff166116d46110f0565b73ffffffffffffffffffffffffffffffffffffffff161461172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172190613d86565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606061177982611e36565b6117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af90613d46565b60405180910390fd5b6000600d5414156118085760126117e16014600085815260200190815260200160002054612d5b565b6040516020016117f2929190613bde565b604051602081830303815290604052905061183e565b601261181b61181684610b82565b612d5b565b60405160200161182c929190613bde565b60405160208183030381529060405290505b919050565b600d5481565b7f00000000000000000000000000000000000000000000000000000000000000a781565b611875611e84565b73ffffffffffffffffffffffffffffffffffffffff166118936110f0565b73ffffffffffffffffffffffffffffffffffffffff16146118e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e090613d86565b60405180910390fd5b6000600e541461192e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192590613d66565b60405180910390fd5b43600e81905550565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119d9611e84565b73ffffffffffffffffffffffffffffffffffffffff166119f76110f0565b73ffffffffffffffffffffffffffffffffffffffff1614611a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4490613d86565b60405180910390fd5b6000600d5414611a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8990613d66565b60405180910390fd5b6000600e541415611ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acf90613cc6565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000a7600e5443611b079190613ffb565b611b119190614191565b600d819055506000600d541415611b2b576001600d819055505b565b611b35611e84565b73ffffffffffffffffffffffffffffffffffffffff16611b536110f0565b73ffffffffffffffffffffffffffffffffffffffff1614611ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba090613d86565b60405180910390fd5b60026009541415611bef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be690613de6565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051611c1d90613c0d565b60006040518083038185875af1925050503d8060008114611c5a576040519150601f19603f3d011682016040523d82523d6000602084013e611c5f565b606091505b5050905080611ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9a90613d06565b60405180910390fd5b506001600981905550565b611cb6611e84565b73ffffffffffffffffffffffffffffffffffffffff16611cd46110f0565b73ffffffffffffffffffffffffffffffffffffffff1614611d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2190613d86565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9190613ce6565b60405180910390fd5b611da381612b04565b50565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611e41611f3e565b11158015611e50575060005482105b8015611e7d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611f4e82612875565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611f75611e84565b73ffffffffffffffffffffffffffffffffffffffff161480611fa85750611fa78260000151611fa2611e84565b61193d565b5b80611fed5750611fb6611e84565b73ffffffffffffffffffffffffffffffffffffffff16611fd584610882565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612026576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461208f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156120f6576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121038585856001612f08565b6121136000848460000151611e8c565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156123c4576000548110156123c35782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461242d8585856001612f0e565b5050505050565b600061243f82612875565b905061245381600001516000846001612f08565b6124636000838360000151611e8c565b600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516004600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160046000848152602001908152602001600020600001601c6101000a81548160ff0219169083151502179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561274f5760005481101561274e5781600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5081600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127c281600001516000846001612f0e565b6001600081548092919060010191905055505050565b6000806127e483612875565b9050806000015173ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061282e575061282d81600001518561193d565b5b8061286c57508373ffffffffffffffffffffffffffffffffffffffff1661285484610882565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b61287d6133ba565b60008290508061288b611f3e565b1115801561289a575060005481105b15612acd576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612acb57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146129af578092505050612aff565b5b600115612aca57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ac5578092505050612aff565b6129b0565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c03611e84565b8786866040518563ffffffff1660e01b8152600401612c259493929190613c3d565b602060405180830381600087803b158015612c3f57600080fd5b505af1925050508015612c7057506040513d601f19601f82011682018060405250810190612c6d919061380e565b60015b612cea573d8060008114612ca0576040519150601f19603f3d011682016040523d82523d6000602084013e612ca5565b606091505b50600081511415612ce2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b612d57828260405180602001604052806000815250612f14565b5050565b60606000821415612da3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f03565b600082905060005b60008214612dd5578080612dbe90614148565b915050600a82612dce9190613f70565b9150612dab565b60008167ffffffffffffffff811115612e17577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e495781602001600182028036833780820191505090505b5090505b60008514612efc57600182612e629190613ffb565b9150600a85612e719190614191565b6030612e7d9190613f1a565b60f81b818381518110612eb9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ef59190613f70565b9450612e4d565b8093505050505b919050565b50505050565b50505050565b612f218383836001612f26565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612f93576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612fce576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fdb6000868387612f08565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156131a557506131a48773ffffffffffffffffffffffffffffffffffffffff16612bca565b5b1561326b575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461321a6000888480600101955088612bdd565b613250576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156131ab57826000541461326657600080fd5b6132d7565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561326c575b8160008190555050506132ed6000868387612f0e565b5050505050565b828054613300906140e5565b90600052602060002090601f0160209004810192826133225760008555613369565b82601f1061333b57803560ff1916838001178555613369565b82800160010185558215613369579182015b8281111561336857823582559160200191906001019061334d565b5b50905061337691906133fd565b5090565b82600381019282156133a9579160200282015b828111156133a857825182559160200191906001019061338d565b5b5090506133b691906133fd565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156134165760008160009055506001016133fe565b5090565b600061342d61342884613e86565b613e61565b90508281526020810184848401111561344557600080fd5b6134508482856140a3565b509392505050565b600081359050613467816144f3565b92915050565b60008083601f84011261347f57600080fd5b8235905067ffffffffffffffff81111561349857600080fd5b6020830191508360208202830111156134b057600080fd5b9250929050565b60008083601f8401126134c957600080fd5b8235905067ffffffffffffffff8111156134e257600080fd5b6020830191508360208202830111156134fa57600080fd5b9250929050565b6000813590506135108161450a565b92915050565b60008135905061352581614521565b92915050565b60008151905061353a81614521565b92915050565b600082601f83011261355157600080fd5b813561356184826020860161341a565b91505092915050565b60008083601f84011261357c57600080fd5b8235905067ffffffffffffffff81111561359557600080fd5b6020830191508360018202830111156135ad57600080fd5b9250929050565b6000813590506135c381614538565b92915050565b6000602082840312156135db57600080fd5b60006135e984828501613458565b91505092915050565b6000806040838503121561360557600080fd5b600061361385828601613458565b925050602061362485828601613458565b9150509250929050565b60008060006060848603121561364357600080fd5b600061365186828701613458565b935050602061366286828701613458565b9250506040613673868287016135b4565b9150509250925092565b6000806000806080858703121561369357600080fd5b60006136a187828801613458565b94505060206136b287828801613458565b93505060406136c3878288016135b4565b925050606085013567ffffffffffffffff8111156136e057600080fd5b6136ec87828801613540565b91505092959194509250565b6000806040838503121561370b57600080fd5b600061371985828601613458565b925050602061372a85828601613501565b9150509250929050565b6000806040838503121561374757600080fd5b600061375585828601613458565b9250506020613766858286016135b4565b9150509250929050565b6000806000806040858703121561378657600080fd5b600085013567ffffffffffffffff8111156137a057600080fd5b6137ac8782880161346d565b9450945050602085013567ffffffffffffffff8111156137cb57600080fd5b6137d7878288016134b7565b925092505092959194509250565b6000602082840312156137f757600080fd5b600061380584828501613516565b91505092915050565b60006020828403121561382057600080fd5b600061382e8482850161352b565b91505092915050565b6000806020838503121561384a57600080fd5b600083013567ffffffffffffffff81111561386457600080fd5b6138708582860161356a565b92509250509250929050565b60006020828403121561388e57600080fd5b600061389c848285016135b4565b91505092915050565b6138ae8161402f565b82525050565b6138bd81614041565b82525050565b60006138ce82613ecc565b6138d88185613ee2565b93506138e88185602086016140b2565b6138f18161427e565b840191505092915050565b600061390782613ed7565b6139118185613efe565b93506139218185602086016140b2565b61392a8161427e565b840191505092915050565b600061394082613ed7565b61394a8185613f0f565b935061395a8185602086016140b2565b80840191505092915050565b60008154613973816140e5565b61397d8186613f0f565b9450600182166000811461399857600181146139a9576139dc565b60ff198316865281860193506139dc565b6139b285613eb7565b60005b838110156139d4578154818901526001820191506020810190506139b5565b838801955050505b50505092915050565b60006139f2601a83613efe565b91506139fd8261428f565b602082019050919050565b6000613a15602683613efe565b9150613a20826142b8565b604082019050919050565b6000613a38600f83613efe565b9150613a4382614307565b602082019050919050565b6000613a5b600c83613efe565b9150613a6682614330565b602082019050919050565b6000613a7e601183613efe565b9150613a8982614359565b602082019050919050565b6000613aa1600b83613efe565b9150613aac82614382565b602082019050919050565b6000613ac4602083613efe565b9150613acf826143ab565b602082019050919050565b6000613ae7602883613efe565b9150613af2826143d4565b604082019050919050565b6000613b0a600083613ef3565b9150613b1582614423565b600082019050919050565b6000613b2d600883613efe565b9150613b3882614426565b602082019050919050565b6000613b50601f83613efe565b9150613b5b8261444f565b602082019050919050565b6000613b73601e83613efe565b9150613b7e82614478565b602082019050919050565b6000613b96601c83613efe565b9150613ba1826144a1565b602082019050919050565b6000613bb9600183613f0f565b9150613bc4826144ca565b600182019050919050565b613bd881614099565b82525050565b6000613bea8285613966565b9150613bf582613bac565b9150613c018284613935565b91508190509392505050565b6000613c1882613afd565b9150819050919050565b6000602082019050613c3760008301846138a5565b92915050565b6000608082019050613c5260008301876138a5565b613c5f60208301866138a5565b613c6c6040830185613bcf565b8181036060830152613c7e81846138c3565b905095945050505050565b6000602082019050613c9e60008301846138b4565b92915050565b60006020820190508181036000830152613cbe81846138fc565b905092915050565b60006020820190508181036000830152613cdf816139e5565b9050919050565b60006020820190508181036000830152613cff81613a08565b9050919050565b60006020820190508181036000830152613d1f81613a2b565b9050919050565b60006020820190508181036000830152613d3f81613a4e565b9050919050565b60006020820190508181036000830152613d5f81613a71565b9050919050565b60006020820190508181036000830152613d7f81613a94565b9050919050565b60006020820190508181036000830152613d9f81613ab7565b9050919050565b60006020820190508181036000830152613dbf81613ada565b9050919050565b60006020820190508181036000830152613ddf81613b20565b9050919050565b60006020820190508181036000830152613dff81613b43565b9050919050565b60006020820190508181036000830152613e1f81613b66565b9050919050565b60006020820190508181036000830152613e3f81613b89565b9050919050565b6000602082019050613e5b6000830184613bcf565b92915050565b6000613e6b613e7c565b9050613e778282614117565b919050565b6000604051905090565b600067ffffffffffffffff821115613ea157613ea061424f565b5b613eaa8261427e565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613f2582614099565b9150613f3083614099565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f6557613f646141c2565b5b828201905092915050565b6000613f7b82614099565b9150613f8683614099565b925082613f9657613f956141f1565b5b828204905092915050565b6000613fac82614099565b9150613fb783614099565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ff057613fef6141c2565b5b828202905092915050565b600061400682614099565b915061401183614099565b925082821015614024576140236141c2565b5b828203905092915050565b600061403a82614079565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156140d05780820151818401526020810190506140b5565b838111156140df576000848401525b50505050565b600060028204905060018216806140fd57607f821691505b6020821081141561411157614110614220565b5b50919050565b6141208261427e565b810181811067ffffffffffffffff8211171561413f5761413e61424f565b5b80604052505050565b600061415382614099565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614186576141856141c2565b5b600182019050919050565b600061419c82614099565b91506141a783614099565b9250826141b7576141b66141f1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f43616c6c207365745374617274696e67496e646578426c6f636b000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f496e76616c696420616464720000000000000000000000000000000000000000600082015250565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f416c726561647920736574000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f6e6c7920536561736f6e203220436f6e74726163742063616e2063616c6c2060008201527f66756e6374696f6e000000000000000000000000000000000000000000000000602082015250565b50565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f61646472657373657320616e642069647320646f206e6f74206d617463680000600082015250565b7f43616c6c6572206973206e6f74206f776e65722f617070726f76656400000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6144fc8161402f565b811461450757600080fd5b50565b61451381614041565b811461451e57600080fd5b50565b61452a8161404d565b811461453557600080fd5b50565b61454181614099565b811461454c57600080fd5b5056fea26469706673582212201146a28d2d47e24c28ac6da5391619a7c231b2a333e14008f99f2b3a596ea27164736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000001f5

-----Decoded View---------------
Arg [0] : _numberOfHeroes (uint32): 501

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000001f5


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.