ETH Price: $3,139.89 (-5.13%)
Gas: 12 Gwei

Contract

0x5019D54f18fef36F6b22aC55A2aA2fb7009f308F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Approval For...192500512024-02-17 20:48:47137 days ago1708202927IN
0x5019D54f...7009f308F
0 ETH0.0010547822.61501855
Set Approval For...166542962023-02-18 8:20:47502 days ago1676708447IN
0x5019D54f...7009f308F
0 ETH0.0011640624.91960647
Set Approval For...165695152023-02-06 11:41:47513 days ago1675683707IN
0x5019D54f...7009f308F
0 ETH0.001098523.55235718
Set Approval For...162799332022-12-28 1:21:59554 days ago1672190519IN
0x5019D54f...7009f308F
0 ETH0.00058812.58768177
Set Approval For...162609432022-12-25 9:43:35557 days ago1671961415IN
0x5019D54f...7009f308F
0 ETH0.0003276213.2038464
Set Approval For...161348502022-12-07 19:15:11574 days ago1670440511IN
0x5019D54f...7009f308F
0 ETH0.0009217319.73189973
Set Approval For...159997502022-11-18 22:01:47593 days ago1668808907IN
0x5019D54f...7009f308F
0 ETH0.000331213.34784569
Transfer From154418872022-08-30 18:19:32673 days ago1661883572IN
0x5019D54f...7009f308F
0 ETH0.0005451613.09522134
Transfer From154418822022-08-30 18:18:11673 days ago1661883491IN
0x5019D54f...7009f308F
0 ETH0.0005800112.49204718
Transfer From154418812022-08-30 18:18:10673 days ago1661883490IN
0x5019D54f...7009f308F
0 ETH0.0008392913.21079788
Toggle Sale150095552022-06-22 21:06:00742 days ago1655931960IN
0x5019D54f...7009f308F
0 ETH0.0013311747.80493511
Mint Temple With...148831722022-06-01 5:49:13764 days ago1654062553IN
0x5019D54f...7009f308F
0 ETH0.0051094338.25744273
Set Approval For...146648462022-04-27 6:18:01799 days ago1651040281IN
0x5019D54f...7009f308F
0 ETH0.0011966948.22869504
Mint Temple With...146332102022-04-22 7:00:46804 days ago1650610846IN
0x5019D54f...7009f308F
0 ETH0.0013767731.51514518
Set Approval For...146146472022-04-19 9:09:08807 days ago1650359348IN
0x5019D54f...7009f308F
0 ETH0.0038044381.42189747
Set Approval For...144068162022-03-17 22:59:32839 days ago1647557972IN
0x5019D54f...7009f308F
0 ETH0.0015546933.27328746
Set Approval For...143986022022-03-16 16:07:24840 days ago1647446844IN
0x5019D54f...7009f308F
0 ETH0.0029062962.2000294
Transfer From143294582022-03-05 21:54:47851 days ago1646517287IN
0x5019D54f...7009f308F
0 ETH0.00127327.41709552
Transfer From143294472022-03-05 21:53:07851 days ago1646517187IN
0x5019D54f...7009f308F
0 ETH0.0020113731.6596915
Set Approval For...143289672022-03-05 20:11:11851 days ago1646511071IN
0x5019D54f...7009f308F
0 ETH0.0020907184.25872481
Set Approval For...142897522022-02-27 18:11:39857 days ago1645985499IN
0x5019D54f...7009f308F
0 ETH0.0011228445.27430266
Set Approval For...142871652022-02-27 8:33:47858 days ago1645950827IN
0x5019D54f...7009f308F
0 ETH0.0014142230.27471291
Set Approval For...142846922022-02-26 23:26:31858 days ago1645917991IN
0x5019D54f...7009f308F
0 ETH0.0008295233.43111013
Transfer From142727182022-02-25 2:56:07860 days ago1645757767IN
0x5019D54f...7009f308F
0 ETH0.0030663252.20959966
Transfer From142704022022-02-24 18:23:00860 days ago1645726980IN
0x5019D54f...7009f308F
0 ETH0.0026475145.07867997
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Temple

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : Temple.sol
//                        ROGUE TITANS
//
// MMMMMMXk;.;xXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNk:':kNMMMMMM
// MMWXkl;.   .,lkKWMMMMMMMMMMMMMMMMMMMMMMMMMMWXko;.   .;oOXWMM
// 0xc'.         ..:d0NMMMMMMMMMMMMMMMMMMMMN0xc'.         .'cxK
// .                 .,lkXWMMMMMMMMMMMMWXOo;.                 .
//                      .'cx0NMMMMMMWKxc'.                     
//                          .:kNNKOo;.                         
//          ;dc'.         .,cllc'..              ..:o;         
//         .lNWXOo;.   .;clc;.                .,lkXWNl.        
//         .lNMMMMN0dlllc,.               ..:d0NMMMMWl.        
//         .lNMMMMN0d:..               .,cllld0NMMMMNl.        
//         .lNWXkl,.                .;llc;..  .;okXWNl.        
//          ;o:..              .,;cllc,.         .'cd;         
//                          .;oONWNk:.                         
//                      .'cxKWMMMMMMN0xc'.                     
// .                 .;oOXWMMMMMMMMMMMMWXkl,.                 .
// Kxc'.         .'cxKWMMMMMMMMMMMMMMMMMMMMN0d:..         .'cd0
// MMWXOo;.   .;oOXWMMMMMMMMMMMMMMMMMMMMMMMMMMWXkl,.   .,lkXWMM
// MMMMMMNk:':kXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXx;.:kXMMMMMM
//                                                                                            
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract Temple is ERC721URIStorage, ReentrancyGuard, Ownable {
    
    using Strings for uint256;

    event Activate();
    event Deactivate();
    event Initialize();

    bool public isSaleActive = false;

    uint256 constant public maxMintAtOnce = 50;
    address constant public traceBurnAddress = 0x0000000000000000000000000000000000000000;
    address constant public fragmentBurnAddress = 0x000000000000000000000000000000000000dEaD;

    // For Trace usage
    address public traceContract;
    uint256 constant public tracePerTemple = 100;

    // For Fragment usage
    address public fragmentContract;
    uint256 constant public fragmentPerTemple = 1;
    uint256 constant public fragmentId = 1;

    uint256 constant public maxTemplesFromFragments = 1477;
    uint256 constant public maxTemplesFromTrace = 9706;

    uint256 public currFragmentTempleIDPointer = 0;
    uint256 public currTraceTempleIDPointer = maxTemplesFromFragments;

    string public baseURI;
    
    constructor() ERC721("Temple", "TMPL") {
    }
    
    function setBaseURI(string memory baseURI_) external onlyOwner {
        baseURI = baseURI_;
    }
    
    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }
    
    // Toggle Activate/Deactivate ability to smelt fragments
    function toggleSale() public onlyOwner {
        isSaleActive = !isSaleActive;

        if (isSaleActive == true) {
            emit Activate();
        } else {
            emit Deactivate();
        }
    }

    // Initialize the sale
    function initializeSale(address traceContract_, address fragmentContract_, string memory baseURI_) public onlyOwner {
        require(!isSaleActive, "First disable Temple Minting to re-initialize.");

        traceContract = traceContract_;
        fragmentContract = fragmentContract_;
        baseURI = baseURI_;

        emit Initialize();
    }

    // Mint a temple using Fragments
    function mintTempleWithFragments(uint256 numTemplesToMint) external nonReentrant {
        ERC1155 fragmentTokenImpl = ERC1155(fragmentContract);
        uint256 fragmentBurnAmount = numTemplesToMint * fragmentPerTemple;

        require(isSaleActive, "Sale is not active at this time.");
        require(numTemplesToMint > 0 && numTemplesToMint <= maxMintAtOnce, "Must mint between 1 and 50 Temples");

        require((currFragmentTempleIDPointer + numTemplesToMint) <= maxTemplesFromFragments, "Requested count for Fragment Temples exceeds the maximum number of Fragment Temples.");
    
        require(fragmentTokenImpl.balanceOf(msg.sender, fragmentId) >= (fragmentBurnAmount), "You do not have enough Fragments to mint your Temples.");
        
        try fragmentTokenImpl.safeTransferFrom(msg.sender, address(fragmentBurnAddress), fragmentId, fragmentBurnAmount, "0x") {
        } catch (bytes memory) {
            revert("Burn failure");
        }
    
        for (uint i = 0; i < numTemplesToMint; i++) {
            currFragmentTempleIDPointer++;
            _safeMint(msg.sender, currFragmentTempleIDPointer);
            _setTokenURI(currFragmentTempleIDPointer, Strings.toString(currFragmentTempleIDPointer));
        }
    }

    // Mint a temple using Trace
    function mintTempleWithTrace(uint256 numTemplesToMint) external nonReentrant {
        IERC20 traceTokenImpl = IERC20(traceContract);
        uint256 traceBurnAmount = numTemplesToMint * tracePerTemple;

        require(isSaleActive, "Sale is not active at this time.");
        require(numTemplesToMint > 0 && numTemplesToMint <= maxMintAtOnce, "Must mint between 1 and 50 Temples");
        
        require((currTraceTempleIDPointer + numTemplesToMint - maxTemplesFromFragments) <= maxTemplesFromTrace, "Requested count for Trace Temples exceeds the maximum number of Trace Temples.");

        require(traceTokenImpl.balanceOf(msg.sender) >= (traceBurnAmount), "You do not have enough $TRCE to mint your Temples.");
        
        try traceTokenImpl.transferFrom(msg.sender, address(traceBurnAddress), traceBurnAmount) {
        } catch (bytes memory) {
            revert("Failed to burn $TRCE - Please verify that you have approved the correct number of tokens. Reverting.");
        }

        for (uint i = 0; i < numTemplesToMint; i++) {
            currTraceTempleIDPointer++;
            _safeMint(msg.sender, currTraceTempleIDPointer);
            _setTokenURI(currTraceTempleIDPointer, Strings.toString(currTraceTempleIDPointer));
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 18 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 18 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";

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

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

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

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

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

        return super.tokenURI(tokenId);
    }

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

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

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

File 6 of 18 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

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

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

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

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

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] += amount;
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][account] = accountBalance - amount;
        }

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][account] = accountBalance - amount;
            }
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 7 of 18 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

pragma solidity ^0.8.0;

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

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

File 9 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. 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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 10 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 12 of 18 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

File 13 of 18 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 16 of 18 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 17 of 18 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 18 of 18 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"Activate","type":"event"},{"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":[],"name":"Deactivate","type":"event"},{"anonymous":false,"inputs":[],"name":"Initialize","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currFragmentTempleIDPointer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currTraceTempleIDPointer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fragmentBurnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fragmentContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fragmentId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fragmentPerTemple","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"traceContract_","type":"address"},{"internalType":"address","name":"fragmentContract_","type":"address"},{"internalType":"string","name":"baseURI_","type":"string"}],"name":"initializeSale","outputs":[],"stateMutability":"nonpayable","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":[],"name":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAtOnce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTemplesFromFragments","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTemplesFromTrace","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTemplesToMint","type":"uint256"}],"name":"mintTempleWithFragments","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTemplesToMint","type":"uint256"}],"name":"mintTempleWithTrace","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":"baseURI_","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":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"traceBurnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"traceContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tracePerTemple","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600860146101000a81548160ff0219169083151502179055506000600b556105c5600c553480156200003757600080fd5b506040518060400160405280600681526020017f54656d706c6500000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f544d504c000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bc929190620001d4565b508060019080519060200190620000d5929190620001d4565b505050600160078190555062000100620000f46200010660201b60201c565b6200010e60201b60201c565b620002e9565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001e290620002b3565b90600052602060002090601f01602090048101928262000206576000855562000252565b82601f106200022157805160ff191683800117855562000252565b8280016001018555821562000252579182015b828111156200025157825182559160200191906001019062000234565b5b50905062000261919062000265565b5090565b5b808211156200028057600081600090555060010162000266565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002cc57607f821691505b60208210811415620002e357620002e262000284565b5b50919050565b6146c480620002f96000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80637131391311610125578063c6c1494e116100ad578063dffe14a41161007c578063dffe14a4146105ba578063e0427d11146105d8578063e985e9c5146105f6578063f2fde38b14610626578063fd6552851461064257610211565b8063c6c1494e14610530578063c6fe1c891461054e578063c87b56dd1461056c578063d5f4f35c1461059c57610211565b806395d89b41116100f457806395d89b41146104a0578063a22cb465146104be578063b1f6555a146104da578063b811b3d5146104f8578063b88d4fde1461051457610211565b80637131391314610452578063715018a61461046e5780637d8966e4146104785780638da5cb5b1461048257610211565b80633a378ca2116101a8578063564566a811610177578063564566a8146103985780636352211e146103b657806367a8d68d146103e65780636c0360eb1461040457806370a082311461042257610211565b80633a378ca21461032457806342842e0e14610342578063443434da1461035e57806355f804b31461037c57610211565b8063095ea7b3116101e4578063095ea7b3146102b05780630bcce42b146102cc5780631573b653146102ea57806323b872dd1461030857610211565b806301ffc9a714610216578063053756a01461024657806306fdde0314610262578063081812fc14610280575b600080fd5b610230600480360381019061022b9190612b10565b610660565b60405161023d9190612b58565b60405180910390f35b610260600480360381019061025b9190612d17565b610742565b005b61026a6108d8565b6040516102779190612e0e565b60405180910390f35b61029a60048036038101906102959190612e66565b61096a565b6040516102a79190612ea2565b60405180910390f35b6102ca60048036038101906102c59190612ebd565b6109ef565b005b6102d4610b07565b6040516102e19190612f0c565b60405180910390f35b6102f2610b0d565b6040516102ff9190612ea2565b60405180910390f35b610322600480360381019061031d9190612f27565b610b12565b005b61032c610b72565b6040516103399190612f0c565b60405180910390f35b61035c60048036038101906103579190612f27565b610b77565b005b610366610b97565b6040516103739190612ea2565b60405180910390f35b61039660048036038101906103919190612f7a565b610bbd565b005b6103a0610c53565b6040516103ad9190612b58565b60405180910390f35b6103d060048036038101906103cb9190612e66565b610c66565b6040516103dd9190612ea2565b60405180910390f35b6103ee610d18565b6040516103fb9190612f0c565b60405180910390f35b61040c610d1d565b6040516104199190612e0e565b60405180910390f35b61043c60048036038101906104379190612fc3565b610dab565b6040516104499190612f0c565b60405180910390f35b61046c60048036038101906104679190612e66565b610e63565b005b610476611213565b005b61048061129b565b005b61048a6113bd565b6040516104979190612ea2565b60405180910390f35b6104a86113e7565b6040516104b59190612e0e565b60405180910390f35b6104d860048036038101906104d3919061301c565b611479565b005b6104e26115fa565b6040516104ef9190612f0c565b60405180910390f35b610512600480360381019061050d9190612e66565b611600565b005b61052e600480360381019061052991906130fd565b611988565b005b6105386119ea565b6040516105459190612f0c565b60405180910390f35b6105566119f0565b6040516105639190612ea2565b60405180910390f35b61058660048036038101906105819190612e66565b611a16565b6040516105939190612e0e565b60405180910390f35b6105a4611b68565b6040516105b19190612f0c565b60405180910390f35b6105c2611b6e565b6040516105cf9190612f0c565b60405180910390f35b6105e0611b73565b6040516105ed9190612ea2565b60405180910390f35b610610600480360381019061060b9190613180565b611b79565b60405161061d9190612b58565b60405180910390f35b610640600480360381019061063b9190612fc3565b611c0d565b005b61064a611d05565b6040516106579190612f0c565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061072b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061073b575061073a82611d0a565b5b9050919050565b61074a611d74565b73ffffffffffffffffffffffffffffffffffffffff166107686113bd565b73ffffffffffffffffffffffffffffffffffffffff16146107be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b59061320c565b60405180910390fd5b600860149054906101000a900460ff161561080e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108059061329e565b60405180910390fd5b82600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d90805190602001906108a6929190612a01565b507f80f860092ed8101278311dd6b10dda4920a40ea5dfcbacfe724e2accfaf63efc60405160405180910390a1505050565b6060600080546108e7906132ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610913906132ed565b80156109605780601f1061093557610100808354040283529160200191610960565b820191906000526020600020905b81548152906001019060200180831161094357829003601f168201915b5050505050905090565b600061097582611d7c565b6109b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ab90613391565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109fa82610c66565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6290613423565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a8a611d74565b73ffffffffffffffffffffffffffffffffffffffff161480610ab95750610ab881610ab3611d74565b611b79565b5b610af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aef906134b5565b60405180910390fd5b610b028383611de8565b505050565b600c5481565b600081565b610b23610b1d611d74565b82611ea1565b610b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5990613547565b60405180910390fd5b610b6d838383611f7f565b505050565b600181565b610b9283838360405180602001604052806000815250611988565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610bc5611d74565b73ffffffffffffffffffffffffffffffffffffffff16610be36113bd565b73ffffffffffffffffffffffffffffffffffffffff1614610c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c309061320c565b60405180910390fd5b80600d9080519060200190610c4f929190612a01565b5050565b600860149054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d06906135d9565b60405180910390fd5b80915050919050565b606481565b600d8054610d2a906132ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610d56906132ed565b8015610da35780601f10610d7857610100808354040283529160200191610da3565b820191906000526020600020905b815481529060010190602001808311610d8657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e139061366b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60026007541415610ea9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea0906136d7565b60405180910390fd5b60026007819055506000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000606483610ee79190613726565b9050600860149054906101000a900460ff16610f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2f906137cc565b60405180910390fd5b600083118015610f49575060328311155b610f88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7f9061385e565b60405180910390fd5b6125ea6105c584600c54610f9c919061387e565b610fa691906138d4565b1115610fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fde906139a0565b60405180910390fd5b808273ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016110219190612ea2565b60206040518083038186803b15801561103957600080fd5b505afa15801561104d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107191906139d5565b10156110b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a990613a74565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd336000846040518463ffffffff1660e01b81526004016110f093929190613a94565b602060405180830381600087803b15801561110a57600080fd5b505af192505050801561113b57506040513d601f19601f820116820180604052508101906111389190613ae0565b60015b6111ac573d806000811461116b576040519150601f19603f3d011682016040523d82523d6000602084013e611170565b606091505b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a390613bcb565b60405180910390fd5b5060005b8381101561120557600c60008154809291906111cb90613beb565b91905055506111dc33600c546121db565b6111f2600c546111ed600c546121f9565b61235a565b80806111fd90613beb565b9150506111b0565b505050600160078190555050565b61121b611d74565b73ffffffffffffffffffffffffffffffffffffffff166112396113bd565b73ffffffffffffffffffffffffffffffffffffffff161461128f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112869061320c565b60405180910390fd5b61129960006123ce565b565b6112a3611d74565b73ffffffffffffffffffffffffffffffffffffffff166112c16113bd565b73ffffffffffffffffffffffffffffffffffffffff1614611317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130e9061320c565b60405180910390fd5b600860149054906101000a900460ff1615600860146101000a81548160ff02191690831515021790555060011515600860149054906101000a900460ff161515141561138e577f59d3ce47d6ad6c6003cef97d136155b29d88653eb355c8bed6e03fbf694570ca60405160405180910390a16113bb565b7fc2a8834045efeaf0b37df1cf2e5979bff82a0c7f93c99b649a004940ef3cda4560405160405180910390a15b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546113f6906132ed565b80601f0160208091040260200160405190810160405280929190818152602001828054611422906132ed565b801561146f5780601f106114445761010080835404028352916020019161146f565b820191906000526020600020905b81548152906001019060200180831161145257829003601f168201915b5050505050905090565b611481611d74565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e690613c80565b60405180910390fd5b80600560006114fc611d74565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166115a9611d74565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115ee9190612b58565b60405180910390a35050565b6105c581565b60026007541415611646576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163d906136d7565b60405180910390fd5b60026007819055506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060006001836116849190613726565b9050600860149054906101000a900460ff166116d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cc906137cc565b60405180910390fd5b6000831180156116e6575060328311155b611725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171c9061385e565b60405180910390fd5b6105c583600b54611736919061387e565b1115611777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176e90613d38565b60405180910390fd5b808273ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b81526004016117b3929190613d58565b60206040518083038186803b1580156117cb57600080fd5b505afa1580156117df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180391906139d5565b1015611844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183b90613df3565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead6001856040518563ffffffff1660e01b81526004016118869493929190613e70565b600060405180830381600087803b1580156118a057600080fd5b505af19250505080156118b1575060015b611922573d80600081146118e1576040519150601f19603f3d011682016040523d82523d6000602084013e6118e6565b606091505b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191990613f14565b60405180910390fd5b60005b8381101561197a57600b600081548092919061194090613beb565b919050555061195133600b546121db565b611967600b54611962600b546121f9565b61235a565b808061197290613beb565b915050611925565b505050600160078190555050565b611999611993611d74565b83611ea1565b6119d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cf90613547565b60405180910390fd5b6119e484848484612494565b50505050565b6125ea81565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060611a2182611d7c565b611a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5790613fa6565b60405180910390fd5b6000600660008481526020019081526020016000208054611a80906132ed565b80601f0160208091040260200160405190810160405280929190818152602001828054611aac906132ed565b8015611af95780601f10611ace57610100808354040283529160200191611af9565b820191906000526020600020905b815481529060010190602001808311611adc57829003601f168201915b505050505090506000611b0a6124f0565b9050600081511415611b20578192505050611b63565b600082511115611b55578082604051602001611b3d929190614002565b60405160208183030381529060405292505050611b63565b611b5e84612582565b925050505b919050565b600b5481565b600181565b61dead81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c15611d74565b73ffffffffffffffffffffffffffffffffffffffff16611c336113bd565b73ffffffffffffffffffffffffffffffffffffffff1614611c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c809061320c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf090614098565b60405180910390fd5b611d02816123ce565b50565b603281565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e5b83610c66565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611eac82611d7c565b611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee29061412a565b60405180910390fd5b6000611ef683610c66565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f6557508373ffffffffffffffffffffffffffffffffffffffff16611f4d8461096a565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f765750611f758185611b79565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f9f82610c66565b73ffffffffffffffffffffffffffffffffffffffff1614611ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fec906141bc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205c9061424e565b60405180910390fd5b612070838383612629565b61207b600082611de8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120cb91906138d4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612122919061387e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6121f582826040518060200160405280600081525061262e565b5050565b60606000821415612241576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612355565b600082905060005b6000821461227357808061225c90613beb565b915050600a8261226c919061429d565b9150612249565b60008167ffffffffffffffff81111561228f5761228e612bec565b5b6040519080825280601f01601f1916602001820160405280156122c15781602001600182028036833780820191505090505b5090505b6000851461234e576001826122da91906138d4565b9150600a856122e991906142ce565b60306122f5919061387e565b60f81b81838151811061230b5761230a6142ff565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612347919061429d565b94506122c5565b8093505050505b919050565b61236382611d7c565b6123a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612399906143a0565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906123c9929190612a01565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61249f848484611f7f565b6124ab84848484612689565b6124ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e190614432565b60405180910390fd5b50505050565b6060600d80546124ff906132ed565b80601f016020809104026020016040519081016040528092919081815260200182805461252b906132ed565b80156125785780601f1061254d57610100808354040283529160200191612578565b820191906000526020600020905b81548152906001019060200180831161255b57829003601f168201915b5050505050905090565b606061258d82611d7c565b6125cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c3906144c4565b60405180910390fd5b60006125d66124f0565b905060008151116125f65760405180602001604052806000815250612621565b80612600846121f9565b604051602001612611929190614002565b6040516020818303038152906040525b915050919050565b505050565b6126388383612820565b6126456000848484612689565b612684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267b90614432565b60405180910390fd5b505050565b60006126aa8473ffffffffffffffffffffffffffffffffffffffff166129ee565b15612813578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126d3611d74565b8786866040518563ffffffff1660e01b81526004016126f59493929190614528565b602060405180830381600087803b15801561270f57600080fd5b505af192505050801561274057506040513d601f19601f8201168201806040525081019061273d9190614589565b60015b6127c3573d8060008114612770576040519150601f19603f3d011682016040523d82523d6000602084013e612775565b606091505b506000815114156127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b290614432565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612818565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288790614602565b60405180910390fd5b61289981611d7c565b156128d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d09061466e565b60405180910390fd5b6128e560008383612629565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612935919061387e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612a0d906132ed565b90600052602060002090601f016020900481019282612a2f5760008555612a76565b82601f10612a4857805160ff1916838001178555612a76565b82800160010185558215612a76579182015b82811115612a75578251825591602001919060010190612a5a565b5b509050612a839190612a87565b5090565b5b80821115612aa0576000816000905550600101612a88565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612aed81612ab8565b8114612af857600080fd5b50565b600081359050612b0a81612ae4565b92915050565b600060208284031215612b2657612b25612aae565b5b6000612b3484828501612afb565b91505092915050565b60008115159050919050565b612b5281612b3d565b82525050565b6000602082019050612b6d6000830184612b49565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b9e82612b73565b9050919050565b612bae81612b93565b8114612bb957600080fd5b50565b600081359050612bcb81612ba5565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612c2482612bdb565b810181811067ffffffffffffffff82111715612c4357612c42612bec565b5b80604052505050565b6000612c56612aa4565b9050612c628282612c1b565b919050565b600067ffffffffffffffff821115612c8257612c81612bec565b5b612c8b82612bdb565b9050602081019050919050565b82818337600083830152505050565b6000612cba612cb584612c67565b612c4c565b905082815260208101848484011115612cd657612cd5612bd6565b5b612ce1848285612c98565b509392505050565b600082601f830112612cfe57612cfd612bd1565b5b8135612d0e848260208601612ca7565b91505092915050565b600080600060608486031215612d3057612d2f612aae565b5b6000612d3e86828701612bbc565b9350506020612d4f86828701612bbc565b925050604084013567ffffffffffffffff811115612d7057612d6f612ab3565b5b612d7c86828701612ce9565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015612dc0578082015181840152602081019050612da5565b83811115612dcf576000848401525b50505050565b6000612de082612d86565b612dea8185612d91565b9350612dfa818560208601612da2565b612e0381612bdb565b840191505092915050565b60006020820190508181036000830152612e288184612dd5565b905092915050565b6000819050919050565b612e4381612e30565b8114612e4e57600080fd5b50565b600081359050612e6081612e3a565b92915050565b600060208284031215612e7c57612e7b612aae565b5b6000612e8a84828501612e51565b91505092915050565b612e9c81612b93565b82525050565b6000602082019050612eb76000830184612e93565b92915050565b60008060408385031215612ed457612ed3612aae565b5b6000612ee285828601612bbc565b9250506020612ef385828601612e51565b9150509250929050565b612f0681612e30565b82525050565b6000602082019050612f216000830184612efd565b92915050565b600080600060608486031215612f4057612f3f612aae565b5b6000612f4e86828701612bbc565b9350506020612f5f86828701612bbc565b9250506040612f7086828701612e51565b9150509250925092565b600060208284031215612f9057612f8f612aae565b5b600082013567ffffffffffffffff811115612fae57612fad612ab3565b5b612fba84828501612ce9565b91505092915050565b600060208284031215612fd957612fd8612aae565b5b6000612fe784828501612bbc565b91505092915050565b612ff981612b3d565b811461300457600080fd5b50565b60008135905061301681612ff0565b92915050565b6000806040838503121561303357613032612aae565b5b600061304185828601612bbc565b925050602061305285828601613007565b9150509250929050565b600067ffffffffffffffff82111561307757613076612bec565b5b61308082612bdb565b9050602081019050919050565b60006130a061309b8461305c565b612c4c565b9050828152602081018484840111156130bc576130bb612bd6565b5b6130c7848285612c98565b509392505050565b600082601f8301126130e4576130e3612bd1565b5b81356130f484826020860161308d565b91505092915050565b6000806000806080858703121561311757613116612aae565b5b600061312587828801612bbc565b945050602061313687828801612bbc565b935050604061314787828801612e51565b925050606085013567ffffffffffffffff81111561316857613167612ab3565b5b613174878288016130cf565b91505092959194509250565b6000806040838503121561319757613196612aae565b5b60006131a585828601612bbc565b92505060206131b685828601612bbc565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006131f6602083612d91565b9150613201826131c0565b602082019050919050565b60006020820190508181036000830152613225816131e9565b9050919050565b7f46697273742064697361626c652054656d706c65204d696e74696e6720746f2060008201527f72652d696e697469616c697a652e000000000000000000000000000000000000602082015250565b6000613288602e83612d91565b91506132938261322c565b604082019050919050565b600060208201905081810360008301526132b78161327b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061330557607f821691505b60208210811415613319576133186132be565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061337b602c83612d91565b91506133868261331f565b604082019050919050565b600060208201905081810360008301526133aa8161336e565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061340d602183612d91565b9150613418826133b1565b604082019050919050565b6000602082019050818103600083015261343c81613400565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061349f603883612d91565b91506134aa82613443565b604082019050919050565b600060208201905081810360008301526134ce81613492565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613531603183612d91565b915061353c826134d5565b604082019050919050565b6000602082019050818103600083015261356081613524565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006135c3602983612d91565b91506135ce82613567565b604082019050919050565b600060208201905081810360008301526135f2816135b6565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613655602a83612d91565b9150613660826135f9565b604082019050919050565b6000602082019050818103600083015261368481613648565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006136c1601f83612d91565b91506136cc8261368b565b602082019050919050565b600060208201905081810360008301526136f0816136b4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061373182612e30565b915061373c83612e30565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613775576137746136f7565b5b828202905092915050565b7f53616c65206973206e6f742061637469766520617420746869732074696d652e600082015250565b60006137b6602083612d91565b91506137c182613780565b602082019050919050565b600060208201905081810360008301526137e5816137a9565b9050919050565b7f4d757374206d696e74206265747765656e203120616e642035302054656d706c60008201527f6573000000000000000000000000000000000000000000000000000000000000602082015250565b6000613848602283612d91565b9150613853826137ec565b604082019050919050565b600060208201905081810360008301526138778161383b565b9050919050565b600061388982612e30565b915061389483612e30565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138c9576138c86136f7565b5b828201905092915050565b60006138df82612e30565b91506138ea83612e30565b9250828210156138fd576138fc6136f7565b5b828203905092915050565b7f52657175657374656420636f756e7420666f722054726163652054656d706c6560008201527f73206578636565647320746865206d6178696d756d206e756d626572206f662060208201527f54726163652054656d706c65732e000000000000000000000000000000000000604082015250565b600061398a604e83612d91565b915061399582613908565b606082019050919050565b600060208201905081810360008301526139b98161397d565b9050919050565b6000815190506139cf81612e3a565b92915050565b6000602082840312156139eb576139ea612aae565b5b60006139f9848285016139c0565b91505092915050565b7f596f7520646f206e6f74206861766520656e6f75676820245452434520746f2060008201527f6d696e7420796f75722054656d706c65732e0000000000000000000000000000602082015250565b6000613a5e603283612d91565b9150613a6982613a02565b604082019050919050565b60006020820190508181036000830152613a8d81613a51565b9050919050565b6000606082019050613aa96000830186612e93565b613ab66020830185612e93565b613ac36040830184612efd565b949350505050565b600081519050613ada81612ff0565b92915050565b600060208284031215613af657613af5612aae565b5b6000613b0484828501613acb565b91505092915050565b7f4661696c656420746f206275726e202454524345202d20506c6561736520766560008201527f72696679207468617420796f75206861766520617070726f766564207468652060208201527f636f7272656374206e756d626572206f6620746f6b656e732e2052657665727460408201527f696e672e00000000000000000000000000000000000000000000000000000000606082015250565b6000613bb5606483612d91565b9150613bc082613b0d565b608082019050919050565b60006020820190508181036000830152613be481613ba8565b9050919050565b6000613bf682612e30565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613c2957613c286136f7565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613c6a601983612d91565b9150613c7582613c34565b602082019050919050565b60006020820190508181036000830152613c9981613c5d565b9050919050565b7f52657175657374656420636f756e7420666f7220467261676d656e742054656d60008201527f706c6573206578636565647320746865206d6178696d756d206e756d6265722060208201527f6f6620467261676d656e742054656d706c65732e000000000000000000000000604082015250565b6000613d22605483612d91565b9150613d2d82613ca0565b606082019050919050565b60006020820190508181036000830152613d5181613d15565b9050919050565b6000604082019050613d6d6000830185612e93565b613d7a6020830184612efd565b9392505050565b7f596f7520646f206e6f74206861766520656e6f75676820467261676d656e747360008201527f20746f206d696e7420796f75722054656d706c65732e00000000000000000000602082015250565b6000613ddd603683612d91565b9150613de882613d81565b604082019050919050565b60006020820190508181036000830152613e0c81613dd0565b9050919050565b600082825260208201905092915050565b7f3078000000000000000000000000000000000000000000000000000000000000600082015250565b6000613e5a600283613e13565b9150613e6582613e24565b602082019050919050565b600060a082019050613e856000830187612e93565b613e926020830186612e93565b613e9f6040830185612efd565b613eac6060830184612efd565b8181036080830152613ebd81613e4d565b905095945050505050565b7f4275726e206661696c7572650000000000000000000000000000000000000000600082015250565b6000613efe600c83612d91565b9150613f0982613ec8565b602082019050919050565b60006020820190508181036000830152613f2d81613ef1565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000613f90603183612d91565b9150613f9b82613f34565b604082019050919050565b60006020820190508181036000830152613fbf81613f83565b9050919050565b600081905092915050565b6000613fdc82612d86565b613fe68185613fc6565b9350613ff6818560208601612da2565b80840191505092915050565b600061400e8285613fd1565b915061401a8284613fd1565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614082602683612d91565b915061408d82614026565b604082019050919050565b600060208201905081810360008301526140b181614075565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614114602c83612d91565b915061411f826140b8565b604082019050919050565b6000602082019050818103600083015261414381614107565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006141a6602983612d91565b91506141b18261414a565b604082019050919050565b600060208201905081810360008301526141d581614199565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614238602483612d91565b9150614243826141dc565b604082019050919050565b600060208201905081810360008301526142678161422b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142a882612e30565b91506142b383612e30565b9250826142c3576142c261426e565b5b828204905092915050565b60006142d982612e30565b91506142e483612e30565b9250826142f4576142f361426e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b600061438a602e83612d91565b91506143958261432e565b604082019050919050565b600060208201905081810360008301526143b98161437d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061441c603283612d91565b9150614427826143c0565b604082019050919050565b6000602082019050818103600083015261444b8161440f565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006144ae602f83612d91565b91506144b982614452565b604082019050919050565b600060208201905081810360008301526144dd816144a1565b9050919050565b600081519050919050565b60006144fa826144e4565b6145048185613e13565b9350614514818560208601612da2565b61451d81612bdb565b840191505092915050565b600060808201905061453d6000830187612e93565b61454a6020830186612e93565b6145576040830185612efd565b818103606083015261456981846144ef565b905095945050505050565b60008151905061458381612ae4565b92915050565b60006020828403121561459f5761459e612aae565b5b60006145ad84828501614574565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006145ec602083612d91565b91506145f7826145b6565b602082019050919050565b6000602082019050818103600083015261461b816145df565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614658601c83612d91565b915061466382614622565b602082019050919050565b600060208201905081810360008301526146878161464b565b905091905056fea2646970667358221220031179b9732a44b49df8c813903bc21f84a5bd095335ea04d1b9aff5d8f2929864736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c80637131391311610125578063c6c1494e116100ad578063dffe14a41161007c578063dffe14a4146105ba578063e0427d11146105d8578063e985e9c5146105f6578063f2fde38b14610626578063fd6552851461064257610211565b8063c6c1494e14610530578063c6fe1c891461054e578063c87b56dd1461056c578063d5f4f35c1461059c57610211565b806395d89b41116100f457806395d89b41146104a0578063a22cb465146104be578063b1f6555a146104da578063b811b3d5146104f8578063b88d4fde1461051457610211565b80637131391314610452578063715018a61461046e5780637d8966e4146104785780638da5cb5b1461048257610211565b80633a378ca2116101a8578063564566a811610177578063564566a8146103985780636352211e146103b657806367a8d68d146103e65780636c0360eb1461040457806370a082311461042257610211565b80633a378ca21461032457806342842e0e14610342578063443434da1461035e57806355f804b31461037c57610211565b8063095ea7b3116101e4578063095ea7b3146102b05780630bcce42b146102cc5780631573b653146102ea57806323b872dd1461030857610211565b806301ffc9a714610216578063053756a01461024657806306fdde0314610262578063081812fc14610280575b600080fd5b610230600480360381019061022b9190612b10565b610660565b60405161023d9190612b58565b60405180910390f35b610260600480360381019061025b9190612d17565b610742565b005b61026a6108d8565b6040516102779190612e0e565b60405180910390f35b61029a60048036038101906102959190612e66565b61096a565b6040516102a79190612ea2565b60405180910390f35b6102ca60048036038101906102c59190612ebd565b6109ef565b005b6102d4610b07565b6040516102e19190612f0c565b60405180910390f35b6102f2610b0d565b6040516102ff9190612ea2565b60405180910390f35b610322600480360381019061031d9190612f27565b610b12565b005b61032c610b72565b6040516103399190612f0c565b60405180910390f35b61035c60048036038101906103579190612f27565b610b77565b005b610366610b97565b6040516103739190612ea2565b60405180910390f35b61039660048036038101906103919190612f7a565b610bbd565b005b6103a0610c53565b6040516103ad9190612b58565b60405180910390f35b6103d060048036038101906103cb9190612e66565b610c66565b6040516103dd9190612ea2565b60405180910390f35b6103ee610d18565b6040516103fb9190612f0c565b60405180910390f35b61040c610d1d565b6040516104199190612e0e565b60405180910390f35b61043c60048036038101906104379190612fc3565b610dab565b6040516104499190612f0c565b60405180910390f35b61046c60048036038101906104679190612e66565b610e63565b005b610476611213565b005b61048061129b565b005b61048a6113bd565b6040516104979190612ea2565b60405180910390f35b6104a86113e7565b6040516104b59190612e0e565b60405180910390f35b6104d860048036038101906104d3919061301c565b611479565b005b6104e26115fa565b6040516104ef9190612f0c565b60405180910390f35b610512600480360381019061050d9190612e66565b611600565b005b61052e600480360381019061052991906130fd565b611988565b005b6105386119ea565b6040516105459190612f0c565b60405180910390f35b6105566119f0565b6040516105639190612ea2565b60405180910390f35b61058660048036038101906105819190612e66565b611a16565b6040516105939190612e0e565b60405180910390f35b6105a4611b68565b6040516105b19190612f0c565b60405180910390f35b6105c2611b6e565b6040516105cf9190612f0c565b60405180910390f35b6105e0611b73565b6040516105ed9190612ea2565b60405180910390f35b610610600480360381019061060b9190613180565b611b79565b60405161061d9190612b58565b60405180910390f35b610640600480360381019061063b9190612fc3565b611c0d565b005b61064a611d05565b6040516106579190612f0c565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061072b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061073b575061073a82611d0a565b5b9050919050565b61074a611d74565b73ffffffffffffffffffffffffffffffffffffffff166107686113bd565b73ffffffffffffffffffffffffffffffffffffffff16146107be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b59061320c565b60405180910390fd5b600860149054906101000a900460ff161561080e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108059061329e565b60405180910390fd5b82600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d90805190602001906108a6929190612a01565b507f80f860092ed8101278311dd6b10dda4920a40ea5dfcbacfe724e2accfaf63efc60405160405180910390a1505050565b6060600080546108e7906132ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610913906132ed565b80156109605780601f1061093557610100808354040283529160200191610960565b820191906000526020600020905b81548152906001019060200180831161094357829003601f168201915b5050505050905090565b600061097582611d7c565b6109b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ab90613391565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109fa82610c66565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6290613423565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a8a611d74565b73ffffffffffffffffffffffffffffffffffffffff161480610ab95750610ab881610ab3611d74565b611b79565b5b610af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aef906134b5565b60405180910390fd5b610b028383611de8565b505050565b600c5481565b600081565b610b23610b1d611d74565b82611ea1565b610b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5990613547565b60405180910390fd5b610b6d838383611f7f565b505050565b600181565b610b9283838360405180602001604052806000815250611988565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610bc5611d74565b73ffffffffffffffffffffffffffffffffffffffff16610be36113bd565b73ffffffffffffffffffffffffffffffffffffffff1614610c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c309061320c565b60405180910390fd5b80600d9080519060200190610c4f929190612a01565b5050565b600860149054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d06906135d9565b60405180910390fd5b80915050919050565b606481565b600d8054610d2a906132ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610d56906132ed565b8015610da35780601f10610d7857610100808354040283529160200191610da3565b820191906000526020600020905b815481529060010190602001808311610d8657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e139061366b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60026007541415610ea9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea0906136d7565b60405180910390fd5b60026007819055506000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000606483610ee79190613726565b9050600860149054906101000a900460ff16610f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2f906137cc565b60405180910390fd5b600083118015610f49575060328311155b610f88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7f9061385e565b60405180910390fd5b6125ea6105c584600c54610f9c919061387e565b610fa691906138d4565b1115610fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fde906139a0565b60405180910390fd5b808273ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016110219190612ea2565b60206040518083038186803b15801561103957600080fd5b505afa15801561104d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107191906139d5565b10156110b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a990613a74565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd336000846040518463ffffffff1660e01b81526004016110f093929190613a94565b602060405180830381600087803b15801561110a57600080fd5b505af192505050801561113b57506040513d601f19601f820116820180604052508101906111389190613ae0565b60015b6111ac573d806000811461116b576040519150601f19603f3d011682016040523d82523d6000602084013e611170565b606091505b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a390613bcb565b60405180910390fd5b5060005b8381101561120557600c60008154809291906111cb90613beb565b91905055506111dc33600c546121db565b6111f2600c546111ed600c546121f9565b61235a565b80806111fd90613beb565b9150506111b0565b505050600160078190555050565b61121b611d74565b73ffffffffffffffffffffffffffffffffffffffff166112396113bd565b73ffffffffffffffffffffffffffffffffffffffff161461128f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112869061320c565b60405180910390fd5b61129960006123ce565b565b6112a3611d74565b73ffffffffffffffffffffffffffffffffffffffff166112c16113bd565b73ffffffffffffffffffffffffffffffffffffffff1614611317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130e9061320c565b60405180910390fd5b600860149054906101000a900460ff1615600860146101000a81548160ff02191690831515021790555060011515600860149054906101000a900460ff161515141561138e577f59d3ce47d6ad6c6003cef97d136155b29d88653eb355c8bed6e03fbf694570ca60405160405180910390a16113bb565b7fc2a8834045efeaf0b37df1cf2e5979bff82a0c7f93c99b649a004940ef3cda4560405160405180910390a15b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546113f6906132ed565b80601f0160208091040260200160405190810160405280929190818152602001828054611422906132ed565b801561146f5780601f106114445761010080835404028352916020019161146f565b820191906000526020600020905b81548152906001019060200180831161145257829003601f168201915b5050505050905090565b611481611d74565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e690613c80565b60405180910390fd5b80600560006114fc611d74565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166115a9611d74565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115ee9190612b58565b60405180910390a35050565b6105c581565b60026007541415611646576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163d906136d7565b60405180910390fd5b60026007819055506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060006001836116849190613726565b9050600860149054906101000a900460ff166116d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cc906137cc565b60405180910390fd5b6000831180156116e6575060328311155b611725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171c9061385e565b60405180910390fd5b6105c583600b54611736919061387e565b1115611777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176e90613d38565b60405180910390fd5b808273ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b81526004016117b3929190613d58565b60206040518083038186803b1580156117cb57600080fd5b505afa1580156117df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180391906139d5565b1015611844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183b90613df3565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead6001856040518563ffffffff1660e01b81526004016118869493929190613e70565b600060405180830381600087803b1580156118a057600080fd5b505af19250505080156118b1575060015b611922573d80600081146118e1576040519150601f19603f3d011682016040523d82523d6000602084013e6118e6565b606091505b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191990613f14565b60405180910390fd5b60005b8381101561197a57600b600081548092919061194090613beb565b919050555061195133600b546121db565b611967600b54611962600b546121f9565b61235a565b808061197290613beb565b915050611925565b505050600160078190555050565b611999611993611d74565b83611ea1565b6119d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cf90613547565b60405180910390fd5b6119e484848484612494565b50505050565b6125ea81565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060611a2182611d7c565b611a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5790613fa6565b60405180910390fd5b6000600660008481526020019081526020016000208054611a80906132ed565b80601f0160208091040260200160405190810160405280929190818152602001828054611aac906132ed565b8015611af95780601f10611ace57610100808354040283529160200191611af9565b820191906000526020600020905b815481529060010190602001808311611adc57829003601f168201915b505050505090506000611b0a6124f0565b9050600081511415611b20578192505050611b63565b600082511115611b55578082604051602001611b3d929190614002565b60405160208183030381529060405292505050611b63565b611b5e84612582565b925050505b919050565b600b5481565b600181565b61dead81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c15611d74565b73ffffffffffffffffffffffffffffffffffffffff16611c336113bd565b73ffffffffffffffffffffffffffffffffffffffff1614611c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c809061320c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf090614098565b60405180910390fd5b611d02816123ce565b50565b603281565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e5b83610c66565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611eac82611d7c565b611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee29061412a565b60405180910390fd5b6000611ef683610c66565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f6557508373ffffffffffffffffffffffffffffffffffffffff16611f4d8461096a565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f765750611f758185611b79565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f9f82610c66565b73ffffffffffffffffffffffffffffffffffffffff1614611ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fec906141bc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205c9061424e565b60405180910390fd5b612070838383612629565b61207b600082611de8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120cb91906138d4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612122919061387e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6121f582826040518060200160405280600081525061262e565b5050565b60606000821415612241576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612355565b600082905060005b6000821461227357808061225c90613beb565b915050600a8261226c919061429d565b9150612249565b60008167ffffffffffffffff81111561228f5761228e612bec565b5b6040519080825280601f01601f1916602001820160405280156122c15781602001600182028036833780820191505090505b5090505b6000851461234e576001826122da91906138d4565b9150600a856122e991906142ce565b60306122f5919061387e565b60f81b81838151811061230b5761230a6142ff565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612347919061429d565b94506122c5565b8093505050505b919050565b61236382611d7c565b6123a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612399906143a0565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906123c9929190612a01565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61249f848484611f7f565b6124ab84848484612689565b6124ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e190614432565b60405180910390fd5b50505050565b6060600d80546124ff906132ed565b80601f016020809104026020016040519081016040528092919081815260200182805461252b906132ed565b80156125785780601f1061254d57610100808354040283529160200191612578565b820191906000526020600020905b81548152906001019060200180831161255b57829003601f168201915b5050505050905090565b606061258d82611d7c565b6125cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c3906144c4565b60405180910390fd5b60006125d66124f0565b905060008151116125f65760405180602001604052806000815250612621565b80612600846121f9565b604051602001612611929190614002565b6040516020818303038152906040525b915050919050565b505050565b6126388383612820565b6126456000848484612689565b612684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267b90614432565b60405180910390fd5b505050565b60006126aa8473ffffffffffffffffffffffffffffffffffffffff166129ee565b15612813578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126d3611d74565b8786866040518563ffffffff1660e01b81526004016126f59493929190614528565b602060405180830381600087803b15801561270f57600080fd5b505af192505050801561274057506040513d601f19601f8201168201806040525081019061273d9190614589565b60015b6127c3573d8060008114612770576040519150601f19603f3d011682016040523d82523d6000602084013e612775565b606091505b506000815114156127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b290614432565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612818565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288790614602565b60405180910390fd5b61289981611d7c565b156128d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d09061466e565b60405180910390fd5b6128e560008383612629565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612935919061387e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612a0d906132ed565b90600052602060002090601f016020900481019282612a2f5760008555612a76565b82601f10612a4857805160ff1916838001178555612a76565b82800160010185558215612a76579182015b82811115612a75578251825591602001919060010190612a5a565b5b509050612a839190612a87565b5090565b5b80821115612aa0576000816000905550600101612a88565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612aed81612ab8565b8114612af857600080fd5b50565b600081359050612b0a81612ae4565b92915050565b600060208284031215612b2657612b25612aae565b5b6000612b3484828501612afb565b91505092915050565b60008115159050919050565b612b5281612b3d565b82525050565b6000602082019050612b6d6000830184612b49565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b9e82612b73565b9050919050565b612bae81612b93565b8114612bb957600080fd5b50565b600081359050612bcb81612ba5565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612c2482612bdb565b810181811067ffffffffffffffff82111715612c4357612c42612bec565b5b80604052505050565b6000612c56612aa4565b9050612c628282612c1b565b919050565b600067ffffffffffffffff821115612c8257612c81612bec565b5b612c8b82612bdb565b9050602081019050919050565b82818337600083830152505050565b6000612cba612cb584612c67565b612c4c565b905082815260208101848484011115612cd657612cd5612bd6565b5b612ce1848285612c98565b509392505050565b600082601f830112612cfe57612cfd612bd1565b5b8135612d0e848260208601612ca7565b91505092915050565b600080600060608486031215612d3057612d2f612aae565b5b6000612d3e86828701612bbc565b9350506020612d4f86828701612bbc565b925050604084013567ffffffffffffffff811115612d7057612d6f612ab3565b5b612d7c86828701612ce9565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015612dc0578082015181840152602081019050612da5565b83811115612dcf576000848401525b50505050565b6000612de082612d86565b612dea8185612d91565b9350612dfa818560208601612da2565b612e0381612bdb565b840191505092915050565b60006020820190508181036000830152612e288184612dd5565b905092915050565b6000819050919050565b612e4381612e30565b8114612e4e57600080fd5b50565b600081359050612e6081612e3a565b92915050565b600060208284031215612e7c57612e7b612aae565b5b6000612e8a84828501612e51565b91505092915050565b612e9c81612b93565b82525050565b6000602082019050612eb76000830184612e93565b92915050565b60008060408385031215612ed457612ed3612aae565b5b6000612ee285828601612bbc565b9250506020612ef385828601612e51565b9150509250929050565b612f0681612e30565b82525050565b6000602082019050612f216000830184612efd565b92915050565b600080600060608486031215612f4057612f3f612aae565b5b6000612f4e86828701612bbc565b9350506020612f5f86828701612bbc565b9250506040612f7086828701612e51565b9150509250925092565b600060208284031215612f9057612f8f612aae565b5b600082013567ffffffffffffffff811115612fae57612fad612ab3565b5b612fba84828501612ce9565b91505092915050565b600060208284031215612fd957612fd8612aae565b5b6000612fe784828501612bbc565b91505092915050565b612ff981612b3d565b811461300457600080fd5b50565b60008135905061301681612ff0565b92915050565b6000806040838503121561303357613032612aae565b5b600061304185828601612bbc565b925050602061305285828601613007565b9150509250929050565b600067ffffffffffffffff82111561307757613076612bec565b5b61308082612bdb565b9050602081019050919050565b60006130a061309b8461305c565b612c4c565b9050828152602081018484840111156130bc576130bb612bd6565b5b6130c7848285612c98565b509392505050565b600082601f8301126130e4576130e3612bd1565b5b81356130f484826020860161308d565b91505092915050565b6000806000806080858703121561311757613116612aae565b5b600061312587828801612bbc565b945050602061313687828801612bbc565b935050604061314787828801612e51565b925050606085013567ffffffffffffffff81111561316857613167612ab3565b5b613174878288016130cf565b91505092959194509250565b6000806040838503121561319757613196612aae565b5b60006131a585828601612bbc565b92505060206131b685828601612bbc565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006131f6602083612d91565b9150613201826131c0565b602082019050919050565b60006020820190508181036000830152613225816131e9565b9050919050565b7f46697273742064697361626c652054656d706c65204d696e74696e6720746f2060008201527f72652d696e697469616c697a652e000000000000000000000000000000000000602082015250565b6000613288602e83612d91565b91506132938261322c565b604082019050919050565b600060208201905081810360008301526132b78161327b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061330557607f821691505b60208210811415613319576133186132be565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061337b602c83612d91565b91506133868261331f565b604082019050919050565b600060208201905081810360008301526133aa8161336e565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061340d602183612d91565b9150613418826133b1565b604082019050919050565b6000602082019050818103600083015261343c81613400565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061349f603883612d91565b91506134aa82613443565b604082019050919050565b600060208201905081810360008301526134ce81613492565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613531603183612d91565b915061353c826134d5565b604082019050919050565b6000602082019050818103600083015261356081613524565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006135c3602983612d91565b91506135ce82613567565b604082019050919050565b600060208201905081810360008301526135f2816135b6565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613655602a83612d91565b9150613660826135f9565b604082019050919050565b6000602082019050818103600083015261368481613648565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006136c1601f83612d91565b91506136cc8261368b565b602082019050919050565b600060208201905081810360008301526136f0816136b4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061373182612e30565b915061373c83612e30565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613775576137746136f7565b5b828202905092915050565b7f53616c65206973206e6f742061637469766520617420746869732074696d652e600082015250565b60006137b6602083612d91565b91506137c182613780565b602082019050919050565b600060208201905081810360008301526137e5816137a9565b9050919050565b7f4d757374206d696e74206265747765656e203120616e642035302054656d706c60008201527f6573000000000000000000000000000000000000000000000000000000000000602082015250565b6000613848602283612d91565b9150613853826137ec565b604082019050919050565b600060208201905081810360008301526138778161383b565b9050919050565b600061388982612e30565b915061389483612e30565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138c9576138c86136f7565b5b828201905092915050565b60006138df82612e30565b91506138ea83612e30565b9250828210156138fd576138fc6136f7565b5b828203905092915050565b7f52657175657374656420636f756e7420666f722054726163652054656d706c6560008201527f73206578636565647320746865206d6178696d756d206e756d626572206f662060208201527f54726163652054656d706c65732e000000000000000000000000000000000000604082015250565b600061398a604e83612d91565b915061399582613908565b606082019050919050565b600060208201905081810360008301526139b98161397d565b9050919050565b6000815190506139cf81612e3a565b92915050565b6000602082840312156139eb576139ea612aae565b5b60006139f9848285016139c0565b91505092915050565b7f596f7520646f206e6f74206861766520656e6f75676820245452434520746f2060008201527f6d696e7420796f75722054656d706c65732e0000000000000000000000000000602082015250565b6000613a5e603283612d91565b9150613a6982613a02565b604082019050919050565b60006020820190508181036000830152613a8d81613a51565b9050919050565b6000606082019050613aa96000830186612e93565b613ab66020830185612e93565b613ac36040830184612efd565b949350505050565b600081519050613ada81612ff0565b92915050565b600060208284031215613af657613af5612aae565b5b6000613b0484828501613acb565b91505092915050565b7f4661696c656420746f206275726e202454524345202d20506c6561736520766560008201527f72696679207468617420796f75206861766520617070726f766564207468652060208201527f636f7272656374206e756d626572206f6620746f6b656e732e2052657665727460408201527f696e672e00000000000000000000000000000000000000000000000000000000606082015250565b6000613bb5606483612d91565b9150613bc082613b0d565b608082019050919050565b60006020820190508181036000830152613be481613ba8565b9050919050565b6000613bf682612e30565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613c2957613c286136f7565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613c6a601983612d91565b9150613c7582613c34565b602082019050919050565b60006020820190508181036000830152613c9981613c5d565b9050919050565b7f52657175657374656420636f756e7420666f7220467261676d656e742054656d60008201527f706c6573206578636565647320746865206d6178696d756d206e756d6265722060208201527f6f6620467261676d656e742054656d706c65732e000000000000000000000000604082015250565b6000613d22605483612d91565b9150613d2d82613ca0565b606082019050919050565b60006020820190508181036000830152613d5181613d15565b9050919050565b6000604082019050613d6d6000830185612e93565b613d7a6020830184612efd565b9392505050565b7f596f7520646f206e6f74206861766520656e6f75676820467261676d656e747360008201527f20746f206d696e7420796f75722054656d706c65732e00000000000000000000602082015250565b6000613ddd603683612d91565b9150613de882613d81565b604082019050919050565b60006020820190508181036000830152613e0c81613dd0565b9050919050565b600082825260208201905092915050565b7f3078000000000000000000000000000000000000000000000000000000000000600082015250565b6000613e5a600283613e13565b9150613e6582613e24565b602082019050919050565b600060a082019050613e856000830187612e93565b613e926020830186612e93565b613e9f6040830185612efd565b613eac6060830184612efd565b8181036080830152613ebd81613e4d565b905095945050505050565b7f4275726e206661696c7572650000000000000000000000000000000000000000600082015250565b6000613efe600c83612d91565b9150613f0982613ec8565b602082019050919050565b60006020820190508181036000830152613f2d81613ef1565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000613f90603183612d91565b9150613f9b82613f34565b604082019050919050565b60006020820190508181036000830152613fbf81613f83565b9050919050565b600081905092915050565b6000613fdc82612d86565b613fe68185613fc6565b9350613ff6818560208601612da2565b80840191505092915050565b600061400e8285613fd1565b915061401a8284613fd1565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614082602683612d91565b915061408d82614026565b604082019050919050565b600060208201905081810360008301526140b181614075565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614114602c83612d91565b915061411f826140b8565b604082019050919050565b6000602082019050818103600083015261414381614107565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006141a6602983612d91565b91506141b18261414a565b604082019050919050565b600060208201905081810360008301526141d581614199565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614238602483612d91565b9150614243826141dc565b604082019050919050565b600060208201905081810360008301526142678161422b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142a882612e30565b91506142b383612e30565b9250826142c3576142c261426e565b5b828204905092915050565b60006142d982612e30565b91506142e483612e30565b9250826142f4576142f361426e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b600061438a602e83612d91565b91506143958261432e565b604082019050919050565b600060208201905081810360008301526143b98161437d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061441c603283612d91565b9150614427826143c0565b604082019050919050565b6000602082019050818103600083015261444b8161440f565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006144ae602f83612d91565b91506144b982614452565b604082019050919050565b600060208201905081810360008301526144dd816144a1565b9050919050565b600081519050919050565b60006144fa826144e4565b6145048185613e13565b9350614514818560208601612da2565b61451d81612bdb565b840191505092915050565b600060808201905061453d6000830187612e93565b61454a6020830186612e93565b6145576040830185612efd565b818103606083015261456981846144ef565b905095945050505050565b60008151905061458381612ae4565b92915050565b60006020828403121561459f5761459e612aae565b5b60006145ad84828501614574565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006145ec602083612d91565b91506145f7826145b6565b602082019050919050565b6000602082019050818103600083015261461b816145df565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614658601c83612d91565b915061466382614622565b602082019050919050565b600060208201905081810360008301526146878161464b565b905091905056fea2646970667358221220031179b9732a44b49df8c813903bc21f84a5bd095335ea04d1b9aff5d8f2929864736f6c63430008090033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.