ETH Price: $3,958.41 (+2.30%)

Token

Galactic Apes (GAPES)
 

Overview

Max Total Supply

0 GAPES

Holders

176

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 GAPES
0x465fcc37783d71feffddf9f42368f6d103f24fb9
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:
GalacticApes

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : GalacticApes.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract GalacticApes is ERC721, Ownable {
    event Migrated(uint256 indexed tokenId);

    string private baseURI;

    IERC1155 public OpenSeaStore;
    IERC721 public GapeContract;

    constructor(
        string memory name,
        string memory symbol,
        address openSeaStore,
        address gapeContract
    ) ERC721(name, symbol) {
        OpenSeaStore = IERC1155(openSeaStore);
        GapeContract = IERC721(gapeContract);
    }

    modifier onlyTokenOwner(uint256 tokenId) {
        require(
            ownerOf(tokenId) == msg.sender,
            "Sender is not the token owner"
        );
        _;
    }

    function getGalacticApeId(uint256 _id) external pure returns (uint256) {
        return _getGalacticApeId(_id);
    }

    function _getGalacticApeId(uint256 _id) internal pure returns (uint256) {
        require(
            _id >> 96 ==
                0x000000000000000000000000DF79D424F687ACDF388939EC6ADE2A37B9329806,
            "Invalid token"
        );
        require(
            _id &
                0x000000000000000000000000000000000000000000000000000000ffffffffff ==
                1,
            "Invalid token"
        );

        _id =
            (_id &
                0x0000000000000000000000000000000000000000ffffffffffffff0000000000) >>
            40;

        require(_id > 0 && _id <= 157, "Invalid token");

        if (_id == 101) return _id - 2;
        else if (_id > 101 && _id < 120) return _id - 3;
        else if (_id > 119 && _id < 151) return _id - 4;
        else if (_id > 150 && _id < 155) return _id - 5;
        else if (_id > 154) return _id - 6;
        return _id;
    }

    function migrateGenesisGapes(uint256[] calldata _tokenIds) external {
        uint256 tokenIdsLength = _tokenIds.length;
        for (uint256 i; i < tokenIdsLength;) {
            uint256 id = _getGalacticApeId(_tokenIds[i]);

            OpenSeaStore.safeTransferFrom(
                msg.sender,
                address(0x000000000000000000000000000000000000dEaD),
                _tokenIds[i],
                1,
                ""
            );

            _mint(msg.sender, id);

            emit Migrated(id);

            unchecked { ++i; }
        }
    }

    function migrateGalacticApes(uint256[] calldata _tokenIds) external {
        uint256 tokenIdsLength = _tokenIds.length;

        require(tokenIdsLength > 0, "tokenIds must not be empty");

        for (uint256 i; i < tokenIdsLength;) {
            // send this galactic ape to the shadow realm
            GapeContract.transferFrom(
                msg.sender,
                address(0x000000000000000000000000000000000000dEaD),
                _tokenIds[i]
            );

            // offset tokens by 1, since we are NOT 0-indexing
            uint256 tokenId = _tokenIds[i] + 151 + 1;

            _mint(msg.sender, tokenId);

            emit Migrated(tokenId);

            unchecked { ++i; }
        }
    }

    function setBaseURI(string calldata uri) public onlyOwner {
        baseURI = uri;
    }

    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        return
            bytes(baseURI).length > 0
            ? string(
                abi.encodePacked(
                    baseURI,
                    Strings.toString(tokenId),
                    ".json"
                )
            )
            : "";
    }
}

File 2 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 3 of 12 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 4 of 12 : 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 5 of 12 : 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 6 of 12 : 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 7 of 12 : 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 8 of 12 : 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 9 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 10 of 12 : 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 11 of 12 : 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 12 of 12 : 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":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"openSeaStore","type":"address"},{"internalType":"address","name":"gapeContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Migrated","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":"GapeContract","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OpenSeaStore","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","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":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getGalacticApeId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"_tokenIds","type":"uint256[]"}],"name":"migrateGalacticApes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"migrateGenesisGapes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[{"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"}]

60806040523480156200001157600080fd5b5060405162003bcd38038062003bcd833981810160405281019062000037919062000320565b8383816000908051906020019062000051929190620001e7565b5080600190805190602001906200006a929190620001e7565b5050506200008d620000816200011960201b60201c565b6200012160201b60201c565b81600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050506200057c565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001f59062000487565b90600052602060002090601f01602090048101928262000219576000855562000265565b82601f106200023457805160ff191683800117855562000265565b8280016001018555821562000265579182015b828111156200026457825182559160200191906001019062000247565b5b50905062000274919062000278565b5090565b5b808211156200029357600081600090555060010162000279565b5090565b6000620002ae620002a884620003e7565b620003be565b905082815260208101848484011115620002c757600080fd5b620002d484828562000451565b509392505050565b600081519050620002ed8162000562565b92915050565b600082601f8301126200030557600080fd5b81516200031784826020860162000297565b91505092915050565b600080600080608085870312156200033757600080fd5b600085015167ffffffffffffffff8111156200035257600080fd5b6200036087828801620002f3565b945050602085015167ffffffffffffffff8111156200037e57600080fd5b6200038c87828801620002f3565b93505060406200039f87828801620002dc565b9250506060620003b287828801620002dc565b91505092959194509250565b6000620003ca620003dd565b9050620003d88282620004bd565b919050565b6000604051905090565b600067ffffffffffffffff82111562000405576200040462000522565b5b620004108262000551565b9050602081019050919050565b60006200042a8262000431565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200047157808201518184015260208101905062000454565b8381111562000481576000848401525b50505050565b60006002820490506001821680620004a057607f821691505b60208210811415620004b757620004b6620004f3565b5b50919050565b620004c88262000551565b810181811067ffffffffffffffff82111715620004ea57620004e962000522565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200056d816200041d565b81146200057957600080fd5b50565b613641806200058c6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063715018a6116100b8578063a45ab4341161007c578063a45ab43414610361578063b88d4fde1461037d578063c87b56dd14610399578063e985e9c5146103c9578063f2fde38b146103f9578063fe3649f31461041557610142565b8063715018a6146102cf57806375c2822a146102d95780638da5cb5b1461030957806395d89b4114610327578063a22cb4651461034557610142565b806323b872dd1161010a57806323b872dd146101ff57806342842e0e1461021b5780634e6f303b1461023757806355f804b3146102535780636352211e1461026f57806370a082311461029f57610142565b806301ffc9a7146101475780630549d2931461017757806306fdde0314610195578063081812fc146101b3578063095ea7b3146101e3575b600080fd5b610161600480360381019061015c91906123cb565b610433565b60405161016e91906129e8565b60405180910390f35b61017f610515565b60405161018c9190612a03565b60405180910390f35b61019d61053b565b6040516101aa9190612a39565b60405180910390f35b6101cd60048036038101906101c89190612462565b6105cd565b6040516101da91906128f2565b60405180910390f35b6101fd60048036038101906101f8919061234a565b610652565b005b61021960048036038101906102149190612244565b61076a565b005b61023560048036038101906102309190612244565b6107ca565b005b610251600480360381019061024c9190612386565b6107ea565b005b61026d6004803603810190610268919061241d565b610967565b005b61028960048036038101906102849190612462565b6109f9565b60405161029691906128f2565b60405180910390f35b6102b960048036038101906102b491906121df565b610aab565b6040516102c69190612c9b565b60405180910390f35b6102d7610b63565b005b6102f360048036038101906102ee9190612462565b610beb565b6040516103009190612c9b565b60405180910390f35b610311610bfd565b60405161031e91906128f2565b60405180910390f35b61032f610c27565b60405161033c9190612a39565b60405180910390f35b61035f600480360381019061035a919061230e565b610cb9565b005b61037b60048036038101906103769190612386565b610ccf565b005b61039760048036038101906103929190612293565b610e9c565b005b6103b360048036038101906103ae9190612462565b610efe565b6040516103c09190612a39565b60405180910390f35b6103e360048036038101906103de9190612208565b610fa6565b6040516103f091906129e8565b60405180910390f35b610413600480360381019061040e91906121df565b61103a565b005b61041d611132565b60405161042a9190612a1e565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104fe57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061050e575061050d82611158565b5b9050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000805461054a90612f2f565b80601f016020809104026020016040519081016040528092919081815260200182805461057690612f2f565b80156105c35780601f10610598576101008083540402835291602001916105c3565b820191906000526020600020905b8154815290600101906020018083116105a657829003601f168201915b5050505050905090565b60006105d8826111c2565b610617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060e90612bdb565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061065d826109f9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c590612c3b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106ed61122e565b73ffffffffffffffffffffffffffffffffffffffff16148061071c575061071b8161071661122e565b610fa6565b5b61075b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075290612b5b565b60405180910390fd5b6107658383611236565b505050565b61077b61077561122e565b826112ef565b6107ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b190612c5b565b60405180910390fd5b6107c58383836113cd565b505050565b6107e583838360405180602001604052806000815250610e9c565b505050565b600082829050905060005b8181101561096157600061084785858481811061083b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135611634565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead8888878181106108c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013560016040518563ffffffff1660e01b81526004016108ec9493929190612990565b600060405180830381600087803b15801561090657600080fd5b505af115801561091a573d6000803e3d6000fd5b5050505061092833826117fd565b807fe4a25c0c2cbe89d6ad8b64c61a7dbdd20d1f781f6023f1ab94ebb7fe0aef6ab860405160405180910390a2816001019150506107f5565b50505050565b61096f61122e565b73ffffffffffffffffffffffffffffffffffffffff1661098d610bfd565b73ffffffffffffffffffffffffffffffffffffffff16146109e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109da90612bfb565b60405180910390fd5b8181600791906109f4929190611fd7565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9990612b9b565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1390612b7b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b6b61122e565b73ffffffffffffffffffffffffffffffffffffffff16610b89610bfd565b73ffffffffffffffffffffffffffffffffffffffff1614610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd690612bfb565b60405180910390fd5b610be960006119d7565b565b6000610bf682611634565b9050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610c3690612f2f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6290612f2f565b8015610caf5780601f10610c8457610100808354040283529160200191610caf565b820191906000526020600020905b815481529060010190602001808311610c9257829003601f168201915b5050505050905090565b610ccb610cc461122e565b8383611a9d565b5050565b600082829050905060008111610d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1190612c7b565b60405180910390fd5b60005b81811015610e9657600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3361dead878786818110610da0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b8152600401610dc59392919061290d565b600060405180830381600087803b158015610ddf57600080fd5b505af1158015610df3573d6000803e3d6000fd5b50505050600060016097868685818110610e36577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135610e479190612d64565b610e519190612d64565b9050610e5d33826117fd565b807fe4a25c0c2cbe89d6ad8b64c61a7dbdd20d1f781f6023f1ab94ebb7fe0aef6ab860405160405180910390a281600101915050610d1d565b50505050565b610ead610ea761122e565b836112ef565b610eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee390612c5b565b60405180910390fd5b610ef884848484611c0a565b50505050565b6060610f09826111c2565b610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f90612c1b565b60405180910390fd5b600060078054610f5790612f2f565b905011610f735760405180602001604052806000815250610f9f565b6007610f7e83611c66565b604051602001610f8f9291906128c3565b6040516020818303038152906040525b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61104261122e565b73ffffffffffffffffffffffffffffffffffffffff16611060610bfd565b73ffffffffffffffffffffffffffffffffffffffff16146110b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ad90612bfb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90612a7b565b60405180910390fd5b61112f816119d7565b50565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166112a9836109f9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006112fa826111c2565b611339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133090612b1b565b60405180910390fd5b6000611344836109f9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806113b357508373ffffffffffffffffffffffffffffffffffffffff1661139b846105cd565b73ffffffffffffffffffffffffffffffffffffffff16145b806113c457506113c38185610fa6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166113ed826109f9565b73ffffffffffffffffffffffffffffffffffffffff1614611443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143a90612a9b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114aa90612adb565b60405180910390fd5b6114be838383611e13565b6114c9600082611236565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115199190612deb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115709190612d64565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461162f838383611e18565b505050565b600073df79d424f687acdf388939ec6ade2a37b9329806606083901c14611690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168790612b3b565b60405180910390fd5b600164ffffffffff8316146116da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d190612b3b565b60405180910390fd5b60286bffffffffffffff00000000008316901c91506000821180156117005750609d8211155b61173f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173690612b3b565b60405180910390fd5b606582141561175c576002826117559190612deb565b90506117f8565b60658211801561176c5750607882105b156117855760038261177e9190612deb565b90506117f8565b6077821180156117955750609782105b156117ae576004826117a79190612deb565b90506117f8565b6096821180156117be5750609b82105b156117d7576005826117d09190612deb565b90506117f8565b609a8211156117f4576006826117ed9190612deb565b90506117f8565b8190505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561186d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186490612bbb565b60405180910390fd5b611876816111c2565b156118b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ad90612abb565b60405180910390fd5b6118c260008383611e13565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119129190612d64565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46119d360008383611e18565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0390612afb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bfd91906129e8565b60405180910390a3505050565b611c158484846113cd565b611c2184848484611e1d565b611c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5790612a5b565b60405180910390fd5b50505050565b60606000821415611cae576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611e0e565b600082905060005b60008214611ce0578080611cc990612f92565b915050600a82611cd99190612dba565b9150611cb6565b60008167ffffffffffffffff811115611d22577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611d545781602001600182028036833780820191505090505b5090505b60008514611e0757600182611d6d9190612deb565b9150600a85611d7c9190612fdb565b6030611d889190612d64565b60f81b818381518110611dc4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611e009190612dba565b9450611d58565b8093505050505b919050565b505050565b505050565b6000611e3e8473ffffffffffffffffffffffffffffffffffffffff16611fb4565b15611fa7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611e6761122e565b8786866040518563ffffffff1660e01b8152600401611e899493929190612944565b602060405180830381600087803b158015611ea357600080fd5b505af1925050508015611ed457506040513d601f19601f82011682018060405250810190611ed191906123f4565b60015b611f57573d8060008114611f04576040519150601f19603f3d011682016040523d82523d6000602084013e611f09565b606091505b50600081511415611f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4690612a5b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611fac565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054611fe390612f2f565b90600052602060002090601f016020900481019282612005576000855561204c565b82601f1061201e57803560ff191683800117855561204c565b8280016001018555821561204c579182015b8281111561204b578235825591602001919060010190612030565b5b509050612059919061205d565b5090565b5b8082111561207657600081600090555060010161205e565b5090565b600061208d61208884612cdb565b612cb6565b9050828152602081018484840111156120a557600080fd5b6120b0848285612eed565b509392505050565b6000813590506120c7816135af565b92915050565b60008083601f8401126120df57600080fd5b8235905067ffffffffffffffff8111156120f857600080fd5b60208301915083602082028301111561211057600080fd5b9250929050565b600081359050612126816135c6565b92915050565b60008135905061213b816135dd565b92915050565b600081519050612150816135dd565b92915050565b600082601f83011261216757600080fd5b813561217784826020860161207a565b91505092915050565b60008083601f84011261219257600080fd5b8235905067ffffffffffffffff8111156121ab57600080fd5b6020830191508360018202830111156121c357600080fd5b9250929050565b6000813590506121d9816135f4565b92915050565b6000602082840312156121f157600080fd5b60006121ff848285016120b8565b91505092915050565b6000806040838503121561221b57600080fd5b6000612229858286016120b8565b925050602061223a858286016120b8565b9150509250929050565b60008060006060848603121561225957600080fd5b6000612267868287016120b8565b9350506020612278868287016120b8565b9250506040612289868287016121ca565b9150509250925092565b600080600080608085870312156122a957600080fd5b60006122b7878288016120b8565b94505060206122c8878288016120b8565b93505060406122d9878288016121ca565b925050606085013567ffffffffffffffff8111156122f657600080fd5b61230287828801612156565b91505092959194509250565b6000806040838503121561232157600080fd5b600061232f858286016120b8565b925050602061234085828601612117565b9150509250929050565b6000806040838503121561235d57600080fd5b600061236b858286016120b8565b925050602061237c858286016121ca565b9150509250929050565b6000806020838503121561239957600080fd5b600083013567ffffffffffffffff8111156123b357600080fd5b6123bf858286016120cd565b92509250509250929050565b6000602082840312156123dd57600080fd5b60006123eb8482850161212c565b91505092915050565b60006020828403121561240657600080fd5b600061241484828501612141565b91505092915050565b6000806020838503121561243057600080fd5b600083013567ffffffffffffffff81111561244a57600080fd5b61245685828601612180565b92509250509250929050565b60006020828403121561247457600080fd5b6000612482848285016121ca565b91505092915050565b61249481612e1f565b82525050565b6124a381612e31565b82525050565b60006124b482612d21565b6124be8185612d37565b93506124ce818560208601612efc565b6124d7816130c8565b840191505092915050565b6124eb81612e93565b82525050565b6124fa81612eb7565b82525050565b61250981612edb565b82525050565b600061251a82612d2c565b6125248185612d48565b9350612534818560208601612efc565b61253d816130c8565b840191505092915050565b600061255382612d2c565b61255d8185612d59565b935061256d818560208601612efc565b80840191505092915050565b6000815461258681612f2f565b6125908186612d59565b945060018216600081146125ab57600181146125bc576125ef565b60ff198316865281860193506125ef565b6125c585612d0c565b60005b838110156125e7578154818901526001820191506020810190506125c8565b838801955050505b50505092915050565b6000612605603283612d48565b9150612610826130d9565b604082019050919050565b6000612628602683612d48565b915061263382613128565b604082019050919050565b600061264b602583612d48565b915061265682613177565b604082019050919050565b600061266e601c83612d48565b9150612679826131c6565b602082019050919050565b6000612691602483612d48565b915061269c826131ef565b604082019050919050565b60006126b4601983612d48565b91506126bf8261323e565b602082019050919050565b60006126d7602c83612d48565b91506126e282613267565b604082019050919050565b60006126fa600d83612d48565b9150612705826132b6565b602082019050919050565b600061271d603883612d48565b9150612728826132df565b604082019050919050565b6000612740602a83612d48565b915061274b8261332e565b604082019050919050565b6000612763602983612d48565b915061276e8261337d565b604082019050919050565b6000612786602083612d48565b9150612791826133cc565b602082019050919050565b60006127a9602c83612d48565b91506127b4826133f5565b604082019050919050565b60006127cc600583612d59565b91506127d782613444565b600582019050919050565b60006127ef602083612d48565b91506127fa8261346d565b602082019050919050565b6000612812602f83612d48565b915061281d82613496565b604082019050919050565b6000612835602183612d48565b9150612840826134e5565b604082019050919050565b6000612858600083612d37565b915061286382613534565b600082019050919050565b600061287b603183612d48565b915061288682613537565b604082019050919050565b600061289e601a83612d48565b91506128a982613586565b602082019050919050565b6128bd81612e89565b82525050565b60006128cf8285612579565b91506128db8284612548565b91506128e6826127bf565b91508190509392505050565b6000602082019050612907600083018461248b565b92915050565b6000606082019050612922600083018661248b565b61292f602083018561248b565b61293c60408301846128b4565b949350505050565b6000608082019050612959600083018761248b565b612966602083018661248b565b61297360408301856128b4565b818103606083015261298581846124a9565b905095945050505050565b600060a0820190506129a5600083018761248b565b6129b2602083018661248b565b6129bf60408301856128b4565b6129cc6060830184612500565b81810360808301526129dd8161284b565b905095945050505050565b60006020820190506129fd600083018461249a565b92915050565b6000602082019050612a1860008301846124e2565b92915050565b6000602082019050612a3360008301846124f1565b92915050565b60006020820190508181036000830152612a53818461250f565b905092915050565b60006020820190508181036000830152612a74816125f8565b9050919050565b60006020820190508181036000830152612a948161261b565b9050919050565b60006020820190508181036000830152612ab48161263e565b9050919050565b60006020820190508181036000830152612ad481612661565b9050919050565b60006020820190508181036000830152612af481612684565b9050919050565b60006020820190508181036000830152612b14816126a7565b9050919050565b60006020820190508181036000830152612b34816126ca565b9050919050565b60006020820190508181036000830152612b54816126ed565b9050919050565b60006020820190508181036000830152612b7481612710565b9050919050565b60006020820190508181036000830152612b9481612733565b9050919050565b60006020820190508181036000830152612bb481612756565b9050919050565b60006020820190508181036000830152612bd481612779565b9050919050565b60006020820190508181036000830152612bf48161279c565b9050919050565b60006020820190508181036000830152612c14816127e2565b9050919050565b60006020820190508181036000830152612c3481612805565b9050919050565b60006020820190508181036000830152612c5481612828565b9050919050565b60006020820190508181036000830152612c748161286e565b9050919050565b60006020820190508181036000830152612c9481612891565b9050919050565b6000602082019050612cb060008301846128b4565b92915050565b6000612cc0612cd1565b9050612ccc8282612f61565b919050565b6000604051905090565b600067ffffffffffffffff821115612cf657612cf5613099565b5b612cff826130c8565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612d6f82612e89565b9150612d7a83612e89565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612daf57612dae61300c565b5b828201905092915050565b6000612dc582612e89565b9150612dd083612e89565b925082612de057612ddf61303b565b5b828204905092915050565b6000612df682612e89565b9150612e0183612e89565b925082821015612e1457612e1361300c565b5b828203905092915050565b6000612e2a82612e69565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000612e9e82612ea5565b9050919050565b6000612eb082612e69565b9050919050565b6000612ec282612ec9565b9050919050565b6000612ed482612e69565b9050919050565b6000612ee682612e89565b9050919050565b82818337600083830152505050565b60005b83811015612f1a578082015181840152602081019050612eff565b83811115612f29576000848401525b50505050565b60006002820490506001821680612f4757607f821691505b60208210811415612f5b57612f5a61306a565b5b50919050565b612f6a826130c8565b810181811067ffffffffffffffff82111715612f8957612f88613099565b5b80604052505050565b6000612f9d82612e89565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612fd057612fcf61300c565b5b600182019050919050565b6000612fe682612e89565b9150612ff183612e89565b9250826130015761300061303b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f496e76616c696420746f6b656e00000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f746f6b656e496473206d757374206e6f7420626520656d707479000000000000600082015250565b6135b881612e1f565b81146135c357600080fd5b50565b6135cf81612e31565b81146135da57600080fd5b50565b6135e681612e3d565b81146135f157600080fd5b50565b6135fd81612e89565b811461360857600080fd5b5056fea2646970667358221220d9d1d9965a4537f5f88d426e51fe60e4b68edbeb2a08cc84abfd99a73078a4be64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e00000000000000000000000012d2d1bed91c24f878f37e66bd829ce7197e4d14000000000000000000000000000000000000000000000000000000000000000d47616c616374696320417065730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054741504553000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063715018a6116100b8578063a45ab4341161007c578063a45ab43414610361578063b88d4fde1461037d578063c87b56dd14610399578063e985e9c5146103c9578063f2fde38b146103f9578063fe3649f31461041557610142565b8063715018a6146102cf57806375c2822a146102d95780638da5cb5b1461030957806395d89b4114610327578063a22cb4651461034557610142565b806323b872dd1161010a57806323b872dd146101ff57806342842e0e1461021b5780634e6f303b1461023757806355f804b3146102535780636352211e1461026f57806370a082311461029f57610142565b806301ffc9a7146101475780630549d2931461017757806306fdde0314610195578063081812fc146101b3578063095ea7b3146101e3575b600080fd5b610161600480360381019061015c91906123cb565b610433565b60405161016e91906129e8565b60405180910390f35b61017f610515565b60405161018c9190612a03565b60405180910390f35b61019d61053b565b6040516101aa9190612a39565b60405180910390f35b6101cd60048036038101906101c89190612462565b6105cd565b6040516101da91906128f2565b60405180910390f35b6101fd60048036038101906101f8919061234a565b610652565b005b61021960048036038101906102149190612244565b61076a565b005b61023560048036038101906102309190612244565b6107ca565b005b610251600480360381019061024c9190612386565b6107ea565b005b61026d6004803603810190610268919061241d565b610967565b005b61028960048036038101906102849190612462565b6109f9565b60405161029691906128f2565b60405180910390f35b6102b960048036038101906102b491906121df565b610aab565b6040516102c69190612c9b565b60405180910390f35b6102d7610b63565b005b6102f360048036038101906102ee9190612462565b610beb565b6040516103009190612c9b565b60405180910390f35b610311610bfd565b60405161031e91906128f2565b60405180910390f35b61032f610c27565b60405161033c9190612a39565b60405180910390f35b61035f600480360381019061035a919061230e565b610cb9565b005b61037b60048036038101906103769190612386565b610ccf565b005b61039760048036038101906103929190612293565b610e9c565b005b6103b360048036038101906103ae9190612462565b610efe565b6040516103c09190612a39565b60405180910390f35b6103e360048036038101906103de9190612208565b610fa6565b6040516103f091906129e8565b60405180910390f35b610413600480360381019061040e91906121df565b61103a565b005b61041d611132565b60405161042a9190612a1e565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104fe57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061050e575061050d82611158565b5b9050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000805461054a90612f2f565b80601f016020809104026020016040519081016040528092919081815260200182805461057690612f2f565b80156105c35780601f10610598576101008083540402835291602001916105c3565b820191906000526020600020905b8154815290600101906020018083116105a657829003601f168201915b5050505050905090565b60006105d8826111c2565b610617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060e90612bdb565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061065d826109f9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c590612c3b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106ed61122e565b73ffffffffffffffffffffffffffffffffffffffff16148061071c575061071b8161071661122e565b610fa6565b5b61075b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075290612b5b565b60405180910390fd5b6107658383611236565b505050565b61077b61077561122e565b826112ef565b6107ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b190612c5b565b60405180910390fd5b6107c58383836113cd565b505050565b6107e583838360405180602001604052806000815250610e9c565b505050565b600082829050905060005b8181101561096157600061084785858481811061083b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135611634565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead8888878181106108c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013560016040518563ffffffff1660e01b81526004016108ec9493929190612990565b600060405180830381600087803b15801561090657600080fd5b505af115801561091a573d6000803e3d6000fd5b5050505061092833826117fd565b807fe4a25c0c2cbe89d6ad8b64c61a7dbdd20d1f781f6023f1ab94ebb7fe0aef6ab860405160405180910390a2816001019150506107f5565b50505050565b61096f61122e565b73ffffffffffffffffffffffffffffffffffffffff1661098d610bfd565b73ffffffffffffffffffffffffffffffffffffffff16146109e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109da90612bfb565b60405180910390fd5b8181600791906109f4929190611fd7565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9990612b9b565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1390612b7b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b6b61122e565b73ffffffffffffffffffffffffffffffffffffffff16610b89610bfd565b73ffffffffffffffffffffffffffffffffffffffff1614610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd690612bfb565b60405180910390fd5b610be960006119d7565b565b6000610bf682611634565b9050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610c3690612f2f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6290612f2f565b8015610caf5780601f10610c8457610100808354040283529160200191610caf565b820191906000526020600020905b815481529060010190602001808311610c9257829003601f168201915b5050505050905090565b610ccb610cc461122e565b8383611a9d565b5050565b600082829050905060008111610d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1190612c7b565b60405180910390fd5b60005b81811015610e9657600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3361dead878786818110610da0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b8152600401610dc59392919061290d565b600060405180830381600087803b158015610ddf57600080fd5b505af1158015610df3573d6000803e3d6000fd5b50505050600060016097868685818110610e36577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135610e479190612d64565b610e519190612d64565b9050610e5d33826117fd565b807fe4a25c0c2cbe89d6ad8b64c61a7dbdd20d1f781f6023f1ab94ebb7fe0aef6ab860405160405180910390a281600101915050610d1d565b50505050565b610ead610ea761122e565b836112ef565b610eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee390612c5b565b60405180910390fd5b610ef884848484611c0a565b50505050565b6060610f09826111c2565b610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f90612c1b565b60405180910390fd5b600060078054610f5790612f2f565b905011610f735760405180602001604052806000815250610f9f565b6007610f7e83611c66565b604051602001610f8f9291906128c3565b6040516020818303038152906040525b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61104261122e565b73ffffffffffffffffffffffffffffffffffffffff16611060610bfd565b73ffffffffffffffffffffffffffffffffffffffff16146110b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ad90612bfb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90612a7b565b60405180910390fd5b61112f816119d7565b50565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166112a9836109f9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006112fa826111c2565b611339576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133090612b1b565b60405180910390fd5b6000611344836109f9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806113b357508373ffffffffffffffffffffffffffffffffffffffff1661139b846105cd565b73ffffffffffffffffffffffffffffffffffffffff16145b806113c457506113c38185610fa6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166113ed826109f9565b73ffffffffffffffffffffffffffffffffffffffff1614611443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143a90612a9b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114aa90612adb565b60405180910390fd5b6114be838383611e13565b6114c9600082611236565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115199190612deb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115709190612d64565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461162f838383611e18565b505050565b600073df79d424f687acdf388939ec6ade2a37b9329806606083901c14611690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168790612b3b565b60405180910390fd5b600164ffffffffff8316146116da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d190612b3b565b60405180910390fd5b60286bffffffffffffff00000000008316901c91506000821180156117005750609d8211155b61173f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173690612b3b565b60405180910390fd5b606582141561175c576002826117559190612deb565b90506117f8565b60658211801561176c5750607882105b156117855760038261177e9190612deb565b90506117f8565b6077821180156117955750609782105b156117ae576004826117a79190612deb565b90506117f8565b6096821180156117be5750609b82105b156117d7576005826117d09190612deb565b90506117f8565b609a8211156117f4576006826117ed9190612deb565b90506117f8565b8190505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561186d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186490612bbb565b60405180910390fd5b611876816111c2565b156118b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ad90612abb565b60405180910390fd5b6118c260008383611e13565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119129190612d64565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46119d360008383611e18565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0390612afb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bfd91906129e8565b60405180910390a3505050565b611c158484846113cd565b611c2184848484611e1d565b611c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5790612a5b565b60405180910390fd5b50505050565b60606000821415611cae576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611e0e565b600082905060005b60008214611ce0578080611cc990612f92565b915050600a82611cd99190612dba565b9150611cb6565b60008167ffffffffffffffff811115611d22577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611d545781602001600182028036833780820191505090505b5090505b60008514611e0757600182611d6d9190612deb565b9150600a85611d7c9190612fdb565b6030611d889190612d64565b60f81b818381518110611dc4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611e009190612dba565b9450611d58565b8093505050505b919050565b505050565b505050565b6000611e3e8473ffffffffffffffffffffffffffffffffffffffff16611fb4565b15611fa7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611e6761122e565b8786866040518563ffffffff1660e01b8152600401611e899493929190612944565b602060405180830381600087803b158015611ea357600080fd5b505af1925050508015611ed457506040513d601f19601f82011682018060405250810190611ed191906123f4565b60015b611f57573d8060008114611f04576040519150601f19603f3d011682016040523d82523d6000602084013e611f09565b606091505b50600081511415611f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4690612a5b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611fac565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054611fe390612f2f565b90600052602060002090601f016020900481019282612005576000855561204c565b82601f1061201e57803560ff191683800117855561204c565b8280016001018555821561204c579182015b8281111561204b578235825591602001919060010190612030565b5b509050612059919061205d565b5090565b5b8082111561207657600081600090555060010161205e565b5090565b600061208d61208884612cdb565b612cb6565b9050828152602081018484840111156120a557600080fd5b6120b0848285612eed565b509392505050565b6000813590506120c7816135af565b92915050565b60008083601f8401126120df57600080fd5b8235905067ffffffffffffffff8111156120f857600080fd5b60208301915083602082028301111561211057600080fd5b9250929050565b600081359050612126816135c6565b92915050565b60008135905061213b816135dd565b92915050565b600081519050612150816135dd565b92915050565b600082601f83011261216757600080fd5b813561217784826020860161207a565b91505092915050565b60008083601f84011261219257600080fd5b8235905067ffffffffffffffff8111156121ab57600080fd5b6020830191508360018202830111156121c357600080fd5b9250929050565b6000813590506121d9816135f4565b92915050565b6000602082840312156121f157600080fd5b60006121ff848285016120b8565b91505092915050565b6000806040838503121561221b57600080fd5b6000612229858286016120b8565b925050602061223a858286016120b8565b9150509250929050565b60008060006060848603121561225957600080fd5b6000612267868287016120b8565b9350506020612278868287016120b8565b9250506040612289868287016121ca565b9150509250925092565b600080600080608085870312156122a957600080fd5b60006122b7878288016120b8565b94505060206122c8878288016120b8565b93505060406122d9878288016121ca565b925050606085013567ffffffffffffffff8111156122f657600080fd5b61230287828801612156565b91505092959194509250565b6000806040838503121561232157600080fd5b600061232f858286016120b8565b925050602061234085828601612117565b9150509250929050565b6000806040838503121561235d57600080fd5b600061236b858286016120b8565b925050602061237c858286016121ca565b9150509250929050565b6000806020838503121561239957600080fd5b600083013567ffffffffffffffff8111156123b357600080fd5b6123bf858286016120cd565b92509250509250929050565b6000602082840312156123dd57600080fd5b60006123eb8482850161212c565b91505092915050565b60006020828403121561240657600080fd5b600061241484828501612141565b91505092915050565b6000806020838503121561243057600080fd5b600083013567ffffffffffffffff81111561244a57600080fd5b61245685828601612180565b92509250509250929050565b60006020828403121561247457600080fd5b6000612482848285016121ca565b91505092915050565b61249481612e1f565b82525050565b6124a381612e31565b82525050565b60006124b482612d21565b6124be8185612d37565b93506124ce818560208601612efc565b6124d7816130c8565b840191505092915050565b6124eb81612e93565b82525050565b6124fa81612eb7565b82525050565b61250981612edb565b82525050565b600061251a82612d2c565b6125248185612d48565b9350612534818560208601612efc565b61253d816130c8565b840191505092915050565b600061255382612d2c565b61255d8185612d59565b935061256d818560208601612efc565b80840191505092915050565b6000815461258681612f2f565b6125908186612d59565b945060018216600081146125ab57600181146125bc576125ef565b60ff198316865281860193506125ef565b6125c585612d0c565b60005b838110156125e7578154818901526001820191506020810190506125c8565b838801955050505b50505092915050565b6000612605603283612d48565b9150612610826130d9565b604082019050919050565b6000612628602683612d48565b915061263382613128565b604082019050919050565b600061264b602583612d48565b915061265682613177565b604082019050919050565b600061266e601c83612d48565b9150612679826131c6565b602082019050919050565b6000612691602483612d48565b915061269c826131ef565b604082019050919050565b60006126b4601983612d48565b91506126bf8261323e565b602082019050919050565b60006126d7602c83612d48565b91506126e282613267565b604082019050919050565b60006126fa600d83612d48565b9150612705826132b6565b602082019050919050565b600061271d603883612d48565b9150612728826132df565b604082019050919050565b6000612740602a83612d48565b915061274b8261332e565b604082019050919050565b6000612763602983612d48565b915061276e8261337d565b604082019050919050565b6000612786602083612d48565b9150612791826133cc565b602082019050919050565b60006127a9602c83612d48565b91506127b4826133f5565b604082019050919050565b60006127cc600583612d59565b91506127d782613444565b600582019050919050565b60006127ef602083612d48565b91506127fa8261346d565b602082019050919050565b6000612812602f83612d48565b915061281d82613496565b604082019050919050565b6000612835602183612d48565b9150612840826134e5565b604082019050919050565b6000612858600083612d37565b915061286382613534565b600082019050919050565b600061287b603183612d48565b915061288682613537565b604082019050919050565b600061289e601a83612d48565b91506128a982613586565b602082019050919050565b6128bd81612e89565b82525050565b60006128cf8285612579565b91506128db8284612548565b91506128e6826127bf565b91508190509392505050565b6000602082019050612907600083018461248b565b92915050565b6000606082019050612922600083018661248b565b61292f602083018561248b565b61293c60408301846128b4565b949350505050565b6000608082019050612959600083018761248b565b612966602083018661248b565b61297360408301856128b4565b818103606083015261298581846124a9565b905095945050505050565b600060a0820190506129a5600083018761248b565b6129b2602083018661248b565b6129bf60408301856128b4565b6129cc6060830184612500565b81810360808301526129dd8161284b565b905095945050505050565b60006020820190506129fd600083018461249a565b92915050565b6000602082019050612a1860008301846124e2565b92915050565b6000602082019050612a3360008301846124f1565b92915050565b60006020820190508181036000830152612a53818461250f565b905092915050565b60006020820190508181036000830152612a74816125f8565b9050919050565b60006020820190508181036000830152612a948161261b565b9050919050565b60006020820190508181036000830152612ab48161263e565b9050919050565b60006020820190508181036000830152612ad481612661565b9050919050565b60006020820190508181036000830152612af481612684565b9050919050565b60006020820190508181036000830152612b14816126a7565b9050919050565b60006020820190508181036000830152612b34816126ca565b9050919050565b60006020820190508181036000830152612b54816126ed565b9050919050565b60006020820190508181036000830152612b7481612710565b9050919050565b60006020820190508181036000830152612b9481612733565b9050919050565b60006020820190508181036000830152612bb481612756565b9050919050565b60006020820190508181036000830152612bd481612779565b9050919050565b60006020820190508181036000830152612bf48161279c565b9050919050565b60006020820190508181036000830152612c14816127e2565b9050919050565b60006020820190508181036000830152612c3481612805565b9050919050565b60006020820190508181036000830152612c5481612828565b9050919050565b60006020820190508181036000830152612c748161286e565b9050919050565b60006020820190508181036000830152612c9481612891565b9050919050565b6000602082019050612cb060008301846128b4565b92915050565b6000612cc0612cd1565b9050612ccc8282612f61565b919050565b6000604051905090565b600067ffffffffffffffff821115612cf657612cf5613099565b5b612cff826130c8565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612d6f82612e89565b9150612d7a83612e89565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612daf57612dae61300c565b5b828201905092915050565b6000612dc582612e89565b9150612dd083612e89565b925082612de057612ddf61303b565b5b828204905092915050565b6000612df682612e89565b9150612e0183612e89565b925082821015612e1457612e1361300c565b5b828203905092915050565b6000612e2a82612e69565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000612e9e82612ea5565b9050919050565b6000612eb082612e69565b9050919050565b6000612ec282612ec9565b9050919050565b6000612ed482612e69565b9050919050565b6000612ee682612e89565b9050919050565b82818337600083830152505050565b60005b83811015612f1a578082015181840152602081019050612eff565b83811115612f29576000848401525b50505050565b60006002820490506001821680612f4757607f821691505b60208210811415612f5b57612f5a61306a565b5b50919050565b612f6a826130c8565b810181811067ffffffffffffffff82111715612f8957612f88613099565b5b80604052505050565b6000612f9d82612e89565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612fd057612fcf61300c565b5b600182019050919050565b6000612fe682612e89565b9150612ff183612e89565b9250826130015761300061303b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f496e76616c696420746f6b656e00000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f746f6b656e496473206d757374206e6f7420626520656d707479000000000000600082015250565b6135b881612e1f565b81146135c357600080fd5b50565b6135cf81612e31565b81146135da57600080fd5b50565b6135e681612e3d565b81146135f157600080fd5b50565b6135fd81612e89565b811461360857600080fd5b5056fea2646970667358221220d9d1d9965a4537f5f88d426e51fe60e4b68edbeb2a08cc84abfd99a73078a4be64736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e00000000000000000000000012d2d1bed91c24f878f37e66bd829ce7197e4d14000000000000000000000000000000000000000000000000000000000000000d47616c616374696320417065730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054741504553000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Galactic Apes
Arg [1] : symbol (string): GAPES
Arg [2] : openSeaStore (address): 0x495f947276749Ce646f68AC8c248420045cb7b5e
Arg [3] : gapeContract (address): 0x12d2D1beD91c24f878F37E66bd829Ce7197e4d14

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e
Arg [3] : 00000000000000000000000012d2d1bed91c24f878f37e66bd829ce7197e4d14
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [5] : 47616c6163746963204170657300000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 4741504553000000000000000000000000000000000000000000000000000000


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.