POL Price: $0.594568 (-2.47%)
Gas: 31.5 GWei
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Stake NFT649657502024-12-01 20:04:223 mins ago1733083462IN
0x30077e59...D33AB23bB
0 POL0.0036755135.43176662
Stake NFT649657292024-12-01 20:03:383 mins ago1733083418IN
0x30077e59...D33AB23bB
0 POL0.0035058235.43137351
Stake NFT649656912024-12-01 20:02:165 mins ago1733083336IN
0x30077e59...D33AB23bB
0 POL0.0037940936.5749027
Stake NFT649656762024-12-01 20:01:445 mins ago1733083304IN
0x30077e59...D33AB23bB
0 POL0.0036795935.46701757
Stake NFT649656612024-12-01 20:01:126 mins ago1733083272IN
0x30077e59...D33AB23bB
0 POL0.0034234633.00202042
Stake NFT649656462024-12-01 20:00:406 mins ago1733083240IN
0x30077e59...D33AB23bB
0 POL0.0036759335.43170304
Stake NFT649654182024-12-01 19:52:3614 mins ago1733082756IN
0x30077e59...D33AB23bB
0 POL0.0037348936.00424155
Stake NFT649653812024-12-01 19:51:1816 mins ago1733082678IN
0x30077e59...D33AB23bB
0 POL0.0036313135.00163763
Stake NFT649653682024-12-01 19:50:5016 mins ago1733082650IN
0x30077e59...D33AB23bB
0 POL0.003390232.68138476
Stake NFT649653602024-12-01 19:50:3416 mins ago1733082634IN
0x30077e59...D33AB23bB
0 POL0.0032945433.29198245
Stake NFT649653292024-12-01 19:49:2817 mins ago1733082568IN
0x30077e59...D33AB23bB
0 POL0.0036759235.43164389
Stake NFT649653272024-12-01 19:49:2218 mins ago1733082562IN
0x30077e59...D33AB23bB
0 POL0.0034916635.27970152
Stake NFT649652632024-12-01 19:47:0520 mins ago1733082425IN
0x30077e59...D33AB23bB
0 POL0.0031126530.00235674
Stake NFT649652632024-12-01 19:47:0520 mins ago1733082425IN
0x30077e59...D33AB23bB
0 POL0.0031122930.00235674
Stake NFT649652632024-12-01 19:47:0520 mins ago1733082425IN
0x30077e59...D33AB23bB
0 POL0.0013476130.00235674
Stake NFT649652632024-12-01 19:47:0520 mins ago1733082425IN
0x30077e59...D33AB23bB
0 POL0.0013476130.00235674
Stake NFT649652542024-12-01 19:46:4720 mins ago1733082407IN
0x30077e59...D33AB23bB
0 POL0.0033046533.40231567
Stake NFT649652102024-12-01 19:45:1322 mins ago1733082313IN
0x30077e59...D33AB23bB
0 POL0.0035060135.43324582
Stake NFT649651632024-12-01 19:43:2524 mins ago1733082205IN
0x30077e59...D33AB23bB
0 POL0.003385134.21543288
Stake NFT649651352024-12-01 19:42:2525 mins ago1733082145IN
0x30077e59...D33AB23bB
0 POL0.0035060135.43330177
Stake NFT649650252024-12-01 19:38:3328 mins ago1733081913IN
0x30077e59...D33AB23bB
0 POL0.0036767735.4398062
Stake NFT649646132024-12-01 19:23:4743 mins ago1733081027IN
0x30077e59...D33AB23bB
0 POL0.0033419432.21619837
Stake NFT649645772024-12-01 19:22:2944 mins ago1733080949IN
0x30077e59...D33AB23bB
0 POL0.0037252335.90691535
Stake NFT649645252024-12-01 19:20:3746 mins ago1733080837IN
0x30077e59...D33AB23bB
0 POL0.0034692233.44316445
Stake NFT649644872024-12-01 19:19:0548 mins ago1733080745IN
0x30077e59...D33AB23bB
0 POL0.0038599231.94059835
View all transactions

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

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

Contract Name:
NFTStaking

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : node_nft_staking_flattened.sol
/**
 *Submitted for verification at polygonscan.com on 2024-11-09
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * 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[ERC section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;


/**
 * @dev Required interface of an ERC-721 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 ERC-721 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 ERC-721
     * 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 address zero.
     *
     * 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: @openzeppelin/contracts/utils/Context.sol


// 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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;


/**
 * @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: @openzeppelin/contracts/security/ReentrancyGuard.sol


// 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: node_staking.sol


pragma solidity ^0.8.17;




contract NFTStaking is Ownable(msg.sender), ReentrancyGuard  {
    struct StakeInfo {
        address user;
        bool isActive;
    }

    // NFT 合约地址 -> Token ID -> 质押信息
    mapping(address => mapping(uint256 => StakeInfo)) public stakes;

    // 用户地址 -> 质押的 NFT 列表(合约地址和 Token ID)
    mapping(address => uint256[]) public userStakes;

    event NFTStaked(address indexed user, address indexed nftContract, uint256 tokenId);
    event NFTWithdrawn(address indexed user, address indexed nftContract, uint256 tokenId);
    event NFTActivated(address indexed nftContract, uint256 tokenId);

    // **质押 NFT**
    function stakeNFT(address nftContract, uint256 tokenId) external nonReentrant {
        IERC721(nftContract).transferFrom(msg.sender, address(this), tokenId);

        stakes[nftContract][tokenId] = StakeInfo({
            user: msg.sender,
            isActive: false
        });

        userStakes[msg.sender].push(tokenId);
        emit NFTStaked(msg.sender, nftContract, tokenId);
    }

    // **管理员批准提取 NFT**
    function setActive(address nftContract, uint256 tokenId) external onlyOwner {
        require(stakes[nftContract][tokenId].user != address(0), "NFT not staked");
        stakes[nftContract][tokenId].isActive = true;
        emit NFTActivated(nftContract, tokenId);
    }

    // **提取 NFT**
    function withdrawNFT(address nftContract, uint256 tokenId) external nonReentrant {
        StakeInfo storage stake = stakes[nftContract][tokenId];
        require(stake.user == msg.sender, "Not the owner");
        require(stake.isActive, "NFT not yet approved for withdrawal");

        // 删除质押记录
        _removeStake(msg.sender, tokenId);
        IERC721(nftContract).transferFrom(address(this), msg.sender, tokenId);
        emit NFTWithdrawn(msg.sender, nftContract, tokenId);
    }

    // **删除用户质押记录**
    function _removeStake(address user, uint256 tokenId) internal {
        uint256[] storage tokens = userStakes[user];
        for (uint256 i = 0; i < tokens.length; i++) {
            if (tokens[i] == tokenId) {
                tokens[i] = tokens[tokens.length - 1]; // 用最后一个元素覆盖删除的元素
                tokens.pop(); // 删除最后一个元素
                break;
            }
        }
    }

    // **查询用户的质押 NFT 列表**
    function getUserStakes(address user) external view returns (uint256[] memory) {
        return userStakes[user];
    }

    // **查询某个 NFT 的质押状态**
    function getStakeInfo(address nftContract, uint256 tokenId) external view returns (StakeInfo memory) {
        return stakes[nftContract][tokenId];
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nftContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NFTActivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"nftContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NFTStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"nftContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"NFTWithdrawn","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"},{"inputs":[{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getStakeInfo","outputs":[{"components":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"isActive","type":"bool"}],"internalType":"struct NFTStaking.StakeInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getUserStakes","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"stakeNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakes","outputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"isActive","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userStakes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftContract","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawNFT","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561000f575f80fd5b506004361061009c575f3560e01c8063842e298111610064578063842e2981146101435780638da5cb5b14610173578063b13270d514610191578063b5d5b5fa146101ad578063f2fde38b146101dd5761009c565b8063395b695e146100a05780633b521efe146100bc578063584b62a1146100ec5780636088e93a1461011d578063715018a614610139575b5f80fd5b6100ba60048036038101906100b59190610ddb565b6101f9565b005b6100d660048036038101906100d19190610ddb565b610395565b6040516100e39190610e6f565b60405180910390f35b61010660048036038101906101019190610ddb565b61046a565b604051610114929190610ea6565b60405180910390f35b61013760048036038101906101329190610ddb565b6104c0565b005b6101416106dd565b005b61015d60048036038101906101589190610ecd565b6106f0565b60405161016a9190610faf565b60405180910390f35b61017b610783565b6040516101889190610fcf565b60405180910390f35b6101ab60048036038101906101a69190610ddb565b6107aa565b005b6101c760048036038101906101c29190610ddb565b6109cd565b6040516101d49190610ff7565b60405180910390f35b6101f760048036038101906101f29190610ecd565b6109f8565b005b610201610a7c565b5f73ffffffffffffffffffffffffffffffffffffffff1660025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036102dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102d39061106a565b60405180910390fd5b600160025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f205f0160146101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f3c850cbfa0c815dc27bb43805d03f0b1bae9793a676046990cb95895a6dd0ef3826040516103899190610ff7565b60405180910390a25050565b61039d610d1a565b60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f206040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a900460ff161515151581525050905092915050565b6002602052815f5260405f20602052805f5260405f205f9150915050805f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690805f0160149054906101000a900460ff16905082565b6104c8610b03565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f2090503373ffffffffffffffffffffffffffffffffffffffff16815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146105a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059e906110d2565b60405180910390fd5b805f0160149054906101000a900460ff166105f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ee90611160565b60405180910390fd5b6106013383610b52565b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3033856040518463ffffffff1660e01b815260040161063e9392919061117e565b5f604051808303815f87803b158015610655575f80fd5b505af1158015610667573d5f803e3d5ffd5b505050508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fbbde41973f9ce4890f7ad9762c23d8191f261fd643bdf13ed8bbc10549b49fcb846040516106c89190610ff7565b60405180910390a3506106d9610c49565b5050565b6106e5610a7c565b6106ee5f610c52565b565b606060035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080548060200260200160405190810160405280929190818152602001828054801561077757602002820191905f5260205f20905b815481526020019060010190808311610763575b50505050509050919050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6107b2610b03565b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016107ef9392919061117e565b5f604051808303815f87803b158015610806575f80fd5b505af1158015610818573d5f803e3d5ffd5b5050505060405180604001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020015f151581525060025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f205f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a81548160ff02191690831515021790555090505060035f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f90919091909150558173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f45a0b747ada8575b65125b2144e0de1ff692ff4510bb94a2f9695fcaf1d2bdf3836040516109b99190610ff7565b60405180910390a36109c9610c49565b5050565b6003602052815f5260405f2081815481106109e6575f80fd5b905f5260205f20015f91509150505481565b610a00610a7c565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a70575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610a679190610fcf565b60405180910390fd5b610a7981610c52565b50565b610a84610d13565b73ffffffffffffffffffffffffffffffffffffffff16610aa2610783565b73ffffffffffffffffffffffffffffffffffffffff1614610b0157610ac5610d13565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610af89190610fcf565b60405180910390fd5b565b600260015403610b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3f906111fd565b60405180910390fd5b6002600181905550565b5f60035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090505f5b8180549050811015610c435782828281548110610bb457610bb361121b565b5b905f5260205f20015403610c36578160018380549050610bd49190611275565b81548110610be557610be461121b565b5b905f5260205f200154828281548110610c0157610c0061121b565b5b905f5260205f20018190555081805480610c1e57610c1d6112a8565b5b600190038181905f5260205f20015f90559055610c43565b8080600101915050610b94565b50505050565b60018081905550565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b60405180604001604052805f73ffffffffffffffffffffffffffffffffffffffff1681526020015f151581525090565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610d7782610d4e565b9050919050565b610d8781610d6d565b8114610d91575f80fd5b50565b5f81359050610da281610d7e565b92915050565b5f819050919050565b610dba81610da8565b8114610dc4575f80fd5b50565b5f81359050610dd581610db1565b92915050565b5f8060408385031215610df157610df0610d4a565b5b5f610dfe85828601610d94565b9250506020610e0f85828601610dc7565b9150509250929050565b610e2281610d6d565b82525050565b5f8115159050919050565b610e3c81610e28565b82525050565b604082015f820151610e565f850182610e19565b506020820151610e696020850182610e33565b50505050565b5f604082019050610e825f830184610e42565b92915050565b610e9181610d6d565b82525050565b610ea081610e28565b82525050565b5f604082019050610eb95f830185610e88565b610ec66020830184610e97565b9392505050565b5f60208284031215610ee257610ee1610d4a565b5b5f610eef84828501610d94565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b610f2a81610da8565b82525050565b5f610f3b8383610f21565b60208301905092915050565b5f602082019050919050565b5f610f5d82610ef8565b610f678185610f02565b9350610f7283610f12565b805f5b83811015610fa2578151610f898882610f30565b9750610f9483610f47565b925050600181019050610f75565b5085935050505092915050565b5f6020820190508181035f830152610fc78184610f53565b905092915050565b5f602082019050610fe25f830184610e88565b92915050565b610ff181610da8565b82525050565b5f60208201905061100a5f830184610fe8565b92915050565b5f82825260208201905092915050565b7f4e4654206e6f74207374616b65640000000000000000000000000000000000005f82015250565b5f611054600e83611010565b915061105f82611020565b602082019050919050565b5f6020820190508181035f83015261108181611048565b9050919050565b7f4e6f7420746865206f776e6572000000000000000000000000000000000000005f82015250565b5f6110bc600d83611010565b91506110c782611088565b602082019050919050565b5f6020820190508181035f8301526110e9816110b0565b9050919050565b7f4e4654206e6f742079657420617070726f76656420666f7220776974686472615f8201527f77616c0000000000000000000000000000000000000000000000000000000000602082015250565b5f61114a602383611010565b9150611155826110f0565b604082019050919050565b5f6020820190508181035f8301526111778161113e565b9050919050565b5f6060820190506111915f830186610e88565b61119e6020830185610e88565b6111ab6040830184610fe8565b949350505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f6111e7601f83611010565b91506111f2826111b3565b602082019050919050565b5f6020820190508181035f830152611214816111db565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61127f82610da8565b915061128a83610da8565b92508282039050818111156112a2576112a1611248565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffdfea2646970667358221220c3cae0a7b7d103b1d8560f0fe149c87a3b6015d1341e2508fea41d12598b07eb64736f6c634300081a0033

Block Transaction 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
[ 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.