ETH Price: $2,422.43 (+0.20%)

Contract

0x742B9eF794f1B63ba072E9a3a722bb7180cB5079
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Cancel Stake All167036132023-02-25 6:45:59589 days ago1677307559IN
0x742B9eF7...180cB5079
0 ETH0.0031079620.48515527
Cancel Stake All166243152023-02-14 3:28:59600 days ago1676345339IN
0x742B9eF7...180cB5079
0 ETH0.0030341214
Stake All165482102023-02-03 12:19:35610 days ago1675426775IN
0x742B9eF7...180cB5079
0 ETH0.0037579621.29207308
Cancel Stake165037082023-01-28 7:05:59617 days ago1674889559IN
0x742B9eF7...180cB5079
0 ETH0.0019034914.17405273
Stake All164160072023-01-16 1:15:11629 days ago1673831711IN
0x742B9eF7...180cB5079
0 ETH0.000512720.49006731
Cancel Stake163896282023-01-12 8:48:11633 days ago1673513291IN
0x742B9eF7...180cB5079
0 ETH0.0023107317.20652146
Cancel Stake163896262023-01-12 8:47:47633 days ago1673513267IN
0x742B9eF7...180cB5079
0 ETH0.0021626517.2607873
Claim Stake163896242023-01-12 8:47:23633 days ago1673513243IN
0x742B9eF7...180cB5079
0 ETH0.0012958516.47917255
Cancel Stake163824262023-01-11 8:38:23634 days ago1673426303IN
0x742B9eF7...180cB5079
0 ETH0.0019877713.12982692
Cancel Stake163763962023-01-10 12:25:59634 days ago1673353559IN
0x742B9eF7...180cB5079
0 ETH0.0023840615.7474046
Cancel Stake All163587242023-01-08 1:15:59637 days ago1673140559IN
0x742B9eF7...180cB5079
0 ETH0.0022016414.51142403
Claim Stake All163333262023-01-04 12:08:23640 days ago1672834103IN
0x742B9eF7...180cB5079
0 ETH0.0013080316.56095723
Cancel Stake All163246882023-01-03 7:13:23642 days ago1672730003IN
0x742B9eF7...180cB5079
0 ETH0.0020654913.61407043
Cancel Stake All163246492023-01-03 7:05:35642 days ago1672729535IN
0x742B9eF7...180cB5079
0 ETH0.0021880614.42192794
Cancel Stake All163245872023-01-03 6:53:11642 days ago1672728791IN
0x742B9eF7...180cB5079
0 ETH0.0022925415.11053422
Cancel Stake161612702022-12-11 11:48:47664 days ago1670759327IN
0x742B9eF7...180cB5079
0 ETH0.0019861514.78957016
Cancel Stake All161609992022-12-11 10:54:35665 days ago1670756075IN
0x742B9eF7...180cB5079
0 ETH0.0017320413.78698011
Claim Stake161609942022-12-11 10:53:35665 days ago1670756015IN
0x742B9eF7...180cB5079
0 ETH0.0011666214.83575203
Claim Stake All160376652022-11-24 5:10:59682 days ago1669266659IN
0x742B9eF7...180cB5079
0 ETH0.000972612.31408658
Stake All160095842022-11-20 6:58:11686 days ago1668927491IN
0x742B9eF7...180cB5079
0 ETH0.0038103412.21817937
Stake All160070652022-11-19 22:32:23686 days ago1668897143IN
0x742B9eF7...180cB5079
0 ETH0.006659711.43049996
Stake All160060332022-11-19 19:04:47686 days ago1668884687IN
0x742B9eF7...180cB5079
0 ETH0.0089246712.43001994
Call Stake Token159784292022-11-15 22:31:47690 days ago1668551507IN
0x742B9eF7...180cB5079
0 ETH0.0025365614.08332193
Call Stake Token159784262022-11-15 22:31:11690 days ago1668551471IN
0x742B9eF7...180cB5079
0 ETH0.0025093213.93208324
Claim Stake All159658892022-11-14 4:28:59692 days ago1668400139IN
0x742B9eF7...180cB5079
0 ETH0.0010068412.74756366
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakeNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : staking.sol
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.7;

import "@openzeppelin/contracts/access/Ownable.sol";
// import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
// import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

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);
}

/**
 * @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`, 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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


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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}


/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}


contract StakeNFT is Ownable {

    //State variabble
    uint private _stakingId = 0;
    address private NFTToken = 0x5b8a7C40b2c36E970794d6d7F8CFB8329e9199e1;
    address private REWARDToken = 0x8F1B7bfeFC8787C505419Fae0F2D9eB2D4203229;

    address private admin;
    uint private rate;

    //constructor
    constructor(){
        admin = msg.sender;
    }

    //enumerator
    enum StakingStatus {Active, Cancelled}

    //structs
    struct Staking {
        address staker;    
        address token;
        uint tokenId;
        uint releaseTime;
        StakingStatus status;
        uint StakingId;
    }

    //mapping
    mapping(uint => Staking) private _StakedItem; 


    //event
    event tokenStaked(address indexed staker, address indexed token, uint token_id, StakingStatus status, uint StakingId);
    event tokenCancelComplete(address indexed token, uint indexed token_id, StakingStatus indexed status, uint StakingId);

    //function to call another function
    function callStakeToken(address token, uint _tokenID) public {
        require(token == NFTToken, "incorrect NFT to stake"); // hardcode the NFT smart contract to allow only specific NFT into staking, assume 0xd2...d005 as NFT contract address
        stakeToken(token, _tokenID);
    }

    //function to transfer NFT from user to contract
    function stakeToken(address token, uint tokenId)private returns(Staking memory) {
        IERC721(token).transferFrom(msg.sender,address(this),tokenId); // User must approve() this contract address via the NFT ERC721 contract before NFT can be transfered
        uint releaseTime = block.timestamp;
        
        uint currentStakingId = _stakingId;

        Staking memory staking = Staking(msg.sender,token, tokenId, releaseTime, StakingStatus.Active, currentStakingId);
        

        _StakedItem[_stakingId] = staking;
        _stakingId++;

        emit tokenStaked(msg.sender, staking.token, staking.tokenId, staking.status, currentStakingId);
        
        return _StakedItem[currentStakingId];
    }

    //function to stake all NFTs owned by a user in a specific smart contract
    function stakeAll(address token, uint256[] memory tokenIds) external {
        require(token == NFTToken, "incorrect NFT to stake"); // hardcode the NFT smart contract to allow only specific NFT into staking, assume 0xd2...d005 as NFT contract address
        for(uint currentId = 0; currentId < tokenIds.length; currentId++) {
            stakeToken(token, tokenIds[currentId]);
        }
    }

    //function to view staked NFT
    function viewStake(uint stakingId)public view returns (Staking memory) {
        return _StakedItem[stakingId];
    }

    //function to claim reward
    function claimStake(uint stakingId) public returns(Staking memory){
        Staking storage staking = _StakedItem[stakingId];
        
        require(staking.staker == msg.sender,"You cannot cancel this staking as it is not listed under this address");
        require(staking.status == StakingStatus.Active,"Your reward is not claimable");

        uint amount = rate * (block.timestamp - staking.releaseTime) / 5 minutes;
        staking.releaseTime = block.timestamp;
        staking.status = StakingStatus.Active;

        IERC20(REWARDToken).transfer(msg.sender, amount);

        // IERC721(staking.token).transferFrom(address(this), msg.sender, staking.tokenId);
        
        return _StakedItem[stakingId];
    }
    
    //function to claim reward of all tokens at once
    function claimStakeAll(uint256[] memory stakedTokenIds) external {
        for(uint currentId = 0; currentId < stakedTokenIds.length; currentId++) {
            claimStake(stakedTokenIds[currentId]);
        }
    }

    //function to cancel NFT stake
    function cancelStake(uint stakingId) public returns (Staking memory) {
        Staking storage staking = _StakedItem[stakingId];
        require(staking.staker == msg.sender,"You cannot cancel this staking as it is not listed under this address");
        require(staking.status == StakingStatus.Active,"Staking is either not active (Cancalled or in claiming process)");
        
        claimStake(stakingId);
        staking.status = StakingStatus.Cancelled;
        IERC721(staking.token).transferFrom(address(this), msg.sender, staking.tokenId);


        emit tokenCancelComplete(staking.token, staking.tokenId, staking.status, staking.StakingId);
        return _StakedItem[stakingId];
    }

    //function to cancel NFT stake of all staked NFTs by a user
    function cancelStakeAll(uint256[] memory stakedTokenIds) external {
        for(uint currentId = 0; currentId < stakedTokenIds.length; currentId++) {
            cancelStake(stakedTokenIds[currentId]);
        }
    }

    //function to set reward rate per day
    function setRewardRate(uint newRate) external onlyAdmin {
        rate = newRate;
    }

    function getRewardRate() external view returns (uint) {
        return rate;
    }

    function getTotalStaked() external view returns (uint) {
        return _stakingId;
    }
    modifier onlyAdmin{
        require(admin == msg.sender, "OA");
        _;
    }

    function setNewAdmin(address newAdd) external onlyAdmin{
        admin = newAdd;
    }

}

File 2 of 3 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 3 of 3 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"token","type":"address"},{"indexed":true,"internalType":"uint256","name":"token_id","type":"uint256"},{"indexed":true,"internalType":"enum StakeNFT.StakingStatus","name":"status","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"StakingId","type":"uint256"}],"name":"tokenCancelComplete","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"token_id","type":"uint256"},{"indexed":false,"internalType":"enum StakeNFT.StakingStatus","name":"status","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"StakingId","type":"uint256"}],"name":"tokenStaked","type":"event"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"callStakeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakingId","type":"uint256"}],"name":"cancelStake","outputs":[{"components":[{"internalType":"address","name":"staker","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"},{"internalType":"enum StakeNFT.StakingStatus","name":"status","type":"uint8"},{"internalType":"uint256","name":"StakingId","type":"uint256"}],"internalType":"struct StakeNFT.Staking","name":"","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"stakedTokenIds","type":"uint256[]"}],"name":"cancelStakeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakingId","type":"uint256"}],"name":"claimStake","outputs":[{"components":[{"internalType":"address","name":"staker","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"},{"internalType":"enum StakeNFT.StakingStatus","name":"status","type":"uint8"},{"internalType":"uint256","name":"StakingId","type":"uint256"}],"internalType":"struct StakeNFT.Staking","name":"","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"stakedTokenIds","type":"uint256[]"}],"name":"claimStakeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalStaked","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":"newAdd","type":"address"}],"name":"setNewAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"setRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"stakeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakingId","type":"uint256"}],"name":"viewStake","outputs":[{"components":[{"internalType":"address","name":"staker","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"},{"internalType":"enum StakeNFT.StakingStatus","name":"status","type":"uint8"},{"internalType":"uint256","name":"StakingId","type":"uint256"}],"internalType":"struct StakeNFT.Staking","name":"","type":"tuple"}],"stateMutability":"view","type":"function"}]

60806040526000600155735b8a7c40b2c36e970794d6d7f8cfb8329e9199e1600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550738f1b7bfefc8787c505419fae0f2d9eb2d4203229600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156100bf57600080fd5b506100dc6100d161012260201b60201c565b61012a60201b60201c565b33600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101ee565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611fe6806101fd6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638da5cb5b1161008c578063a6d3e37a11610066578063a6d3e37a14610223578063d8de94801461023f578063f00c63b51461026f578063f2fde38b1461028b576100ea565b80638da5cb5b146101cd5780638eec99c8146101eb5780639e447fc614610207576100ea565b806344c7d6ef116100c857806344c7d6ef14610159578063715018a6146101895780637e1a37861461019357806389117cd4146101b1576100ea565b80630917e776146100ef578063236916771461010d57806341bd83511461013d575b600080fd5b6100f76102a7565b6040516101049190611a36565b60405180910390f35b610127600480360381019061012291906116c9565b6102b1565b6040516101349190611a1b565b60405180910390f35b61015760048036038101906101529190611653565b6103e3565b005b610173600480360381019061016e91906116c9565b61042a565b6040516101809190611a1b565b60405180910390f35b610191610793565b005b61019b6107a7565b6040516101a89190611a36565b60405180910390f35b6101cb60048036038101906101c69190611613565b6107b1565b005b6101d5610850565b6040516101e291906118c0565b60405180910390f35b6102056004803603810190610200919061158a565b610879565b005b610221600480360381019061021c91906116c9565b61094d565b005b61023d600480360381019061023891906115b7565b6109e7565b005b610259600480360381019061025491906116c9565b610ac0565b6040516102669190611a1b565b60405180910390f35b61028960048036038101906102849190611653565b610e81565b005b6102a560048036038101906102a0919061158a565b610ec8565b005b6000600154905090565b6102b9611439565b600660008381526020019081526020016000206040518060c00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff1660018111156103bc576103bb611cee565b5b60018111156103ce576103cd611cee565b5b81526020016005820154815250509050919050565b60005b81518110156104265761041282828151811061040557610404611d1d565b5b602002602001015161042a565b50808061041e90611c47565b9150506103e6565b5050565b610432611439565b60006006600084815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146104db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d29061195b565b60405180910390fd5b600060018111156104ef576104ee611cee565b5b8160040160009054906101000a900460ff16600181111561051357610512611cee565b5b14610553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054a9061197b565b60405180910390fd5b600061012c8260030154426105689190611b75565b6005546105759190611b1b565b61057f9190611aea565b905042826003018190555060008260040160006101000a81548160ff021916908360018111156105b2576105b1611cee565b5b0217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610614929190611912565b602060405180830381600087803b15801561062e57600080fd5b505af1158015610642573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610666919061169c565b50600660008581526020019081526020016000206040518060c00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff16600181111561076a57610769611cee565b5b600181111561077c5761077b611cee565b5b815260200160058201548152505092505050919050565b61079b610f4c565b6107a56000610fca565b565b6000600554905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610841576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108389061199b565b60405180910390fd5b61084b828261108e565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610909576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610900906119fb565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d4906119fb565b60405180910390fd5b8060058190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6e9061199b565b60405180910390fd5b60005b8151811015610abb57610aa783838381518110610a9a57610a99611d1d565b5b602002602001015161108e565b508080610ab390611c47565b915050610a7a565b505050565b610ac8611439565b60006006600084815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b689061195b565b60405180910390fd5b60006001811115610b8557610b84611cee565b5b8160040160009054906101000a900460ff166001811115610ba957610ba8611cee565b5b14610be9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be0906119bb565b60405180910390fd5b610bf28361042a565b5060018160040160006101000a81548160ff02191690836001811115610c1b57610c1a611cee565b5b02179055508060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd303384600201546040518463ffffffff1660e01b8152600401610c85939291906118db565b600060405180830381600087803b158015610c9f57600080fd5b505af1158015610cb3573d6000803e3d6000fd5b505050508060040160009054906101000a900460ff166001811115610cdb57610cda611cee565b5b81600201548260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8e501adbf23c51f4b10a55b773d057f61dd1f0ad2b39130f747a2dd1eb9f02888460050154604051610d4e9190611a36565b60405180910390a4600660008481526020019081526020016000206040518060c00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff166001811115610e5957610e58611cee565b5b6001811115610e6b57610e6a611cee565b5b8152602001600582015481525050915050919050565b60005b8151811015610ec457610eb0828281518110610ea357610ea2611d1d565b5b6020026020010151610ac0565b508080610ebc90611c47565b915050610e84565b5050565b610ed0610f4c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f379061193b565b60405180910390fd5b610f4981610fca565b50565b610f54611431565b73ffffffffffffffffffffffffffffffffffffffff16610f72610850565b73ffffffffffffffffffffffffffffffffffffffff1614610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf906119db565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611096611439565b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016110d3939291906118db565b600060405180830381600087803b1580156110ed57600080fd5b505af1158015611101573d6000803e3d6000fd5b5050505060004290506000600154905060006040518060c001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018481526020016000600181111561117657611175611cee565b5b81526020018381525090508060066000600154815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604082015181600201556060820151816003015560808201518160040160006101000a81548160ff0219169083600181111561126457611263611cee565b5b021790555060a082015181600501559050506001600081548092919061128990611c47565b9190505550806020015173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f44af49f353b8a0ed500ab278953308316db74837c1b6fc9d4522957c1f721e7c83604001518460800151866040516112fb93929190611a51565b60405180910390a3600660008381526020019081526020016000206040518060c00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff16600181111561140657611405611cee565b5b600181111561141857611417611cee565b5b8152602001600582015481525050935050505092915050565b600033905090565b6040518060c00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600060018111156114a05761149f611cee565b5b8152602001600081525090565b60006114c06114bb84611aad565b611a88565b905080838252602082019050828560208602820111156114e3576114e2611d80565b5b60005b8581101561151357816114f98882611575565b8452602084019350602083019250506001810190506114e6565b5050509392505050565b60008135905061152c81611f6b565b92915050565b600082601f83011261154757611546611d7b565b5b81356115578482602086016114ad565b91505092915050565b60008151905061156f81611f82565b92915050565b60008135905061158481611f99565b92915050565b6000602082840312156115a05761159f611d8a565b5b60006115ae8482850161151d565b91505092915050565b600080604083850312156115ce576115cd611d8a565b5b60006115dc8582860161151d565b925050602083013567ffffffffffffffff8111156115fd576115fc611d85565b5b61160985828601611532565b9150509250929050565b6000806040838503121561162a57611629611d8a565b5b60006116388582860161151d565b925050602061164985828601611575565b9150509250929050565b60006020828403121561166957611668611d8a565b5b600082013567ffffffffffffffff81111561168757611686611d85565b5b61169384828501611532565b91505092915050565b6000602082840312156116b2576116b1611d8a565b5b60006116c084828501611560565b91505092915050565b6000602082840312156116df576116de611d8a565b5b60006116ed84828501611575565b91505092915050565b6116ff81611ba9565b82525050565b61170e81611ba9565b82525050565b61171d81611c04565b82525050565b61172c81611c04565b82525050565b600061173f602683611ad9565b915061174a82611da0565b604082019050919050565b6000611762604583611ad9565b915061176d82611def565b606082019050919050565b6000611785601c83611ad9565b915061179082611e64565b602082019050919050565b60006117a8601683611ad9565b91506117b382611e8d565b602082019050919050565b60006117cb603f83611ad9565b91506117d682611eb6565b604082019050919050565b60006117ee602083611ad9565b91506117f982611f05565b602082019050919050565b6000611811600283611ad9565b915061181c82611f2e565b602082019050919050565b60c08201600082015161183d60008501826116f6565b50602082015161185060208501826116f6565b50604082015161186360408501826118a2565b50606082015161187660608501826118a2565b5060808201516118896080850182611714565b5060a082015161189c60a08501826118a2565b50505050565b6118ab81611bfa565b82525050565b6118ba81611bfa565b82525050565b60006020820190506118d56000830184611705565b92915050565b60006060820190506118f06000830186611705565b6118fd6020830185611705565b61190a60408301846118b1565b949350505050565b60006040820190506119276000830185611705565b61193460208301846118b1565b9392505050565b6000602082019050818103600083015261195481611732565b9050919050565b6000602082019050818103600083015261197481611755565b9050919050565b6000602082019050818103600083015261199481611778565b9050919050565b600060208201905081810360008301526119b48161179b565b9050919050565b600060208201905081810360008301526119d4816117be565b9050919050565b600060208201905081810360008301526119f4816117e1565b9050919050565b60006020820190508181036000830152611a1481611804565b9050919050565b600060c082019050611a306000830184611827565b92915050565b6000602082019050611a4b60008301846118b1565b92915050565b6000606082019050611a6660008301866118b1565b611a736020830185611723565b611a8060408301846118b1565b949350505050565b6000611a92611aa3565b9050611a9e8282611c16565b919050565b6000604051905090565b600067ffffffffffffffff821115611ac857611ac7611d4c565b5b602082029050602081019050919050565b600082825260208201905092915050565b6000611af582611bfa565b9150611b0083611bfa565b925082611b1057611b0f611cbf565b5b828204905092915050565b6000611b2682611bfa565b9150611b3183611bfa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611b6a57611b69611c90565b5b828202905092915050565b6000611b8082611bfa565b9150611b8b83611bfa565b925082821015611b9e57611b9d611c90565b5b828203905092915050565b6000611bb482611bda565b9050919050565b60008115159050919050565b6000819050611bd582611f57565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611c0f82611bc7565b9050919050565b611c1f82611d8f565b810181811067ffffffffffffffff82111715611c3e57611c3d611d4c565b5b80604052505050565b6000611c5282611bfa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611c8557611c84611c90565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f596f752063616e6e6f742063616e63656c2074686973207374616b696e67206160008201527f73206974206973206e6f74206c697374656420756e646572207468697320616460208201527f6472657373000000000000000000000000000000000000000000000000000000604082015250565b7f596f757220726577617264206973206e6f7420636c61696d61626c6500000000600082015250565b7f696e636f7272656374204e465420746f207374616b6500000000000000000000600082015250565b7f5374616b696e6720697320656974686572206e6f74206163746976652028436160008201527f6e63616c6c6564206f7220696e20636c61696d696e672070726f636573732900602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f41000000000000000000000000000000000000000000000000000000000000600082015250565b60028110611f6857611f67611cee565b5b50565b611f7481611ba9565b8114611f7f57600080fd5b50565b611f8b81611bbb565b8114611f9657600080fd5b50565b611fa281611bfa565b8114611fad57600080fd5b5056fea26469706673582212201fe0a4d0d08b1119f0929a24e19948e127fd550e55c58b4bfe482c3f6d29721064736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638da5cb5b1161008c578063a6d3e37a11610066578063a6d3e37a14610223578063d8de94801461023f578063f00c63b51461026f578063f2fde38b1461028b576100ea565b80638da5cb5b146101cd5780638eec99c8146101eb5780639e447fc614610207576100ea565b806344c7d6ef116100c857806344c7d6ef14610159578063715018a6146101895780637e1a37861461019357806389117cd4146101b1576100ea565b80630917e776146100ef578063236916771461010d57806341bd83511461013d575b600080fd5b6100f76102a7565b6040516101049190611a36565b60405180910390f35b610127600480360381019061012291906116c9565b6102b1565b6040516101349190611a1b565b60405180910390f35b61015760048036038101906101529190611653565b6103e3565b005b610173600480360381019061016e91906116c9565b61042a565b6040516101809190611a1b565b60405180910390f35b610191610793565b005b61019b6107a7565b6040516101a89190611a36565b60405180910390f35b6101cb60048036038101906101c69190611613565b6107b1565b005b6101d5610850565b6040516101e291906118c0565b60405180910390f35b6102056004803603810190610200919061158a565b610879565b005b610221600480360381019061021c91906116c9565b61094d565b005b61023d600480360381019061023891906115b7565b6109e7565b005b610259600480360381019061025491906116c9565b610ac0565b6040516102669190611a1b565b60405180910390f35b61028960048036038101906102849190611653565b610e81565b005b6102a560048036038101906102a0919061158a565b610ec8565b005b6000600154905090565b6102b9611439565b600660008381526020019081526020016000206040518060c00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff1660018111156103bc576103bb611cee565b5b60018111156103ce576103cd611cee565b5b81526020016005820154815250509050919050565b60005b81518110156104265761041282828151811061040557610404611d1d565b5b602002602001015161042a565b50808061041e90611c47565b9150506103e6565b5050565b610432611439565b60006006600084815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146104db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d29061195b565b60405180910390fd5b600060018111156104ef576104ee611cee565b5b8160040160009054906101000a900460ff16600181111561051357610512611cee565b5b14610553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054a9061197b565b60405180910390fd5b600061012c8260030154426105689190611b75565b6005546105759190611b1b565b61057f9190611aea565b905042826003018190555060008260040160006101000a81548160ff021916908360018111156105b2576105b1611cee565b5b0217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610614929190611912565b602060405180830381600087803b15801561062e57600080fd5b505af1158015610642573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610666919061169c565b50600660008581526020019081526020016000206040518060c00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff16600181111561076a57610769611cee565b5b600181111561077c5761077b611cee565b5b815260200160058201548152505092505050919050565b61079b610f4c565b6107a56000610fca565b565b6000600554905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610841576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108389061199b565b60405180910390fd5b61084b828261108e565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610909576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610900906119fb565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d4906119fb565b60405180910390fd5b8060058190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6e9061199b565b60405180910390fd5b60005b8151811015610abb57610aa783838381518110610a9a57610a99611d1d565b5b602002602001015161108e565b508080610ab390611c47565b915050610a7a565b505050565b610ac8611439565b60006006600084815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b689061195b565b60405180910390fd5b60006001811115610b8557610b84611cee565b5b8160040160009054906101000a900460ff166001811115610ba957610ba8611cee565b5b14610be9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be0906119bb565b60405180910390fd5b610bf28361042a565b5060018160040160006101000a81548160ff02191690836001811115610c1b57610c1a611cee565b5b02179055508060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd303384600201546040518463ffffffff1660e01b8152600401610c85939291906118db565b600060405180830381600087803b158015610c9f57600080fd5b505af1158015610cb3573d6000803e3d6000fd5b505050508060040160009054906101000a900460ff166001811115610cdb57610cda611cee565b5b81600201548260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8e501adbf23c51f4b10a55b773d057f61dd1f0ad2b39130f747a2dd1eb9f02888460050154604051610d4e9190611a36565b60405180910390a4600660008481526020019081526020016000206040518060c00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff166001811115610e5957610e58611cee565b5b6001811115610e6b57610e6a611cee565b5b8152602001600582015481525050915050919050565b60005b8151811015610ec457610eb0828281518110610ea357610ea2611d1d565b5b6020026020010151610ac0565b508080610ebc90611c47565b915050610e84565b5050565b610ed0610f4c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f379061193b565b60405180910390fd5b610f4981610fca565b50565b610f54611431565b73ffffffffffffffffffffffffffffffffffffffff16610f72610850565b73ffffffffffffffffffffffffffffffffffffffff1614610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf906119db565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611096611439565b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016110d3939291906118db565b600060405180830381600087803b1580156110ed57600080fd5b505af1158015611101573d6000803e3d6000fd5b5050505060004290506000600154905060006040518060c001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018481526020016000600181111561117657611175611cee565b5b81526020018381525090508060066000600154815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604082015181600201556060820151816003015560808201518160040160006101000a81548160ff0219169083600181111561126457611263611cee565b5b021790555060a082015181600501559050506001600081548092919061128990611c47565b9190505550806020015173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f44af49f353b8a0ed500ab278953308316db74837c1b6fc9d4522957c1f721e7c83604001518460800151866040516112fb93929190611a51565b60405180910390a3600660008381526020019081526020016000206040518060c00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160028201548152602001600382015481526020016004820160009054906101000a900460ff16600181111561140657611405611cee565b5b600181111561141857611417611cee565b5b8152602001600582015481525050935050505092915050565b600033905090565b6040518060c00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600060018111156114a05761149f611cee565b5b8152602001600081525090565b60006114c06114bb84611aad565b611a88565b905080838252602082019050828560208602820111156114e3576114e2611d80565b5b60005b8581101561151357816114f98882611575565b8452602084019350602083019250506001810190506114e6565b5050509392505050565b60008135905061152c81611f6b565b92915050565b600082601f83011261154757611546611d7b565b5b81356115578482602086016114ad565b91505092915050565b60008151905061156f81611f82565b92915050565b60008135905061158481611f99565b92915050565b6000602082840312156115a05761159f611d8a565b5b60006115ae8482850161151d565b91505092915050565b600080604083850312156115ce576115cd611d8a565b5b60006115dc8582860161151d565b925050602083013567ffffffffffffffff8111156115fd576115fc611d85565b5b61160985828601611532565b9150509250929050565b6000806040838503121561162a57611629611d8a565b5b60006116388582860161151d565b925050602061164985828601611575565b9150509250929050565b60006020828403121561166957611668611d8a565b5b600082013567ffffffffffffffff81111561168757611686611d85565b5b61169384828501611532565b91505092915050565b6000602082840312156116b2576116b1611d8a565b5b60006116c084828501611560565b91505092915050565b6000602082840312156116df576116de611d8a565b5b60006116ed84828501611575565b91505092915050565b6116ff81611ba9565b82525050565b61170e81611ba9565b82525050565b61171d81611c04565b82525050565b61172c81611c04565b82525050565b600061173f602683611ad9565b915061174a82611da0565b604082019050919050565b6000611762604583611ad9565b915061176d82611def565b606082019050919050565b6000611785601c83611ad9565b915061179082611e64565b602082019050919050565b60006117a8601683611ad9565b91506117b382611e8d565b602082019050919050565b60006117cb603f83611ad9565b91506117d682611eb6565b604082019050919050565b60006117ee602083611ad9565b91506117f982611f05565b602082019050919050565b6000611811600283611ad9565b915061181c82611f2e565b602082019050919050565b60c08201600082015161183d60008501826116f6565b50602082015161185060208501826116f6565b50604082015161186360408501826118a2565b50606082015161187660608501826118a2565b5060808201516118896080850182611714565b5060a082015161189c60a08501826118a2565b50505050565b6118ab81611bfa565b82525050565b6118ba81611bfa565b82525050565b60006020820190506118d56000830184611705565b92915050565b60006060820190506118f06000830186611705565b6118fd6020830185611705565b61190a60408301846118b1565b949350505050565b60006040820190506119276000830185611705565b61193460208301846118b1565b9392505050565b6000602082019050818103600083015261195481611732565b9050919050565b6000602082019050818103600083015261197481611755565b9050919050565b6000602082019050818103600083015261199481611778565b9050919050565b600060208201905081810360008301526119b48161179b565b9050919050565b600060208201905081810360008301526119d4816117be565b9050919050565b600060208201905081810360008301526119f4816117e1565b9050919050565b60006020820190508181036000830152611a1481611804565b9050919050565b600060c082019050611a306000830184611827565b92915050565b6000602082019050611a4b60008301846118b1565b92915050565b6000606082019050611a6660008301866118b1565b611a736020830185611723565b611a8060408301846118b1565b949350505050565b6000611a92611aa3565b9050611a9e8282611c16565b919050565b6000604051905090565b600067ffffffffffffffff821115611ac857611ac7611d4c565b5b602082029050602081019050919050565b600082825260208201905092915050565b6000611af582611bfa565b9150611b0083611bfa565b925082611b1057611b0f611cbf565b5b828204905092915050565b6000611b2682611bfa565b9150611b3183611bfa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611b6a57611b69611c90565b5b828202905092915050565b6000611b8082611bfa565b9150611b8b83611bfa565b925082821015611b9e57611b9d611c90565b5b828203905092915050565b6000611bb482611bda565b9050919050565b60008115159050919050565b6000819050611bd582611f57565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611c0f82611bc7565b9050919050565b611c1f82611d8f565b810181811067ffffffffffffffff82111715611c3e57611c3d611d4c565b5b80604052505050565b6000611c5282611bfa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611c8557611c84611c90565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f596f752063616e6e6f742063616e63656c2074686973207374616b696e67206160008201527f73206974206973206e6f74206c697374656420756e646572207468697320616460208201527f6472657373000000000000000000000000000000000000000000000000000000604082015250565b7f596f757220726577617264206973206e6f7420636c61696d61626c6500000000600082015250565b7f696e636f7272656374204e465420746f207374616b6500000000000000000000600082015250565b7f5374616b696e6720697320656974686572206e6f74206163746976652028436160008201527f6e63616c6c6564206f7220696e20636c61696d696e672070726f636573732900602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f41000000000000000000000000000000000000000000000000000000000000600082015250565b60028110611f6857611f67611cee565b5b50565b611f7481611ba9565b8114611f7f57600080fd5b50565b611f8b81611bbb565b8114611f9657600080fd5b50565b611fa281611bfa565b8114611fad57600080fd5b5056fea26469706673582212201fe0a4d0d08b1119f0929a24e19948e127fd550e55c58b4bfe482c3f6d29721064736f6c63430008070033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.