ETH Price: $2,630.34 (-1.55%)
Gas: 2 Gwei

Contract

0x100Af5dC04838DA5057E044F42742aff1Cbd123D
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve192396802024-02-16 9:50:35175 days ago1708077035IN
0x100Af5dC...f1Cbd123D
0 ETH0.0013464627.33382896
Approve192396692024-02-16 9:48:11175 days ago1708076891IN
0x100Af5dC...f1Cbd123D
0 ETH0.000972619.74440775
Fair Mint192395492024-02-16 9:23:59175 days ago1708075439IN
0x100Af5dC...f1Cbd123D
0.02 ETH0.0037862522.0753844
Approve192395032024-02-16 9:14:35175 days ago1708074875IN
0x100Af5dC...f1Cbd123D
0 ETH0.0014902430.25270972
Fair Mint192394042024-02-16 8:54:35175 days ago1708073675IN
0x100Af5dC...f1Cbd123D
0.02 ETH0.0039500923.03061298
Fair Mint192393992024-02-16 8:53:35175 days ago1708073615IN
0x100Af5dC...f1Cbd123D
0.2 ETH0.0197968524.67214579
Fair Mint192393992024-02-16 8:53:35175 days ago1708073615IN
0x100Af5dC...f1Cbd123D
0.2 ETH0.0197968524.67214579
Fair Mint192393992024-02-16 8:53:35175 days ago1708073615IN
0x100Af5dC...f1Cbd123D
0.2 ETH0.0197968524.67214579
Fair Mint192393982024-02-16 8:53:23175 days ago1708073603IN
0x100Af5dC...f1Cbd123D
0.2 ETH0.0203418825.35140007
Fair Mint192393082024-02-16 8:34:47175 days ago1708072487IN
0x100Af5dC...f1Cbd123D
0.02 ETH0.0034805724.8408291
Fair Mint192392942024-02-16 8:31:59175 days ago1708072319IN
0x100Af5dC...f1Cbd123D
0.02 ETH0.0043381423
0x60e06040192390362024-02-16 7:39:59176 days ago1708069199IN
 Contract Creation
0 ETH0.0966287421.4869976

Latest 8 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
192395492024-02-16 9:23:59175 days ago1708075439
0x100Af5dC...f1Cbd123D
0.02 ETH
192394042024-02-16 8:54:35175 days ago1708073675
0x100Af5dC...f1Cbd123D
0.02 ETH
192393992024-02-16 8:53:35175 days ago1708073615
0x100Af5dC...f1Cbd123D
0.2 ETH
192393992024-02-16 8:53:35175 days ago1708073615
0x100Af5dC...f1Cbd123D
0.2 ETH
192393992024-02-16 8:53:35175 days ago1708073615
0x100Af5dC...f1Cbd123D
0.2 ETH
192393982024-02-16 8:53:23175 days ago1708073603
0x100Af5dC...f1Cbd123D
0.2 ETH
192393082024-02-16 8:34:47175 days ago1708072487
0x100Af5dC...f1Cbd123D
0.02 ETH
192392942024-02-16 8:31:59175 days ago1708072319
0x100Af5dC...f1Cbd123D
0.02 ETH
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x58f85364...6Fc6D06a5
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
MagicBox

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 10 : MagicBox.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;

import "./ERC404.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";


contract MagicBox is ERC404 {
    string public dataURI;
    string public baseTokenURI;

    mapping(address => uint256) public userMinted;
    mapping(address => bool) public blacklist;

    bool public globalBlackList = false;

    uint256 public immutable mintLimit;
    uint256 public constant nonce = 0xdeaddead;
    uint256 public constant fairMintPrice = 0.02 ether;

    constructor(uint256 _mintLimit, address _lp_address) ERC404("MagicBox", "MBOX", 18, 5000, msg.sender) {
        mintLimit = _mintLimit;
        balanceOf[msg.sender] =    4250 * _getUnit();     // 4250 (85%) for fair-mint
        balanceOf[address(this)] =  500 * _getUnit();     //  500 (10%) for fair-mint
        balanceOf[_lp_address] =    250 * _getUnit();     //  250  (5%) for fair-mint
        setWhitelist(msg.sender, true);
        setWhitelist(address(this), true);
        setWhitelist(_lp_address, true);            
        setDataURI("https://smartcontract-frontend.vercel.app/");
    }

    modifier notBlacklisted(address from, address to) {
        if (globalBlackList) {
            require(
                whitelist[from] || whitelist[to],
                "MagicBox: global blacklist is enabled!"
            );
        } else {
            require(
                !blacklist[from],
                "MagicBox: sender is in the blacklist!"
            );
            require(
                !blacklist[to],
                "MagicBox: recipient is in the blacklist!"
            );
        }
        _;
    }

    function _getUnit() internal virtual view override returns (uint256) {
        return 20000 * 10 ** decimals;
    }


    /**
     * ====================== Fair-mint part ======================
     */
    function fairMint(uint256 amount) public payable {
        // Check the minting conditions
        require(
            amount > 0 && amount <= mintLimit,
            "MagicBox: illegal mint amount!"
        );
        require(
            userMinted[msg.sender] + amount <= mintLimit,
            "MagicBox: exceed the mint limit!"
        );
        require(
            msg.value == amount * fairMintPrice,
            "MagicBox: incorrect ether value!"
        );
        require(
            balanceOf[address(this)] >= amount * _getUnit(),
            "MagicBox: fair mint already finished!"
        );
        
        // Record the minted amount
        userMinted[msg.sender] += amount;

        // Mint the tokens to the user
        _transfer(address(this), msg.sender, amount * _getUnit());

        // Transfer the ether to the treasury
        payable(owner()).transfer(msg.value);
    }

    /**
     * ====================== Transfer part ======================
     */
    function transfer(
        address to,
        uint256 amount
    ) public notBlacklisted(msg.sender, to) override returns (bool) {
        return super.transfer(to, amount);
    }

    function transferFrom(
        address from,
        address to,
        uint256 amountOrId
    ) public notBlacklisted(from, to) override {
        return super.transferFrom(from, to, amountOrId);
    }

    /**
     * ====================== Admin part ======================
     */
    function setBlackList(address account, bool status) public onlyOwner {
        blacklist[account] = status;
    }

    function setGlobalBlackList(bool status) public onlyOwner {
        globalBlackList = status;
    }


    /**
     * ====================== NFT metadata part ======================
     */
    function setDataURI(string memory _dataURI) public onlyOwner {
        dataURI = _dataURI;
    }

    function setTokenURI(string memory _tokenURI) public onlyOwner {
        baseTokenURI = _tokenURI;
    }

    function setNameSymbol(
        string memory _name,
        string memory _symbol
    ) public onlyOwner {
        _setNameSymbol(_name, _symbol);
    }

   function tokenURI(uint256 id) public view override returns (string memory) {
        if (bytes(baseTokenURI).length > 0) {
            return string.concat(baseTokenURI, Strings.toString(id));
        } else {
            uint8 seed = uint8(bytes1(keccak256(abi.encodePacked(id + nonce))));
            string memory image;
            string memory nfttype;

            if (seed <= 12) {
                image = "1.gif";
                nfttype = "Type I"; // Type 1: 13/256 ≈ 5%
            } else if (seed <= 51) {
                image = "2.gif";
                nfttype = "Type II"; // Type 2: (52-13)/256 ≈ 15%
            } else if (seed <= 255) {
                image = "3.gif";
                nfttype = "Type III"; // Type 3: (256-52)/256 ≈ 80%
            }

            string memory jsonPreImage = string.concat(
                string.concat(
                    string.concat('{"name": "MagicBox #', Strings.toString(id)),
                    '","description":"A collection of 5,000 unique, Roguelike gamefi on chain, powered by ERC-404 protocol, an experimental token standard.","external_url":"https://x.com/magicbox_erc404","image":"'
                ),
                string.concat(dataURI, image)
            );
            string memory jsonPostImage = string.concat(
                '","attributes":[{"trait_type":"Type","value":"',
                nfttype
            );
            string memory jsonPostTraits = '"}]}';

            return
                string.concat(
                    "data:application/json;utf8,",
                    string.concat(
                        string.concat(jsonPreImage, jsonPostImage),
                        jsonPostTraits
                    )
                );
        }
    }
}

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

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

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

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

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

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

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

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

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

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

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

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

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

File 3 of 10 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC721Receiver.sol)

pragma solidity ^0.8.20;

import {IERC721Receiver} from "../token/ERC721/IERC721Receiver.sol";

File 4 of 10 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.20;

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

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

pragma solidity ^0.8.20;

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

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

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

File 6 of 10 : 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 7 of 10 : 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 8 of 10 : 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 10 : 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 10 of 10 : ERC404.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/interfaces/IERC721Receiver.sol";

/// @notice ERC404
///         A gas-efficient, mixed ERC20 / ERC721 implementation
///         with native liquidity and fractionalization.
///
///         This is an experimental standard designed to integrate
///         with pre-existing ERC20 / ERC721 support as smoothly as
///         possible.
///
/// @dev    In order to support full functionality of ERC20 and ERC721
///         supply assumptions are made that slightly constraint usage.
///         Ensure decimals are sufficiently large (standard 18 recommended)
///         as ids are effectively encoded in the lowest range of amounts.
///
///         NFTs are spent on ERC20 functions in a FILO queue, this is by
///         design.
///
abstract contract ERC404 is Ownable {
    // Events
    event ERC20Transfer(
        address indexed from,
        address indexed to,
        uint256 amount
    );
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 amount
    );
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 indexed id
    );
    event ERC721Approval(
        address indexed owner,
        address indexed spender,
        uint256 indexed id
    );
    event ApprovalForAll(
        address indexed owner,
        address indexed operator,
        bool approved
    );

    // Errors
    error NotFound();
    error AlreadyExists();
    error InvalidRecipient();
    error InvalidSender();
    error UnsafeRecipient();

    // Metadata
    /// @dev Token name
    string public name;

    /// @dev Token symbol
    string public symbol;

    /// @dev Decimals for fractional representation
    uint8 public immutable decimals;

    /// @dev Total supply in fractionalized representation
    uint256 public immutable totalSupply;

    /// @dev Current mint counter, monotonically increasing to ensure accurate ownership
    uint256 public minted;

    // Mappings
    /// @dev Balance of user in fractional representation
    mapping(address => uint256) public balanceOf;

    /// @dev Allowance of user in fractional representation
    mapping(address => mapping(address => uint256)) public allowance;

    /// @dev Approval in native representaion
    mapping(uint256 => address) public getApproved;

    /// @dev Approval for all in native representation
    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /// @dev Owner of id in native representation
    mapping(uint256 => address) internal _ownerOf;

    /// @dev Array of owned ids in native representation
    mapping(address => uint256[]) internal _owned;

    /// @dev Tracks indices for the _owned mapping
    mapping(uint256 => uint256) internal _ownedIndex;

    /// @dev Addresses whitelisted from minting / burning for gas savings (pairs, routers, etc)
    mapping(address => bool) public whitelist;

    // Constructor
    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals,
        uint256 _totalNativeSupply,
        address _owner
    ) Ownable(_owner) {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
        totalSupply = _totalNativeSupply * _getUnit();
    }

    /// @notice Initialization function to set pairs / etc
    ///         saving gas by avoiding mint / burn on unnecessary targets
    function setWhitelist(address target, bool state) public onlyOwner {
        whitelist[target] = state;
    }

    /// @notice Function to find owner of a given native token
    function ownerOf(uint256 id) public view virtual returns (address owner) {
        owner = _ownerOf[id];

        if (owner == address(0)) {
            revert NotFound();
        }
    }

    /// @notice tokenURI must be implemented by child contract
    function tokenURI(uint256 id) public view virtual returns (string memory);

    /// @notice Function for token approvals
    /// @dev This function assumes id / native if amount less than or equal to current max id
    function approve(
        address spender,
        uint256 amountOrId
    ) public virtual returns (bool) {
        if (amountOrId <= minted && amountOrId > 0) {
            address owner = _ownerOf[amountOrId];

            if (msg.sender != owner && !isApprovedForAll[owner][msg.sender]) {
                revert("Unauthorized!");
            }

            getApproved[amountOrId] = spender;

            emit Approval(owner, spender, amountOrId);
        } else {
            allowance[msg.sender][spender] = amountOrId;

            emit Approval(msg.sender, spender, amountOrId);
        }

        return true;
    }

    /// @notice Function native approvals
    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

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

    /// @notice Function for mixed transfers
    /// @dev This function assumes id / native if amount less than or equal to current max id
    function transferFrom(
        address from,
        address to,
        uint256 amountOrId
    ) public virtual {
        if (amountOrId <= minted) {
            if (from != _ownerOf[amountOrId]) {
                revert InvalidSender();
            }

            if (to == address(0)) {
                revert InvalidRecipient();
            }

            if (
                msg.sender != from &&
                !isApprovedForAll[from][msg.sender] &&
                msg.sender != getApproved[amountOrId]
            ) {
                revert("Unauthorized!");
            }

            balanceOf[from] -= _getUnit();

            unchecked {
                balanceOf[to] += _getUnit();
            }

            _ownerOf[amountOrId] = to;
            delete getApproved[amountOrId];

            // update _owned for sender
            uint256 updatedId = _owned[from][_owned[from].length - 1];
            _owned[from][_ownedIndex[amountOrId]] = updatedId;
            // pop
            _owned[from].pop();
            // update index for the moved id
            _ownedIndex[updatedId] = _ownedIndex[amountOrId];
            // push token to to owned
            _owned[to].push(amountOrId);
            // update index for to owned
            _ownedIndex[amountOrId] = _owned[to].length - 1;

            emit Transfer(from, to, amountOrId);
            emit ERC20Transfer(from, to, _getUnit());
        } else {
            uint256 allowed = allowance[from][msg.sender];

            if (allowed != type(uint256).max)
                allowance[from][msg.sender] = allowed - amountOrId;

            _transfer(from, to, amountOrId);
        }
    }

    /// @notice Function for fractional transfers
    function transfer(
        address to,
        uint256 amount
    ) public virtual returns (bool) {
        return _transfer(msg.sender, to, amount);
    }

    /// @notice Function for native transfers with contract support
    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        if (
            to.code.length != 0 &&
            IERC721Receiver(to).onERC721Received(msg.sender, from, id, "") !=
            IERC721Receiver.onERC721Received.selector
        ) {
            revert UnsafeRecipient();
        }
    }

    /// @notice Function for native transfers with contract support and callback data
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes calldata data
    ) public virtual {
        transferFrom(from, to, id);

        if (
            to.code.length != 0 &&
            IERC721Receiver(to).onERC721Received(msg.sender, from, id, data) !=
            IERC721Receiver.onERC721Received.selector
        ) {
            revert UnsafeRecipient();
        }
    }

    /// @notice Internal function for fractional transfers
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal returns (bool) {
        uint256 unit = _getUnit();
        uint256 balanceBeforeSender = balanceOf[from];
        uint256 balanceBeforeReceiver = balanceOf[to];

        balanceOf[from] -= amount;

        unchecked {
            balanceOf[to] += amount;
        }

        // Skip burn for certain addresses to save gas
        if (!whitelist[from]) {
            uint256 tokens_to_burn = (balanceBeforeSender / unit) -
                (balanceOf[from] / unit);
            for (uint256 i = 0; i < tokens_to_burn; i++) {
                _burn(from);
            }
        }

        // Skip minting for certain addresses to save gas
        if (!whitelist[to]) {
            uint256 tokens_to_mint = (balanceOf[to] / unit) -
                (balanceBeforeReceiver / unit);
            for (uint256 i = 0; i < tokens_to_mint; i++) {
                _mint(to);
            }
        }

        emit ERC20Transfer(from, to, amount);
        return true;
    }

    // Internal utility logic
    function _getUnit() internal virtual view returns (uint256) {
        return 10 ** decimals;
    }

    function _mint(address to) internal virtual {
        if (to == address(0)) {
            revert InvalidRecipient();
        }

        unchecked {
            minted++;
        }

        uint256 id = minted;

        if (_ownerOf[id] != address(0)) {
            revert AlreadyExists();
        }

        _ownerOf[id] = to;
        _owned[to].push(id);
        _ownedIndex[id] = _owned[to].length - 1;

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

    function _burn(address from) internal virtual {
        if (from == address(0)) {
            revert InvalidSender();
        }

        uint256 id = _owned[from][_owned[from].length - 1];
        _owned[from].pop();
        delete _ownedIndex[id];
        delete _ownerOf[id];
        delete getApproved[id];

        emit Transfer(from, address(0), id);
    }

    function _setNameSymbol(
        string memory _name,
        string memory _symbol
    ) internal {
        name = _name;
        symbol = _symbol;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_mintLimit","type":"uint256"},{"internalType":"address","name":"_lp_address","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyExists","type":"error"},{"inputs":[],"name":"InvalidRecipient","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"NotFound","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"UnsafeRecipient","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"ERC721Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"fairMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"fairMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"globalBlackList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","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":"address","name":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setBlackList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dataURI","type":"string"}],"name":"setDataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setGlobalBlackList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"setNameSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountOrId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x60806040526004361061020f5760003560e01c8063715018a611610118578063b88d4fde116100a0578063e0df5b6f1161006f578063e0df5b6f146107b6578063e985e9c5146107df578063f28ca1dd1461081c578063f2fde38b14610847578063f9f92be4146108705761020f565b8063b88d4fde146106e8578063c87b56dd14610711578063d547cfb71461074e578063dd62ed3e146107795761020f565b8063996517cf116100e7578063996517cf146105ef5780639b19251a1461061a578063a22cb46514610657578063a9059cbb14610680578063affed0e0146106bd5761020f565b8063715018a614610557578063882eed4d1461056e5780638da5cb5b1461059957806395d89b41146105c45761020f565b806342842e0e1161019b578063514ab96a1161016a578063514ab96a1461046257806353d6fd591461048b5780636352211e146104b457806368092bd9146104f157806370a082311461051a5761020f565b806342842e0e146103c95780634f02c420146103f257806350420d721461041d578063504334c2146104395761020f565b806318d217c3116101e257806318d217c3146102e45780631aa5e8721461030d57806323b872dd1461034a5780632f454cb614610373578063313ce5671461039e5761020f565b806306fdde0314610214578063081812fc1461023f578063095ea7b31461027c57806318160ddd146102b9575b600080fd5b34801561022057600080fd5b506102296108ad565b604051610236919061351b565b60405180910390f35b34801561024b57600080fd5b5061026660048036038101906102619190613587565b61093b565b60405161027391906135f5565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e919061363c565b61096e565b6040516102b09190613697565b60405180910390f35b3480156102c557600080fd5b506102ce610c70565b6040516102db91906136c1565b60405180910390f35b3480156102f057600080fd5b5061030b60048036038101906103069190613811565b610c94565b005b34801561031957600080fd5b50610334600480360381019061032f919061385a565b610caf565b60405161034191906136c1565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c9190613887565b610cc7565b005b34801561037f57600080fd5b50610388610ef0565b6040516103959190613697565b60405180910390f35b3480156103aa57600080fd5b506103b3610f03565b6040516103c091906138f6565b60405180910390f35b3480156103d557600080fd5b506103f060048036038101906103eb9190613887565b610f27565b005b3480156103fe57600080fd5b5061040761105a565b60405161041491906136c1565b60405180910390f35b61043760048036038101906104329190613587565b611060565b005b34801561044557600080fd5b50610460600480360381019061045b9190613911565b611329565b005b34801561046e57600080fd5b50610489600480360381019061048491906139b5565b61133f565b005b34801561049757600080fd5b506104b260048036038101906104ad91906139e2565b611364565b005b3480156104c057600080fd5b506104db60048036038101906104d69190613587565b6113c7565b6040516104e891906135f5565b60405180910390f35b3480156104fd57600080fd5b50610518600480360381019061051391906139e2565b61146a565b005b34801561052657600080fd5b50610541600480360381019061053c919061385a565b6114cd565b60405161054e91906136c1565b60405180910390f35b34801561056357600080fd5b5061056c6114e5565b005b34801561057a57600080fd5b506105836114f9565b60405161059091906136c1565b60405180910390f35b3480156105a557600080fd5b506105ae611504565b6040516105bb91906135f5565b60405180910390f35b3480156105d057600080fd5b506105d961152d565b6040516105e6919061351b565b60405180910390f35b3480156105fb57600080fd5b506106046115bb565b60405161061191906136c1565b60405180910390f35b34801561062657600080fd5b50610641600480360381019061063c919061385a565b6115df565b60405161064e9190613697565b60405180910390f35b34801561066357600080fd5b5061067e600480360381019061067991906139e2565b6115ff565b005b34801561068c57600080fd5b506106a760048036038101906106a2919061363c565b6116fc565b6040516106b49190613697565b60405180910390f35b3480156106c957600080fd5b506106d2611929565b6040516106df91906136c1565b60405180910390f35b3480156106f457600080fd5b5061070f600480360381019061070a9190613a82565b611931565b005b34801561071d57600080fd5b5061073860048036038101906107339190613587565b611a6a565b604051610745919061351b565b60405180910390f35b34801561075a57600080fd5b50610763611dcf565b604051610770919061351b565b60405180910390f35b34801561078557600080fd5b506107a0600480360381019061079b9190613b0a565b611e5d565b6040516107ad91906136c1565b60405180910390f35b3480156107c257600080fd5b506107dd60048036038101906107d89190613811565b611e82565b005b3480156107eb57600080fd5b5061080660048036038101906108019190613b0a565b611e9d565b6040516108139190613697565b60405180910390f35b34801561082857600080fd5b50610831611ecc565b60405161083e919061351b565b60405180910390f35b34801561085357600080fd5b5061086e6004803603810190610869919061385a565b611f5a565b005b34801561087c57600080fd5b506108976004803603810190610892919061385a565b611fe0565b6040516108a49190613697565b60405180910390f35b600180546108ba90613b79565b80601f01602080910402602001604051908101604052809291908181526020018280546108e690613b79565b80156109335780601f1061090857610100808354040283529160200191610933565b820191906000526020600020905b81548152906001019060200180831161091657829003601f168201915b505050505081565b60066020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060035482111580156109825750600082115b15610b7f5760006008600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610a825750600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15610ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab990613bf6565b60405180910390fd5b836006600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051610b7191906136c1565b60405180910390a350610c66565b81600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610c5d91906136c1565b60405180910390a35b6001905092915050565b7f00000000000000000000000000000000000000000052b7d2dcc80cd2e400000081565b610c9c612000565b80600c9081610cab9190613dc2565b5050565b600e6020528060005260406000206000915090505481565b8282601060009054906101000a900460ff1615610dc357600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610d7f5750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db590613f06565b60405180910390fd5b610ede565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4790613f98565b60405180910390fd5b600f60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed49061402a565b60405180910390fd5b5b610ee9858585612087565b5050505050565b601060009054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000001281565b610f32838383610cc7565b60008273ffffffffffffffffffffffffffffffffffffffff163b1415801561101e575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b8152600401610fb993929190614081565b6020604051808303816000875af1158015610fd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffc9190614123565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611055576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b60035481565b60008111801561109057507f000000000000000000000000000000000000000000000000000000000000000a8111155b6110cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c69061419c565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000a81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461113b91906141eb565b111561117c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111739061426b565b60405180910390fd5b66470de4df8200008161118f919061428b565b34146111d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c790614319565b60405180910390fd5b6111d86128c7565b816111e3919061428b565b600460003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b906143ab565b60405180910390fd5b80600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112b391906141eb565b925050819055506112d730336112c76128c7565b846112d2919061428b565b612908565b506112e0611504565b73ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611325573d6000803e3d6000fd5b5050565b611331612000565b61133b8282612c73565b5050565b611347612000565b80601060006101000a81548160ff02191690831515021790555050565b61136c612000565b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60006008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611465576040517fc5723b5100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b611472612000565b80600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60046020528060005260406000206000915090505481565b6114ed612000565b6114f76000612c97565b565b66470de4df82000081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6002805461153a90613b79565b80601f016020809104026020016040519081016040528092919081815260200182805461156690613b79565b80156115b35780601f10611588576101008083540402835291602001916115b3565b820191906000526020600020905b81548152906001019060200180831161159657829003601f168201915b505050505081565b7f000000000000000000000000000000000000000000000000000000000000000a81565b600b6020528060005260406000206000915054906101000a900460ff1681565b80600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116f09190613697565b60405180910390a35050565b60003383601060009054906101000a900460ff16156117fa57600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806117b65750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6117f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ec90613f06565b60405180910390fd5b611915565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611887576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187e90613f98565b60405180910390fd5b600f60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190b9061402a565b60405180910390fd5b5b61191f8585612d5b565b9250505092915050565b63deaddead81565b61193c858585610cc7565b60008473ffffffffffffffffffffffffffffffffffffffff163b14158015611a2c575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b81526004016119c79594939291906143f8565b6020604051808303816000875af11580156119e6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0a9190614123565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614155b15611a63576040517f3da6393100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60606000600d8054611a7b90613b79565b90501115611ab557600d611a8e83612d70565b604051602001611a9f929190614505565b6040516020818303038152906040529050611dca565b600063deaddead83611ac791906141eb565b604051602001611ad7919061454a565b6040516020818303038152906040528051906020012060f81c9050606080600c8360ff1611611b75576040518060400160405280600581526020017f312e67696600000000000000000000000000000000000000000000000000000081525091506040518060400160405280600681526020017f54797065204900000000000000000000000000000000000000000000000000008152509050611c73565b60338360ff1611611bf5576040518060400160405280600581526020017f322e67696600000000000000000000000000000000000000000000000000000081525091506040518060400160405280600781526020017f54797065204949000000000000000000000000000000000000000000000000008152509050611c72565b60ff8360ff1611611c71576040518060400160405280600581526020017f332e67696600000000000000000000000000000000000000000000000000000081525091506040518060400160405280600881526020017f547970652049494900000000000000000000000000000000000000000000000081525090505b5b5b6000611c7e86612d70565b604051602001611c8e919061458b565b604051602081830303815290604052604051602001611cad91906146bb565b604051602081830303815290604052600c84604051602001611cd0929190614505565b604051602081830303815290604052604051602001611cf09291906146dd565b6040516020818303038152906040529050600082604051602001611d149190614773565b604051602081830303815290604052905060006040518060400160405280600481526020017f227d5d7d0000000000000000000000000000000000000000000000000000000081525090508282604051602001611d729291906146dd565b60405160208183030381529060405281604051602001611d939291906146dd565b604051602081830303815290604052604051602001611db291906147bb565b60405160208183030381529060405296505050505050505b919050565b600d8054611ddc90613b79565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0890613b79565b8015611e555780601f10611e2a57610100808354040283529160200191611e55565b820191906000526020600020905b815481529060010190602001808311611e3857829003601f168201915b505050505081565b6005602052816000526040600020602052806000526040600020600091509150505481565b611e8a612000565b80600d9081611e999190613dc2565b5050565b60076020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b600c8054611ed990613b79565b80601f0160208091040260200160405190810160405280929190818152602001828054611f0590613b79565b8015611f525780601f10611f2757610100808354040283529160200191611f52565b820191906000526020600020905b815481529060010190602001808311611f3557829003601f168201915b505050505081565b611f62612000565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611fd45760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611fcb91906135f5565b60405180910390fd5b611fdd81612c97565b50565b600f6020528060005260406000206000915054906101000a900460ff1681565b612008612e3e565b73ffffffffffffffffffffffffffffffffffffffff16612026611504565b73ffffffffffffffffffffffffffffffffffffffff161461208557612049612e3e565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161207c91906135f5565b60405180910390fd5b565b600354811161277f576008600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612128576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361218e576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141580156122515750600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156122bc57506006600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b156122fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f390613bf6565b60405180910390fd5b6123046128c7565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235291906147e1565b925050819055506123616128c7565b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506006600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506124c591906147e1565b815481106124d6576124d5614815565b5b9060005260206000200154905080600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600a6000858152602001908152602001600020548154811061254857612547614815565b5b9060005260206000200181905550600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806125a5576125a4614844565b5b60019003818190600052602060002001600090559055600a600083815260200190815260200160002054600a600083815260200190815260200160002081905550600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150556001600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061269b91906147e1565b600a600084815260200190815260200160002081905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e0314876127646128c7565b60405161277191906136c1565b60405180910390a3506128c2565b6000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146128b457818161283391906147e1565b600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6128bf848484612908565b50505b505050565b60007f0000000000000000000000000000000000000000000000000000000000000012600a6128f691906149a6565b614e20612903919061428b565b905090565b6000806129136128c7565b90506000600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084600460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129ec91906147e1565b9250508190555084600460008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600b60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612b2057600083600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612ade9190614a20565b8484612aea9190614a20565b612af491906147e1565b905060005b81811015612b1d57612b0a89612e46565b8080612b1590614a51565b915050612af9565b50505b600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612c005760008382612b7f9190614a20565b84600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bca9190614a20565b612bd491906147e1565b905060005b81811015612bfd57612bea886130a2565b8080612bf590614a51565b915050612bd9565b50505b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fe59fdd36d0d223c0c7d996db7ad796880f45e1936cb0bb7ac102e7082e03148787604051612c5d91906136c1565b60405180910390a3600193505050509392505050565b8160019081612c829190613dc2565b508060029081612c929190613dc2565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612d68338484612908565b905092915050565b606060006001612d7f84613338565b01905060008167ffffffffffffffff811115612d9e57612d9d6136e6565b5b6040519080825280601f01601f191660200182016040528015612dd05781602001600182028036833780820191505090505b509050600082602001820190505b600115612e33578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612e2757612e266149f1565b5b04945060008503612dde575b819350505050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612eac576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050612f3c91906147e1565b81548110612f4d57612f4c614815565b5b90600052602060002001549050600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480612fa957612fa8614844565b5b60019003818190600052602060002001600090559055600a6000828152602001908152602001600020600090556008600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556006600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905580600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613108576040517f9c8d2cd200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60036000815480929190600101919050555060006003549050600073ffffffffffffffffffffffffffffffffffffffff166008600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146131ba576040517f23369fa600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816008600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150506001900390600052602060002001600090919091909150556001600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506132c191906147e1565b600a600083815260200190815260200160002081905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613396577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161338c5761338b6149f1565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106133d3576d04ee2d6d415b85acef810000000083816133c9576133c86149f1565b5b0492506020810190505b662386f26fc10000831061340257662386f26fc1000083816133f8576133f76149f1565b5b0492506010810190505b6305f5e100831061342b576305f5e1008381613421576134206149f1565b5b0492506008810190505b6127108310613450576127108381613446576134456149f1565b5b0492506004810190505b606483106134735760648381613469576134686149f1565b5b0492506002810190505b600a8310613482576001810190505b80915050919050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134c55780820151818401526020810190506134aa565b60008484015250505050565b6000601f19601f8301169050919050565b60006134ed8261348b565b6134f78185613496565b93506135078185602086016134a7565b613510816134d1565b840191505092915050565b6000602082019050818103600083015261353581846134e2565b905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61356481613551565b811461356f57600080fd5b50565b6000813590506135818161355b565b92915050565b60006020828403121561359d5761359c613547565b5b60006135ab84828501613572565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135df826135b4565b9050919050565b6135ef816135d4565b82525050565b600060208201905061360a60008301846135e6565b92915050565b613619816135d4565b811461362457600080fd5b50565b60008135905061363681613610565b92915050565b6000806040838503121561365357613652613547565b5b600061366185828601613627565b925050602061367285828601613572565b9150509250929050565b60008115159050919050565b6136918161367c565b82525050565b60006020820190506136ac6000830184613688565b92915050565b6136bb81613551565b82525050565b60006020820190506136d660008301846136b2565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61371e826134d1565b810181811067ffffffffffffffff8211171561373d5761373c6136e6565b5b80604052505050565b600061375061353d565b905061375c8282613715565b919050565b600067ffffffffffffffff82111561377c5761377b6136e6565b5b613785826134d1565b9050602081019050919050565b82818337600083830152505050565b60006137b46137af84613761565b613746565b9050828152602081018484840111156137d0576137cf6136e1565b5b6137db848285613792565b509392505050565b600082601f8301126137f8576137f76136dc565b5b81356138088482602086016137a1565b91505092915050565b60006020828403121561382757613826613547565b5b600082013567ffffffffffffffff8111156138455761384461354c565b5b613851848285016137e3565b91505092915050565b6000602082840312156138705761386f613547565b5b600061387e84828501613627565b91505092915050565b6000806000606084860312156138a05761389f613547565b5b60006138ae86828701613627565b93505060206138bf86828701613627565b92505060406138d086828701613572565b9150509250925092565b600060ff82169050919050565b6138f0816138da565b82525050565b600060208201905061390b60008301846138e7565b92915050565b6000806040838503121561392857613927613547565b5b600083013567ffffffffffffffff8111156139465761394561354c565b5b613952858286016137e3565b925050602083013567ffffffffffffffff8111156139735761397261354c565b5b61397f858286016137e3565b9150509250929050565b6139928161367c565b811461399d57600080fd5b50565b6000813590506139af81613989565b92915050565b6000602082840312156139cb576139ca613547565b5b60006139d9848285016139a0565b91505092915050565b600080604083850312156139f9576139f8613547565b5b6000613a0785828601613627565b9250506020613a18858286016139a0565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613a4257613a416136dc565b5b8235905067ffffffffffffffff811115613a5f57613a5e613a22565b5b602083019150836001820283011115613a7b57613a7a613a27565b5b9250929050565b600080600080600060808688031215613a9e57613a9d613547565b5b6000613aac88828901613627565b9550506020613abd88828901613627565b9450506040613ace88828901613572565b935050606086013567ffffffffffffffff811115613aef57613aee61354c565b5b613afb88828901613a2c565b92509250509295509295909350565b60008060408385031215613b2157613b20613547565b5b6000613b2f85828601613627565b9250506020613b4085828601613627565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b9157607f821691505b602082108103613ba457613ba3613b4a565b5b50919050565b7f556e617574686f72697a65642100000000000000000000000000000000000000600082015250565b6000613be0600d83613496565b9150613beb82613baa565b602082019050919050565b60006020820190508181036000830152613c0f81613bd3565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613c787fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613c3b565b613c828683613c3b565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613cbf613cba613cb584613551565b613c9a565b613551565b9050919050565b6000819050919050565b613cd983613ca4565b613ced613ce582613cc6565b848454613c48565b825550505050565b600090565b613d02613cf5565b613d0d818484613cd0565b505050565b5b81811015613d3157613d26600082613cfa565b600181019050613d13565b5050565b601f821115613d7657613d4781613c16565b613d5084613c2b565b81016020851015613d5f578190505b613d73613d6b85613c2b565b830182613d12565b50505b505050565b600082821c905092915050565b6000613d9960001984600802613d7b565b1980831691505092915050565b6000613db28383613d88565b9150826002028217905092915050565b613dcb8261348b565b67ffffffffffffffff811115613de457613de36136e6565b5b613dee8254613b79565b613df9828285613d35565b600060209050601f831160018114613e2c5760008415613e1a578287015190505b613e248582613da6565b865550613e8c565b601f198416613e3a86613c16565b60005b82811015613e6257848901518255600182019150602085019450602081019050613e3d565b86831015613e7f5784890151613e7b601f891682613d88565b8355505b6001600288020188555050505b505050505050565b7f4d61676963426f783a20676c6f62616c20626c61636b6c69737420697320656e60008201527f61626c6564210000000000000000000000000000000000000000000000000000602082015250565b6000613ef0602683613496565b9150613efb82613e94565b604082019050919050565b60006020820190508181036000830152613f1f81613ee3565b9050919050565b7f4d61676963426f783a2073656e64657220697320696e2074686520626c61636b60008201527f6c69737421000000000000000000000000000000000000000000000000000000602082015250565b6000613f82602583613496565b9150613f8d82613f26565b604082019050919050565b60006020820190508181036000830152613fb181613f75565b9050919050565b7f4d61676963426f783a20726563697069656e7420697320696e2074686520626c60008201527f61636b6c69737421000000000000000000000000000000000000000000000000602082015250565b6000614014602883613496565b915061401f82613fb8565b604082019050919050565b6000602082019050818103600083015261404381614007565b9050919050565b600082825260208201905092915050565b50565b600061406b60008361404a565b91506140768261405b565b600082019050919050565b600060808201905061409660008301866135e6565b6140a360208301856135e6565b6140b060408301846136b2565b81810360608301526140c18161405e565b9050949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b614100816140cb565b811461410b57600080fd5b50565b60008151905061411d816140f7565b92915050565b60006020828403121561413957614138613547565b5b60006141478482850161410e565b91505092915050565b7f4d61676963426f783a20696c6c6567616c206d696e7420616d6f756e74210000600082015250565b6000614186601e83613496565b915061419182614150565b602082019050919050565b600060208201905081810360008301526141b581614179565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006141f682613551565b915061420183613551565b9250828201905080821115614219576142186141bc565b5b92915050565b7f4d61676963426f783a2065786365656420746865206d696e74206c696d697421600082015250565b6000614255602083613496565b91506142608261421f565b602082019050919050565b6000602082019050818103600083015261428481614248565b9050919050565b600061429682613551565b91506142a183613551565b92508282026142af81613551565b915082820484148315176142c6576142c56141bc565b5b5092915050565b7f4d61676963426f783a20696e636f72726563742065746865722076616c756521600082015250565b6000614303602083613496565b915061430e826142cd565b602082019050919050565b60006020820190508181036000830152614332816142f6565b9050919050565b7f4d61676963426f783a2066616972206d696e7420616c72656164792066696e6960008201527f7368656421000000000000000000000000000000000000000000000000000000602082015250565b6000614395602583613496565b91506143a082614339565b604082019050919050565b600060208201905081810360008301526143c481614388565b9050919050565b60006143d7838561404a565b93506143e4838584613792565b6143ed836134d1565b840190509392505050565b600060808201905061440d60008301886135e6565b61441a60208301876135e6565b61442760408301866136b2565b818103606083015261443a8184866143cb565b90509695505050505050565b600081905092915050565b6000815461445e81613b79565b6144688186614446565b945060018216600081146144835760018114614498576144cb565b60ff19831686528115158202860193506144cb565b6144a185613c16565b60005b838110156144c3578154818901526001820191506020810190506144a4565b838801955050505b50505092915050565b60006144df8261348b565b6144e98185614446565b93506144f98185602086016134a7565b80840191505092915050565b60006145118285614451565b915061451d82846144d4565b91508190509392505050565b6000819050919050565b61454461453f82613551565b614529565b82525050565b60006145568284614533565b60208201915081905092915050565b7f7b226e616d65223a20224d61676963426f782023000000000000000000000000815250565b600061459682614565565b6014820191506145a682846144d4565b915081905092915050565b7f222c226465736372697074696f6e223a224120636f6c6c656374696f6e206f6660008201527f20352c30303020756e697175652c20526f6775656c696b652067616d6566692060208201527f6f6e20636861696e2c20706f7765726564206279204552432d3430342070726f60408201527f746f636f6c2c20616e206578706572696d656e74616c20746f6b656e2073746160608201527f6e646172642e222c2265787465726e616c5f75726c223a2268747470733a2f2f60808201527f782e636f6d2f6d61676963626f785f657263343034222c22696d616765223a2260a082015250565b60006146a560c083614446565b91506146b0826145b1565b60c082019050919050565b60006146c782846144d4565b91506146d282614698565b915081905092915050565b60006146e982856144d4565b91506146f582846144d4565b91508190509392505050565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a225460008201527f797065222c2276616c7565223a22000000000000000000000000000000000000602082015250565b600061475d602e83614446565b915061476882614701565b602e82019050919050565b600061477e82614750565b915061478a82846144d4565b915081905092915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c0000000000815250565b60006147c682614795565b601b820191506147d682846144d4565b915081905092915050565b60006147ec82613551565b91506147f783613551565b925082820390508181111561480f5761480e6141bc565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60008160011c9050919050565b6000808291508390505b60018511156148ca578086048111156148a6576148a56141bc565b5b60018516156148b55780820291505b80810290506148c385614873565b945061488a565b94509492505050565b6000826148e3576001905061499f565b816148f1576000905061499f565b8160018114614907576002811461491157614940565b600191505061499f565b60ff841115614923576149226141bc565b5b8360020a91508482111561493a576149396141bc565b5b5061499f565b5060208310610133831016604e8410600b84101617156149755782820a9050838111156149705761496f6141bc565b5b61499f565b6149828484846001614880565b92509050818404811115614999576149986141bc565b5b81810290505b9392505050565b60006149b182613551565b91506149bc836138da565b92506149e97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846148d3565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614a2b82613551565b9150614a3683613551565b925082614a4657614a456149f1565b5b828204905092915050565b6000614a5c82613551565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614a8e57614a8d6141bc565b5b60018201905091905056fea2646970667358221220fc58aba9dff37f3b2ecc77ab903da7446c20ce120f452736cbc86e70bf03761964736f6c63430008140033

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  ]
[ 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.