APE Price: $1.01 (+2.12%)

Contract

0xeD50A320d926a950ca0EfFF7B9bDA7C56bF73F6E

Overview

APE Balance

Apechain LogoApechain LogoApechain Logo0 APE

APE Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Parent Transaction Hash Block From To
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFTMarketplace

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 5 : NFTMarketplace.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Address.sol";

contract NFTMarketplace is ReentrancyGuard {
    using Address for address payable;

    uint256 private constant DECIMALS = 18;

    struct Listing {
        address seller;
        uint256 price;
    }

    // mapping from NFT contract address => tokenId => Listing
    mapping(address => mapping(uint256 => Listing)) public listings;

    event NFTListed(
        address indexed nftContract,
        uint256 indexed tokenId,
        uint256 price,
        address indexed seller
    );
    event NFTSold(
        address indexed nftContract,
        uint256 indexed tokenId,
        uint256 price,
        address indexed buyer
    );
    event NFTDelisted(
        address indexed nftContract,
        uint256 indexed tokenId,
        address indexed seller
    );

    // 列出NFT
    function listNFT(
        address nftContract,
        uint256 tokenId,
        uint256 priceInAPE
    ) external {
        IERC721 nft = IERC721(nftContract);

        // 确保调用者是 NFT 的所有者
        require(nft.ownerOf(tokenId) == msg.sender, "You are not the owner");

        // 确保调用者已将该 NFT 授权给合约,以便合约可以进行转移
        require(
            nft.isApprovedForAll(msg.sender, address(this)) ||
                nft.getApproved(tokenId) == address(this),
            "Marketplace not approved"
        );

        // 确保NFT没有被列出
        require(
            listings[nftContract][tokenId].price == 0,
            "NFT is already listed"
        );

        // 创建上架记录
        listings[nftContract][tokenId] = Listing(msg.sender, priceInAPE);

        emit NFTListed(nftContract, tokenId, priceInAPE, msg.sender);
    }

    // 购买NFT
    function buyNFT(
        address nftContract,
        uint256 tokenId
    ) external payable nonReentrant {
        Listing memory listedItem = listings[nftContract][tokenId];

        // 确保NFT已经上架并且未被售出
        require(listedItem.price > 0, "NFT not for sale");

        // 确保买家支付的金额符合NFT的价格
        require(msg.value >= listedItem.price, "Insufficient funds");

        // 确保买家不是卖家
        require(listedItem.seller != msg.sender, "You cannot buy your own NFT");

        // 删除上架信息
        delete listings[nftContract][tokenId];

        // 将款项支付给卖家
        payable(listedItem.seller).sendValue(msg.value);

        // 将NFT转移给买家
        IERC721(nftContract).safeTransferFrom(
            listedItem.seller,
            msg.sender,
            tokenId
        );

        emit NFTSold(nftContract, tokenId, listedItem.price, msg.sender);

        // 如果买家支付超过价格,退还多余的部分
        uint256 excessAmount = msg.value - listedItem.price;
        if (excessAmount > 0) {
            payable(msg.sender).sendValue(excessAmount);
        }
    }

    // 撤下NFT
    function delistNFT(address nftContract, uint256 tokenId) external {
        Listing memory listedItem = listings[nftContract][tokenId];

        // 确保调用者是卖家
        require(listedItem.seller == msg.sender, "You are not the seller");

        // 确保卖家仍然拥有该NFT
        require(
            IERC721(nftContract).ownerOf(tokenId) == msg.sender,
            "Seller no longer owns NFT"
        );

        // 删除上架信息
        delete listings[nftContract][tokenId];

        emit NFTDelisted(nftContract, tokenId, msg.sender);
    }

    // 查询某个 NFT 是否在售
    function isListed(
        address nftContract,
        uint256 tokenId
    ) public view returns (bool) {
        return listings[nftContract][tokenId].price > 0;
    }

    // 查询NFT的价格(返回用户可理解的价格)
    function getNFTPrice(
        address nftContract,
        uint256 tokenId
    ) external view returns (uint256) {
        Listing memory listedItem = listings[nftContract][tokenId];

        // 如果NFT未列出,返回0
        require(listedItem.price > 0, "NFT is not listed for sale");

        // 返回无精度的价格(例如 0.1 APE)
        return listedItem.price / 10 ** DECIMALS;
    }
}

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

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

File 3 of 5 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

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

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

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

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

File 4 of 5 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 5 of 5 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nftContract","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"seller","type":"address"}],"name":"NFTDelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nftContract","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":true,"internalType":"address","name":"seller","type":"address"}],"name":"NFTListed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nftContract","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":true,"internalType":"address","name":"buyer","type":"address"}],"name":"NFTSold","type":"event"},{"inputs":[{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"buyNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"delistNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getNFTPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"priceInAPE","type":"uint256"}],"name":"listNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"listings","outputs":[{"internalType":"address","name":"seller","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b506001600081905550611a36806100286000396000f3fe6080604052600436106100545760003560e01c806207df3014610059578063a17a709414610097578063a82ba76f146100c0578063ad05f1b4146100dc578063bc24179314610105578063cdb3cd2514610142575b600080fd5b34801561006557600080fd5b50610080600480360381019061007b919061100c565b61017f565b60405161008e92919061106a565b60405180910390f35b3480156100a357600080fd5b506100be60048036038101906100b9919061100c565b6101d0565b005b6100da60048036038101906100d5919061100c565b6104ca565b005b3480156100e857600080fd5b5061010360048036038101906100fe9190611093565b610872565b005b34801561011157600080fd5b5061012c6004803603810190610127919061100c565b610c99565b60405161013991906110e6565b60405180910390f35b34801561014e57600080fd5b506101696004803603810190610164919061100c565b610dc6565b604051610176919061111c565b60405180910390f35b6001602052816000526040600020602052806000526040600020600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152505090503373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f890611194565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161035191906110e6565b602060405180830381865afa15801561036e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039291906111c9565b73ffffffffffffffffffffffffffffffffffffffff16146103e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103df90611242565b60405180910390fd5b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905550503373ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff167f2701bc311aaa7a88a3c143b24dc4239305023243939a7735e244af9ad209bce260405160405180910390a4505050565b6104d2610e26565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481525050905060008160200151116105d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105cf906112ae565b60405180910390fd5b806020015134101561061f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106169061131a565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068890611386565b60405180910390fd5b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160009055505061074034826000015173ffffffffffffffffffffffffffffffffffffffff16610e7590919063ffffffff16565b8273ffffffffffffffffffffffffffffffffffffffff166342842e0e826000015133856040518463ffffffff1660e01b8152600401610781939291906113a6565b600060405180830381600087803b15801561079b57600080fd5b505af11580156107af573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff167f77c3ced349b08a2af4e9d443fb697437c3197b3095d43fcbdc2cdc97b1a60e0c846020015160405161081591906110e6565b60405180910390a4600081602001513461082f919061140c565b9050600081111561086457610863813373ffffffffffffffffffffffffffffffffffffffff16610e7590919063ffffffff16565b5b505061086e610f69565b5050565b60008390503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b81526004016108c791906110e6565b602060405180830381865afa1580156108e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090891906111c9565b73ffffffffffffffffffffffffffffffffffffffff161461095e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109559061148c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b81526004016109999291906114ac565b602060405180830381865afa1580156109b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109da9190611501565b80610a8957503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663081812fc856040518263ffffffff1660e01b8152600401610a3091906110e6565b602060405180830381865afa158015610a4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7191906111c9565b73ffffffffffffffffffffffffffffffffffffffff16145b610ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abf9061157a565b60405180910390fd5b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000206001015414610b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b55906115e6565b60405180910390fd5b60405180604001604052803373ffffffffffffffffffffffffffffffffffffffff16815260200183815250600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101559050503373ffffffffffffffffffffffffffffffffffffffff16838573ffffffffffffffffffffffffffffffffffffffff167f5ba0ddd8e72e3c5c274414bd1ef0dec9ae5220e0f6f534d859043e2a52f0319f85604051610c8b91906110e6565b60405180910390a450505050565b600080600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152505090506000816020015111610da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9790611652565b60405180910390fd5b6012600a610dae91906117a5565b8160200151610dbd919061181f565b91505092915050565b600080600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000206001015411905092915050565b600260005403610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e629061189c565b60405180910390fd5b6002600081905550565b80471015610eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaf90611908565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051610ede90611959565b60006040518083038185875af1925050503d8060008114610f1b576040519150601f19603f3d011682016040523d82523d6000602084013e610f20565b606091505b5050905080610f64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5b906119e0565b60405180910390fd5b505050565b6001600081905550565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610fa382610f78565b9050919050565b610fb381610f98565b8114610fbe57600080fd5b50565b600081359050610fd081610faa565b92915050565b6000819050919050565b610fe981610fd6565b8114610ff457600080fd5b50565b60008135905061100681610fe0565b92915050565b6000806040838503121561102357611022610f73565b5b600061103185828601610fc1565b925050602061104285828601610ff7565b9150509250929050565b61105581610f98565b82525050565b61106481610fd6565b82525050565b600060408201905061107f600083018561104c565b61108c602083018461105b565b9392505050565b6000806000606084860312156110ac576110ab610f73565b5b60006110ba86828701610fc1565b93505060206110cb86828701610ff7565b92505060406110dc86828701610ff7565b9150509250925092565b60006020820190506110fb600083018461105b565b92915050565b60008115159050919050565b61111681611101565b82525050565b6000602082019050611131600083018461110d565b92915050565b600082825260208201905092915050565b7f596f7520617265206e6f74207468652073656c6c657200000000000000000000600082015250565b600061117e601683611137565b915061118982611148565b602082019050919050565b600060208201905081810360008301526111ad81611171565b9050919050565b6000815190506111c381610faa565b92915050565b6000602082840312156111df576111de610f73565b5b60006111ed848285016111b4565b91505092915050565b7f53656c6c6572206e6f206c6f6e676572206f776e73204e465400000000000000600082015250565b600061122c601983611137565b9150611237826111f6565b602082019050919050565b6000602082019050818103600083015261125b8161121f565b9050919050565b7f4e4654206e6f7420666f722073616c6500000000000000000000000000000000600082015250565b6000611298601083611137565b91506112a382611262565b602082019050919050565b600060208201905081810360008301526112c78161128b565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000611304601283611137565b915061130f826112ce565b602082019050919050565b60006020820190508181036000830152611333816112f7565b9050919050565b7f596f752063616e6e6f742062757920796f7572206f776e204e46540000000000600082015250565b6000611370601b83611137565b915061137b8261133a565b602082019050919050565b6000602082019050818103600083015261139f81611363565b9050919050565b60006060820190506113bb600083018661104c565b6113c8602083018561104c565b6113d5604083018461105b565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061141782610fd6565b915061142283610fd6565b925082820390508181111561143a576114396113dd565b5b92915050565b7f596f7520617265206e6f7420746865206f776e65720000000000000000000000600082015250565b6000611476601583611137565b915061148182611440565b602082019050919050565b600060208201905081810360008301526114a581611469565b9050919050565b60006040820190506114c1600083018561104c565b6114ce602083018461104c565b9392505050565b6114de81611101565b81146114e957600080fd5b50565b6000815190506114fb816114d5565b92915050565b60006020828403121561151757611516610f73565b5b6000611525848285016114ec565b91505092915050565b7f4d61726b6574706c616365206e6f7420617070726f7665640000000000000000600082015250565b6000611564601883611137565b915061156f8261152e565b602082019050919050565b6000602082019050818103600083015261159381611557565b9050919050565b7f4e465420697320616c7265616479206c69737465640000000000000000000000600082015250565b60006115d0601583611137565b91506115db8261159a565b602082019050919050565b600060208201905081810360008301526115ff816115c3565b9050919050565b7f4e4654206973206e6f74206c697374656420666f722073616c65000000000000600082015250565b600061163c601a83611137565b915061164782611606565b602082019050919050565b6000602082019050818103600083015261166b8161162f565b9050919050565b60008160011c9050919050565b6000808291508390505b60018511156116c9578086048111156116a5576116a46113dd565b5b60018516156116b45780820291505b80810290506116c285611672565b9450611689565b94509492505050565b6000826116e2576001905061179e565b816116f0576000905061179e565b816001811461170657600281146117105761173f565b600191505061179e565b60ff841115611722576117216113dd565b5b8360020a915084821115611739576117386113dd565b5b5061179e565b5060208310610133831016604e8410600b84101617156117745782820a90508381111561176f5761176e6113dd565b5b61179e565b611781848484600161167f565b92509050818404811115611798576117976113dd565b5b81810290505b9392505050565b60006117b082610fd6565b91506117bb83610fd6565b92506117e87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846116d2565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061182a82610fd6565b915061183583610fd6565b925082611845576118446117f0565b5b828204905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000611886601f83611137565b915061189182611850565b602082019050919050565b600060208201905081810360008301526118b581611879565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006118f2601d83611137565b91506118fd826118bc565b602082019050919050565b60006020820190508181036000830152611921816118e5565b9050919050565b600081905092915050565b50565b6000611943600083611928565b915061194e82611933565b600082019050919050565b600061196482611936565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006119ca603a83611137565b91506119d58261196e565b604082019050919050565b600060208201905081810360008301526119f9816119bd565b905091905056fea2646970667358221220705a8a15049e6121cb75c73c3207741808c31d48df22816f3a30241be3d5058564736f6c63430008140033

Deployed Bytecode

0x6080604052600436106100545760003560e01c806207df3014610059578063a17a709414610097578063a82ba76f146100c0578063ad05f1b4146100dc578063bc24179314610105578063cdb3cd2514610142575b600080fd5b34801561006557600080fd5b50610080600480360381019061007b919061100c565b61017f565b60405161008e92919061106a565b60405180910390f35b3480156100a357600080fd5b506100be60048036038101906100b9919061100c565b6101d0565b005b6100da60048036038101906100d5919061100c565b6104ca565b005b3480156100e857600080fd5b5061010360048036038101906100fe9190611093565b610872565b005b34801561011157600080fd5b5061012c6004803603810190610127919061100c565b610c99565b60405161013991906110e6565b60405180910390f35b34801561014e57600080fd5b506101696004803603810190610164919061100c565b610dc6565b604051610176919061111c565b60405180910390f35b6001602052816000526040600020602052806000526040600020600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152505090503373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f890611194565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161035191906110e6565b602060405180830381865afa15801561036e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039291906111c9565b73ffffffffffffffffffffffffffffffffffffffff16146103e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103df90611242565b60405180910390fd5b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905550503373ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff167f2701bc311aaa7a88a3c143b24dc4239305023243939a7735e244af9ad209bce260405160405180910390a4505050565b6104d2610e26565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481525050905060008160200151116105d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105cf906112ae565b60405180910390fd5b806020015134101561061f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106169061131a565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068890611386565b60405180910390fd5b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160009055505061074034826000015173ffffffffffffffffffffffffffffffffffffffff16610e7590919063ffffffff16565b8273ffffffffffffffffffffffffffffffffffffffff166342842e0e826000015133856040518463ffffffff1660e01b8152600401610781939291906113a6565b600060405180830381600087803b15801561079b57600080fd5b505af11580156107af573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff167f77c3ced349b08a2af4e9d443fb697437c3197b3095d43fcbdc2cdc97b1a60e0c846020015160405161081591906110e6565b60405180910390a4600081602001513461082f919061140c565b9050600081111561086457610863813373ffffffffffffffffffffffffffffffffffffffff16610e7590919063ffffffff16565b5b505061086e610f69565b5050565b60008390503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b81526004016108c791906110e6565b602060405180830381865afa1580156108e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090891906111c9565b73ffffffffffffffffffffffffffffffffffffffff161461095e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109559061148c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663e985e9c533306040518363ffffffff1660e01b81526004016109999291906114ac565b602060405180830381865afa1580156109b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109da9190611501565b80610a8957503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663081812fc856040518263ffffffff1660e01b8152600401610a3091906110e6565b602060405180830381865afa158015610a4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7191906111c9565b73ffffffffffffffffffffffffffffffffffffffff16145b610ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abf9061157a565b60405180910390fd5b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008581526020019081526020016000206001015414610b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b55906115e6565b60405180910390fd5b60405180604001604052803373ffffffffffffffffffffffffffffffffffffffff16815260200183815250600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101559050503373ffffffffffffffffffffffffffffffffffffffff16838573ffffffffffffffffffffffffffffffffffffffff167f5ba0ddd8e72e3c5c274414bd1ef0dec9ae5220e0f6f534d859043e2a52f0319f85604051610c8b91906110e6565b60405180910390a450505050565b600080600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152505090506000816020015111610da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9790611652565b60405180910390fd5b6012600a610dae91906117a5565b8160200151610dbd919061181f565b91505092915050565b600080600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000206001015411905092915050565b600260005403610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e629061189c565b60405180910390fd5b6002600081905550565b80471015610eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaf90611908565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051610ede90611959565b60006040518083038185875af1925050503d8060008114610f1b576040519150601f19603f3d011682016040523d82523d6000602084013e610f20565b606091505b5050905080610f64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5b906119e0565b60405180910390fd5b505050565b6001600081905550565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610fa382610f78565b9050919050565b610fb381610f98565b8114610fbe57600080fd5b50565b600081359050610fd081610faa565b92915050565b6000819050919050565b610fe981610fd6565b8114610ff457600080fd5b50565b60008135905061100681610fe0565b92915050565b6000806040838503121561102357611022610f73565b5b600061103185828601610fc1565b925050602061104285828601610ff7565b9150509250929050565b61105581610f98565b82525050565b61106481610fd6565b82525050565b600060408201905061107f600083018561104c565b61108c602083018461105b565b9392505050565b6000806000606084860312156110ac576110ab610f73565b5b60006110ba86828701610fc1565b93505060206110cb86828701610ff7565b92505060406110dc86828701610ff7565b9150509250925092565b60006020820190506110fb600083018461105b565b92915050565b60008115159050919050565b61111681611101565b82525050565b6000602082019050611131600083018461110d565b92915050565b600082825260208201905092915050565b7f596f7520617265206e6f74207468652073656c6c657200000000000000000000600082015250565b600061117e601683611137565b915061118982611148565b602082019050919050565b600060208201905081810360008301526111ad81611171565b9050919050565b6000815190506111c381610faa565b92915050565b6000602082840312156111df576111de610f73565b5b60006111ed848285016111b4565b91505092915050565b7f53656c6c6572206e6f206c6f6e676572206f776e73204e465400000000000000600082015250565b600061122c601983611137565b9150611237826111f6565b602082019050919050565b6000602082019050818103600083015261125b8161121f565b9050919050565b7f4e4654206e6f7420666f722073616c6500000000000000000000000000000000600082015250565b6000611298601083611137565b91506112a382611262565b602082019050919050565b600060208201905081810360008301526112c78161128b565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000611304601283611137565b915061130f826112ce565b602082019050919050565b60006020820190508181036000830152611333816112f7565b9050919050565b7f596f752063616e6e6f742062757920796f7572206f776e204e46540000000000600082015250565b6000611370601b83611137565b915061137b8261133a565b602082019050919050565b6000602082019050818103600083015261139f81611363565b9050919050565b60006060820190506113bb600083018661104c565b6113c8602083018561104c565b6113d5604083018461105b565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061141782610fd6565b915061142283610fd6565b925082820390508181111561143a576114396113dd565b5b92915050565b7f596f7520617265206e6f7420746865206f776e65720000000000000000000000600082015250565b6000611476601583611137565b915061148182611440565b602082019050919050565b600060208201905081810360008301526114a581611469565b9050919050565b60006040820190506114c1600083018561104c565b6114ce602083018461104c565b9392505050565b6114de81611101565b81146114e957600080fd5b50565b6000815190506114fb816114d5565b92915050565b60006020828403121561151757611516610f73565b5b6000611525848285016114ec565b91505092915050565b7f4d61726b6574706c616365206e6f7420617070726f7665640000000000000000600082015250565b6000611564601883611137565b915061156f8261152e565b602082019050919050565b6000602082019050818103600083015261159381611557565b9050919050565b7f4e465420697320616c7265616479206c69737465640000000000000000000000600082015250565b60006115d0601583611137565b91506115db8261159a565b602082019050919050565b600060208201905081810360008301526115ff816115c3565b9050919050565b7f4e4654206973206e6f74206c697374656420666f722073616c65000000000000600082015250565b600061163c601a83611137565b915061164782611606565b602082019050919050565b6000602082019050818103600083015261166b8161162f565b9050919050565b60008160011c9050919050565b6000808291508390505b60018511156116c9578086048111156116a5576116a46113dd565b5b60018516156116b45780820291505b80810290506116c285611672565b9450611689565b94509492505050565b6000826116e2576001905061179e565b816116f0576000905061179e565b816001811461170657600281146117105761173f565b600191505061179e565b60ff841115611722576117216113dd565b5b8360020a915084821115611739576117386113dd565b5b5061179e565b5060208310610133831016604e8410600b84101617156117745782820a90508381111561176f5761176e6113dd565b5b61179e565b611781848484600161167f565b92509050818404811115611798576117976113dd565b5b81810290505b9392505050565b60006117b082610fd6565b91506117bb83610fd6565b92506117e87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846116d2565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061182a82610fd6565b915061183583610fd6565b925082611845576118446117f0565b5b828204905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000611886601f83611137565b915061189182611850565b602082019050919050565b600060208201905081810360008301526118b581611879565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006118f2601d83611137565b91506118fd826118bc565b602082019050919050565b60006020820190508181036000830152611921816118e5565b9050919050565b600081905092915050565b50565b6000611943600083611928565b915061194e82611933565b600082019050919050565b600061196482611936565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006119ca603a83611137565b91506119d58261196e565b604082019050919050565b600060208201905081810360008301526119f9816119bd565b905091905056fea2646970667358221220705a8a15049e6121cb75c73c3207741808c31d48df22816f3a30241be3d5058564736f6c63430008140033

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

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.