ETH Price: $3,760.26 (-0.12%)
Gas: 5 Gwei

Contract

0x0f689C9A84B9541CEED15693BDfD1419C2e9dC72
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Approval For...199288552024-05-22 23:58:476 hrs ago1716422327IN
0x0f689C9A...9C2e9dC72
0 ETH0.000310366.67702348
Set Approval For...199262542024-05-22 15:16:2315 hrs ago1716390983IN
0x0f689C9A...9C2e9dC72
0 ETH0.0008616318.53656003
Set Approval For...199261502024-05-22 14:55:2315 hrs ago1716389723IN
0x0f689C9A...9C2e9dC72
0 ETH0.0008213217.66939385
Safe Transfer Fr...199216592024-05-21 23:47:2330 hrs ago1716335243IN
0x0f689C9A...9C2e9dC72
0 ETH0.000443058.50369455
Set Approval For...199213432024-05-21 22:43:5931 hrs ago1716331439IN
0x0f689C9A...9C2e9dC72
0 ETH0.000373188.02847404
Set Approval For...199211132024-05-21 21:57:3532 hrs ago1716328655IN
0x0f689C9A...9C2e9dC72
0 ETH0.000349127.51080808
Set Approval For...199208652024-05-21 21:07:5933 hrs ago1716325679IN
0x0f689C9A...9C2e9dC72
0 ETH0.0002960612.04945869
Set Approval For...199163322024-05-21 5:55:472 days ago1716270947IN
0x0f689C9A...9C2e9dC72
0 ETH0.0004684310.07747926
Set Approval For...199147422024-05-21 0:35:592 days ago1716251759IN
0x0f689C9A...9C2e9dC72
0 ETH0.0006648914.2819134
Set Approval For...199136132024-05-20 20:48:232 days ago1716238103IN
0x0f689C9A...9C2e9dC72
0 ETH0.0030796466.25316937
Set Approval For...199134622024-05-20 20:18:112 days ago1716236291IN
0x0f689C9A...9C2e9dC72
0 ETH0.0025178454.16701554
Set Approval For...199085522024-05-20 3:47:473 days ago1716176867IN
0x0f689C9A...9C2e9dC72
0 ETH0.000132212.84438183
Set Approval For...199073192024-05-19 23:39:473 days ago1716161987IN
0x0f689C9A...9C2e9dC72
0 ETH0.000134432.89213264
Set Approval For...199057972024-05-19 18:33:593 days ago1716143639IN
0x0f689C9A...9C2e9dC72
0 ETH0.000139833.00826323
Safe Transfer Fr...199025722024-05-19 7:43:593 days ago1716104639IN
0x0f689C9A...9C2e9dC72
0 ETH0.000128513.22382931
Set Approval For...199012452024-05-19 3:16:474 days ago1716088607IN
0x0f689C9A...9C2e9dC72
0 ETH0.000140393.02041574
Set Approval For...199006522024-05-19 1:17:354 days ago1716081455IN
0x0f689C9A...9C2e9dC72
0 ETH0.000161653.47765112
Set Approval For...199003082024-05-19 0:08:234 days ago1716077303IN
0x0f689C9A...9C2e9dC72
0 ETH0.000134912.9024655
Set Approval For...198995722024-05-18 21:40:234 days ago1716068423IN
0x0f689C9A...9C2e9dC72
0 ETH0.000176863.80494121
Set Approval For...198977892024-05-18 15:41:594 days ago1716046919IN
0x0f689C9A...9C2e9dC72
0 ETH0.000170373.66526824
Set Approval For...198976242024-05-18 15:07:594 days ago1716044879IN
0x0f689C9A...9C2e9dC72
0 ETH0.000205164.4137885
Set Approval For...198975552024-05-18 14:54:114 days ago1716044051IN
0x0f689C9A...9C2e9dC72
0 ETH0.000231724.98509822
Set Approval For...198973202024-05-18 14:07:114 days ago1716041231IN
0x0f689C9A...9C2e9dC72
0 ETH0.000174313.75008662
Set Approval For...198944072024-05-18 4:18:595 days ago1716005939IN
0x0f689C9A...9C2e9dC72
0 ETH0.000201324.33120503
Safe Transfer Fr...198856412024-05-16 22:52:476 days ago1715899967IN
0x0f689C9A...9C2e9dC72
0 ETH0.000169353.25060443
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MerryKekmas2023

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : coal.sol
//   __  __                         _____ _          _     _                       
//  |  \/  |                       / ____| |        (_)   | |                      
//  | \  / | ___ _ __ _ __ _   _  | |    | |__  _ __ _ ___| |_ _ __ ___   __ _ ___ 
//  | |\/| |/ _ \ '__| '__| | | | | |    | '_ \| '__| / __| __| '_ ` _ \ / _` / __|
//  | |  | |  __/ |  | |  | |_| | | |____| | | | |  | \__ \ |_| | | | | | (_| \__ \
//  |_|  |_|\___|_|  |_|   \__, |  \_____|_| |_|_|  |_|___/\__|_| |_| |_|\__,_|___/
//   ______                 __/ |____                 _____      _                 
//  |  ____|               |___/  __ \               / ____|    (_)                
//  | |__ _ __ ___  _ __ ___   | |__) |__ _ __   ___| |     ___  _ _ __            
//  |  __| '__/ _ \| '_ ` _ \  |  ___/ _ \ '_ \ / _ \ |    / _ \| | '_ \           
//  | |  | | | (_) | | | | | | | |  |  __/ |_) |  __/ |___| (_) | | | | |          
//  |_|  |_|  \___/|_| |_| |_| |_|   \___| .__/ \___|\_____\___/|_|_| |_|          
//                                       | |                                       
//                                       |_|                                       

// A lump of pepe coal with red lips. Congrats.

// SPDX-License-Identifier: Frensware

pragma solidity ^0.8.20;

 import {ERC1155} from "@rari-capital/solmate/src/tokens/ERC1155.sol";
  import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
   import {Pausable} from "@openzeppelin/contracts/security/Pausable.sol";
    import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
     import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";

contract MerryKekmas2023 is ERC1155, Ownable, Pausable {
    
    string private contractMetadataURI;
    string private _name;
     string private _symbol;
      string private baseURI;
       uint256 public constant tokenID = 2;
        uint256 public constant TOTAL_SUPPLY = 2000;
         uint256 public constant INITIAL_DEV_AMOUNT = 69;
          bytes32 public merkleRoot;

    mapping(uint256 => string) private tokenURIs;
    mapping(uint256 => uint256) public maxSupply;
    mapping(uint256 => uint256) public totalSupply;
    mapping(address => bool) private _hasClaimed;

    event CoalClaimed(address indexed account, uint256 indexed id, uint256 amount);
    event CoalBurned(address indexed account, uint256 indexed id, uint256 amount);


    constructor(string memory name_, string memory symbol_, address initialOwner)
        ERC1155()
        Ownable()
    {
        _name = name_;
        _symbol = symbol_;
        _mint(msg.sender, tokenID, INITIAL_DEV_AMOUNT, "");
        totalSupply[tokenID] += INITIAL_DEV_AMOUNT;
            transferOwnership(initialOwner); 
    }


    function claim(bytes32[] calldata merkleProof)
         external {
        require(!_hasClaimed[msg.sender], "NFT already claimed by this address");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(merkleProof, merkleRoot, leaf), "Invalid proof");

        _hasClaimed[msg.sender] = true;
        _mint(msg.sender, tokenID, 1, "");
    }


    function setBaseURI(string memory newBaseURI)
        public onlyOwner {
    baseURI = newBaseURI;
    }


   function uri(uint256 id)
    public view virtual override returns (string memory) {
    require(id == tokenID, "Token ID does not exist");
    return string(abi.encodePacked(baseURI, Strings.toString(id), ".json"));
}

    function contractURI() public view returns (string memory) {
        return contractMetadataURI;
    }

    function setContractURI(string memory newContractURI) public onlyOwner {
        contractMetadataURI = newContractURI;
    }

    function isEligibleForClaim(address user, bytes32[] calldata merkleProof)
         external view returns (bool) {
        if (_hasClaimed[user]) {
            return false; //has already claimed
        }

        //compute leaf node and verify the proof
        bytes32 leaf = keccak256(abi.encodePacked(user));
        return MerkleProof.verify(merkleProof, merkleRoot, leaf);
    }


    function setApprovalForAll(address operator, bool approved)
       public virtual override {
    isApprovedForAll[msg.sender][operator] = approved;

    emit ApprovalForAll(msg.sender, operator, approved);
    }
 

    function supportsInterface(bytes4 interfaceId)
         override public view virtual returns (bool) {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0xd9b67a26 || // ERC165 Interface ID for ERC1155
            interfaceId == 0x0e89341c; // ERC165 Interface ID for ERC1155MetadataURI
    }


    function burn(address account, uint256 id, uint256 amount)
          public {
        require(account == msg.sender || isApprovedForAll[account][msg.sender], "Caller is not owner nor approved");
        require(balanceOf[account][id] >= amount, "Burn amount exceeds balance");

        balanceOf[account][id] -= amount;
        totalSupply[id] -= amount;

        emit TransferSingle(msg.sender, account, address(0), id, amount);
    }
   
    function setMerkleRoot(bytes32 _merkleRoot)
         external onlyOwner {
    merkleRoot = _merkleRoot;
    }

    function circuitBreaker()
        public onlyOwner {
        _pause();
    }

    function name()
        public view returns (string memory) {
        return _name;
    }

    function symbol()
        public view returns (string memory) {
        return _symbol;
    }

}

File 3 of 9 : 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 4 of 9 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.20;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the Merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates Merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     *@dev The multiproof provided is not valid.
     */
    error MerkleProofInvalidMultiproof();

    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     */
    function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the Merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the Merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Sorts the pair (a, b) and hashes the result.
     */
    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    /**
     * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory.
     */
    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 5 of 9 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 6 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev 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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 7 of 9 : ERC1155.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Minimalist and gas efficient standard ERC1155 implementation.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC1155.sol)
abstract contract ERC1155 {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event TransferSingle(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256 id,
        uint256 amount
    );

    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] amounts
    );

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    event URI(string value, uint256 indexed id);

    /*//////////////////////////////////////////////////////////////
                             ERC1155 STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(address => mapping(uint256 => uint256)) public balanceOf;

    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /*//////////////////////////////////////////////////////////////
                             METADATA LOGIC
    //////////////////////////////////////////////////////////////*/

    function uri(uint256 id) public view virtual returns (string memory);

    /*//////////////////////////////////////////////////////////////
                              ERC1155 LOGIC
    //////////////////////////////////////////////////////////////*/

    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) public virtual {
        require(msg.sender == from || isApprovedForAll[from][msg.sender], "NOT_AUTHORIZED");

        balanceOf[from][id] -= amount;
        balanceOf[to][id] += amount;

        emit TransferSingle(msg.sender, from, to, id, amount);

        require(
            to.code.length == 0
                ? to != address(0)
                : ERC1155TokenReceiver(to).onERC1155Received(msg.sender, from, id, amount, data) ==
                    ERC1155TokenReceiver.onERC1155Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) public virtual {
        require(ids.length == amounts.length, "LENGTH_MISMATCH");

        require(msg.sender == from || isApprovedForAll[from][msg.sender], "NOT_AUTHORIZED");

        // Storing these outside the loop saves ~15 gas per iteration.
        uint256 id;
        uint256 amount;

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

            balanceOf[from][id] -= amount;
            balanceOf[to][id] += amount;

            // An array can't have a total length
            // larger than the max uint256 value.
            unchecked {
                ++i;
            }
        }

        emit TransferBatch(msg.sender, from, to, ids, amounts);

        require(
            to.code.length == 0
                ? to != address(0)
                : ERC1155TokenReceiver(to).onERC1155BatchReceived(msg.sender, from, ids, amounts, data) ==
                    ERC1155TokenReceiver.onERC1155BatchReceived.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function balanceOfBatch(address[] calldata owners, uint256[] calldata ids)
        public
        view
        virtual
        returns (uint256[] memory balances)
    {
        require(owners.length == ids.length, "LENGTH_MISMATCH");

        balances = new uint256[](owners.length);

        // Unchecked because the only math done is incrementing
        // the array index counter which cannot possibly overflow.
        unchecked {
            for (uint256 i = 0; i < owners.length; ++i) {
                balances[i] = balanceOf[owners[i]][ids[i]];
            }
        }
    }

    /*//////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0xd9b67a26 || // ERC165 Interface ID for ERC1155
            interfaceId == 0x0e89341c; // ERC165 Interface ID for ERC1155MetadataURI
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        balanceOf[to][id] += amount;

        emit TransferSingle(msg.sender, address(0), to, id, amount);

        require(
            to.code.length == 0
                ? to != address(0)
                : ERC1155TokenReceiver(to).onERC1155Received(msg.sender, address(0), id, amount, data) ==
                    ERC1155TokenReceiver.onERC1155Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _batchMint(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        uint256 idsLength = ids.length; // Saves MLOADs.

        require(idsLength == amounts.length, "LENGTH_MISMATCH");

        for (uint256 i = 0; i < idsLength; ) {
            balanceOf[to][ids[i]] += amounts[i];

            // An array can't have a total length
            // larger than the max uint256 value.
            unchecked {
                ++i;
            }
        }

        emit TransferBatch(msg.sender, address(0), to, ids, amounts);

        require(
            to.code.length == 0
                ? to != address(0)
                : ERC1155TokenReceiver(to).onERC1155BatchReceived(msg.sender, address(0), ids, amounts, data) ==
                    ERC1155TokenReceiver.onERC1155BatchReceived.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _batchBurn(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        uint256 idsLength = ids.length; // Saves MLOADs.

        require(idsLength == amounts.length, "LENGTH_MISMATCH");

        for (uint256 i = 0; i < idsLength; ) {
            balanceOf[from][ids[i]] -= amounts[i];

            // An array can't have a total length
            // larger than the max uint256 value.
            unchecked {
                ++i;
            }
        }

        emit TransferBatch(msg.sender, from, address(0), ids, amounts);
    }

    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        balanceOf[from][id] -= amount;

        emit TransferSingle(msg.sender, from, address(0), id, amount);
    }
}

/// @notice A generic interface for a contract which properly accepts ERC1155 tokens.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC1155.sol)
abstract contract ERC1155TokenReceiver {
    function onERC1155Received(
        address,
        address,
        uint256,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC1155TokenReceiver.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(
        address,
        address,
        uint256[] calldata,
        uint256[] calldata,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC1155TokenReceiver.onERC1155BatchReceived.selector;
    }
}

File 8 of 9 : 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 9 : 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 9 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"CoalBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"CoalClaimed","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":"account","type":"address"}],"name":"Paused","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":"amounts","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":"amount","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"INITIAL_DEV_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"owners","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"balances","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"circuitBreaker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"isEligibleForClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","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":"amount","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalSupply","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":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

608060405234801562000010575f80fd5b506040516200462238038062004622833981810160405281019062000036919062000749565b620000566200004a620000fd60201b60201c565b6200010460201b60201c565b5f600260146101000a81548160ff021916908315150217905550826004908162000081919062000a17565b50816005908162000093919062000a17565b50620000b8336002604560405180602001604052805f815250620001c760201b60201c565b6045600a5f600281526020019081526020015f205f828254620000dc919062000b28565b92505081905550620000f4816200041560201b60201c565b50505062000e75565b5f33905090565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b815f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8581526020019081526020015f205f82825462000223919062000b28565b925050819055508373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628686604051620002a292919062000b73565b60405180910390a45f8473ffffffffffffffffffffffffffffffffffffffff163b146200039c5763f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663f23a6e61335f8787876040518663ffffffff1660e01b81526004016200033395949392919062000c09565b6020604051808303815f875af115801562000350573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000376919062000cc5565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614620003cd565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b6200040f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004069062000d53565b60405180910390fd5b50505050565b62000425620004aa60201b60201c565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000496576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200048d9062000de7565b60405180910390fd5b620004a7816200010460201b60201c565b50565b620004ba620000fd60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620004e06200053b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000539576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005309062000e55565b60405180910390fd5b565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620005c4826200057c565b810181811067ffffffffffffffff82111715620005e657620005e56200058c565b5b80604052505050565b5f620005fa62000563565b9050620006088282620005b9565b919050565b5f67ffffffffffffffff8211156200062a57620006296200058c565b5b62000635826200057c565b9050602081019050919050565b5f5b838110156200066157808201518184015260208101905062000644565b5f8484015250505050565b5f620006826200067c846200060d565b620005ef565b905082815260208101848484011115620006a157620006a062000578565b5b620006ae84828562000642565b509392505050565b5f82601f830112620006cd57620006cc62000574565b5b8151620006df8482602086016200066c565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200071382620006e8565b9050919050565b620007258162000707565b811462000730575f80fd5b50565b5f8151905062000743816200071a565b92915050565b5f805f606084860312156200076357620007626200056c565b5b5f84015167ffffffffffffffff81111562000783576200078262000570565b5b6200079186828701620006b6565b935050602084015167ffffffffffffffff811115620007b557620007b462000570565b5b620007c386828701620006b6565b9250506040620007d68682870162000733565b9150509250925092565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200082f57607f821691505b602082108103620008455762000844620007ea565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620008a97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200086c565b620008b586836200086c565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620008ff620008f9620008f384620008cd565b620008d6565b620008cd565b9050919050565b5f819050919050565b6200091a83620008df565b62000932620009298262000906565b84845462000878565b825550505050565b5f90565b620009486200093a565b620009558184846200090f565b505050565b5b818110156200097c57620009705f826200093e565b6001810190506200095b565b5050565b601f821115620009cb5762000995816200084b565b620009a0846200085d565b81016020851015620009b0578190505b620009c8620009bf856200085d565b8301826200095a565b50505b505050565b5f82821c905092915050565b5f620009ed5f1984600802620009d0565b1980831691505092915050565b5f62000a078383620009dc565b9150826002028217905092915050565b62000a2282620007e0565b67ffffffffffffffff81111562000a3e5762000a3d6200058c565b5b62000a4a825462000817565b62000a5782828562000980565b5f60209050601f83116001811462000a8d575f841562000a78578287015190505b62000a848582620009fa565b86555062000af3565b601f19841662000a9d866200084b565b5f5b8281101562000ac65784890151825560018201915060208501945060208101905062000a9f565b8683101562000ae6578489015162000ae2601f891682620009dc565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f62000b3482620008cd565b915062000b4183620008cd565b925082820190508082111562000b5c5762000b5b62000afb565b5b92915050565b62000b6d81620008cd565b82525050565b5f60408201905062000b885f83018562000b62565b62000b97602083018462000b62565b9392505050565b62000ba98162000707565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f62000bd58262000baf565b62000be1818562000bb9565b935062000bf381856020860162000642565b62000bfe816200057c565b840191505092915050565b5f60a08201905062000c1e5f83018862000b9e565b62000c2d602083018762000b9e565b62000c3c604083018662000b62565b62000c4b606083018562000b62565b818103608083015262000c5f818462000bc9565b90509695505050505050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62000ca18162000c6b565b811462000cac575f80fd5b50565b5f8151905062000cbf8162000c96565b92915050565b5f6020828403121562000cdd5762000cdc6200056c565b5b5f62000cec8482850162000caf565b91505092915050565b5f82825260208201905092915050565b7f554e534146455f524543495049454e54000000000000000000000000000000005f82015250565b5f62000d3b60108362000cf5565b915062000d488262000d05565b602082019050919050565b5f6020820190508181035f83015262000d6c8162000d2d565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f62000dcf60268362000cf5565b915062000ddc8262000d73565b604082019050919050565b5f6020820190508181035f83015262000e008162000dc1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f62000e3d60208362000cf5565b915062000e4a8262000e07565b602082019050919050565b5f6020820190508181035f83015262000e6e8162000e2f565b9050919050565b61379f8062000e835f395ff3fe608060405234801561000f575f80fd5b50600436106101c1575f3560e01c80638da5cb5b116100f7578063bd85b03911610095578063f242432a1161006f578063f242432a146104f1578063f2fde38b1461050d578063f5298aca14610529578063ff84d64414610545576101c1565b8063bd85b03914610473578063e8a3d485146104a3578063e985e9c5146104c1576101c1565b806395d89b41116100d157806395d89b41146103ff578063a22cb4651461041d578063a5c42ef114610439578063b391c50814610457576101c1565b80638da5cb5b146103a7578063902d55a5146103c5578063938e3d7b146103e3576101c1565b80634cb616a0116101645780635c975abb1161013e5780635c975abb14610333578063715018a6146103515780637cb647591461035b578063869f759414610377576101c1565b80634cb616a0146102b75780634e1273f4146102e757806355f804b314610317576101c1565b80630e89341c116101a05780630e89341c1461024357806316efd941146102735780632eb2c2d61461027d5780632eb4a7ab14610299576101c1565b8062fdd58e146101c557806301ffc9a7146101f557806306fdde0314610225575b5f80fd5b6101df60048036038101906101da91906120c5565b610563565b6040516101ec9190612112565b60405180910390f35b61020f600480360381019061020a9190612180565b610582565b60405161021c91906121c5565b60405180910390f35b61022d610613565b60405161023a9190612268565b60405180910390f35b61025d60048036038101906102589190612288565b6106a3565b60405161026a9190612268565b60405180910390f35b61027b61071a565b005b61029760048036038101906102929190612369565b61072c565b005b6102a1610b72565b6040516102ae9190612458565b60405180910390f35b6102d160048036038101906102cc91906124c6565b610b78565b6040516102de91906121c5565b60405180910390f35b61030160048036038101906102fc9190612578565b610c52565b60405161030e91906126ad565b60405180910390f35b610331600480360381019061032c91906127f5565b610db6565b005b61033b610dd1565b60405161034891906121c5565b60405180910390f35b610359610de7565b005b61037560048036038101906103709190612866565b610dfa565b005b610391600480360381019061038c9190612288565b610e0c565b60405161039e9190612112565b60405180910390f35b6103af610e21565b6040516103bc91906128a0565b60405180910390f35b6103cd610e49565b6040516103da9190612112565b60405180910390f35b6103fd60048036038101906103f891906127f5565b610e4f565b005b610407610e6a565b6040516104149190612268565b60405180910390f35b610437600480360381019061043291906128e3565b610efa565b005b610441610ff2565b60405161044e9190612112565b60405180910390f35b610471600480360381019061046c9190612921565b610ff7565b005b61048d60048036038101906104889190612288565b6111ad565b60405161049a9190612112565b60405180910390f35b6104ab6111c2565b6040516104b89190612268565b60405180910390f35b6104db60048036038101906104d6919061296c565b611252565b6040516104e891906121c5565b60405180910390f35b61050b600480360381019061050691906129aa565b61127c565b005b61052760048036038101906105229190612a40565b61161b565b005b610543600480360381019061053e9190612a6b565b61169d565b005b61054d611930565b60405161055a9190612112565b60405180910390f35b5f602052815f5260405f20602052805f5260405f205f91509150505481565b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105dc575063d9b67a2660e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061060c5750630e89341c60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606004805461062290612ae8565b80601f016020809104026020016040519081016040528092919081815260200182805461064e90612ae8565b80156106995780601f1061067057610100808354040283529160200191610699565b820191905f5260205f20905b81548152906001019060200180831161067c57829003601f168201915b5050505050905090565b6060600282146106e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106df90612b62565b60405180910390fd5b60066106f383611935565b604051602001610704929190612c96565b6040516020818303038152906040529050919050565b6107226119ff565b61072a611a7d565b565b838390508686905014610774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076b90612d0e565b60405180910390fd5b8773ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061082f575060015f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b61086e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086590612d76565b60405180910390fd5b5f805f5b88889050811015610982578888828181106108905761088f612d94565b5b9050602002013592508686828181106108ac576108ab612d94565b5b905060200201359150815f808d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8581526020019081526020015f205f82825461090f9190612dee565b92505081905550815f808c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8581526020019081526020015f205f8282546109709190612e21565b92505081905550806001019050610872565b508873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8b8b8b8b6040516109fd9493929190612ebc565b60405180910390a45f8973ffffffffffffffffffffffffffffffffffffffff163b14610af65763bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168973ffffffffffffffffffffffffffffffffffffffff1663bc197c81338d8c8c8c8c8c8c6040518963ffffffff1660e01b8152600401610a91989796959493929190612f31565b6020604051808303815f875af1158015610aad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad19190612fb1565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614610b27565b5f73ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614155b610b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5d90613026565b60405180910390fd5b50505050505050505050565b60075481565b5f600b5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615610bd0575f9050610c4b565b5f84604051602001610be29190613089565b604051602081830303815290604052805190602001209050610c478484808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f8201169050808301925050505050505060075483611ae0565b9150505b9392505050565b6060828290508585905014610c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9390612d0e565b60405180910390fd5b8484905067ffffffffffffffff811115610cb957610cb86126d1565b5b604051908082528060200260200182016040528015610ce75781602001602082028036833780820191505090505b5090505f5b85859050811015610dad575f80878784818110610d0c57610d0b612d94565b5b9050602002016020810190610d219190612a40565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f858584818110610d6e57610d6d612d94565b5b9050602002013581526020019081526020015f2054828281518110610d9657610d95612d94565b5b602002602001018181525050806001019050610cec565b50949350505050565b610dbe6119ff565b8060069081610dcd919061322e565b5050565b5f600260149054906101000a900460ff16905090565b610def6119ff565b610df85f611af6565b565b610e026119ff565b8060078190555050565b6009602052805f5260405f205f915090505481565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6107d081565b610e576119ff565b8060039081610e66919061322e565b5050565b606060058054610e7990612ae8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea590612ae8565b8015610ef05780601f10610ec757610100808354040283529160200191610ef0565b820191905f5260205f20905b815481529060010190602001808311610ed357829003601f168201915b5050505050905090565b8060015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610fe691906121c5565b60405180910390a35050565b600281565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611081576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110789061336d565b60405180910390fd5b5f336040516020016110939190613089565b6040516020818303038152906040528051906020012090506110f88383808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f8201169050808301925050505050505060075483611ae0565b611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e906133d5565b60405180910390fd5b6001600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506111a8336002600160405180602001604052805f815250611bb9565b505050565b600a602052805f5260405f205f915090505481565b6060600380546111d190612ae8565b80601f01602080910402602001604051908101604052809291908181526020018280546111fd90612ae8565b80156112485780601f1061121f57610100808354040283529160200191611248565b820191905f5260205f20905b81548152906001019060200180831161122b57829003601f168201915b5050505050905090565b6001602052815f5260405f20602052805f5260405f205f915091509054906101000a900460ff1681565b8573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611337575060015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d90612d76565b60405180910390fd5b825f808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8681526020019081526020015f205f8282546113d09190612dee565b92505081905550825f808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8681526020019081526020015f205f8282546114319190612e21565b925050819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516114ae9291906133f3565b60405180910390a45f8573ffffffffffffffffffffffffffffffffffffffff163b146115a35763f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168573ffffffffffffffffffffffffffffffffffffffff1663f23a6e613389888888886040518763ffffffff1660e01b815260040161153e9695949392919061341a565b6020604051808303815f875af115801561155a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157e9190612fb1565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146115d4565b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b611613576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160a90613026565b60405180910390fd5b505050505050565b6116236119ff565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611691576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611688906134e4565b60405180910390fd5b61169a81611af6565b50565b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611758575060015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178e9061354c565b60405180910390fd5b805f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8481526020019081526020015f20541015611825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181c906135b4565b60405180910390fd5b805f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8481526020019081526020015f205f82825461187f9190612dee565b9250508190555080600a5f8481526020019081526020015f205f8282546118a69190612dee565b925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6285856040516119239291906133f3565b60405180910390a4505050565b604581565b60605f600161194384611df9565b0190505f8167ffffffffffffffff811115611961576119606126d1565b5b6040519080825280601f01601f1916602001820160405280156119935781602001600182028036833780820191505090505b5090505f82602001820190505b6001156119f4578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816119e9576119e86135d2565b5b0494505f85036119a0575b819350505050919050565b611a07611f4a565b73ffffffffffffffffffffffffffffffffffffffff16611a25610e21565b73ffffffffffffffffffffffffffffffffffffffff1614611a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7290613649565b60405180910390fd5b565b611a85611f51565b6001600260146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ac9611f4a565b604051611ad691906128a0565b60405180910390a1565b5f82611aec8584611f9b565b1490509392505050565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b815f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8581526020019081526020015f205f828254611c139190612e21565b925050819055508373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628686604051611c909291906133f3565b60405180910390a45f8473ffffffffffffffffffffffffffffffffffffffff163b14611d835763f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663f23a6e61335f8787876040518663ffffffff1660e01b8152600401611d1e9594939291906136a9565b6020604051808303815f875af1158015611d3a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5e9190612fb1565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611db4565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b611df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dea90613026565b60405180910390fd5b50505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611e55577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611e4b57611e4a6135d2565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611e92576d04ee2d6d415b85acef81000000008381611e8857611e876135d2565b5b0492506020810190505b662386f26fc100008310611ec157662386f26fc100008381611eb757611eb66135d2565b5b0492506010810190505b6305f5e1008310611eea576305f5e1008381611ee057611edf6135d2565b5b0492506008810190505b6127108310611f0f576127108381611f0557611f046135d2565b5b0492506004810190505b60648310611f325760648381611f2857611f276135d2565b5b0492506002810190505b600a8310611f41576001810190505b80915050919050565b5f33905090565b611f59610dd1565b15611f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f909061374b565b60405180910390fd5b565b5f808290505f5b8451811015611fde57611fcf82868381518110611fc257611fc1612d94565b5b6020026020010151611fe9565b91508080600101915050611fa2565b508091505092915050565b5f81831061200057611ffb8284612013565b61200b565b61200a8383612013565b5b905092915050565b5f825f528160205260405f20905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61206182612038565b9050919050565b61207181612057565b811461207b575f80fd5b50565b5f8135905061208c81612068565b92915050565b5f819050919050565b6120a481612092565b81146120ae575f80fd5b50565b5f813590506120bf8161209b565b92915050565b5f80604083850312156120db576120da612030565b5b5f6120e88582860161207e565b92505060206120f9858286016120b1565b9150509250929050565b61210c81612092565b82525050565b5f6020820190506121255f830184612103565b92915050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61215f8161212b565b8114612169575f80fd5b50565b5f8135905061217a81612156565b92915050565b5f6020828403121561219557612194612030565b5b5f6121a28482850161216c565b91505092915050565b5f8115159050919050565b6121bf816121ab565b82525050565b5f6020820190506121d85f8301846121b6565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156122155780820151818401526020810190506121fa565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61223a826121de565b61224481856121e8565b93506122548185602086016121f8565b61225d81612220565b840191505092915050565b5f6020820190508181035f8301526122808184612230565b905092915050565b5f6020828403121561229d5761229c612030565b5b5f6122aa848285016120b1565b91505092915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126122d4576122d36122b3565b5b8235905067ffffffffffffffff8111156122f1576122f06122b7565b5b60208301915083602082028301111561230d5761230c6122bb565b5b9250929050565b5f8083601f840112612329576123286122b3565b5b8235905067ffffffffffffffff811115612346576123456122b7565b5b602083019150836001820283011115612362576123616122bb565b5b9250929050565b5f805f805f805f8060a0898b03121561238557612384612030565b5b5f6123928b828c0161207e565b98505060206123a38b828c0161207e565b975050604089013567ffffffffffffffff8111156123c4576123c3612034565b5b6123d08b828c016122bf565b9650965050606089013567ffffffffffffffff8111156123f3576123f2612034565b5b6123ff8b828c016122bf565b9450945050608089013567ffffffffffffffff81111561242257612421612034565b5b61242e8b828c01612314565b92509250509295985092959890939650565b5f819050919050565b61245281612440565b82525050565b5f60208201905061246b5f830184612449565b92915050565b5f8083601f840112612486576124856122b3565b5b8235905067ffffffffffffffff8111156124a3576124a26122b7565b5b6020830191508360208202830111156124bf576124be6122bb565b5b9250929050565b5f805f604084860312156124dd576124dc612030565b5b5f6124ea8682870161207e565b935050602084013567ffffffffffffffff81111561250b5761250a612034565b5b61251786828701612471565b92509250509250925092565b5f8083601f840112612538576125376122b3565b5b8235905067ffffffffffffffff811115612555576125546122b7565b5b602083019150836020820283011115612571576125706122bb565b5b9250929050565b5f805f80604085870312156125905761258f612030565b5b5f85013567ffffffffffffffff8111156125ad576125ac612034565b5b6125b987828801612523565b9450945050602085013567ffffffffffffffff8111156125dc576125db612034565b5b6125e8878288016122bf565b925092505092959194509250565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b61262881612092565b82525050565b5f612639838361261f565b60208301905092915050565b5f602082019050919050565b5f61265b826125f6565b6126658185612600565b935061267083612610565b805f5b838110156126a0578151612687888261262e565b975061269283612645565b925050600181019050612673565b5085935050505092915050565b5f6020820190508181035f8301526126c58184612651565b905092915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61270782612220565b810181811067ffffffffffffffff82111715612726576127256126d1565b5b80604052505050565b5f612738612027565b905061274482826126fe565b919050565b5f67ffffffffffffffff821115612763576127626126d1565b5b61276c82612220565b9050602081019050919050565b828183375f83830152505050565b5f61279961279484612749565b61272f565b9050828152602081018484840111156127b5576127b46126cd565b5b6127c0848285612779565b509392505050565b5f82601f8301126127dc576127db6122b3565b5b81356127ec848260208601612787565b91505092915050565b5f6020828403121561280a57612809612030565b5b5f82013567ffffffffffffffff81111561282757612826612034565b5b612833848285016127c8565b91505092915050565b61284581612440565b811461284f575f80fd5b50565b5f813590506128608161283c565b92915050565b5f6020828403121561287b5761287a612030565b5b5f61288884828501612852565b91505092915050565b61289a81612057565b82525050565b5f6020820190506128b35f830184612891565b92915050565b6128c2816121ab565b81146128cc575f80fd5b50565b5f813590506128dd816128b9565b92915050565b5f80604083850312156128f9576128f8612030565b5b5f6129068582860161207e565b9250506020612917858286016128cf565b9150509250929050565b5f806020838503121561293757612936612030565b5b5f83013567ffffffffffffffff81111561295457612953612034565b5b61296085828601612471565b92509250509250929050565b5f806040838503121561298257612981612030565b5b5f61298f8582860161207e565b92505060206129a08582860161207e565b9150509250929050565b5f805f805f8060a087890312156129c4576129c3612030565b5b5f6129d189828a0161207e565b96505060206129e289828a0161207e565b95505060406129f389828a016120b1565b9450506060612a0489828a016120b1565b935050608087013567ffffffffffffffff811115612a2557612a24612034565b5b612a3189828a01612314565b92509250509295509295509295565b5f60208284031215612a5557612a54612030565b5b5f612a628482850161207e565b91505092915050565b5f805f60608486031215612a8257612a81612030565b5b5f612a8f8682870161207e565b9350506020612aa0868287016120b1565b9250506040612ab1868287016120b1565b9150509250925092565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612aff57607f821691505b602082108103612b1257612b11612abb565b5b50919050565b7f546f6b656e20494420646f6573206e6f742065786973740000000000000000005f82015250565b5f612b4c6017836121e8565b9150612b5782612b18565b602082019050919050565b5f6020820190508181035f830152612b7981612b40565b9050919050565b5f81905092915050565b5f819050815f5260205f209050919050565b5f8154612ba881612ae8565b612bb28186612b80565b9450600182165f8114612bcc5760018114612be157612c13565b60ff1983168652811515820286019350612c13565b612bea85612b8a565b5f5b83811015612c0b57815481890152600182019150602081019050612bec565b838801955050505b50505092915050565b5f612c26826121de565b612c308185612b80565b9350612c408185602086016121f8565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f612c80600583612b80565b9150612c8b82612c4c565b600582019050919050565b5f612ca18285612b9c565b9150612cad8284612c1c565b9150612cb882612c74565b91508190509392505050565b7f4c454e4754485f4d49534d4154434800000000000000000000000000000000005f82015250565b5f612cf8600f836121e8565b9150612d0382612cc4565b602082019050919050565b5f6020820190508181035f830152612d2581612cec565b9050919050565b7f4e4f545f415554484f52495a45440000000000000000000000000000000000005f82015250565b5f612d60600e836121e8565b9150612d6b82612d2c565b602082019050919050565b5f6020820190508181035f830152612d8d81612d54565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612df882612092565b9150612e0383612092565b9250828203905081811115612e1b57612e1a612dc1565b5b92915050565b5f612e2b82612092565b9150612e3683612092565b9250828201905080821115612e4e57612e4d612dc1565b5b92915050565b5f80fd5b82818337505050565b5f612e6c8385612600565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115612e9f57612e9e612e54565b5b602083029250612eb0838584612e58565b82840190509392505050565b5f6040820190508181035f830152612ed5818688612e61565b90508181036020830152612eea818486612e61565b905095945050505050565b5f82825260208201905092915050565b5f612f108385612ef5565b9350612f1d838584612779565b612f2683612220565b840190509392505050565b5f60a082019050612f445f83018b612891565b612f51602083018a612891565b8181036040830152612f6481888a612e61565b90508181036060830152612f79818688612e61565b90508181036080830152612f8e818486612f05565b90509998505050505050505050565b5f81519050612fab81612156565b92915050565b5f60208284031215612fc657612fc5612030565b5b5f612fd384828501612f9d565b91505092915050565b7f554e534146455f524543495049454e54000000000000000000000000000000005f82015250565b5f6130106010836121e8565b915061301b82612fdc565b602082019050919050565b5f6020820190508181035f83015261303d81613004565b9050919050565b5f8160601b9050919050565b5f61305a82613044565b9050919050565b5f61306b82613050565b9050919050565b61308361307e82612057565b613061565b82525050565b5f6130948284613072565b60148201915081905092915050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026130ed7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826130b2565b6130f786836130b2565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61313261312d61312884612092565b61310f565b612092565b9050919050565b5f819050919050565b61314b83613118565b61315f61315782613139565b8484546130be565b825550505050565b5f90565b613173613167565b61317e818484613142565b505050565b5b818110156131a1576131965f8261316b565b600181019050613184565b5050565b601f8211156131e6576131b781612b8a565b6131c0846130a3565b810160208510156131cf578190505b6131e36131db856130a3565b830182613183565b50505b505050565b5f82821c905092915050565b5f6132065f19846008026131eb565b1980831691505092915050565b5f61321e83836131f7565b9150826002028217905092915050565b613237826121de565b67ffffffffffffffff8111156132505761324f6126d1565b5b61325a8254612ae8565b6132658282856131a5565b5f60209050601f831160018114613296575f8415613284578287015190505b61328e8582613213565b8655506132f5565b601f1984166132a486612b8a565b5f5b828110156132cb578489015182556001820191506020850194506020810190506132a6565b868310156132e857848901516132e4601f8916826131f7565b8355505b6001600288020188555050505b505050505050565b7f4e465420616c726561647920636c61696d6564206279207468697320616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6133576023836121e8565b9150613362826132fd565b604082019050919050565b5f6020820190508181035f8301526133848161334b565b9050919050565b7f496e76616c69642070726f6f66000000000000000000000000000000000000005f82015250565b5f6133bf600d836121e8565b91506133ca8261338b565b602082019050919050565b5f6020820190508181035f8301526133ec816133b3565b9050919050565b5f6040820190506134065f830185612103565b6134136020830184612103565b9392505050565b5f60a08201905061342d5f830189612891565b61343a6020830188612891565b6134476040830187612103565b6134546060830186612103565b8181036080830152613467818486612f05565b9050979650505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6134ce6026836121e8565b91506134d982613474565b604082019050919050565b5f6020820190508181035f8301526134fb816134c2565b9050919050565b7f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665645f82015250565b5f6135366020836121e8565b915061354182613502565b602082019050919050565b5f6020820190508181035f8301526135638161352a565b9050919050565b7f4275726e20616d6f756e7420657863656564732062616c616e636500000000005f82015250565b5f61359e601b836121e8565b91506135a98261356a565b602082019050919050565b5f6020820190508181035f8301526135cb81613592565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6136336020836121e8565b915061363e826135ff565b602082019050919050565b5f6020820190508181035f83015261366081613627565b9050919050565b5f81519050919050565b5f61367b82613667565b6136858185612ef5565b93506136958185602086016121f8565b61369e81612220565b840191505092915050565b5f60a0820190506136bc5f830188612891565b6136c96020830187612891565b6136d66040830186612103565b6136e36060830185612103565b81810360808301526136f58184613671565b90509695505050505050565b7f5061757361626c653a20706175736564000000000000000000000000000000005f82015250565b5f6137356010836121e8565b915061374082613701565b602082019050919050565b5f6020820190508181035f83015261376281613729565b905091905056fea2646970667358221220158fab6b53b294ef12810fd2fd65faee5a41c293e99d02aa3f3e3ee96467bf2664736f6c63430008160033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000006942013379d195323e17cd2616435dce819c1fa900000000000000000000000000000000000000000000000000000000000000165468652050657065636f696e2050657065766572736500000000000000000000000000000000000000000000000000000000000000000000000000000000000850657065636f696e000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106101c1575f3560e01c80638da5cb5b116100f7578063bd85b03911610095578063f242432a1161006f578063f242432a146104f1578063f2fde38b1461050d578063f5298aca14610529578063ff84d64414610545576101c1565b8063bd85b03914610473578063e8a3d485146104a3578063e985e9c5146104c1576101c1565b806395d89b41116100d157806395d89b41146103ff578063a22cb4651461041d578063a5c42ef114610439578063b391c50814610457576101c1565b80638da5cb5b146103a7578063902d55a5146103c5578063938e3d7b146103e3576101c1565b80634cb616a0116101645780635c975abb1161013e5780635c975abb14610333578063715018a6146103515780637cb647591461035b578063869f759414610377576101c1565b80634cb616a0146102b75780634e1273f4146102e757806355f804b314610317576101c1565b80630e89341c116101a05780630e89341c1461024357806316efd941146102735780632eb2c2d61461027d5780632eb4a7ab14610299576101c1565b8062fdd58e146101c557806301ffc9a7146101f557806306fdde0314610225575b5f80fd5b6101df60048036038101906101da91906120c5565b610563565b6040516101ec9190612112565b60405180910390f35b61020f600480360381019061020a9190612180565b610582565b60405161021c91906121c5565b60405180910390f35b61022d610613565b60405161023a9190612268565b60405180910390f35b61025d60048036038101906102589190612288565b6106a3565b60405161026a9190612268565b60405180910390f35b61027b61071a565b005b61029760048036038101906102929190612369565b61072c565b005b6102a1610b72565b6040516102ae9190612458565b60405180910390f35b6102d160048036038101906102cc91906124c6565b610b78565b6040516102de91906121c5565b60405180910390f35b61030160048036038101906102fc9190612578565b610c52565b60405161030e91906126ad565b60405180910390f35b610331600480360381019061032c91906127f5565b610db6565b005b61033b610dd1565b60405161034891906121c5565b60405180910390f35b610359610de7565b005b61037560048036038101906103709190612866565b610dfa565b005b610391600480360381019061038c9190612288565b610e0c565b60405161039e9190612112565b60405180910390f35b6103af610e21565b6040516103bc91906128a0565b60405180910390f35b6103cd610e49565b6040516103da9190612112565b60405180910390f35b6103fd60048036038101906103f891906127f5565b610e4f565b005b610407610e6a565b6040516104149190612268565b60405180910390f35b610437600480360381019061043291906128e3565b610efa565b005b610441610ff2565b60405161044e9190612112565b60405180910390f35b610471600480360381019061046c9190612921565b610ff7565b005b61048d60048036038101906104889190612288565b6111ad565b60405161049a9190612112565b60405180910390f35b6104ab6111c2565b6040516104b89190612268565b60405180910390f35b6104db60048036038101906104d6919061296c565b611252565b6040516104e891906121c5565b60405180910390f35b61050b600480360381019061050691906129aa565b61127c565b005b61052760048036038101906105229190612a40565b61161b565b005b610543600480360381019061053e9190612a6b565b61169d565b005b61054d611930565b60405161055a9190612112565b60405180910390f35b5f602052815f5260405f20602052805f5260405f205f91509150505481565b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105dc575063d9b67a2660e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061060c5750630e89341c60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606004805461062290612ae8565b80601f016020809104026020016040519081016040528092919081815260200182805461064e90612ae8565b80156106995780601f1061067057610100808354040283529160200191610699565b820191905f5260205f20905b81548152906001019060200180831161067c57829003601f168201915b5050505050905090565b6060600282146106e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106df90612b62565b60405180910390fd5b60066106f383611935565b604051602001610704929190612c96565b6040516020818303038152906040529050919050565b6107226119ff565b61072a611a7d565b565b838390508686905014610774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076b90612d0e565b60405180910390fd5b8773ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061082f575060015f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b61086e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086590612d76565b60405180910390fd5b5f805f5b88889050811015610982578888828181106108905761088f612d94565b5b9050602002013592508686828181106108ac576108ab612d94565b5b905060200201359150815f808d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8581526020019081526020015f205f82825461090f9190612dee565b92505081905550815f808c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8581526020019081526020015f205f8282546109709190612e21565b92505081905550806001019050610872565b508873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8b8b8b8b6040516109fd9493929190612ebc565b60405180910390a45f8973ffffffffffffffffffffffffffffffffffffffff163b14610af65763bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168973ffffffffffffffffffffffffffffffffffffffff1663bc197c81338d8c8c8c8c8c8c6040518963ffffffff1660e01b8152600401610a91989796959493929190612f31565b6020604051808303815f875af1158015610aad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ad19190612fb1565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614610b27565b5f73ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614155b610b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5d90613026565b60405180910390fd5b50505050505050505050565b60075481565b5f600b5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615610bd0575f9050610c4b565b5f84604051602001610be29190613089565b604051602081830303815290604052805190602001209050610c478484808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f8201169050808301925050505050505060075483611ae0565b9150505b9392505050565b6060828290508585905014610c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9390612d0e565b60405180910390fd5b8484905067ffffffffffffffff811115610cb957610cb86126d1565b5b604051908082528060200260200182016040528015610ce75781602001602082028036833780820191505090505b5090505f5b85859050811015610dad575f80878784818110610d0c57610d0b612d94565b5b9050602002016020810190610d219190612a40565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f858584818110610d6e57610d6d612d94565b5b9050602002013581526020019081526020015f2054828281518110610d9657610d95612d94565b5b602002602001018181525050806001019050610cec565b50949350505050565b610dbe6119ff565b8060069081610dcd919061322e565b5050565b5f600260149054906101000a900460ff16905090565b610def6119ff565b610df85f611af6565b565b610e026119ff565b8060078190555050565b6009602052805f5260405f205f915090505481565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6107d081565b610e576119ff565b8060039081610e66919061322e565b5050565b606060058054610e7990612ae8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea590612ae8565b8015610ef05780601f10610ec757610100808354040283529160200191610ef0565b820191905f5260205f20905b815481529060010190602001808311610ed357829003601f168201915b5050505050905090565b8060015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610fe691906121c5565b60405180910390a35050565b600281565b600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611081576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110789061336d565b60405180910390fd5b5f336040516020016110939190613089565b6040516020818303038152906040528051906020012090506110f88383808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f8201169050808301925050505050505060075483611ae0565b611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e906133d5565b60405180910390fd5b6001600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506111a8336002600160405180602001604052805f815250611bb9565b505050565b600a602052805f5260405f205f915090505481565b6060600380546111d190612ae8565b80601f01602080910402602001604051908101604052809291908181526020018280546111fd90612ae8565b80156112485780601f1061121f57610100808354040283529160200191611248565b820191905f5260205f20905b81548152906001019060200180831161122b57829003601f168201915b5050505050905090565b6001602052815f5260405f20602052805f5260405f205f915091509054906101000a900460ff1681565b8573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611337575060015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d90612d76565b60405180910390fd5b825f808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8681526020019081526020015f205f8282546113d09190612dee565b92505081905550825f808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8681526020019081526020015f205f8282546114319190612e21565b925050819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516114ae9291906133f3565b60405180910390a45f8573ffffffffffffffffffffffffffffffffffffffff163b146115a35763f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168573ffffffffffffffffffffffffffffffffffffffff1663f23a6e613389888888886040518763ffffffff1660e01b815260040161153e9695949392919061341a565b6020604051808303815f875af115801561155a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157e9190612fb1565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146115d4565b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b611613576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160a90613026565b60405180910390fd5b505050505050565b6116236119ff565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611691576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611688906134e4565b60405180910390fd5b61169a81611af6565b50565b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611758575060015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178e9061354c565b60405180910390fd5b805f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8481526020019081526020015f20541015611825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181c906135b4565b60405180910390fd5b805f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8481526020019081526020015f205f82825461187f9190612dee565b9250508190555080600a5f8481526020019081526020015f205f8282546118a69190612dee565b925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6285856040516119239291906133f3565b60405180910390a4505050565b604581565b60605f600161194384611df9565b0190505f8167ffffffffffffffff811115611961576119606126d1565b5b6040519080825280601f01601f1916602001820160405280156119935781602001600182028036833780820191505090505b5090505f82602001820190505b6001156119f4578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816119e9576119e86135d2565b5b0494505f85036119a0575b819350505050919050565b611a07611f4a565b73ffffffffffffffffffffffffffffffffffffffff16611a25610e21565b73ffffffffffffffffffffffffffffffffffffffff1614611a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7290613649565b60405180910390fd5b565b611a85611f51565b6001600260146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ac9611f4a565b604051611ad691906128a0565b60405180910390a1565b5f82611aec8584611f9b565b1490509392505050565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b815f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8581526020019081526020015f205f828254611c139190612e21565b925050819055508373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628686604051611c909291906133f3565b60405180910390a45f8473ffffffffffffffffffffffffffffffffffffffff163b14611d835763f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663f23a6e61335f8787876040518663ffffffff1660e01b8152600401611d1e9594939291906136a9565b6020604051808303815f875af1158015611d3a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5e9190612fb1565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611db4565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b611df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dea90613026565b60405180910390fd5b50505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611e55577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611e4b57611e4a6135d2565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611e92576d04ee2d6d415b85acef81000000008381611e8857611e876135d2565b5b0492506020810190505b662386f26fc100008310611ec157662386f26fc100008381611eb757611eb66135d2565b5b0492506010810190505b6305f5e1008310611eea576305f5e1008381611ee057611edf6135d2565b5b0492506008810190505b6127108310611f0f576127108381611f0557611f046135d2565b5b0492506004810190505b60648310611f325760648381611f2857611f276135d2565b5b0492506002810190505b600a8310611f41576001810190505b80915050919050565b5f33905090565b611f59610dd1565b15611f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f909061374b565b60405180910390fd5b565b5f808290505f5b8451811015611fde57611fcf82868381518110611fc257611fc1612d94565b5b6020026020010151611fe9565b91508080600101915050611fa2565b508091505092915050565b5f81831061200057611ffb8284612013565b61200b565b61200a8383612013565b5b905092915050565b5f825f528160205260405f20905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61206182612038565b9050919050565b61207181612057565b811461207b575f80fd5b50565b5f8135905061208c81612068565b92915050565b5f819050919050565b6120a481612092565b81146120ae575f80fd5b50565b5f813590506120bf8161209b565b92915050565b5f80604083850312156120db576120da612030565b5b5f6120e88582860161207e565b92505060206120f9858286016120b1565b9150509250929050565b61210c81612092565b82525050565b5f6020820190506121255f830184612103565b92915050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61215f8161212b565b8114612169575f80fd5b50565b5f8135905061217a81612156565b92915050565b5f6020828403121561219557612194612030565b5b5f6121a28482850161216c565b91505092915050565b5f8115159050919050565b6121bf816121ab565b82525050565b5f6020820190506121d85f8301846121b6565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156122155780820151818401526020810190506121fa565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61223a826121de565b61224481856121e8565b93506122548185602086016121f8565b61225d81612220565b840191505092915050565b5f6020820190508181035f8301526122808184612230565b905092915050565b5f6020828403121561229d5761229c612030565b5b5f6122aa848285016120b1565b91505092915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126122d4576122d36122b3565b5b8235905067ffffffffffffffff8111156122f1576122f06122b7565b5b60208301915083602082028301111561230d5761230c6122bb565b5b9250929050565b5f8083601f840112612329576123286122b3565b5b8235905067ffffffffffffffff811115612346576123456122b7565b5b602083019150836001820283011115612362576123616122bb565b5b9250929050565b5f805f805f805f8060a0898b03121561238557612384612030565b5b5f6123928b828c0161207e565b98505060206123a38b828c0161207e565b975050604089013567ffffffffffffffff8111156123c4576123c3612034565b5b6123d08b828c016122bf565b9650965050606089013567ffffffffffffffff8111156123f3576123f2612034565b5b6123ff8b828c016122bf565b9450945050608089013567ffffffffffffffff81111561242257612421612034565b5b61242e8b828c01612314565b92509250509295985092959890939650565b5f819050919050565b61245281612440565b82525050565b5f60208201905061246b5f830184612449565b92915050565b5f8083601f840112612486576124856122b3565b5b8235905067ffffffffffffffff8111156124a3576124a26122b7565b5b6020830191508360208202830111156124bf576124be6122bb565b5b9250929050565b5f805f604084860312156124dd576124dc612030565b5b5f6124ea8682870161207e565b935050602084013567ffffffffffffffff81111561250b5761250a612034565b5b61251786828701612471565b92509250509250925092565b5f8083601f840112612538576125376122b3565b5b8235905067ffffffffffffffff811115612555576125546122b7565b5b602083019150836020820283011115612571576125706122bb565b5b9250929050565b5f805f80604085870312156125905761258f612030565b5b5f85013567ffffffffffffffff8111156125ad576125ac612034565b5b6125b987828801612523565b9450945050602085013567ffffffffffffffff8111156125dc576125db612034565b5b6125e8878288016122bf565b925092505092959194509250565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b61262881612092565b82525050565b5f612639838361261f565b60208301905092915050565b5f602082019050919050565b5f61265b826125f6565b6126658185612600565b935061267083612610565b805f5b838110156126a0578151612687888261262e565b975061269283612645565b925050600181019050612673565b5085935050505092915050565b5f6020820190508181035f8301526126c58184612651565b905092915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61270782612220565b810181811067ffffffffffffffff82111715612726576127256126d1565b5b80604052505050565b5f612738612027565b905061274482826126fe565b919050565b5f67ffffffffffffffff821115612763576127626126d1565b5b61276c82612220565b9050602081019050919050565b828183375f83830152505050565b5f61279961279484612749565b61272f565b9050828152602081018484840111156127b5576127b46126cd565b5b6127c0848285612779565b509392505050565b5f82601f8301126127dc576127db6122b3565b5b81356127ec848260208601612787565b91505092915050565b5f6020828403121561280a57612809612030565b5b5f82013567ffffffffffffffff81111561282757612826612034565b5b612833848285016127c8565b91505092915050565b61284581612440565b811461284f575f80fd5b50565b5f813590506128608161283c565b92915050565b5f6020828403121561287b5761287a612030565b5b5f61288884828501612852565b91505092915050565b61289a81612057565b82525050565b5f6020820190506128b35f830184612891565b92915050565b6128c2816121ab565b81146128cc575f80fd5b50565b5f813590506128dd816128b9565b92915050565b5f80604083850312156128f9576128f8612030565b5b5f6129068582860161207e565b9250506020612917858286016128cf565b9150509250929050565b5f806020838503121561293757612936612030565b5b5f83013567ffffffffffffffff81111561295457612953612034565b5b61296085828601612471565b92509250509250929050565b5f806040838503121561298257612981612030565b5b5f61298f8582860161207e565b92505060206129a08582860161207e565b9150509250929050565b5f805f805f8060a087890312156129c4576129c3612030565b5b5f6129d189828a0161207e565b96505060206129e289828a0161207e565b95505060406129f389828a016120b1565b9450506060612a0489828a016120b1565b935050608087013567ffffffffffffffff811115612a2557612a24612034565b5b612a3189828a01612314565b92509250509295509295509295565b5f60208284031215612a5557612a54612030565b5b5f612a628482850161207e565b91505092915050565b5f805f60608486031215612a8257612a81612030565b5b5f612a8f8682870161207e565b9350506020612aa0868287016120b1565b9250506040612ab1868287016120b1565b9150509250925092565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612aff57607f821691505b602082108103612b1257612b11612abb565b5b50919050565b7f546f6b656e20494420646f6573206e6f742065786973740000000000000000005f82015250565b5f612b4c6017836121e8565b9150612b5782612b18565b602082019050919050565b5f6020820190508181035f830152612b7981612b40565b9050919050565b5f81905092915050565b5f819050815f5260205f209050919050565b5f8154612ba881612ae8565b612bb28186612b80565b9450600182165f8114612bcc5760018114612be157612c13565b60ff1983168652811515820286019350612c13565b612bea85612b8a565b5f5b83811015612c0b57815481890152600182019150602081019050612bec565b838801955050505b50505092915050565b5f612c26826121de565b612c308185612b80565b9350612c408185602086016121f8565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f612c80600583612b80565b9150612c8b82612c4c565b600582019050919050565b5f612ca18285612b9c565b9150612cad8284612c1c565b9150612cb882612c74565b91508190509392505050565b7f4c454e4754485f4d49534d4154434800000000000000000000000000000000005f82015250565b5f612cf8600f836121e8565b9150612d0382612cc4565b602082019050919050565b5f6020820190508181035f830152612d2581612cec565b9050919050565b7f4e4f545f415554484f52495a45440000000000000000000000000000000000005f82015250565b5f612d60600e836121e8565b9150612d6b82612d2c565b602082019050919050565b5f6020820190508181035f830152612d8d81612d54565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612df882612092565b9150612e0383612092565b9250828203905081811115612e1b57612e1a612dc1565b5b92915050565b5f612e2b82612092565b9150612e3683612092565b9250828201905080821115612e4e57612e4d612dc1565b5b92915050565b5f80fd5b82818337505050565b5f612e6c8385612600565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115612e9f57612e9e612e54565b5b602083029250612eb0838584612e58565b82840190509392505050565b5f6040820190508181035f830152612ed5818688612e61565b90508181036020830152612eea818486612e61565b905095945050505050565b5f82825260208201905092915050565b5f612f108385612ef5565b9350612f1d838584612779565b612f2683612220565b840190509392505050565b5f60a082019050612f445f83018b612891565b612f51602083018a612891565b8181036040830152612f6481888a612e61565b90508181036060830152612f79818688612e61565b90508181036080830152612f8e818486612f05565b90509998505050505050505050565b5f81519050612fab81612156565b92915050565b5f60208284031215612fc657612fc5612030565b5b5f612fd384828501612f9d565b91505092915050565b7f554e534146455f524543495049454e54000000000000000000000000000000005f82015250565b5f6130106010836121e8565b915061301b82612fdc565b602082019050919050565b5f6020820190508181035f83015261303d81613004565b9050919050565b5f8160601b9050919050565b5f61305a82613044565b9050919050565b5f61306b82613050565b9050919050565b61308361307e82612057565b613061565b82525050565b5f6130948284613072565b60148201915081905092915050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026130ed7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826130b2565b6130f786836130b2565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61313261312d61312884612092565b61310f565b612092565b9050919050565b5f819050919050565b61314b83613118565b61315f61315782613139565b8484546130be565b825550505050565b5f90565b613173613167565b61317e818484613142565b505050565b5b818110156131a1576131965f8261316b565b600181019050613184565b5050565b601f8211156131e6576131b781612b8a565b6131c0846130a3565b810160208510156131cf578190505b6131e36131db856130a3565b830182613183565b50505b505050565b5f82821c905092915050565b5f6132065f19846008026131eb565b1980831691505092915050565b5f61321e83836131f7565b9150826002028217905092915050565b613237826121de565b67ffffffffffffffff8111156132505761324f6126d1565b5b61325a8254612ae8565b6132658282856131a5565b5f60209050601f831160018114613296575f8415613284578287015190505b61328e8582613213565b8655506132f5565b601f1984166132a486612b8a565b5f5b828110156132cb578489015182556001820191506020850194506020810190506132a6565b868310156132e857848901516132e4601f8916826131f7565b8355505b6001600288020188555050505b505050505050565b7f4e465420616c726561647920636c61696d6564206279207468697320616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6133576023836121e8565b9150613362826132fd565b604082019050919050565b5f6020820190508181035f8301526133848161334b565b9050919050565b7f496e76616c69642070726f6f66000000000000000000000000000000000000005f82015250565b5f6133bf600d836121e8565b91506133ca8261338b565b602082019050919050565b5f6020820190508181035f8301526133ec816133b3565b9050919050565b5f6040820190506134065f830185612103565b6134136020830184612103565b9392505050565b5f60a08201905061342d5f830189612891565b61343a6020830188612891565b6134476040830187612103565b6134546060830186612103565b8181036080830152613467818486612f05565b9050979650505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6134ce6026836121e8565b91506134d982613474565b604082019050919050565b5f6020820190508181035f8301526134fb816134c2565b9050919050565b7f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665645f82015250565b5f6135366020836121e8565b915061354182613502565b602082019050919050565b5f6020820190508181035f8301526135638161352a565b9050919050565b7f4275726e20616d6f756e7420657863656564732062616c616e636500000000005f82015250565b5f61359e601b836121e8565b91506135a98261356a565b602082019050919050565b5f6020820190508181035f8301526135cb81613592565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6136336020836121e8565b915061363e826135ff565b602082019050919050565b5f6020820190508181035f83015261366081613627565b9050919050565b5f81519050919050565b5f61367b82613667565b6136858185612ef5565b93506136958185602086016121f8565b61369e81612220565b840191505092915050565b5f60a0820190506136bc5f830188612891565b6136c96020830187612891565b6136d66040830186612103565b6136e36060830185612103565b81810360808301526136f58184613671565b90509695505050505050565b7f5061757361626c653a20706175736564000000000000000000000000000000005f82015250565b5f6137356010836121e8565b915061374082613701565b602082019050919050565b5f6020820190508181035f83015261376281613729565b905091905056fea2646970667358221220158fab6b53b294ef12810fd2fd65faee5a41c293e99d02aa3f3e3ee96467bf2664736f6c63430008160033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000006942013379d195323e17cd2616435dce819c1fa900000000000000000000000000000000000000000000000000000000000000165468652050657065636f696e2050657065766572736500000000000000000000000000000000000000000000000000000000000000000000000000000000000850657065636f696e000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): The Pepecoin Pepeverse
Arg [1] : symbol_ (string): Pepecoin
Arg [2] : initialOwner (address): 0x6942013379d195323E17CD2616435DcE819c1fA9

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000006942013379d195323e17cd2616435dce819c1fa9
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [4] : 5468652050657065636f696e2050657065766572736500000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [6] : 50657065636f696e000000000000000000000000000000000000000000000000


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.