ETH Price: $3,317.79 (-3.15%)

Contract

0xbD3041cdc089cDDcc609ceb1B149D55DAE7491C5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Un Lock NFT212708412024-11-26 8:50:4715 hrs ago1732611047IN
0xbD3041cd...DAE7491C5
0 ETH0.00072610.9246331
Un Lock NFT212708412024-11-26 8:50:4715 hrs ago1732611047IN
0xbD3041cd...DAE7491C5
0 ETH0.0007720310.9246331
Un Lock NFT212708412024-11-26 8:50:4715 hrs ago1732611047IN
0xbD3041cd...DAE7491C5
0 ETH0.0007720310.9246331
Un Lock NFT212708412024-11-26 8:50:4715 hrs ago1732611047IN
0xbD3041cd...DAE7491C5
0 ETH0.0007720310.9246331
Un Lock NFT212708172024-11-26 8:45:5915 hrs ago1732610759IN
0xbD3041cd...DAE7491C5
0 ETH0.000845111.95865442
Un Lock NFT212708072024-11-26 8:43:5915 hrs ago1732610639IN
0xbD3041cd...DAE7491C5
0 ETH0.0008120511.49095466
Un Lock NFT212708072024-11-26 8:43:5915 hrs ago1732610639IN
0xbD3041cd...DAE7491C5
0 ETH0.0010085411.49095466
Un Lock NFT212689602024-11-26 2:32:2321 hrs ago1732588343IN
0xbD3041cd...DAE7491C5
0 ETH0.000536746.46928122
Un Lock NFT212440092024-11-22 14:56:354 days ago1732287395IN
0xbD3041cd...DAE7491C5
0 ETH0.0012361414.8989132
Un Lock NFT211158912024-11-04 17:51:2322 days ago1730742683IN
0xbD3041cd...DAE7491C5
0 ETH0.00057696.95322379
Un Lock NFT210105532024-10-21 1:05:1136 days ago1729472711IN
0xbD3041cd...DAE7491C5
0 ETH0.000620679.33970949
Un Lock NFT210105512024-10-21 1:04:4736 days ago1729472687IN
0xbD3041cd...DAE7491C5
0 ETH0.000806429.18802666
Multiple Lock209046282024-10-06 6:09:4751 days ago1728194987IN
0xbD3041cd...DAE7491C5
0 ETH0.000682193.74640634
Un Lock NFT208828042024-10-03 5:09:3554 days ago1727932175IN
0xbD3041cd...DAE7491C5
0 ETH0.000264843.19209463
Un Lock NFT208795002024-10-02 18:06:4755 days ago1727892407IN
0xbD3041cd...DAE7491C5
0 ETH0.0007607726.41104809
Un Lock NFT208794992024-10-02 18:06:3555 days ago1727892395IN
0xbD3041cd...DAE7491C5
0 ETH0.0021134125.472389
Un Lock NFT208572912024-09-29 15:48:1158 days ago1727624891IN
0xbD3041cd...DAE7491C5
0 ETH0.000656327.91047296
Un Lock NFT208510482024-09-28 18:52:4759 days ago1727549567IN
0xbD3041cd...DAE7491C5
0 ETH0.000418676.3
Un Lock NFT208510382024-09-28 18:50:4759 days ago1727549447IN
0xbD3041cd...DAE7491C5
0 ETH0.000414835.87012404
Un Lock NFT208510372024-09-28 18:50:3559 days ago1727549435IN
0xbD3041cd...DAE7491C5
0 ETH0.000438146.2
Un Lock NFT208510372024-09-28 18:50:3559 days ago1727549435IN
0xbD3041cd...DAE7491C5
0 ETH0.000438146.2
Un Lock NFT208510362024-09-28 18:50:2359 days ago1727549423IN
0xbD3041cd...DAE7491C5
0 ETH0.000438146.2
Un Lock NFT208510352024-09-28 18:50:1159 days ago1727549411IN
0xbD3041cd...DAE7491C5
0 ETH0.000438076.2
Un Lock NFT208510342024-09-28 18:49:5959 days ago1727549399IN
0xbD3041cd...DAE7491C5
0 ETH0.000162755.65038235
Un Lock NFT208510322024-09-28 18:49:3559 days ago1727549375IN
0xbD3041cd...DAE7491C5
0 ETH0.000433756.13778605
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:
AlphaLocker

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 8 : AlphaLocker.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

/*
░█████╗░██╗░░░░░██████╗░██╗░░██╗░█████╗░  ██╗░░░░░░█████╗░░█████╗░██╗░░██╗███████╗██████╗░
██╔══██╗██║░░░░░██╔══██╗██║░░██║██╔══██╗  ██║░░░░░██╔══██╗██╔══██╗██║░██╔╝██╔════╝██╔══██╗
███████║██║░░░░░██████╔╝███████║███████║  ██║░░░░░██║░░██║██║░░╚═╝█████═╝░█████╗░░██████╔╝
██╔══██║██║░░░░░██╔═══╝░██╔══██║██╔══██║  ██║░░░░░██║░░██║██║░░██╗██╔═██╗░██╔══╝░░██╔══██╗
██║░░██║███████╗██║░░░░░██║░░██║██║░░██║  ███████╗╚█████╔╝╚█████╔╝██║░╚██╗███████╗██║░░██║
╚═╝░░╚═╝╚══════╝╚═╝░░░░░╚═╝░░╚═╝╚═╝░░╚═╝  ╚══════╝░╚════╝░░╚════╝░╚═╝░░╚═╝╚══════╝╚═╝░░╚═╝
*/

interface IERC721 {
    function ownerOf(uint256 tokenId) external view returns (address);
    function transferFrom(address from, address to, uint256 tokenId) external;
}

contract AlphaLocker is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    
    //Declare Events
    event Locked(address indexed _owner, uint256 _tokenId, uint256 _timeStamp);
    event Unlocked(address indexed _owner, uint256 _tokenId, uint256 _timeStamp);

    struct Locker {
        bool locked;  // 0 -> Unlocked, 1 -> Locked
        uint256 tokenNumber;
        address lockerOwner;
    }

    // Mapping NFT to locker
    mapping (uint256 => Locker) public nftLocker;

    IERC721 public nftTokenAddress;

    mapping(address => uint256) public nftLocked;

    uint256 public stakingCounter = 0;

    function updateNftAddress(IERC721 _token) public onlyOwner {
        require(stakingCounter==0, "NFT's Already staked, cannot change address");
        nftTokenAddress = IERC721(_token);
    }
    
    function lock(uint256 _tokenId) public {
        require(nftTokenAddress.ownerOf(_tokenId)==msg.sender, "You are not Owner of the NFT");
        Locker storage locker = nftLocker[_tokenId];

        nftTokenAddress.transferFrom(msg.sender, address(this), _tokenId);
        locker.lockerOwner = msg.sender;
        locker.locked = true;
        locker.tokenNumber = _tokenId;

        nftLocked[msg.sender] += 1;
        stakingCounter += 1;
        
        // Emit Locked!
        emit Locked(msg.sender, _tokenId, block.timestamp); 
    }

    function multipleLock(uint256[] memory _tokenList) external nonReentrant {
        for(uint256 i=0; i<_tokenList.length;i++)
        {
            lock(_tokenList[i]);
        }
    }

    function unLockNFT(uint256 _tokenId) external nonReentrant  {
        Locker storage locker = nftLocker[_tokenId];
        require(locker.locked, "This NFT is not Locked");
        require(locker.lockerOwner==msg.sender, "You are not owner of the Token");
        require(nftTokenAddress.ownerOf(_tokenId)==address(this), "NFT is not locked in this contract");
        
        nftTokenAddress.transferFrom(address(this), locker.lockerOwner, _tokenId);
        locker.locked = false;
        locker.lockerOwner = address(0);

        nftLocked[msg.sender] -= 1;
        stakingCounter -=1;
        
        // Emit Unlocked!
        emit Unlocked(locker.lockerOwner, _tokenId, block.timestamp); 
    }

}

File 2 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 3 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 4 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 5 of 8 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 6 of 8 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_timeStamp","type":"uint256"}],"name":"Locked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_timeStamp","type":"uint256"}],"name":"Unlocked","type":"event"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenList","type":"uint256[]"}],"name":"multipleLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nftLocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nftLocker","outputs":[{"internalType":"bool","name":"locked","type":"bool"},{"internalType":"uint256","name":"tokenNumber","type":"uint256"},{"internalType":"address","name":"lockerOwner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftTokenAddress","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"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":[],"name":"stakingCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"unLockNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"_token","type":"address"}],"name":"updateNftAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060055534801561001557600080fd5b5061001f33610028565b60018055610078565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610b65806100876000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80639210f805116100715780639210f80514610130578063cf99105d14610193578063dd467064146101a6578063e5eb7ae8146101b9578063ea07dcd2146101cc578063f2fde38b146101df57600080fd5b8063059cd0cd146100ae578063715018a6146100de57806382780b6f146100e85780638da5cb5b146101165780638fcf3a4a14610127575b600080fd5b6003546100c1906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100e66101f2565b005b6101086100f6366004610958565b60046020526000908152604090205481565b6040519081526020016100d5565b6000546001600160a01b03166100c1565b61010860055481565b61016d61013e36600461097c565b600260208190526000918252604090912080546001820154919092015460ff909216916001600160a01b031683565b60408051931515845260208401929092526001600160a01b0316908201526060016100d5565b6100e66101a136600461097c565b610231565b6100e66101b436600461097c565b610527565b6100e66101c7366004610958565b610709565b6100e66101da3660046109ab565b6107b9565b6100e66101ed366004610958565b610858565b6000546001600160a01b031633146102255760405162461bcd60e51b815260040161021c90610a69565b60405180910390fd5b61022f60006108f3565b565b6002600154036102835760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161021c565b60026001819055600082815260209190915260409020805460ff166102e35760405162461bcd60e51b8152602060048201526016602482015275151a1a5cc8139195081a5cc81b9bdd08131bd8dad95960521b604482015260640161021c565b60028101546001600160a01b0316331461033f5760405162461bcd60e51b815260206004820152601e60248201527f596f7520617265206e6f74206f776e6572206f662074686520546f6b656e0000604482015260640161021c565b6003546040516331a9108f60e11b81526004810184905230916001600160a01b031690636352211e90602401602060405180830381865afa158015610388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ac9190610a9e565b6001600160a01b03161461040d5760405162461bcd60e51b815260206004820152602260248201527f4e4654206973206e6f74206c6f636b656420696e207468697320636f6e74726160448201526118dd60f21b606482015260840161021c565b60035460028201546040516323b872dd60e01b81523060048201526001600160a01b039182166024820152604481018590529116906323b872dd90606401600060405180830381600087803b15801561046557600080fd5b505af1158015610479573d6000803e3d6000fd5b5050825460ff1916835550506002810180546001600160a01b03191690553360009081526004602052604081208054600192906104b7908490610ad1565b925050819055506001600560008282546104d19190610ad1565b90915550506002810154604080518481524260208201526001600160a01b03909216917f3f2f29fa02cc34566ac167b446be0be9e0254cac18eda93b2dfe6a7a7c8affb9910160405180910390a2505060018055565b6003546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa158015610570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105949190610a9e565b6001600160a01b0316146105ea5760405162461bcd60e51b815260206004820152601c60248201527f596f7520617265206e6f74204f776e6572206f6620746865204e465400000000604482015260640161021c565b6000818152600260205260409081902060035491516323b872dd60e01b81523360048201523060248201526044810184905290916001600160a01b0316906323b872dd90606401600060405180830381600087803b15801561064b57600080fd5b505af115801561065f573d6000803e3d6000fd5b5050506002820180546001600160a01b03191633908117909155825460ff1916600190811784558084018590556000918252600460205260408220805491935091906106ac908490610ae8565b925050819055506001600560008282546106c69190610ae8565b90915550506040805183815242602082015233917fd4665e3049283582ba6f9eba07a5b3e12dab49e02da99e8927a47af5d134bea5910160405180910390a25050565b6000546001600160a01b031633146107335760405162461bcd60e51b815260040161021c90610a69565b600554156107975760405162461bcd60e51b815260206004820152602b60248201527f4e4654277320416c7265616479207374616b65642c2063616e6e6f742063686160448201526a6e6765206164647265737360a81b606482015260840161021c565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60026001540361080b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161021c565b600260015560005b81518110156108505761083e82828151811061083157610831610b00565b6020026020010151610527565b8061084881610b16565b915050610813565b505060018055565b6000546001600160a01b031633146108825760405162461bcd60e51b815260040161021c90610a69565b6001600160a01b0381166108e75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161021c565b6108f0816108f3565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146108f057600080fd5b60006020828403121561096a57600080fd5b813561097581610943565b9392505050565b60006020828403121561098e57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156109be57600080fd5b823567ffffffffffffffff808211156109d657600080fd5b818501915085601f8301126109ea57600080fd5b8135818111156109fc576109fc610995565b8060051b604051601f19603f83011681018181108582111715610a2157610a21610995565b604052918252848201925083810185019188831115610a3f57600080fd5b938501935b82851015610a5d57843584529385019392850192610a44565b98975050505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610ab057600080fd5b815161097581610943565b634e487b7160e01b600052601160045260246000fd5b600082821015610ae357610ae3610abb565b500390565b60008219821115610afb57610afb610abb565b500190565b634e487b7160e01b600052603260045260246000fd5b600060018201610b2857610b28610abb565b506001019056fea26469706673582212205035cde116e647e61458581adaf3b2435594d787613c49146497ecdd79b9e23864736f6c634300080e0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80639210f805116100715780639210f80514610130578063cf99105d14610193578063dd467064146101a6578063e5eb7ae8146101b9578063ea07dcd2146101cc578063f2fde38b146101df57600080fd5b8063059cd0cd146100ae578063715018a6146100de57806382780b6f146100e85780638da5cb5b146101165780638fcf3a4a14610127575b600080fd5b6003546100c1906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100e66101f2565b005b6101086100f6366004610958565b60046020526000908152604090205481565b6040519081526020016100d5565b6000546001600160a01b03166100c1565b61010860055481565b61016d61013e36600461097c565b600260208190526000918252604090912080546001820154919092015460ff909216916001600160a01b031683565b60408051931515845260208401929092526001600160a01b0316908201526060016100d5565b6100e66101a136600461097c565b610231565b6100e66101b436600461097c565b610527565b6100e66101c7366004610958565b610709565b6100e66101da3660046109ab565b6107b9565b6100e66101ed366004610958565b610858565b6000546001600160a01b031633146102255760405162461bcd60e51b815260040161021c90610a69565b60405180910390fd5b61022f60006108f3565b565b6002600154036102835760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161021c565b60026001819055600082815260209190915260409020805460ff166102e35760405162461bcd60e51b8152602060048201526016602482015275151a1a5cc8139195081a5cc81b9bdd08131bd8dad95960521b604482015260640161021c565b60028101546001600160a01b0316331461033f5760405162461bcd60e51b815260206004820152601e60248201527f596f7520617265206e6f74206f776e6572206f662074686520546f6b656e0000604482015260640161021c565b6003546040516331a9108f60e11b81526004810184905230916001600160a01b031690636352211e90602401602060405180830381865afa158015610388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ac9190610a9e565b6001600160a01b03161461040d5760405162461bcd60e51b815260206004820152602260248201527f4e4654206973206e6f74206c6f636b656420696e207468697320636f6e74726160448201526118dd60f21b606482015260840161021c565b60035460028201546040516323b872dd60e01b81523060048201526001600160a01b039182166024820152604481018590529116906323b872dd90606401600060405180830381600087803b15801561046557600080fd5b505af1158015610479573d6000803e3d6000fd5b5050825460ff1916835550506002810180546001600160a01b03191690553360009081526004602052604081208054600192906104b7908490610ad1565b925050819055506001600560008282546104d19190610ad1565b90915550506002810154604080518481524260208201526001600160a01b03909216917f3f2f29fa02cc34566ac167b446be0be9e0254cac18eda93b2dfe6a7a7c8affb9910160405180910390a2505060018055565b6003546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa158015610570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105949190610a9e565b6001600160a01b0316146105ea5760405162461bcd60e51b815260206004820152601c60248201527f596f7520617265206e6f74204f776e6572206f6620746865204e465400000000604482015260640161021c565b6000818152600260205260409081902060035491516323b872dd60e01b81523360048201523060248201526044810184905290916001600160a01b0316906323b872dd90606401600060405180830381600087803b15801561064b57600080fd5b505af115801561065f573d6000803e3d6000fd5b5050506002820180546001600160a01b03191633908117909155825460ff1916600190811784558084018590556000918252600460205260408220805491935091906106ac908490610ae8565b925050819055506001600560008282546106c69190610ae8565b90915550506040805183815242602082015233917fd4665e3049283582ba6f9eba07a5b3e12dab49e02da99e8927a47af5d134bea5910160405180910390a25050565b6000546001600160a01b031633146107335760405162461bcd60e51b815260040161021c90610a69565b600554156107975760405162461bcd60e51b815260206004820152602b60248201527f4e4654277320416c7265616479207374616b65642c2063616e6e6f742063686160448201526a6e6765206164647265737360a81b606482015260840161021c565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60026001540361080b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161021c565b600260015560005b81518110156108505761083e82828151811061083157610831610b00565b6020026020010151610527565b8061084881610b16565b915050610813565b505060018055565b6000546001600160a01b031633146108825760405162461bcd60e51b815260040161021c90610a69565b6001600160a01b0381166108e75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161021c565b6108f0816108f3565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146108f057600080fd5b60006020828403121561096a57600080fd5b813561097581610943565b9392505050565b60006020828403121561098e57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156109be57600080fd5b823567ffffffffffffffff808211156109d657600080fd5b818501915085601f8301126109ea57600080fd5b8135818111156109fc576109fc610995565b8060051b604051601f19603f83011681018181108582111715610a2157610a21610995565b604052918252848201925083810185019188831115610a3f57600080fd5b938501935b82851015610a5d57843584529385019392850192610a44565b98975050505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610ab057600080fd5b815161097581610943565b634e487b7160e01b600052601160045260246000fd5b600082821015610ae357610ae3610abb565b500390565b60008219821115610afb57610afb610abb565b500190565b634e487b7160e01b600052603260045260246000fd5b600060018201610b2857610b28610abb565b506001019056fea26469706673582212205035cde116e647e61458581adaf3b2435594d787613c49146497ecdd79b9e23864736f6c634300080e0033

Deployed Bytecode Sourcemap

2184:2363:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2726:30;;;;;-1:-1:-1;;;;;2726:30:7;;;;;;-1:-1:-1;;;;;194:32:8;;;176:51;;164:2;149:18;2726:30:7;;;;;;;;1668:101:0;;;:::i;:::-;;2765:44:7;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;772:25:8;;;760:2;745:18;2765:44:7;626:177:8;1036:85:0;1082:7;1108:6;-1:-1:-1;;;;;1108:6:0;1036:85;;2818:33:7;;;;;;2673:44;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2673:44:7;;;;;;;1422:14:8;;1415:22;1397:41;;1469:2;1454:18;;1447:34;;;;-1:-1:-1;;;;;1517:32:8;1497:18;;;1490:60;1385:2;1370:18;2673:44:7;1201:355:8;3826:716:7;;;;;;:::i;:::-;;:::i;3067:555::-;;;;;;:::i;:::-;;:::i;2860:195::-;;;;;;:::i;:::-;;:::i;3630:188::-;;;;;;:::i;:::-;;:::i;1918:198:0:-;;;;;;:::i;:::-;;:::i;1668:101::-;1082:7;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;;;;;;;;;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;3826:716:7:-;1744:1:1;2325:7;;:19;2317:63;;;;-1:-1:-1;;;2317:63:1;;3644:2:8;2317:63:1;;;3626:21:8;3683:2;3663:18;;;3656:30;3722:33;3702:18;;;3695:61;3773:18;;2317:63:1;3442:355:8;2317:63:1;1744:1;2455:7;:18;;;3897:21:7::1;3921:19:::0;;;::::1;::::0;;;;;;;3959:13;;::::1;;3951:48;;;::::0;-1:-1:-1;;;3951:48:7;;4004:2:8;3951:48:7::1;::::0;::::1;3986:21:8::0;4043:2;4023:18;;;4016:30;-1:-1:-1;;;4062:18:8;;;4055:52;4124:18;;3951:48:7::1;3802:346:8::0;3951:48:7::1;4018:18;::::0;::::1;::::0;-1:-1:-1;;;;;4018:18:7::1;4038:10;4018:30;4010:73;;;::::0;-1:-1:-1;;;4010:73:7;;4355:2:8;4010:73:7::1;::::0;::::1;4337:21:8::0;4394:2;4374:18;;;4367:30;4433:32;4413:18;;;4406:60;4483:18;;4010:73:7::1;4153:354:8::0;4010:73:7::1;4102:15;::::0;:33:::1;::::0;-1:-1:-1;;;4102:33:7;;::::1;::::0;::::1;772:25:8::0;;;4145:4:7::1;::::0;-1:-1:-1;;;;;4102:15:7::1;::::0;:23:::1;::::0;745:18:8;;4102:33:7::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;4102:48:7::1;;4094:95;;;::::0;-1:-1:-1;;;4094:95:7;;4970:2:8;4094:95:7::1;::::0;::::1;4952:21:8::0;5009:2;4989:18;;;4982:30;5048:34;5028:18;;;5021:62;-1:-1:-1;;;5099:18:8;;;5092:32;5141:19;;4094:95:7::1;4768:398:8::0;4094:95:7::1;4210:15;::::0;4254:18:::1;::::0;::::1;::::0;4210:73:::1;::::0;-1:-1:-1;;;4210:73:7;;4247:4:::1;4210:73;::::0;::::1;5411:34:8::0;-1:-1:-1;;;;;4254:18:7;;::::1;5461::8::0;;;5454:43;5513:18;;;5506:34;;;4210:15:7;::::1;::::0;:28:::1;::::0;5346:18:8;;4210:73:7::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;4294:21:7;;-1:-1:-1;;4294:21:7::1;::::0;;-1:-1:-1;;4326:18:7::1;::::0;::::1;:31:::0;;-1:-1:-1;;;;;;4326:31:7::1;::::0;;4380:10:::1;4310:5;4370:21:::0;;;:9:::1;:21;::::0;;;;:26;;4294:21;;4310:5;4370:26:::1;::::0;4294:21;;4370:26:::1;:::i;:::-;;;;;;;;4424:1;4407:14;;:18;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;4487:18:7::1;::::0;::::1;::::0;4478:55:::1;::::0;;5987:25:8;;;4517:15:7::1;6043:2:8::0;6028:18;;6021:34;-1:-1:-1;;;;;4487:18:7;;::::1;::::0;4478:55:::1;::::0;5960:18:8;4478:55:7::1;;;;;;;-1:-1:-1::0;;1701:1:1;2628:22;;3826:716:7:o;3067:555::-;3125:15;;:33;;-1:-1:-1;;;3125:33:7;;;;;772:25:8;;;3160:10:7;;-1:-1:-1;;;;;3125:15:7;;:23;;745:18:8;;3125:33:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;3125:45:7;;3117:86;;;;-1:-1:-1;;;3117:86:7;;6268:2:8;3117:86:7;;;6250:21:8;6307:2;6287:18;;;6280:30;6346;6326:18;;;6319:58;6394:18;;3117:86:7;6066:352:8;3117:86:7;3214:21;3238:19;;;:9;:19;;;;;;;3270:15;;:65;;-1:-1:-1;;;3270:65:7;;3299:10;3270:65;;;5411:34:8;3319:4:7;5461:18:8;;;5454:43;5513:18;;;5506:34;;;3238:19:7;;-1:-1:-1;;;;;3270:15:7;;:28;;5346:18:8;;3270:65:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3346:18:7;;;:31;;-1:-1:-1;;;;;;3346:31:7;3367:10;3346:31;;;;;;3388:20;;-1:-1:-1;;3388:20:7;3346:31;3388:20;;;;;3419:18;;;:29;;;3346:18;3461:21;;;:9;:21;;;;;:26;;3346:31;;-1:-1:-1;3461:21:7;3346:18;3461:26;;3346:31;;3461:26;:::i;:::-;;;;;;;;3516:1;3498:14;;:19;;;;;;;:::i;:::-;;;;-1:-1:-1;;3568:45:7;;;5987:25:8;;;3597:15:7;6043:2:8;6028:18;;6021:34;3575:10:7;;3568:45;;5960:18:8;3568:45:7;;;;;;;3106:516;3067:555;:::o;2860:195::-;1082:7:0;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;2938:14:7::1;::::0;:17;2930:73:::1;;;::::0;-1:-1:-1;;;2930:73:7;;6758:2:8;2930:73:7::1;::::0;::::1;6740:21:8::0;6797:2;6777:18;;;6770:30;6836:34;6816:18;;;6809:62;-1:-1:-1;;;6887:18:8;;;6880:41;6938:19;;2930:73:7::1;6556:407:8::0;2930:73:7::1;3014:15;:33:::0;;-1:-1:-1;;;;;;3014:33:7::1;-1:-1:-1::0;;;;;3014:33:7;;;::::1;::::0;;;::::1;::::0;;2860:195::o;3630:188::-;1744:1:1;2325:7;;:19;2317:63;;;;-1:-1:-1;;;2317:63:1;;3644:2:8;2317:63:1;;;3626:21:8;3683:2;3663:18;;;3656:30;3722:33;3702:18;;;3695:61;3773:18;;2317:63:1;3442:355:8;2317:63:1;1744:1;2455:7;:18;3718:9:7::1;3714:97;3733:10;:17;3731:1;:19;3714:97;;;3780:19;3785:10;3796:1;3785:13;;;;;;;;:::i;:::-;;;;;;;3780:4;:19::i;:::-;3751:3:::0;::::1;::::0;::::1;:::i;:::-;;;;3714:97;;;-1:-1:-1::0;;1701:1:1;2628:22;;3630:188:7:o;1918:198:0:-;1082:7;1108:6;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2006:22:0;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:0;;7442:2:8;1998:73:0::1;::::0;::::1;7424:21:8::0;7481:2;7461:18;;;7454:30;7520:34;7500:18;;;7493:62;-1:-1:-1;;;7571:18:8;;;7564:36;7617:19;;1998:73:0::1;7240:402:8::0;1998:73:0::1;2081:28;2100:8;2081:18;:28::i;:::-;1918:198:::0;:::o;2270:187::-;2343:16;2362:6;;-1:-1:-1;;;;;2378:17:0;;;-1:-1:-1;;;;;;2378:17:0;;;;;;2410:40;;2362:6;;;;;;;2410:40;;2343:16;2410:40;2333:124;2270:187;:::o;238:131:8:-;-1:-1:-1;;;;;313:31:8;;303:42;;293:70;;359:1;356;349:12;374:247;433:6;486:2;474:9;465:7;461:23;457:32;454:52;;;502:1;499;492:12;454:52;541:9;528:23;560:31;585:5;560:31;:::i;:::-;610:5;374:247;-1:-1:-1;;;374:247:8:o;1016:180::-;1075:6;1128:2;1116:9;1107:7;1103:23;1099:32;1096:52;;;1144:1;1141;1134:12;1096:52;-1:-1:-1;1167:23:8;;1016:180;-1:-1:-1;1016:180:8:o;1829:127::-;1890:10;1885:3;1881:20;1878:1;1871:31;1921:4;1918:1;1911:15;1945:4;1942:1;1935:15;1961:1115;2045:6;2076:2;2119;2107:9;2098:7;2094:23;2090:32;2087:52;;;2135:1;2132;2125:12;2087:52;2175:9;2162:23;2204:18;2245:2;2237:6;2234:14;2231:34;;;2261:1;2258;2251:12;2231:34;2299:6;2288:9;2284:22;2274:32;;2344:7;2337:4;2333:2;2329:13;2325:27;2315:55;;2366:1;2363;2356:12;2315:55;2402:2;2389:16;2424:2;2420;2417:10;2414:36;;;2430:18;;:::i;:::-;2476:2;2473:1;2469:10;2508:2;2502:9;2571:2;2567:7;2562:2;2558;2554:11;2550:25;2542:6;2538:38;2626:6;2614:10;2611:22;2606:2;2594:10;2591:18;2588:46;2585:72;;;2637:18;;:::i;:::-;2673:2;2666:22;2723:18;;;2757:15;;;;-1:-1:-1;2799:11:8;;;2795:20;;;2827:19;;;2824:39;;;2859:1;2856;2849:12;2824:39;2883:11;;;;2903:142;2919:6;2914:3;2911:15;2903:142;;;2985:17;;2973:30;;2936:12;;;;3023;;;;2903:142;;;3064:6;1961:1115;-1:-1:-1;;;;;;;;1961:1115:8:o;3081:356::-;3283:2;3265:21;;;3302:18;;;3295:30;3361:34;3356:2;3341:18;;3334:62;3428:2;3413:18;;3081:356::o;4512:251::-;4582:6;4635:2;4623:9;4614:7;4610:23;4606:32;4603:52;;;4651:1;4648;4641:12;4603:52;4683:9;4677:16;4702:31;4727:5;4702:31;:::i;5551:127::-;5612:10;5607:3;5603:20;5600:1;5593:31;5643:4;5640:1;5633:15;5667:4;5664:1;5657:15;5683:125;5723:4;5751:1;5748;5745:8;5742:34;;;5756:18;;:::i;:::-;-1:-1:-1;5793:9:8;;5683:125::o;6423:128::-;6463:3;6494:1;6490:6;6487:1;6484:13;6481:39;;;6500:18;;:::i;:::-;-1:-1:-1;6536:9:8;;6423:128::o;6968:127::-;7029:10;7024:3;7020:20;7017:1;7010:31;7060:4;7057:1;7050:15;7084:4;7081:1;7074:15;7100:135;7139:3;7160:17;;;7157:43;;7180:18;;:::i;:::-;-1:-1:-1;7227:1:8;7216:13;;7100:135::o

Swarm Source

ipfs://5035cde116e647e61458581adaf3b2435594d787613c49146497ecdd79b9e238

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.