ETH Price: $3,387.83 (+3.97%)

Contract

0x0226DF52f956A6b826DA1df717E4F71FeedD414E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Token Metada...206497562024-08-31 16:30:47114 days ago1725121847IN
0x0226DF52...FeedD414E
0 ETH0.000046231.36598594
Set Token Metada...206497542024-08-31 16:30:23114 days ago1725121823IN
0x0226DF52...FeedD414E
0 ETH0.000045681.34963541
Set Token Metada...206497482024-08-31 16:29:11114 days ago1725121751IN
0x0226DF52...FeedD414E
0 ETH0.000042821.26527356
Set Token Metada...206497452024-08-31 16:28:35114 days ago1725121715IN
0x0226DF52...FeedD414E
0 ETH0.000042341.2509214
Set Token Metada...206497422024-08-31 16:27:59114 days ago1725121679IN
0x0226DF52...FeedD414E
0 ETH0.000045071.33172994
Set Token Metada...206497402024-08-31 16:27:35114 days ago1725121655IN
0x0226DF52...FeedD414E
0 ETH0.000044871.32578719
Set Token Metada...206497382024-08-31 16:27:11114 days ago1725121631IN
0x0226DF52...FeedD414E
0 ETH0.000043051.27207917
Set Token Metada...206497352024-08-31 16:26:35114 days ago1725121595IN
0x0226DF52...FeedD414E
0 ETH0.000046081.36150532
Set Token Metada...206497332024-08-31 16:26:11114 days ago1725121571IN
0x0226DF52...FeedD414E
0 ETH0.000042481.25518283
Set Token Metada...206497292024-08-31 16:25:23114 days ago1725121523IN
0x0226DF52...FeedD414E
0 ETH0.000041761.23376953
Set Token Metada...206497272024-08-31 16:24:59114 days ago1725121499IN
0x0226DF52...FeedD414E
0 ETH0.000040621.20015059
Set Contract Met...206496742024-08-31 16:14:11114 days ago1725120851IN
0x0226DF52...FeedD414E
0 ETH0.00004671.39375382

Advanced mode:
Parent Transaction Hash Block
From
To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BreakingChains

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
No with 200 runs

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

/*

██████╗ ██████╗ ███████╗ █████╗ ██╗  ██╗██╗███╗   ██╗ ██████╗ 
██╔══██╗██╔══██╗██╔════╝██╔══██╗██║ ██╔╝██║████╗  ██║██╔════╝ 
██████╔╝██████╔╝█████╗  ███████║█████╔╝ ██║██╔██╗ ██║██║  ███╗
██╔══██╗██╔══██╗██╔══╝  ██╔══██║██╔═██╗ ██║██║╚██╗██║██║   ██║
██████╔╝██║  ██║███████╗██║  ██║██║  ██╗██║██║ ╚████║╚██████╔╝
╚═════╝ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝ 
                                                              
 ██████╗██╗  ██╗ █████╗ ██╗███╗   ██╗███████╗                 
██╔════╝██║  ██║██╔══██╗██║████╗  ██║██╔════╝                 
██║     ███████║███████║██║██╔██╗ ██║███████╗                 
██║     ██╔══██║██╔══██║██║██║╚██╗██║╚════██║                 
╚██████╗██║  ██║██║  ██║██║██║ ╚████║███████║                 
 ╚═════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝╚══════╝                                         

+-+-+-+ +-+-+-+ +-+-+-+ +-+-+-+-+-+ +-+-+-+-+-+
|A|r|t| |F|o|r| |T|h|e| |R|e|b|e|l| |S|o|u|l|s|
+-+-+-+ +-+-+-+ +-+-+-+ +-+-+-+-+-+ +-+-+-+-+-+

Breaking Chains is dedicated to all those who have felt or still feel stuck... 
Who dream of freedom and have the courage to initiate change. 
It's more than just jpegs—it's art for rebel souls as a movement. 
It's our united journey to freedom.

///////////////////////////////////////////////
Each NFT Contains both an Image + Story
by Artist and Bestselling Author Ani Alexander.
///////////////////////////////////////////////

///////////////////////////////////////////////
Available on ETH, Tezos, Base
1 OPEN mint NFT & 10 NFTs with 5 editions each.
///////////////////////////////////////////////

NFT 1  • Breaking Chains (OPEN MINT)
NFT 2  • Pair of Sergio Rossi
NFT 3  • The Middle Finger
NFT 4  • C Level
NFT 5  • One Box
NFT 6  • The Last Drop
NFT 7  • Corporate Nightmare
NFT 8  • Caged
NFT 9  • Centimeters from Change
NFT 10 • Bored Meeting
NFT 11 • Fake Stability

///////////////////////////////////////////////
http://www.NFTrebels.com
X(twitter): @NFTrebels (Ani) • @unl0c7 (Rick)
///////////////////////////////////////////////

*/

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";

/// @title Breaking Chains: Art for the Rebel Souls
/// @author NFT Rebels - Ani Alexander(@nftrebels) & Rick S.(@unl0c7)
/// @notice This contract implements an ERC1155 token for the Breaking Chains NFT collection
/// @dev Extends ERC1155, Ownable, and ReentrancyGuard from OpenZeppelin
/// @custom:website nftrebels.com
/// @custom:twitter @nftrebels
/// @custom:artist Ani Alexander

contract BreakingChains is ERC1155, IERC2981, Ownable, ReentrancyGuard {
    uint256 public constant NUM_TOKEN_TYPES = 11;
    uint256 public constant SUPPLY_PER_TOKEN = 5;
    uint256 public constant OPEN_TOKEN_ID = 1;

    string public name = "Breaking Chains: Art for the Rebel Souls";
    string public symbol = "BC";

    mapping(uint256 => string) private _tokenMetadata;
    string private _contractMetadata;
    
    mapping(uint256 => uint256) public mintPrices;
    mapping(uint256 => uint256) private _tokenSupply;

    address public paymentRecipient;
    address public royaltyRecipient;
    uint96 public royaltyPercentage = 250;

    bool public openMintingEnabled = false;

    event OpenMintingStatusChanged(bool newStatus);
    event MintPriceUpdated(uint256 tokenId, uint256 newPrice);
    event RoyaltyInfoUpdated(address recipient, uint96 percentage);

    /// @notice Constructor sets the payment recipient to the contract deployer and initializes mint prices and initial metadata
    constructor() ERC1155("ipfs://QmNuHetZaBvAmEePURd1Lb1CzdgdsLdA73s1QZ5CVdkRwP") Ownable(msg.sender){
        paymentRecipient = msg.sender;
        royaltyRecipient = msg.sender;
        
        // Set initial prices
        mintPrices[OPEN_TOKEN_ID] = 0;
        for (uint256 i = 2; i <= NUM_TOKEN_TYPES; i++) {
            mintPrices[i] = 0.07 ether;
        }

        // Set initial metadata for each token
        for (uint256 i = 1; i <= NUM_TOKEN_TYPES; i++) {
            _tokenMetadata[i] = string(abi.encodePacked("ipfs://QmXW3PR1JhRfCAPh4upryf7M6bhJWMPeePANjam1eUTWJ5/", Strings.toString(i - 1), ".json"));
        }

        // Set initial contract metadata
        _contractMetadata = "ipfs://QmNuHetZaBvAmEePURd1Lb1CzdgdsLdA73s1QZ5CVdkRwP";
    }

    /// @notice Calculates the royalty for a sale
    /// @param _tokenId The ID of the token being sold
    /// @param _salePrice The sale price of the token
    /// @return receiver The address that should receive the royalty
    /// @return royaltyAmount The amount of royalty to be paid
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view override returns (address receiver, uint256 royaltyAmount) {
        require(_tokenId > 0 && _tokenId <= NUM_TOKEN_TYPES, "Invalid token ID");
        if (royaltyRecipient == address(0)) {
            return (address(0), 0);
        }
        return (royaltyRecipient, (_salePrice * royaltyPercentage) / 10000);
    }

    /// @notice Updates the royalty information
    /// @dev Only callable by the contract owner
    /// @param _recipient The new address to receive royalties
    /// @param _percentage The new royalty percentage (using 2 decimals - 10000 = 100%, 150 = 1.5%)
    function updateRoyaltyInfo(address _recipient, uint96 _percentage) external onlyOwner {
        require(_recipient != address(0), "Invalid royalty recipient");
        require(_percentage <= 10000, "Royalty percentage too high");
        royaltyRecipient = _recipient;
        royaltyPercentage = _percentage;
        emit RoyaltyInfoUpdated(_recipient, _percentage);
    }

    /// @notice Sets the minting price for a specific token
    /// @dev Only callable by the contract owner
    /// @param tokenId The ID of the token to set the price for
    /// @param newPrice The new price in wei for minting the specified token
    function setMintPrice(uint256 tokenId, uint256 newPrice) public onlyOwner {
        require(tokenId > 0 && tokenId <= NUM_TOKEN_TYPES, "Invalid token ID");
        mintPrices[tokenId] = newPrice;
        emit MintPriceUpdated(tokenId, newPrice);
    }

    /// @notice Changes the recipient address for minting payments
    /// @dev Only callable by the contract owner
    /// @param newRecipient The new address to receive minting payments
    function setPaymentRecipient(address newRecipient) public onlyOwner {
        require(newRecipient != address(0), "Invalid address");
        paymentRecipient = newRecipient;
    }

    /// @notice Enables or disables minting for the open token
    /// @dev Only callable by the universe
    /// @param _enabled New minting status for the open token
    function setOpenMintingEnabled(bool _enabled) public onlyOwner {
        openMintingEnabled = _enabled;
        emit OpenMintingStatusChanged(_enabled);
    }

    /// @notice Returns the current minting status for the open token
    /// @return bool Current minting status for the open token
    function isOpenMintingEnabled() public view returns (bool) {
        return openMintingEnabled;
    }

    /// @notice Mints new tokens
    /// @dev Open token (ID 1) minting is controlled by openMintingEnabled. Other tokens always mintable.
    /// @param tokenId The ID of the token to mint (tokens 1-11)
    /// @param amount The number of tokens to mint (just 1 per mint tx)
    function mint(uint256 tokenId, uint256 amount) public payable nonReentrant {
        require(tokenId > 0 && tokenId <= NUM_TOKEN_TYPES, "Invalid token ID");
        require(amount > 0, "Amount must be greater than 0");
        require(amount == 1, "Amount must be 1 per mint transaction");
        
        if (tokenId == OPEN_TOKEN_ID) {
            require(openMintingEnabled, "Open token minting is currently disabled");
        } else {
            require(_tokenSupply[tokenId] + amount <= SUPPLY_PER_TOKEN, "Exceeds max supply for this token");
        }

        require(msg.value >= mintPrices[tokenId] * amount, "Insufficient payment");

        _mint(msg.sender, tokenId, amount, "");
        _tokenSupply[tokenId] += amount;

        if (msg.value > 0) {
            payable(paymentRecipient).transfer(msg.value);
        }
    }

    /// @notice Returns the metadata URI for a given token
    /// @dev Overrides the uri function in ERC1155, handles both IPFS and JSON data
    /// @param tokenId The ID of the token to query
    /// @return string The metadata URI or base64 encoded JSON for the specified token
    function uri(uint256 tokenId) public view virtual override returns (string memory) {
        require(tokenId > 0 && tokenId <= NUM_TOKEN_TYPES, "Token ID does not exist");
        
        string memory metadataUri = _tokenMetadata[tokenId];
        if (bytes(metadataUri).length == 0) {
            return "";
        }
        
        // Check if the URI starts with "ipfs"
        bytes memory uriBytes = bytes(metadataUri);
        if (uriBytes.length >= 4 &&
            uriBytes[0] == 0x69 && // 'i'
            uriBytes[1] == 0x70 && // 'p'
            uriBytes[2] == 0x66 && // 'f'
            uriBytes[3] == 0x73)   // 's'
        {
            return metadataUri;
        }
        
        // If not IPFS, assume it's JSON and encode it
        string memory encodedJson = Base64.encode(uriBytes);
        return string(abi.encodePacked("data:application/json;base64,", encodedJson));
    }

    /// @notice Sets the metadata URI for a specific token
    /// @dev Only callable by the contract owner
    /// @param tokenId The ID of the token to update
    /// @param newMetadata The new metadata URI for the token
    function setTokenMetadata(uint256 tokenId, string memory newMetadata) public onlyOwner {
        require(tokenId > 0 && tokenId <= NUM_TOKEN_TYPES, "Invalid token ID");
        _tokenMetadata[tokenId] = newMetadata;
    }

    /// @notice Returns the metadata URI for the entire contract
    /// @return string The contract-level metadata URI
    function contractURI() public view returns (string memory) {
        return _contractMetadata;
    }

    /// @notice Sets the metadata URI for the entire contract
    /// @dev Only callable by the contract owner
    /// @param newMetadata The new metadata URI for the contract
    function setContractMetadata(string memory newMetadata) public onlyOwner {
        _contractMetadata = newMetadata;
    }

    /// @notice Returns the current supply of a specific token
    /// @param tokenId The ID of the token to query
    /// @return uint256 The current supply of the specified token
    function tokenSupply(uint256 tokenId) public view returns (uint256) {
        require(tokenId > 0 && tokenId <= NUM_TOKEN_TYPES, "Invalid token ID");
        return _tokenSupply[tokenId];
    }

    /// @notice EIP2981 standard Interface return. Adds to ERC1155 and ERC165 Interface returns.
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC1155, IERC165)
        returns (bool)
    {
        return (
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId)
        );
    }
}

File 2 of 18 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../utils/introspection/IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(
        uint256 tokenId,
        uint256 salePrice
    ) external view returns (address receiver, uint256 royaltyAmount);
}

File 3 of 18 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 4 of 18 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.2) (utils/Base64.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 0x20)
            let dataPtr := data
            let endPtr := add(data, mload(data))

            // In some cases, the last iteration will read bytes after the end of the data. We cache the value, and
            // set it to zero to make sure no dirty bytes are read in that section.
            let afterPtr := add(endPtr, 0x20)
            let afterCache := mload(afterPtr)
            mstore(afterPtr, 0x00)

            // Run over the input, 3 bytes at a time
            for {

            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 byte (24 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F to bitmask the least significant 6 bits.
                // Use this as an index into the lookup table, mload an entire word
                // so the desired character is in the least significant byte, and
                // mstore8 this least significant byte into the result and continue.

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // Reset the value that was cached
            mstore(afterPtr, afterCache)

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

File 5 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        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_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 6 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

File 7 of 18 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.20;

import {IERC1155} from "./IERC1155.sol";
import {IERC1155Receiver} from "./IERC1155Receiver.sol";
import {IERC1155MetadataURI} from "./extensions/IERC1155MetadataURI.sol";
import {Context} from "../../utils/Context.sol";
import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol";
import {Arrays} from "../../utils/Arrays.sol";
import {IERC1155Errors} from "../../interfaces/draft-IERC6093.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
 */
abstract contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI, IERC1155Errors {
    using Arrays for uint256[];
    using Arrays for address[];

    mapping(uint256 id => mapping(address account => uint256)) private _balances;

    mapping(address account => mapping(address operator => 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 /* id */) public view virtual returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     */
    function balanceOf(address account, uint256 id) public view virtual returns (uint256) {
        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 returns (uint256[] memory) {
        if (accounts.length != ids.length) {
            revert ERC1155InvalidArrayLength(ids.length, accounts.length);
        }

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

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

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes memory data) public virtual {
        address sender = _msgSender();
        if (from != sender && !isApprovedForAll(from, sender)) {
            revert ERC1155MissingApprovalForAll(sender, from);
        }
        _safeTransferFrom(from, to, id, value, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) public virtual {
        address sender = _msgSender();
        if (from != sender && !isApprovedForAll(from, sender)) {
            revert ERC1155MissingApprovalForAll(sender, from);
        }
        _safeBatchTransferFrom(from, to, ids, values, data);
    }

    /**
     * @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`. Will mint (or burn) if `from`
     * (or `to`) is the zero address.
     *
     * Emits a {TransferSingle} event if the arrays contain one element, and {TransferBatch} otherwise.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement either {IERC1155Receiver-onERC1155Received}
     *   or {IERC1155Receiver-onERC1155BatchReceived} and return the acceptance magic value.
     * - `ids` and `values` must have the same length.
     *
     * NOTE: The ERC-1155 acceptance check is not performed in this function. See {_updateWithAcceptanceCheck} instead.
     */
    function _update(address from, address to, uint256[] memory ids, uint256[] memory values) internal virtual {
        if (ids.length != values.length) {
            revert ERC1155InvalidArrayLength(ids.length, values.length);
        }

        address operator = _msgSender();

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids.unsafeMemoryAccess(i);
            uint256 value = values.unsafeMemoryAccess(i);

            if (from != address(0)) {
                uint256 fromBalance = _balances[id][from];
                if (fromBalance < value) {
                    revert ERC1155InsufficientBalance(from, fromBalance, value, id);
                }
                unchecked {
                    // Overflow not possible: value <= fromBalance
                    _balances[id][from] = fromBalance - value;
                }
            }

            if (to != address(0)) {
                _balances[id][to] += value;
            }
        }

        if (ids.length == 1) {
            uint256 id = ids.unsafeMemoryAccess(0);
            uint256 value = values.unsafeMemoryAccess(0);
            emit TransferSingle(operator, from, to, id, value);
        } else {
            emit TransferBatch(operator, from, to, ids, values);
        }
    }

    /**
     * @dev Version of {_update} that performs the token acceptance check by calling
     * {IERC1155Receiver-onERC1155Received} or {IERC1155Receiver-onERC1155BatchReceived} on the receiver address if it
     * contains code (eg. is a smart contract at the moment of execution).
     *
     * IMPORTANT: Overriding this function is discouraged because it poses a reentrancy risk from the receiver. So any
     * update to the contract state after this function would break the check-effect-interaction pattern. Consider
     * overriding {_update} instead.
     */
    function _updateWithAcceptanceCheck(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) internal virtual {
        _update(from, to, ids, values);
        if (to != address(0)) {
            address operator = _msgSender();
            if (ids.length == 1) {
                uint256 id = ids.unsafeMemoryAccess(0);
                uint256 value = values.unsafeMemoryAccess(0);
                _doSafeTransferAcceptanceCheck(operator, from, to, id, value, data);
            } else {
                _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, values, data);
            }
        }
    }

    /**
     * @dev Transfers a `value` 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 `value` 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 value, bytes memory data) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);
        _updateWithAcceptanceCheck(from, to, ids, values, 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.
     * - `ids` and `values` must have the same length.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        _updateWithAcceptanceCheck(from, to, ids, values, 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 values 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 a `value` amount of tokens of type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address to, uint256 id, uint256 value, bytes memory data) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);
        _updateWithAcceptanceCheck(address(0), to, ids, values, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `values` must have the same length.
     * - `to` cannot be the zero address.
     * - 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 values, bytes memory data) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        _updateWithAcceptanceCheck(address(0), to, ids, values, data);
    }

    /**
     * @dev Destroys a `value` amount of tokens of type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `value` amount of tokens of type `id`.
     */
    function _burn(address from, uint256 id, uint256 value) internal {
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);
        _updateWithAcceptanceCheck(from, address(0), ids, values, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `value` amount of tokens of type `id`.
     * - `ids` and `values` must have the same length.
     */
    function _burnBatch(address from, uint256[] memory ids, uint256[] memory values) internal {
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        _updateWithAcceptanceCheck(from, address(0), ids, values, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the zero address.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        if (operator == address(0)) {
            revert ERC1155InvalidOperator(address(0));
        }
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Performs an acceptance check by calling {IERC1155-onERC1155Received} on the `to` address
     * if it contains code at the moment of execution.
     */
    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 value,
        bytes memory data
    ) private {
        if (to.code.length > 0) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, value, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    // Tokens rejected
                    revert ERC1155InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    // non-ERC1155Receiver implementer
                    revert ERC1155InvalidReceiver(to);
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }

    /**
     * @dev Performs a batch acceptance check by calling {IERC1155-onERC1155BatchReceived} on the `to` address
     * if it contains code at the moment of execution.
     */
    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) private {
        if (to.code.length > 0) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, values, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    // Tokens rejected
                    revert ERC1155InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    // non-ERC1155Receiver implementer
                    revert ERC1155InvalidReceiver(to);
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }

    /**
     * @dev Creates an array in memory with only one value for each of the elements provided.
     */
    function _asSingletonArrays(
        uint256 element1,
        uint256 element2
    ) private pure returns (uint256[] memory array1, uint256[] memory array2) {
        /// @solidity memory-safe-assembly
        assembly {
            // Load the free memory pointer
            array1 := mload(0x40)
            // Set array length to 1
            mstore(array1, 1)
            // Store the single element at the next word after the length (where content starts)
            mstore(add(array1, 0x20), element1)

            // Repeat for next array locating it right after the first array
            array2 := add(array1, 0x40)
            mstore(array2, 1)
            mstore(add(array2, 0x20), element2)

            // Update the free memory pointer by pointing after the second array
            mstore(0x40, add(array2, 0x40))
        }
    }
}

File 8 of 18 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 9 of 18 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 10 of 18 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 11 of 18 : Arrays.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Arrays.sol)

pragma solidity ^0.8.20;

import {StorageSlot} from "./StorageSlot.sol";
import {Math} from "./math/Math.sol";

/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
    using StorageSlot for bytes32;

    /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        uint256 low = 0;
        uint256 high = array.length;

        if (high == 0) {
            return 0;
        }

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds towards zero (it does integer division with truncation).
            if (unsafeAccess(array, mid).value > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && unsafeAccess(array, low - 1).value == element) {
            return low - 1;
        } else {
            return low;
        }
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(address[] storage arr, uint256 pos) internal pure returns (StorageSlot.AddressSlot storage) {
        bytes32 slot;
        // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
        // following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays.

        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getAddressSlot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(bytes32[] storage arr, uint256 pos) internal pure returns (StorageSlot.Bytes32Slot storage) {
        bytes32 slot;
        // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
        // following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays.

        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getBytes32Slot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(uint256[] storage arr, uint256 pos) internal pure returns (StorageSlot.Uint256Slot storage) {
        bytes32 slot;
        // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
        // following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays.

        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getUint256Slot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeMemoryAccess(uint256[] memory arr, uint256 pos) internal pure returns (uint256 res) {
        assembly {
            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))
        }
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeMemoryAccess(address[] memory arr, uint256 pos) internal pure returns (address res) {
        assembly {
            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))
        }
    }
}

File 12 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "./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);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 13 of 18 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 14 of 18 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.20;

import {IERC1155} from "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 */
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);
}

File 15 of 18 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../utils/introspection/IERC165.sol";

/**
 * @dev Interface that must be implemented by smart contracts in order to receive
 * ERC-1155 token transfers.
 */
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.
     *
     * NOTE: 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.
     *
     * NOTE: 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 16 of 18 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` amount of tokens of 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 value 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 a `value` amount of tokens of type `id` from `from` to `to`.
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155Received} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `value` 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 value, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155BatchReceived} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * Emits either a {TransferSingle} or a {TransferBatch} event, depending on the length of the array arguments.
     *
     * Requirements:
     *
     * - `ids` and `values` 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 values,
        bytes calldata data
    ) external;
}

File 17 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @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 18 of 18 : StorageSlot.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

pragma solidity ^0.8.20;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(newImplementation.code.length > 0);
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC1155InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC1155InvalidApprover","type":"error"},{"inputs":[{"internalType":"uint256","name":"idsLength","type":"uint256"},{"internalType":"uint256","name":"valuesLength","type":"uint256"}],"name":"ERC1155InvalidArrayLength","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC1155InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC1155InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC1155InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC1155MissingApprovalForAll","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"MintPriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"newStatus","type":"bool"}],"name":"OpenMintingStatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint96","name":"percentage","type":"uint96"}],"name":"RoyaltyInfoUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"NUM_TOKEN_TYPES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPEN_TOKEN_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY_PER_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOpenMintingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintPrices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openMintingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paymentRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPercentage","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","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":"newMetadata","type":"string"}],"name":"setContractMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setOpenMintingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRecipient","type":"address"}],"name":"setPaymentRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newMetadata","type":"string"}],"name":"setTokenMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint96","name":"_percentage","type":"uint96"}],"name":"updateRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

6080604052604051806060016040528060288152602001614c13602891396005908161002b9190610828565b506040518060400160405280600281526020017f4243000000000000000000000000000000000000000000000000000000000000815250600690816100709190610828565b5060fa600c60146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505f600d5f6101000a81548160ff0219169083151502179055503480156100c7575f80fd5b5033604051806060016040528060358152602001614c3b603591396100f1816102f760201b60201c565b505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610162575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101599190610936565b60405180910390fd5b6101718161030a60201b60201c565b50600160048190555033600b5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f60095f600181526020019081526020015f20819055505f600290505b600b811161024f5766f8b0a10e47000060095f8381526020019081526020015f208190555080806102479061097c565b915050610217565b505f600190505b600b81116102c95761027960018261026e91906109c3565b6103cd60201b60201c565b6040516020016102899190610af8565b60405160208183030381529060405260075f8381526020019081526020015f2090816102b59190610828565b5080806102c19061097c565b915050610256565b50604051806060016040528060358152602001614c3b60359139600890816102f19190610828565b50610b51565b80600290816103069190610828565b5050565b5f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60605f60016103e18461049d60201b60201c565b0190505f8167ffffffffffffffff8111156103ff576103fe6105f8565b5b6040519080825280601f01601f1916602001820160405280156104315781602001600182028036833780820191505090505b5090505f82602001820190505b600115610492578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161048757610486610b24565b5b0494505f850361043e575b819350505050919050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106104f9577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816104ef576104ee610b24565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310610536576d04ee2d6d415b85acef8100000000838161052c5761052b610b24565b5b0492506020810190505b662386f26fc10000831061056557662386f26fc10000838161055b5761055a610b24565b5b0492506010810190505b6305f5e100831061058e576305f5e100838161058457610583610b24565b5b0492506008810190505b61271083106105b35761271083816105a9576105a8610b24565b5b0492506004810190505b606483106105d657606483816105cc576105cb610b24565b5b0492506002810190505b600a83106105e5576001810190505b80915050919050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061066957607f821691505b60208210810361067c5761067b610625565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026106de7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826106a3565b6106e886836106a3565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61072c61072761072284610700565b610709565b610700565b9050919050565b5f819050919050565b61074583610712565b61075961075182610733565b8484546106af565b825550505050565b5f90565b61076d610761565b61077881848461073c565b505050565b5b8181101561079b576107905f82610765565b60018101905061077e565b5050565b601f8211156107e0576107b181610682565b6107ba84610694565b810160208510156107c9578190505b6107dd6107d585610694565b83018261077d565b50505b505050565b5f82821c905092915050565b5f6108005f19846008026107e5565b1980831691505092915050565b5f61081883836107f1565b9150826002028217905092915050565b610831826105ee565b67ffffffffffffffff81111561084a576108496105f8565b5b6108548254610652565b61085f82828561079f565b5f60209050601f831160018114610890575f841561087e578287015190505b610888858261080d565b8655506108ef565b601f19841661089e86610682565b5f5b828110156108c5578489015182556001820191506020850194506020810190506108a0565b868310156108e257848901516108de601f8916826107f1565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610920826108f7565b9050919050565b61093081610916565b82525050565b5f6020820190506109495f830184610927565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61098682610700565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036109b8576109b761094f565b5b600182019050919050565b5f6109cd82610700565b91506109d883610700565b92508282039050818111156109f0576109ef61094f565b5b92915050565b5f81905092915050565b7f697066733a2f2f516d5857335052314a68526643415068347570727966374d365f8201527f62684a574d50656550414e6a616d31655554574a352f00000000000000000000602082015250565b5f610a5a6036836109f6565b9150610a6582610a00565b603682019050919050565b8281835e5f83830152505050565b5f610a88826105ee565b610a9281856109f6565b9350610aa2818560208601610a70565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f610ae26005836109f6565b9150610aed82610aae565b600582019050919050565b5f610b0282610a4e565b9150610b0e8284610a7e565b9150610b1982610ad6565b915081905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b6140b580610b5e5f395ff3fe6080604052600436106101e1575f3560e01c8063715018a611610101578063de6811b811610094578063f242432a11610063578063f242432a146106de578063f2fde38b14610706578063f812d2301461072e578063fce5503714610758576101e1565b8063de6811b814610624578063dfaab5a11461064e578063e8a3d48514610678578063e985e9c5146106a2576101e1565b80639b253388116100d05780639b25338814610580578063a22cb465146105aa578063c6caf75b146105d2578063dc3a2e1d146105fc576101e1565b8063715018a6146104ec5780638a71bb2d146105025780638da5cb5b1461052c57806395d89b4114610556576101e1565b80632a55205a116101795780634c00de82116101485780634c00de82146104225780634e1273f41461044c578063510ef1de146104885780636187b33e146104b0576101e1565b80632a55205a1461036b5780632b1eaf29146103a85780632eb2c2d6146103d2578063411c4442146103fa576101e1565b80630e89341c116101b55780630e89341c146102af5780631b2ef1ca146102eb5780632693ebf2146103075780632983c4b814610343576101e1565b8062fdd58e146101e557806301ffc9a7146102215780630442bfa81461025d57806306fdde0314610285575b5f80fd5b3480156101f0575f80fd5b5061020b600480360381019061020691906129e2565b610780565b6040516102189190612a2f565b60405180910390f35b34801561022c575f80fd5b5061024760048036038101906102429190612a9d565b6107d5565b6040516102549190612ae2565b60405180910390f35b348015610268575f80fd5b50610283600480360381019061027e9190612afb565b61084e565b005b348015610290575f80fd5b506102996108f8565b6040516102a69190612ba9565b60405180910390f35b3480156102ba575f80fd5b506102d560048036038101906102d09190612bc9565b610984565b6040516102e29190612ba9565b60405180910390f35b61030560048036038101906103009190612afb565b610c1a565b005b348015610312575f80fd5b5061032d60048036038101906103289190612bc9565b610ecc565b60405161033a9190612a2f565b60405180910390f35b34801561034e575f80fd5b5061036960048036038101906103649190612bf4565b610f35565b005b348015610376575f80fd5b50610391600480360381019061038c9190612afb565b610fee565b60405161039f929190612c2e565b60405180910390f35b3480156103b3575f80fd5b506103bc61110d565b6040516103c99190612c55565b60405180910390f35b3480156103dd575f80fd5b506103f860048036038101906103f39190612e5e565b611132565b005b348015610405575f80fd5b50610420600480360381019061041b9190612f6a565b6111d9565b005b34801561042d575f80fd5b50610436611350565b6040516104439190612c55565b60405180910390f35b348015610457575f80fd5b50610472600480360381019061046d9190613068565b611375565b60405161047f9190613195565b60405180910390f35b348015610493575f80fd5b506104ae60048036038101906104a99190613253565b61147c565b005b3480156104bb575f80fd5b506104d660048036038101906104d19190612bc9565b6114f6565b6040516104e39190612a2f565b60405180910390f35b3480156104f7575f80fd5b5061050061150b565b005b34801561050d575f80fd5b5061051661151e565b60405161052391906132bc565b60405180910390f35b348015610537575f80fd5b5061054061153c565b60405161054d9190612c55565b60405180910390f35b348015610561575f80fd5b5061056a611564565b6040516105779190612ba9565b60405180910390f35b34801561058b575f80fd5b506105946115f0565b6040516105a19190612a2f565b60405180910390f35b3480156105b5575f80fd5b506105d060048036038101906105cb91906132ff565b6115f5565b005b3480156105dd575f80fd5b506105e661160b565b6040516105f39190612a2f565b60405180910390f35b348015610607575f80fd5b50610622600480360381019061061d919061333d565b611610565b005b34801561062f575f80fd5b5061063861166b565b6040516106459190612a2f565b60405180910390f35b348015610659575f80fd5b50610662611670565b60405161066f9190612ae2565b60405180910390f35b348015610683575f80fd5b5061068c611685565b6040516106999190612ba9565b60405180910390f35b3480156106ad575f80fd5b506106c860048036038101906106c39190613368565b611715565b6040516106d59190612ae2565b60405180910390f35b3480156106e9575f80fd5b5061070460048036038101906106ff91906133a6565b6117a3565b005b348015610711575f80fd5b5061072c60048036038101906107279190612bf4565b61184a565b005b348015610739575f80fd5b506107426118ce565b60405161074f9190612ae2565b60405180910390f35b348015610763575f80fd5b5061077e60048036038101906107799190613439565b6118e0565b005b5f805f8381526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108475750610846826118fb565b5b9050919050565b6108566119dc565b5f821180156108665750600b8211155b6108a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089c906134ca565b60405180910390fd5b8060095f8481526020019081526020015f20819055507f2e1c9e000c6e8dda4d03536adb13b7cb6034ccff90d17f01de381e4d5097b52582826040516108ec9291906134e8565b60405180910390a15050565b600580546109059061353c565b80601f01602080910402602001604051908101604052809291908181526020018280546109319061353c565b801561097c5780601f106109535761010080835404028352916020019161097c565b820191905f5260205f20905b81548152906001019060200180831161095f57829003601f168201915b505050505081565b60605f821180156109965750600b8211155b6109d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cc906135b6565b60405180910390fd5b5f60075f8481526020019081526020015f2080546109f29061353c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1e9061353c565b8015610a695780601f10610a4057610100808354040283529160200191610a69565b820191905f5260205f20905b815481529060010190602001808311610a4c57829003601f168201915b505050505090505f815103610a8f5760405180602001604052805f815250915050610c15565b5f8190506004815110158015610ae75750606960f81b815f81518110610ab857610ab76135d4565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8015610b365750607060f81b81600181518110610b0757610b066135d4565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8015610b855750606660f81b81600281518110610b5657610b556135d4565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8015610bd45750607360f81b81600381518110610ba557610ba46135d4565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15610be3578192505050610c15565b5f610bed82611a63565b905080604051602001610c009190613685565b60405160208183030381529060405293505050505b919050565b610c22611bd0565b5f82118015610c325750600b8211155b610c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c68906134ca565b60405180910390fd5b5f8111610cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caa906136f0565b60405180910390fd5b60018114610cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ced9061377e565b60405180910390fd5b60018203610d5157600d5f9054906101000a900460ff16610d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d439061380c565b60405180910390fd5b610db2565b600581600a5f8581526020019081526020015f2054610d709190613857565b1115610db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da8906138fa565b60405180910390fd5b5b8060095f8481526020019081526020015f2054610dcf9190613918565b341015610e11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e08906139a3565b60405180910390fd5b610e2b33838360405180602001604052805f815250611c1f565b80600a5f8481526020019081526020015f205f828254610e4b9190613857565b925050819055505f341115610ec057600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3490811502906040515f60405180830381858888f19350505050158015610ebe573d5f803e3d5ffd5b505b610ec8611cb4565b5050565b5f8082118015610edd5750600b8211155b610f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f13906134ca565b60405180910390fd5b600a5f8381526020019081526020015f20549050919050565b610f3d6119dc565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa290613a0b565b60405180910390fd5b80600b5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f805f841180156110005750600b8411155b61103f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611036906134ca565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff16600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361109e575f8091509150611106565b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600c60149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16856110f79190613918565b6111019190613a56565b915091505b9250929050565b600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f61113b611cbe565b90508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614158015611180575061117e8682611715565b155b156111c45780866040517fe237d9220000000000000000000000000000000000000000000000000000000081526004016111bb929190613a86565b60405180910390fd5b6111d18686868686611cc5565b505050505050565b6111e16119dc565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361124f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124690613af7565b60405180910390fd5b612710816bffffffffffffffffffffffff1611156112a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129990613b5f565b60405180910390fd5b81600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c60146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055507fae1d656a1268648b04ffa79c1416f05879338ae295aae3234d8db217356a1c628282604051611344929190613b7d565b60405180910390a15050565b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606081518351146113c157815183516040517f5b0599910000000000000000000000000000000000000000000000000000000081526004016113b89291906134e8565b60405180910390fd5b5f835167ffffffffffffffff8111156113dd576113dc612c72565b5b60405190808252806020026020018201604052801561140b5781602001602082028036833780820191505090505b5090505f5b84518110156114715761144761142f8287611db990919063ffffffff16565b6114428387611dcc90919063ffffffff16565b610780565b82828151811061145a576114596135d4565b5b602002602001018181525050806001019050611410565b508091505092915050565b6114846119dc565b5f821180156114945750600b8211155b6114d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ca906134ca565b60405180910390fd5b8060075f8481526020019081526020015f2090816114f19190613d41565b505050565b6009602052805f5260405f205f915090505481565b6115136119dc565b61151c5f611ddf565b565b600c60149054906101000a90046bffffffffffffffffffffffff1681565b5f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600680546115719061353c565b80601f016020809104026020016040519081016040528092919081815260200182805461159d9061353c565b80156115e85780601f106115bf576101008083540402835291602001916115e8565b820191905f5260205f20905b8154815290600101906020018083116115cb57829003601f168201915b505050505081565b600581565b611607611600611cbe565b8383611ea2565b5050565b600b81565b6116186119dc565b80600d5f6101000a81548160ff0219169083151502179055507fc70f1ae38bf6852351c66b69522543f346ca5b2f6fdbdc0a319ce939308e110e816040516116609190612ae2565b60405180910390a150565b600181565b5f600d5f9054906101000a900460ff16905090565b6060600880546116949061353c565b80601f01602080910402602001604051908101604052809291908181526020018280546116c09061353c565b801561170b5780601f106116e25761010080835404028352916020019161170b565b820191905f5260205f20905b8154815290600101906020018083116116ee57829003601f168201915b5050505050905090565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b5f6117ac611cbe565b90508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141580156117f157506117ef8682611715565b155b156118355780866040517fe237d92200000000000000000000000000000000000000000000000000000000815260040161182c929190613a86565b60405180910390fd5b611842868686868661200b565b505050505050565b6118526119dc565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036118c2575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016118b99190612c55565b60405180910390fd5b6118cb81611ddf565b50565b600d5f9054906101000a900460ff1681565b6118e86119dc565b80600890816118f79190613d41565b5050565b5f7fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119c557507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119d557506119d482612111565b5b9050919050565b6119e4611cbe565b73ffffffffffffffffffffffffffffffffffffffff16611a0261153c565b73ffffffffffffffffffffffffffffffffffffffff1614611a6157611a25611cbe565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611a589190612c55565b60405180910390fd5b565b60605f825103611a835760405180602001604052805f8152509050611bcb565b5f6040518060600160405280604081526020016140406040913990505f600360028551611ab09190613857565b611aba9190613a56565b6004611ac69190613918565b67ffffffffffffffff811115611adf57611ade612c72565b5b6040519080825280601f01601f191660200182016040528015611b115781602001600182028036833780820191505090505b509050600182016020820185865187016020810180515f82525b82841015611b86576003840193508351603f8160121c168701518653600186019550603f81600c1c168701518653600186019550603f8160061c168701518653600186019550603f8116870151865360018601955050611b2b565b80825260038a510660018114611ba35760028114611bb657611bbe565b603d6001870353603d6002870353611bbe565b603d60018703535b5050505050505080925050505b919050565b600260045403611c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0c90613e5a565b60405180910390fd5b6002600481905550565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611c8f575f6040517f57f447ce000000000000000000000000000000000000000000000000000000008152600401611c869190612c55565b60405180910390fd5b5f80611c9b858561217a565b91509150611cac5f878484876121aa565b505050505050565b6001600481905550565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611d35575f6040517f57f447ce000000000000000000000000000000000000000000000000000000008152600401611d2c9190612c55565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611da5575f6040517f01a83514000000000000000000000000000000000000000000000000000000008152600401611d9c9190612c55565b60405180910390fd5b611db285858585856121aa565b5050505050565b5f60208202602084010151905092915050565b5f60208202602084010151905092915050565b5f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f12575f6040517fced3e100000000000000000000000000000000000000000000000000000000008152600401611f099190612c55565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ffe9190612ae2565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361207b575f6040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016120729190612c55565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036120eb575f6040517f01a835140000000000000000000000000000000000000000000000000000000081526004016120e29190612c55565b60405180910390fd5b5f806120f7858561217a565b9150915061210887878484876121aa565b50505050505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60608060405191506001825283602083015260408201905060018152826020820152604081016040529250929050565b6121b685858585612256565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461224f575f6121f2611cbe565b9050600184510361223e575f6122115f86611dcc90919063ffffffff16565b90505f6122275f86611dcc90919063ffffffff16565b90506122378389898585896125e6565b505061224d565b61224c818787878787612795565b5b505b5050505050565b80518251146122a057815181516040517f5b0599910000000000000000000000000000000000000000000000000000000081526004016122979291906134e8565b60405180910390fd5b5f6122a9611cbe565b90505f5b83518110156124a5575f6122ca8286611dcc90919063ffffffff16565b90505f6122e08386611dcc90919063ffffffff16565b90505f73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614612403575f805f8481526020019081526020015f205f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156123af57888183856040517f03dee4c50000000000000000000000000000000000000000000000000000000081526004016123a69493929190613e78565b60405180910390fd5b8181035f808581526020019081526020015f205f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161461249857805f808481526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546124909190613857565b925050819055505b50508060010190506122ad565b506001835103612560575f6124c35f85611dcc90919063ffffffff16565b90505f6124d95f85611dcc90919063ffffffff16565b90508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6285856040516125519291906134e8565b60405180910390a450506125df565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516125d6929190613ebb565b60405180910390a45b5050505050565b5f8473ffffffffffffffffffffffffffffffffffffffff163b111561278d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612646959493929190613f42565b6020604051808303815f875af192505050801561268157506040513d601f19601f8201168201806040525081019061267e9190613fae565b60015b612702573d805f81146126af576040519150601f19603f3d011682016040523d82523d5f602084013e6126b4565b606091505b505f8151036126fa57846040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016126f19190612c55565b60405180910390fd5b805181602001fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461278b57846040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016127829190612c55565b60405180910390fd5b505b505050505050565b5f8473ffffffffffffffffffffffffffffffffffffffff163b111561293c578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016127f5959493929190613fd9565b6020604051808303815f875af192505050801561283057506040513d601f19601f8201168201806040525081019061282d9190613fae565b60015b6128b1573d805f811461285e576040519150601f19603f3d011682016040523d82523d5f602084013e612863565b606091505b505f8151036128a957846040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016128a09190612c55565b60405180910390fd5b805181602001fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461293a57846040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016129319190612c55565b60405180910390fd5b505b505050505050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61297e82612955565b9050919050565b61298e81612974565b8114612998575f80fd5b50565b5f813590506129a981612985565b92915050565b5f819050919050565b6129c1816129af565b81146129cb575f80fd5b50565b5f813590506129dc816129b8565b92915050565b5f80604083850312156129f8576129f761294d565b5b5f612a058582860161299b565b9250506020612a16858286016129ce565b9150509250929050565b612a29816129af565b82525050565b5f602082019050612a425f830184612a20565b92915050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a7c81612a48565b8114612a86575f80fd5b50565b5f81359050612a9781612a73565b92915050565b5f60208284031215612ab257612ab161294d565b5b5f612abf84828501612a89565b91505092915050565b5f8115159050919050565b612adc81612ac8565b82525050565b5f602082019050612af55f830184612ad3565b92915050565b5f8060408385031215612b1157612b1061294d565b5b5f612b1e858286016129ce565b9250506020612b2f858286016129ce565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f612b7b82612b39565b612b858185612b43565b9350612b95818560208601612b53565b612b9e81612b61565b840191505092915050565b5f6020820190508181035f830152612bc18184612b71565b905092915050565b5f60208284031215612bde57612bdd61294d565b5b5f612beb848285016129ce565b91505092915050565b5f60208284031215612c0957612c0861294d565b5b5f612c168482850161299b565b91505092915050565b612c2881612974565b82525050565b5f604082019050612c415f830185612c1f565b612c4e6020830184612a20565b9392505050565b5f602082019050612c685f830184612c1f565b92915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612ca882612b61565b810181811067ffffffffffffffff82111715612cc757612cc6612c72565b5b80604052505050565b5f612cd9612944565b9050612ce58282612c9f565b919050565b5f67ffffffffffffffff821115612d0457612d03612c72565b5b602082029050602081019050919050565b5f80fd5b5f612d2b612d2684612cea565b612cd0565b90508083825260208201905060208402830185811115612d4e57612d4d612d15565b5b835b81811015612d775780612d6388826129ce565b845260208401935050602081019050612d50565b5050509392505050565b5f82601f830112612d9557612d94612c6e565b5b8135612da5848260208601612d19565b91505092915050565b5f80fd5b5f67ffffffffffffffff821115612dcc57612dcb612c72565b5b612dd582612b61565b9050602081019050919050565b828183375f83830152505050565b5f612e02612dfd84612db2565b612cd0565b905082815260208101848484011115612e1e57612e1d612dae565b5b612e29848285612de2565b509392505050565b5f82601f830112612e4557612e44612c6e565b5b8135612e55848260208601612df0565b91505092915050565b5f805f805f60a08688031215612e7757612e7661294d565b5b5f612e848882890161299b565b9550506020612e958882890161299b565b945050604086013567ffffffffffffffff811115612eb657612eb5612951565b5b612ec288828901612d81565b935050606086013567ffffffffffffffff811115612ee357612ee2612951565b5b612eef88828901612d81565b925050608086013567ffffffffffffffff811115612f1057612f0f612951565b5b612f1c88828901612e31565b9150509295509295909350565b5f6bffffffffffffffffffffffff82169050919050565b612f4981612f29565b8114612f53575f80fd5b50565b5f81359050612f6481612f40565b92915050565b5f8060408385031215612f8057612f7f61294d565b5b5f612f8d8582860161299b565b9250506020612f9e85828601612f56565b9150509250929050565b5f67ffffffffffffffff821115612fc257612fc1612c72565b5b602082029050602081019050919050565b5f612fe5612fe084612fa8565b612cd0565b9050808382526020820190506020840283018581111561300857613007612d15565b5b835b81811015613031578061301d888261299b565b84526020840193505060208101905061300a565b5050509392505050565b5f82601f83011261304f5761304e612c6e565b5b813561305f848260208601612fd3565b91505092915050565b5f806040838503121561307e5761307d61294d565b5b5f83013567ffffffffffffffff81111561309b5761309a612951565b5b6130a78582860161303b565b925050602083013567ffffffffffffffff8111156130c8576130c7612951565b5b6130d485828601612d81565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613110816129af565b82525050565b5f6131218383613107565b60208301905092915050565b5f602082019050919050565b5f613143826130de565b61314d81856130e8565b9350613158836130f8565b805f5b8381101561318857815161316f8882613116565b975061317a8361312d565b92505060018101905061315b565b5085935050505092915050565b5f6020820190508181035f8301526131ad8184613139565b905092915050565b5f67ffffffffffffffff8211156131cf576131ce612c72565b5b6131d882612b61565b9050602081019050919050565b5f6131f76131f2846131b5565b612cd0565b90508281526020810184848401111561321357613212612dae565b5b61321e848285612de2565b509392505050565b5f82601f83011261323a57613239612c6e565b5b813561324a8482602086016131e5565b91505092915050565b5f80604083850312156132695761326861294d565b5b5f613276858286016129ce565b925050602083013567ffffffffffffffff81111561329757613296612951565b5b6132a385828601613226565b9150509250929050565b6132b681612f29565b82525050565b5f6020820190506132cf5f8301846132ad565b92915050565b6132de81612ac8565b81146132e8575f80fd5b50565b5f813590506132f9816132d5565b92915050565b5f80604083850312156133155761331461294d565b5b5f6133228582860161299b565b9250506020613333858286016132eb565b9150509250929050565b5f602082840312156133525761335161294d565b5b5f61335f848285016132eb565b91505092915050565b5f806040838503121561337e5761337d61294d565b5b5f61338b8582860161299b565b925050602061339c8582860161299b565b9150509250929050565b5f805f805f60a086880312156133bf576133be61294d565b5b5f6133cc8882890161299b565b95505060206133dd8882890161299b565b94505060406133ee888289016129ce565b93505060606133ff888289016129ce565b925050608086013567ffffffffffffffff8111156134205761341f612951565b5b61342c88828901612e31565b9150509295509295909350565b5f6020828403121561344e5761344d61294d565b5b5f82013567ffffffffffffffff81111561346b5761346a612951565b5b61347784828501613226565b91505092915050565b7f496e76616c696420746f6b656e204944000000000000000000000000000000005f82015250565b5f6134b4601083612b43565b91506134bf82613480565b602082019050919050565b5f6020820190508181035f8301526134e1816134a8565b9050919050565b5f6040820190506134fb5f830185612a20565b6135086020830184612a20565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061355357607f821691505b6020821081036135665761356561350f565b5b50919050565b7f546f6b656e20494420646f6573206e6f742065786973740000000000000000005f82015250565b5f6135a0601783612b43565b91506135ab8261356c565b602082019050919050565b5f6020820190508181035f8301526135cd81613594565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81905092915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000005f82015250565b5f61363f601d83613601565b915061364a8261360b565b601d82019050919050565b5f61365f82612b39565b6136698185613601565b9350613679818560208601612b53565b80840191505092915050565b5f61368f82613633565b915061369b8284613655565b915081905092915050565b7f416d6f756e74206d7573742062652067726561746572207468616e20300000005f82015250565b5f6136da601d83612b43565b91506136e5826136a6565b602082019050919050565b5f6020820190508181035f830152613707816136ce565b9050919050565b7f416d6f756e74206d757374206265203120706572206d696e74207472616e73615f8201527f6374696f6e000000000000000000000000000000000000000000000000000000602082015250565b5f613768602583612b43565b91506137738261370e565b604082019050919050565b5f6020820190508181035f8301526137958161375c565b9050919050565b7f4f70656e20746f6b656e206d696e74696e672069732063757272656e746c79205f8201527f64697361626c6564000000000000000000000000000000000000000000000000602082015250565b5f6137f6602883612b43565b91506138018261379c565b604082019050919050565b5f6020820190508181035f830152613823816137ea565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613861826129af565b915061386c836129af565b92508282019050808211156138845761388361382a565b5b92915050565b7f45786365656473206d617820737570706c7920666f72207468697320746f6b655f8201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b5f6138e4602183612b43565b91506138ef8261388a565b604082019050919050565b5f6020820190508181035f830152613911816138d8565b9050919050565b5f613922826129af565b915061392d836129af565b925082820261393b816129af565b915082820484148315176139525761395161382a565b5b5092915050565b7f496e73756666696369656e74207061796d656e740000000000000000000000005f82015250565b5f61398d601483612b43565b915061399882613959565b602082019050919050565b5f6020820190508181035f8301526139ba81613981565b9050919050565b7f496e76616c6964206164647265737300000000000000000000000000000000005f82015250565b5f6139f5600f83612b43565b9150613a00826139c1565b602082019050919050565b5f6020820190508181035f830152613a22816139e9565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f613a60826129af565b9150613a6b836129af565b925082613a7b57613a7a613a29565b5b828204905092915050565b5f604082019050613a995f830185612c1f565b613aa66020830184612c1f565b9392505050565b7f496e76616c696420726f79616c747920726563697069656e74000000000000005f82015250565b5f613ae1601983612b43565b9150613aec82613aad565b602082019050919050565b5f6020820190508181035f830152613b0e81613ad5565b9050919050565b7f526f79616c74792070657263656e7461676520746f6f206869676800000000005f82015250565b5f613b49601b83612b43565b9150613b5482613b15565b602082019050919050565b5f6020820190508181035f830152613b7681613b3d565b9050919050565b5f604082019050613b905f830185612c1f565b613b9d60208301846132ad565b9392505050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302613c007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613bc5565b613c0a8683613bc5565b95508019841693508086168417925050509392505050565b5f819050919050565b5f613c45613c40613c3b846129af565b613c22565b6129af565b9050919050565b5f819050919050565b613c5e83613c2b565b613c72613c6a82613c4c565b848454613bd1565b825550505050565b5f90565b613c86613c7a565b613c91818484613c55565b505050565b5b81811015613cb457613ca95f82613c7e565b600181019050613c97565b5050565b601f821115613cf957613cca81613ba4565b613cd384613bb6565b81016020851015613ce2578190505b613cf6613cee85613bb6565b830182613c96565b50505b505050565b5f82821c905092915050565b5f613d195f1984600802613cfe565b1980831691505092915050565b5f613d318383613d0a565b9150826002028217905092915050565b613d4a82612b39565b67ffffffffffffffff811115613d6357613d62612c72565b5b613d6d825461353c565b613d78828285613cb8565b5f60209050601f831160018114613da9575f8415613d97578287015190505b613da18582613d26565b865550613e08565b601f198416613db786613ba4565b5f5b82811015613dde57848901518255600182019150602085019450602081019050613db9565b86831015613dfb5784890151613df7601f891682613d0a565b8355505b6001600288020188555050505b505050505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f613e44601f83612b43565b9150613e4f82613e10565b602082019050919050565b5f6020820190508181035f830152613e7181613e38565b9050919050565b5f608082019050613e8b5f830187612c1f565b613e986020830186612a20565b613ea56040830185612a20565b613eb26060830184612a20565b95945050505050565b5f6040820190508181035f830152613ed38185613139565b90508181036020830152613ee78184613139565b90509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f613f1482613ef0565b613f1e8185613efa565b9350613f2e818560208601612b53565b613f3781612b61565b840191505092915050565b5f60a082019050613f555f830188612c1f565b613f626020830187612c1f565b613f6f6040830186612a20565b613f7c6060830185612a20565b8181036080830152613f8e8184613f0a565b90509695505050505050565b5f81519050613fa881612a73565b92915050565b5f60208284031215613fc357613fc261294d565b5b5f613fd084828501613f9a565b91505092915050565b5f60a082019050613fec5f830188612c1f565b613ff96020830187612c1f565b818103604083015261400b8186613139565b9050818103606083015261401f8185613139565b905081810360808301526140338184613f0a565b9050969550505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220e75da4091595a711e92d26414104f3e2015002e9e32dc98958eed183a34ea7cd64736f6c634300081a0033427265616b696e6720436861696e733a2041727420666f722074686520526562656c20536f756c73697066733a2f2f516d4e754865745a614276416d456550555264314c6231437a646764734c644137337331515a354356646b527750

Deployed Bytecode

0x6080604052600436106101e1575f3560e01c8063715018a611610101578063de6811b811610094578063f242432a11610063578063f242432a146106de578063f2fde38b14610706578063f812d2301461072e578063fce5503714610758576101e1565b8063de6811b814610624578063dfaab5a11461064e578063e8a3d48514610678578063e985e9c5146106a2576101e1565b80639b253388116100d05780639b25338814610580578063a22cb465146105aa578063c6caf75b146105d2578063dc3a2e1d146105fc576101e1565b8063715018a6146104ec5780638a71bb2d146105025780638da5cb5b1461052c57806395d89b4114610556576101e1565b80632a55205a116101795780634c00de82116101485780634c00de82146104225780634e1273f41461044c578063510ef1de146104885780636187b33e146104b0576101e1565b80632a55205a1461036b5780632b1eaf29146103a85780632eb2c2d6146103d2578063411c4442146103fa576101e1565b80630e89341c116101b55780630e89341c146102af5780631b2ef1ca146102eb5780632693ebf2146103075780632983c4b814610343576101e1565b8062fdd58e146101e557806301ffc9a7146102215780630442bfa81461025d57806306fdde0314610285575b5f80fd5b3480156101f0575f80fd5b5061020b600480360381019061020691906129e2565b610780565b6040516102189190612a2f565b60405180910390f35b34801561022c575f80fd5b5061024760048036038101906102429190612a9d565b6107d5565b6040516102549190612ae2565b60405180910390f35b348015610268575f80fd5b50610283600480360381019061027e9190612afb565b61084e565b005b348015610290575f80fd5b506102996108f8565b6040516102a69190612ba9565b60405180910390f35b3480156102ba575f80fd5b506102d560048036038101906102d09190612bc9565b610984565b6040516102e29190612ba9565b60405180910390f35b61030560048036038101906103009190612afb565b610c1a565b005b348015610312575f80fd5b5061032d60048036038101906103289190612bc9565b610ecc565b60405161033a9190612a2f565b60405180910390f35b34801561034e575f80fd5b5061036960048036038101906103649190612bf4565b610f35565b005b348015610376575f80fd5b50610391600480360381019061038c9190612afb565b610fee565b60405161039f929190612c2e565b60405180910390f35b3480156103b3575f80fd5b506103bc61110d565b6040516103c99190612c55565b60405180910390f35b3480156103dd575f80fd5b506103f860048036038101906103f39190612e5e565b611132565b005b348015610405575f80fd5b50610420600480360381019061041b9190612f6a565b6111d9565b005b34801561042d575f80fd5b50610436611350565b6040516104439190612c55565b60405180910390f35b348015610457575f80fd5b50610472600480360381019061046d9190613068565b611375565b60405161047f9190613195565b60405180910390f35b348015610493575f80fd5b506104ae60048036038101906104a99190613253565b61147c565b005b3480156104bb575f80fd5b506104d660048036038101906104d19190612bc9565b6114f6565b6040516104e39190612a2f565b60405180910390f35b3480156104f7575f80fd5b5061050061150b565b005b34801561050d575f80fd5b5061051661151e565b60405161052391906132bc565b60405180910390f35b348015610537575f80fd5b5061054061153c565b60405161054d9190612c55565b60405180910390f35b348015610561575f80fd5b5061056a611564565b6040516105779190612ba9565b60405180910390f35b34801561058b575f80fd5b506105946115f0565b6040516105a19190612a2f565b60405180910390f35b3480156105b5575f80fd5b506105d060048036038101906105cb91906132ff565b6115f5565b005b3480156105dd575f80fd5b506105e661160b565b6040516105f39190612a2f565b60405180910390f35b348015610607575f80fd5b50610622600480360381019061061d919061333d565b611610565b005b34801561062f575f80fd5b5061063861166b565b6040516106459190612a2f565b60405180910390f35b348015610659575f80fd5b50610662611670565b60405161066f9190612ae2565b60405180910390f35b348015610683575f80fd5b5061068c611685565b6040516106999190612ba9565b60405180910390f35b3480156106ad575f80fd5b506106c860048036038101906106c39190613368565b611715565b6040516106d59190612ae2565b60405180910390f35b3480156106e9575f80fd5b5061070460048036038101906106ff91906133a6565b6117a3565b005b348015610711575f80fd5b5061072c60048036038101906107279190612bf4565b61184a565b005b348015610739575f80fd5b506107426118ce565b60405161074f9190612ae2565b60405180910390f35b348015610763575f80fd5b5061077e60048036038101906107799190613439565b6118e0565b005b5f805f8381526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108475750610846826118fb565b5b9050919050565b6108566119dc565b5f821180156108665750600b8211155b6108a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089c906134ca565b60405180910390fd5b8060095f8481526020019081526020015f20819055507f2e1c9e000c6e8dda4d03536adb13b7cb6034ccff90d17f01de381e4d5097b52582826040516108ec9291906134e8565b60405180910390a15050565b600580546109059061353c565b80601f01602080910402602001604051908101604052809291908181526020018280546109319061353c565b801561097c5780601f106109535761010080835404028352916020019161097c565b820191905f5260205f20905b81548152906001019060200180831161095f57829003601f168201915b505050505081565b60605f821180156109965750600b8211155b6109d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cc906135b6565b60405180910390fd5b5f60075f8481526020019081526020015f2080546109f29061353c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1e9061353c565b8015610a695780601f10610a4057610100808354040283529160200191610a69565b820191905f5260205f20905b815481529060010190602001808311610a4c57829003601f168201915b505050505090505f815103610a8f5760405180602001604052805f815250915050610c15565b5f8190506004815110158015610ae75750606960f81b815f81518110610ab857610ab76135d4565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8015610b365750607060f81b81600181518110610b0757610b066135d4565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8015610b855750606660f81b81600281518110610b5657610b556135d4565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8015610bd45750607360f81b81600381518110610ba557610ba46135d4565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15610be3578192505050610c15565b5f610bed82611a63565b905080604051602001610c009190613685565b60405160208183030381529060405293505050505b919050565b610c22611bd0565b5f82118015610c325750600b8211155b610c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c68906134ca565b60405180910390fd5b5f8111610cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caa906136f0565b60405180910390fd5b60018114610cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ced9061377e565b60405180910390fd5b60018203610d5157600d5f9054906101000a900460ff16610d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d439061380c565b60405180910390fd5b610db2565b600581600a5f8581526020019081526020015f2054610d709190613857565b1115610db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da8906138fa565b60405180910390fd5b5b8060095f8481526020019081526020015f2054610dcf9190613918565b341015610e11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e08906139a3565b60405180910390fd5b610e2b33838360405180602001604052805f815250611c1f565b80600a5f8481526020019081526020015f205f828254610e4b9190613857565b925050819055505f341115610ec057600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3490811502906040515f60405180830381858888f19350505050158015610ebe573d5f803e3d5ffd5b505b610ec8611cb4565b5050565b5f8082118015610edd5750600b8211155b610f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f13906134ca565b60405180910390fd5b600a5f8381526020019081526020015f20549050919050565b610f3d6119dc565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa290613a0b565b60405180910390fd5b80600b5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f805f841180156110005750600b8411155b61103f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611036906134ca565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff16600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361109e575f8091509150611106565b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600c60149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff16856110f79190613918565b6111019190613a56565b915091505b9250929050565b600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f61113b611cbe565b90508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614158015611180575061117e8682611715565b155b156111c45780866040517fe237d9220000000000000000000000000000000000000000000000000000000081526004016111bb929190613a86565b60405180910390fd5b6111d18686868686611cc5565b505050505050565b6111e16119dc565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361124f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124690613af7565b60405180910390fd5b612710816bffffffffffffffffffffffff1611156112a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129990613b5f565b60405180910390fd5b81600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c60146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055507fae1d656a1268648b04ffa79c1416f05879338ae295aae3234d8db217356a1c628282604051611344929190613b7d565b60405180910390a15050565b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606081518351146113c157815183516040517f5b0599910000000000000000000000000000000000000000000000000000000081526004016113b89291906134e8565b60405180910390fd5b5f835167ffffffffffffffff8111156113dd576113dc612c72565b5b60405190808252806020026020018201604052801561140b5781602001602082028036833780820191505090505b5090505f5b84518110156114715761144761142f8287611db990919063ffffffff16565b6114428387611dcc90919063ffffffff16565b610780565b82828151811061145a576114596135d4565b5b602002602001018181525050806001019050611410565b508091505092915050565b6114846119dc565b5f821180156114945750600b8211155b6114d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ca906134ca565b60405180910390fd5b8060075f8481526020019081526020015f2090816114f19190613d41565b505050565b6009602052805f5260405f205f915090505481565b6115136119dc565b61151c5f611ddf565b565b600c60149054906101000a90046bffffffffffffffffffffffff1681565b5f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600680546115719061353c565b80601f016020809104026020016040519081016040528092919081815260200182805461159d9061353c565b80156115e85780601f106115bf576101008083540402835291602001916115e8565b820191905f5260205f20905b8154815290600101906020018083116115cb57829003601f168201915b505050505081565b600581565b611607611600611cbe565b8383611ea2565b5050565b600b81565b6116186119dc565b80600d5f6101000a81548160ff0219169083151502179055507fc70f1ae38bf6852351c66b69522543f346ca5b2f6fdbdc0a319ce939308e110e816040516116609190612ae2565b60405180910390a150565b600181565b5f600d5f9054906101000a900460ff16905090565b6060600880546116949061353c565b80601f01602080910402602001604051908101604052809291908181526020018280546116c09061353c565b801561170b5780601f106116e25761010080835404028352916020019161170b565b820191905f5260205f20905b8154815290600101906020018083116116ee57829003601f168201915b5050505050905090565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b5f6117ac611cbe565b90508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141580156117f157506117ef8682611715565b155b156118355780866040517fe237d92200000000000000000000000000000000000000000000000000000000815260040161182c929190613a86565b60405180910390fd5b611842868686868661200b565b505050505050565b6118526119dc565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036118c2575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016118b99190612c55565b60405180910390fd5b6118cb81611ddf565b50565b600d5f9054906101000a900460ff1681565b6118e86119dc565b80600890816118f79190613d41565b5050565b5f7fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119c557507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119d557506119d482612111565b5b9050919050565b6119e4611cbe565b73ffffffffffffffffffffffffffffffffffffffff16611a0261153c565b73ffffffffffffffffffffffffffffffffffffffff1614611a6157611a25611cbe565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611a589190612c55565b60405180910390fd5b565b60605f825103611a835760405180602001604052805f8152509050611bcb565b5f6040518060600160405280604081526020016140406040913990505f600360028551611ab09190613857565b611aba9190613a56565b6004611ac69190613918565b67ffffffffffffffff811115611adf57611ade612c72565b5b6040519080825280601f01601f191660200182016040528015611b115781602001600182028036833780820191505090505b509050600182016020820185865187016020810180515f82525b82841015611b86576003840193508351603f8160121c168701518653600186019550603f81600c1c168701518653600186019550603f8160061c168701518653600186019550603f8116870151865360018601955050611b2b565b80825260038a510660018114611ba35760028114611bb657611bbe565b603d6001870353603d6002870353611bbe565b603d60018703535b5050505050505080925050505b919050565b600260045403611c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0c90613e5a565b60405180910390fd5b6002600481905550565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611c8f575f6040517f57f447ce000000000000000000000000000000000000000000000000000000008152600401611c869190612c55565b60405180910390fd5b5f80611c9b858561217a565b91509150611cac5f878484876121aa565b505050505050565b6001600481905550565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611d35575f6040517f57f447ce000000000000000000000000000000000000000000000000000000008152600401611d2c9190612c55565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611da5575f6040517f01a83514000000000000000000000000000000000000000000000000000000008152600401611d9c9190612c55565b60405180910390fd5b611db285858585856121aa565b5050505050565b5f60208202602084010151905092915050565b5f60208202602084010151905092915050565b5f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f12575f6040517fced3e100000000000000000000000000000000000000000000000000000000008152600401611f099190612c55565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ffe9190612ae2565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361207b575f6040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016120729190612c55565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036120eb575f6040517f01a835140000000000000000000000000000000000000000000000000000000081526004016120e29190612c55565b60405180910390fd5b5f806120f7858561217a565b9150915061210887878484876121aa565b50505050505050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60608060405191506001825283602083015260408201905060018152826020820152604081016040529250929050565b6121b685858585612256565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461224f575f6121f2611cbe565b9050600184510361223e575f6122115f86611dcc90919063ffffffff16565b90505f6122275f86611dcc90919063ffffffff16565b90506122378389898585896125e6565b505061224d565b61224c818787878787612795565b5b505b5050505050565b80518251146122a057815181516040517f5b0599910000000000000000000000000000000000000000000000000000000081526004016122979291906134e8565b60405180910390fd5b5f6122a9611cbe565b90505f5b83518110156124a5575f6122ca8286611dcc90919063ffffffff16565b90505f6122e08386611dcc90919063ffffffff16565b90505f73ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614612403575f805f8481526020019081526020015f205f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156123af57888183856040517f03dee4c50000000000000000000000000000000000000000000000000000000081526004016123a69493929190613e78565b60405180910390fd5b8181035f808581526020019081526020015f205f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161461249857805f808481526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546124909190613857565b925050819055505b50508060010190506122ad565b506001835103612560575f6124c35f85611dcc90919063ffffffff16565b90505f6124d95f85611dcc90919063ffffffff16565b90508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6285856040516125519291906134e8565b60405180910390a450506125df565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516125d6929190613ebb565b60405180910390a45b5050505050565b5f8473ffffffffffffffffffffffffffffffffffffffff163b111561278d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612646959493929190613f42565b6020604051808303815f875af192505050801561268157506040513d601f19601f8201168201806040525081019061267e9190613fae565b60015b612702573d805f81146126af576040519150601f19603f3d011682016040523d82523d5f602084013e6126b4565b606091505b505f8151036126fa57846040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016126f19190612c55565b60405180910390fd5b805181602001fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461278b57846040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016127829190612c55565b60405180910390fd5b505b505050505050565b5f8473ffffffffffffffffffffffffffffffffffffffff163b111561293c578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016127f5959493929190613fd9565b6020604051808303815f875af192505050801561283057506040513d601f19601f8201168201806040525081019061282d9190613fae565b60015b6128b1573d805f811461285e576040519150601f19603f3d011682016040523d82523d5f602084013e612863565b606091505b505f8151036128a957846040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016128a09190612c55565b60405180910390fd5b805181602001fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461293a57846040517f57f447ce0000000000000000000000000000000000000000000000000000000081526004016129319190612c55565b60405180910390fd5b505b505050505050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61297e82612955565b9050919050565b61298e81612974565b8114612998575f80fd5b50565b5f813590506129a981612985565b92915050565b5f819050919050565b6129c1816129af565b81146129cb575f80fd5b50565b5f813590506129dc816129b8565b92915050565b5f80604083850312156129f8576129f761294d565b5b5f612a058582860161299b565b9250506020612a16858286016129ce565b9150509250929050565b612a29816129af565b82525050565b5f602082019050612a425f830184612a20565b92915050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a7c81612a48565b8114612a86575f80fd5b50565b5f81359050612a9781612a73565b92915050565b5f60208284031215612ab257612ab161294d565b5b5f612abf84828501612a89565b91505092915050565b5f8115159050919050565b612adc81612ac8565b82525050565b5f602082019050612af55f830184612ad3565b92915050565b5f8060408385031215612b1157612b1061294d565b5b5f612b1e858286016129ce565b9250506020612b2f858286016129ce565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f612b7b82612b39565b612b858185612b43565b9350612b95818560208601612b53565b612b9e81612b61565b840191505092915050565b5f6020820190508181035f830152612bc18184612b71565b905092915050565b5f60208284031215612bde57612bdd61294d565b5b5f612beb848285016129ce565b91505092915050565b5f60208284031215612c0957612c0861294d565b5b5f612c168482850161299b565b91505092915050565b612c2881612974565b82525050565b5f604082019050612c415f830185612c1f565b612c4e6020830184612a20565b9392505050565b5f602082019050612c685f830184612c1f565b92915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612ca882612b61565b810181811067ffffffffffffffff82111715612cc757612cc6612c72565b5b80604052505050565b5f612cd9612944565b9050612ce58282612c9f565b919050565b5f67ffffffffffffffff821115612d0457612d03612c72565b5b602082029050602081019050919050565b5f80fd5b5f612d2b612d2684612cea565b612cd0565b90508083825260208201905060208402830185811115612d4e57612d4d612d15565b5b835b81811015612d775780612d6388826129ce565b845260208401935050602081019050612d50565b5050509392505050565b5f82601f830112612d9557612d94612c6e565b5b8135612da5848260208601612d19565b91505092915050565b5f80fd5b5f67ffffffffffffffff821115612dcc57612dcb612c72565b5b612dd582612b61565b9050602081019050919050565b828183375f83830152505050565b5f612e02612dfd84612db2565b612cd0565b905082815260208101848484011115612e1e57612e1d612dae565b5b612e29848285612de2565b509392505050565b5f82601f830112612e4557612e44612c6e565b5b8135612e55848260208601612df0565b91505092915050565b5f805f805f60a08688031215612e7757612e7661294d565b5b5f612e848882890161299b565b9550506020612e958882890161299b565b945050604086013567ffffffffffffffff811115612eb657612eb5612951565b5b612ec288828901612d81565b935050606086013567ffffffffffffffff811115612ee357612ee2612951565b5b612eef88828901612d81565b925050608086013567ffffffffffffffff811115612f1057612f0f612951565b5b612f1c88828901612e31565b9150509295509295909350565b5f6bffffffffffffffffffffffff82169050919050565b612f4981612f29565b8114612f53575f80fd5b50565b5f81359050612f6481612f40565b92915050565b5f8060408385031215612f8057612f7f61294d565b5b5f612f8d8582860161299b565b9250506020612f9e85828601612f56565b9150509250929050565b5f67ffffffffffffffff821115612fc257612fc1612c72565b5b602082029050602081019050919050565b5f612fe5612fe084612fa8565b612cd0565b9050808382526020820190506020840283018581111561300857613007612d15565b5b835b81811015613031578061301d888261299b565b84526020840193505060208101905061300a565b5050509392505050565b5f82601f83011261304f5761304e612c6e565b5b813561305f848260208601612fd3565b91505092915050565b5f806040838503121561307e5761307d61294d565b5b5f83013567ffffffffffffffff81111561309b5761309a612951565b5b6130a78582860161303b565b925050602083013567ffffffffffffffff8111156130c8576130c7612951565b5b6130d485828601612d81565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613110816129af565b82525050565b5f6131218383613107565b60208301905092915050565b5f602082019050919050565b5f613143826130de565b61314d81856130e8565b9350613158836130f8565b805f5b8381101561318857815161316f8882613116565b975061317a8361312d565b92505060018101905061315b565b5085935050505092915050565b5f6020820190508181035f8301526131ad8184613139565b905092915050565b5f67ffffffffffffffff8211156131cf576131ce612c72565b5b6131d882612b61565b9050602081019050919050565b5f6131f76131f2846131b5565b612cd0565b90508281526020810184848401111561321357613212612dae565b5b61321e848285612de2565b509392505050565b5f82601f83011261323a57613239612c6e565b5b813561324a8482602086016131e5565b91505092915050565b5f80604083850312156132695761326861294d565b5b5f613276858286016129ce565b925050602083013567ffffffffffffffff81111561329757613296612951565b5b6132a385828601613226565b9150509250929050565b6132b681612f29565b82525050565b5f6020820190506132cf5f8301846132ad565b92915050565b6132de81612ac8565b81146132e8575f80fd5b50565b5f813590506132f9816132d5565b92915050565b5f80604083850312156133155761331461294d565b5b5f6133228582860161299b565b9250506020613333858286016132eb565b9150509250929050565b5f602082840312156133525761335161294d565b5b5f61335f848285016132eb565b91505092915050565b5f806040838503121561337e5761337d61294d565b5b5f61338b8582860161299b565b925050602061339c8582860161299b565b9150509250929050565b5f805f805f60a086880312156133bf576133be61294d565b5b5f6133cc8882890161299b565b95505060206133dd8882890161299b565b94505060406133ee888289016129ce565b93505060606133ff888289016129ce565b925050608086013567ffffffffffffffff8111156134205761341f612951565b5b61342c88828901612e31565b9150509295509295909350565b5f6020828403121561344e5761344d61294d565b5b5f82013567ffffffffffffffff81111561346b5761346a612951565b5b61347784828501613226565b91505092915050565b7f496e76616c696420746f6b656e204944000000000000000000000000000000005f82015250565b5f6134b4601083612b43565b91506134bf82613480565b602082019050919050565b5f6020820190508181035f8301526134e1816134a8565b9050919050565b5f6040820190506134fb5f830185612a20565b6135086020830184612a20565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061355357607f821691505b6020821081036135665761356561350f565b5b50919050565b7f546f6b656e20494420646f6573206e6f742065786973740000000000000000005f82015250565b5f6135a0601783612b43565b91506135ab8261356c565b602082019050919050565b5f6020820190508181035f8301526135cd81613594565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81905092915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000005f82015250565b5f61363f601d83613601565b915061364a8261360b565b601d82019050919050565b5f61365f82612b39565b6136698185613601565b9350613679818560208601612b53565b80840191505092915050565b5f61368f82613633565b915061369b8284613655565b915081905092915050565b7f416d6f756e74206d7573742062652067726561746572207468616e20300000005f82015250565b5f6136da601d83612b43565b91506136e5826136a6565b602082019050919050565b5f6020820190508181035f830152613707816136ce565b9050919050565b7f416d6f756e74206d757374206265203120706572206d696e74207472616e73615f8201527f6374696f6e000000000000000000000000000000000000000000000000000000602082015250565b5f613768602583612b43565b91506137738261370e565b604082019050919050565b5f6020820190508181035f8301526137958161375c565b9050919050565b7f4f70656e20746f6b656e206d696e74696e672069732063757272656e746c79205f8201527f64697361626c6564000000000000000000000000000000000000000000000000602082015250565b5f6137f6602883612b43565b91506138018261379c565b604082019050919050565b5f6020820190508181035f830152613823816137ea565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613861826129af565b915061386c836129af565b92508282019050808211156138845761388361382a565b5b92915050565b7f45786365656473206d617820737570706c7920666f72207468697320746f6b655f8201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b5f6138e4602183612b43565b91506138ef8261388a565b604082019050919050565b5f6020820190508181035f830152613911816138d8565b9050919050565b5f613922826129af565b915061392d836129af565b925082820261393b816129af565b915082820484148315176139525761395161382a565b5b5092915050565b7f496e73756666696369656e74207061796d656e740000000000000000000000005f82015250565b5f61398d601483612b43565b915061399882613959565b602082019050919050565b5f6020820190508181035f8301526139ba81613981565b9050919050565b7f496e76616c6964206164647265737300000000000000000000000000000000005f82015250565b5f6139f5600f83612b43565b9150613a00826139c1565b602082019050919050565b5f6020820190508181035f830152613a22816139e9565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f613a60826129af565b9150613a6b836129af565b925082613a7b57613a7a613a29565b5b828204905092915050565b5f604082019050613a995f830185612c1f565b613aa66020830184612c1f565b9392505050565b7f496e76616c696420726f79616c747920726563697069656e74000000000000005f82015250565b5f613ae1601983612b43565b9150613aec82613aad565b602082019050919050565b5f6020820190508181035f830152613b0e81613ad5565b9050919050565b7f526f79616c74792070657263656e7461676520746f6f206869676800000000005f82015250565b5f613b49601b83612b43565b9150613b5482613b15565b602082019050919050565b5f6020820190508181035f830152613b7681613b3d565b9050919050565b5f604082019050613b905f830185612c1f565b613b9d60208301846132ad565b9392505050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302613c007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613bc5565b613c0a8683613bc5565b95508019841693508086168417925050509392505050565b5f819050919050565b5f613c45613c40613c3b846129af565b613c22565b6129af565b9050919050565b5f819050919050565b613c5e83613c2b565b613c72613c6a82613c4c565b848454613bd1565b825550505050565b5f90565b613c86613c7a565b613c91818484613c55565b505050565b5b81811015613cb457613ca95f82613c7e565b600181019050613c97565b5050565b601f821115613cf957613cca81613ba4565b613cd384613bb6565b81016020851015613ce2578190505b613cf6613cee85613bb6565b830182613c96565b50505b505050565b5f82821c905092915050565b5f613d195f1984600802613cfe565b1980831691505092915050565b5f613d318383613d0a565b9150826002028217905092915050565b613d4a82612b39565b67ffffffffffffffff811115613d6357613d62612c72565b5b613d6d825461353c565b613d78828285613cb8565b5f60209050601f831160018114613da9575f8415613d97578287015190505b613da18582613d26565b865550613e08565b601f198416613db786613ba4565b5f5b82811015613dde57848901518255600182019150602085019450602081019050613db9565b86831015613dfb5784890151613df7601f891682613d0a565b8355505b6001600288020188555050505b505050505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f613e44601f83612b43565b9150613e4f82613e10565b602082019050919050565b5f6020820190508181035f830152613e7181613e38565b9050919050565b5f608082019050613e8b5f830187612c1f565b613e986020830186612a20565b613ea56040830185612a20565b613eb26060830184612a20565b95945050505050565b5f6040820190508181035f830152613ed38185613139565b90508181036020830152613ee78184613139565b90509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f613f1482613ef0565b613f1e8185613efa565b9350613f2e818560208601612b53565b613f3781612b61565b840191505092915050565b5f60a082019050613f555f830188612c1f565b613f626020830187612c1f565b613f6f6040830186612a20565b613f7c6060830185612a20565b8181036080830152613f8e8184613f0a565b90509695505050505050565b5f81519050613fa881612a73565b92915050565b5f60208284031215613fc357613fc261294d565b5b5f613fd084828501613f9a565b91505092915050565b5f60a082019050613fec5f830188612c1f565b613ff96020830187612c1f565b818103604083015261400b8186613139565b9050818103606083015261401f8185613139565b905081810360808301526140338184613f0a565b9050969550505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220e75da4091595a711e92d26414104f3e2015002e9e32dc98958eed183a34ea7cd64736f6c634300081a0033

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.