ETH Price: $3,298.53 (-0.32%)
Gas: 9.87 Gwei

Contract

0x4bAad4D6a7c12bB4d6a84104f1DEd044ae76619F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw201479422024-06-22 14:48:35184 days ago1719067715IN
0x4bAad4D6...4ae76619F
0 ETH0.001551584.92421479
Withdraw201359122024-06-20 22:27:23185 days ago1718922443IN
0x4bAad4D6...4ae76619F
0 ETH0.000750394.18962635
Withdraw200432292024-06-07 23:28:11198 days ago1717802891IN
0x4bAad4D6...4ae76619F
0 ETH0.001049638.13965227
Withdraw200153592024-06-04 2:05:47202 days ago1717466747IN
0x4bAad4D6...4ae76619F
0 ETH0.001929766.40261596
Withdraw199775922024-05-29 19:27:47207 days ago1717010867IN
0x4bAad4D6...4ae76619F
0 ETH0.0019839811.65855396
Withdraw199386202024-05-24 8:42:23213 days ago1716540143IN
0x4bAad4D6...4ae76619F
0 ETH0.0016072311.65505358
Withdraw199328082024-05-23 13:13:11214 days ago1716469991IN
0x4bAad4D6...4ae76619F
0 ETH0.0024383217.6818686
Withdraw199318312024-05-23 9:57:11214 days ago1716458231IN
0x4bAad4D6...4ae76619F
0 ETH0.001700588.2519117
Withdraw199316282024-05-23 9:15:59214 days ago1716455759IN
0x4bAad4D6...4ae76619F
0 ETH0.003039828.87257179
Withdraw199239232024-05-22 7:26:23215 days ago1716362783IN
0x4bAad4D6...4ae76619F
0 ETH0.001051076.17776445
Withdraw199065892024-05-19 21:12:47217 days ago1716153167IN
0x4bAad4D6...4ae76619F
0 ETH0.00109233.46661766
Withdraw198922932024-05-17 21:13:11219 days ago1715980391IN
0x4bAad4D6...4ae76619F
0 ETH0.000482033.73810033
Withdraw198918262024-05-17 19:39:11219 days ago1715974751IN
0x4bAad4D6...4ae76619F
0 ETH0.000892764.06255475
Withdraw198910772024-05-17 17:07:23220 days ago1715965643IN
0x4bAad4D6...4ae76619F
0 ETH0.000608956.99595391
Withdraw198910752024-05-17 17:06:59220 days ago1715965619IN
0x4bAad4D6...4ae76619F
0 ETH0.000680717.41162943
Withdraw198910712024-05-17 17:06:11220 days ago1715965571IN
0x4bAad4D6...4ae76619F
0 ETH0.00077.62166857
Withdraw198910682024-05-17 17:05:35220 days ago1715965535IN
0x4bAad4D6...4ae76619F
0 ETH0.000755337.38120661
Withdraw198910592024-05-17 17:03:47220 days ago1715965427IN
0x4bAad4D6...4ae76619F
0 ETH0.001210658.8671755
Withdraw198910402024-05-17 16:59:59220 days ago1715965199IN
0x4bAad4D6...4ae76619F
0 ETH0.001520418.93444831
Withdraw198906502024-05-17 15:41:23220 days ago1715960483IN
0x4bAad4D6...4ae76619F
0 ETH0.0030728110.665248
Withdraw198795812024-05-16 2:32:59221 days ago1715826779IN
0x4bAad4D6...4ae76619F
0 ETH0.000586784.55036813
Withdraw198780142024-05-15 21:17:23221 days ago1715807843IN
0x4bAad4D6...4ae76619F
0 ETH0.001563177.58515043
Withdraw198730482024-05-15 4:39:47222 days ago1715747987IN
0x4bAad4D6...4ae76619F
0 ETH0.000384893.69618433
Withdraw198721432024-05-15 1:38:23222 days ago1715737103IN
0x4bAad4D6...4ae76619F
0 ETH0.001982193.71852867
Withdraw198715332024-05-14 23:35:47222 days ago1715729747IN
0x4bAad4D6...4ae76619F
0 ETH0.00060383.94451506
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:
MechaStaking

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : MechaStaking.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";


contract MechaStaking is Ownable, IERC721Receiver, ReentrancyGuard, Pausable {
    using EnumerableSet for EnumerableSet.UintSet; 
    
    //addresses 
    address nullAddress = 0x0000000000000000000000000000000000000000;
    address public stakingDestinationAddress;
    address public erc20Address;

    //uint256's 
    uint256 public expiration; 
    //rate governs how often you receive your token
    uint256 public rate; 
  
    // mappings 
    mapping(address => EnumerableSet.UintSet) private _deposits;
    mapping(address => mapping(uint256 => uint256)) public _depositBlocks;

    constructor(
      address _stakingDestinationAddress,
      uint256 _rate,
      uint256 _expiration,
      address _erc20Address
    ) {
        stakingDestinationAddress = _stakingDestinationAddress;
        rate = _rate;
        expiration = block.number + _expiration;
        erc20Address = _erc20Address;
        _pause();
    }

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

/* STAKING MECHANICS */

    // Set a multiplier for how many tokens to earn each time a block passes.
    function setRate(uint256 _rate) public onlyOwner() {
      rate = _rate;
    }

    // Set this to a block to disable the ability to continue accruing tokens past that block number.
    function setExpiration(uint256 _expiration) public onlyOwner() {
      expiration = block.number + _expiration;
    }

    //check deposit amount. 
    function depositsOf(address account)
      external 
      view 
      returns (uint256[] memory)
    {
      EnumerableSet.UintSet storage depositSet = _deposits[account];
      uint256[] memory tokenIds = new uint256[] (depositSet.length());

      for (uint256 i; i < depositSet.length(); i++) {
        tokenIds[i] = depositSet.at(i);
      }

      return tokenIds;
    }

    function calculateRewards(address account, uint256[] memory tokenIds) 
      public 
      view 
      returns (uint256[] memory rewards) 
    {
      rewards = new uint256[](tokenIds.length);

      for (uint256 i; i < tokenIds.length; i++) {
        uint256 tokenId = tokenIds[i];

        rewards[i] = 
          rate * 
          (_deposits[account].contains(tokenId) ? 1 : 0) * 
          (Math.min(block.number, expiration) - 
            _depositBlocks[account][tokenId]);
      }

      return rewards;
    }

    //reward amount by address/tokenIds[]
    function calculateReward(address account, uint256 tokenId) 
      public 
      view 
      returns (uint256) 
    {
      require(Math.min(block.number, expiration) > _depositBlocks[account][tokenId], "Invalid blocks");
      return rate * 
          (_deposits[account].contains(tokenId) ? 1 : 0) * 
          (Math.min(block.number, expiration) - 
            _depositBlocks[account][tokenId]);
    }

    //reward claim function 
    function claimRewards(uint256[] calldata tokenIds) public whenNotPaused {
      uint256 reward; 
      uint256 blockCur = Math.min(block.number, expiration);

      for (uint256 i; i < tokenIds.length; i++) {
        reward += calculateReward(msg.sender, tokenIds[i]);
        _depositBlocks[msg.sender][tokenIds[i]] = blockCur;
      }

      if (reward > 0) {
        IERC20(erc20Address).transfer(msg.sender, reward);
      }
    }

    //deposit function. 
    function deposit(uint256[] calldata tokenIds) external whenNotPaused {
        require(msg.sender != stakingDestinationAddress, "Invalid address");
        claimRewards(tokenIds);

        for (uint256 i; i < tokenIds.length; i++) {
            IERC721(stakingDestinationAddress).safeTransferFrom(
                msg.sender,
                address(this),
                tokenIds[i],
                ""
            );

            _deposits[msg.sender].add(tokenIds[i]);
        }
    }

    //withdrawal function.
    function withdraw(uint256[] calldata tokenIds) external whenNotPaused nonReentrant() {
        claimRewards(tokenIds);

        for (uint256 i; i < tokenIds.length; i++) {
            require(
                _deposits[msg.sender].contains(tokenIds[i]),
                "Staking: token not deposited"
            );

            _deposits[msg.sender].remove(tokenIds[i]);

            IERC721(stakingDestinationAddress).safeTransferFrom(
                address(this),
                msg.sender,
                tokenIds[i],
                ""
            );
        }
    }

    //withdrawal function.
    function withdrawTokens() external onlyOwner {
        uint256 tokenSupply = IERC20(erc20Address).balanceOf(address(this));
        IERC20(erc20Address).transfer(msg.sender, tokenSupply);
    }

    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external pure override returns (bytes4) {
        return IERC721Receiver.onERC721Received.selector;
    }
}

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

pragma solidity ^0.8.0;

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

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

File 3 of 13 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 13 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}

File 5 of 13 : 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 6 of 13 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

File 7 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 8 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 9 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 substraction 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 10 of 13 : 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 11 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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;
}

File 12 of 13 : 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 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_stakingDestinationAddress","type":"address"},{"internalType":"uint256","name":"_rate","type":"uint256"},{"internalType":"uint256","name":"_expiration","type":"uint256"},{"internalType":"address","name":"_erc20Address","type":"address"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"_depositBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"calculateReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"calculateRewards","outputs":[{"internalType":"uint256[]","name":"rewards","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"depositsOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc20Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"expiration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_expiration","type":"uint256"}],"name":"setExpiration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"setRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingDestinationAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260028054610100600160a81b03191690553480156200002257600080fd5b5060405162001721380380620017218339810160408190526200004591620001c7565b6200005033620000bc565b600180556002805460ff19169055600380546001600160a01b0319166001600160a01b03861617905560068390556200008a824362000212565b600555600480546001600160a01b0319166001600160a01b038316179055620000b26200010c565b5050505062000239565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60025460ff1615620001575760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640160405180910390fd5b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200018d3390565b6040516001600160a01b03909116815260200160405180910390a1565b80516001600160a01b0381168114620001c257600080fd5b919050565b60008060008060808587031215620001de57600080fd5b620001e985620001aa565b935060208501519250604085015191506200020760608601620001aa565b905092959194509250565b600082198211156200023457634e487b7160e01b600052601160045260246000fd5b500190565b6114d880620002496000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063598b8e71116100b85780638d8f2adb1161007c5780638d8f2adb146102865780638da5cb5b1461028e578063983d95ce1461029f578063b343ae14146102b2578063e3a9db1a146102dd578063f2fde38b146102f057600080fd5b8063598b8e711461023a5780635c975abb1461024d5780635eac623914610263578063715018a6146102765780638456cb591461027e57600080fd5b80632c4e722e116100ff5780632c4e722e146101f857806334fcf437146102015780633f4ba83a146102165780634665096d1461021e578063515a20ba1461022757600080fd5b80630222a2c41461013c578063068c526f1461016c578063150b7a021461018c5780631852e8d9146101c4578063276184ae146101e5575b600080fd5b60035461014f906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61017f61017a366004611173565b610303565b604051610163919061133e565b6101ab61019a3660046110d8565b630a85bd0160e11b95945050505050565b6040516001600160e01b03199091168152602001610163565b6101d76101d236600461124b565b610444565b604051908152602001610163565b60045461014f906001600160a01b031681565b6101d760065481565b61021461020f36600461130c565b610546565b005b610214610575565b6101d760055481565b61021461023536600461130c565b6105a9565b610214610248366004611275565b6105e3565b60025460ff166040519015158152602001610163565b610214610271366004611275565b610755565b6102146108a7565b6102146108db565b61021461090d565b6000546001600160a01b031661014f565b6102146102ad366004611275565b610a46565b6101d76102c036600461124b565b600860209081526000928352604080842090915290825290205481565b61017f6102eb3660046110bd565b610c47565b6102146102fe3660046110bd565b610d03565b6060815167ffffffffffffffff81111561031f5761031f61148c565b604051908082528060200260200182016040528015610348578160200160208202803683370190505b50905060005b825181101561043c57600083828151811061036b5761036b611476565b6020026020010151905060086000866001600160a01b03166001600160a01b031681526020019081526020016000206000828152602001908152602001600020546103b843600554610d9e565b6103c29190611418565b6001600160a01b03861660009081526007602052604090206103e49083610db4565b6103ef5760006103f2565b60015b60ff1660065461040291906113f9565b61040c91906113f9565b83838151811061041e5761041e611476565b602090810291909101015250806104348161142f565b91505061034e565b505b92915050565b6001600160a01b0382166000908152600860209081526040808320848452909152812054600554610476904390610d9e565b116104b95760405162461bcd60e51b815260206004820152600e60248201526d496e76616c696420626c6f636b7360901b60448201526064015b60405180910390fd5b6001600160a01b03831660009081526008602090815260408083208584529091529020546005546104eb904390610d9e565b6104f59190611418565b6001600160a01b03841660009081526007602052604090206105179084610db4565b610522576000610525565b60015b60ff1660065461053591906113f9565b61053f91906113f9565b9392505050565b6000546001600160a01b031633146105705760405162461bcd60e51b81526004016104b0906113ac565b600655565b6000546001600160a01b0316331461059f5760405162461bcd60e51b81526004016104b0906113ac565b6105a7610dcc565b565b6000546001600160a01b031633146105d35760405162461bcd60e51b81526004016104b0906113ac565b6105dd81436113e1565b60055550565b60025460ff16156106065760405162461bcd60e51b81526004016104b090611382565b6003546001600160a01b03163314156106535760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016104b0565b61065d8282610755565b60005b81811015610750576003546001600160a01b031663b88d4fde333086868681811061068d5761068d611476565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152608060648201526000608482015260a401600060405180830381600087803b1580156106f257600080fd5b505af1158015610706573d6000803e3d6000fd5b5050505061073d83838381811061071f5761071f611476565b33600090815260076020908152604090912093910201359050610e5f565b50806107488161142f565b915050610660565b505050565b60025460ff16156107785760405162461bcd60e51b81526004016104b090611382565b60008061078743600554610d9e565b905060005b83811015610813576107b6338686848181106107aa576107aa611476565b90506020020135610444565b6107c090846113e1565b3360009081526008602052604081209194508391908787858181106107e7576107e7611476565b90506020020135815260200190815260200160002081905550808061080b9061142f565b91505061078c565b5081156108a1576004805460405163a9059cbb60e01b81523392810192909252602482018490526001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561086757600080fd5b505af115801561087b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089f91906112ea565b505b50505050565b6000546001600160a01b031633146108d15760405162461bcd60e51b81526004016104b0906113ac565b6105a76000610e6b565b6000546001600160a01b031633146109055760405162461bcd60e51b81526004016104b0906113ac565b6105a7610ebb565b6000546001600160a01b031633146109375760405162461bcd60e51b81526004016104b0906113ac565b600480546040516370a0823160e01b815230928101929092526000916001600160a01b03909116906370a082319060240160206040518083038186803b15801561098057600080fd5b505afa158015610994573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b89190611325565b6004805460405163a9059cbb60e01b81523392810192909252602482018390529192506001600160a01b039091169063a9059cbb90604401602060405180830381600087803b158015610a0a57600080fd5b505af1158015610a1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4291906112ea565b5050565b60025460ff1615610a695760405162461bcd60e51b81526004016104b090611382565b60026001541415610abc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104b0565b6002600155610acb8282610755565b60005b81811015610c3e57610b09838383818110610aeb57610aeb611476565b33600090815260076020908152604090912093910201359050610db4565b610b555760405162461bcd60e51b815260206004820152601c60248201527f5374616b696e673a20746f6b656e206e6f74206465706f73697465640000000060448201526064016104b0565b610b88838383818110610b6a57610b6a611476565b33600090815260076020908152604090912093910201359050610f13565b506003546001600160a01b031663b88d4fde3033868686818110610bae57610bae611476565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152608060648201526000608482015260a401600060405180830381600087803b158015610c1357600080fd5b505af1158015610c27573d6000803e3d6000fd5b505050508080610c369061142f565b915050610ace565b50506001805550565b6001600160a01b0381166000908152600760205260408120606091610c6b82610f1f565b67ffffffffffffffff811115610c8357610c8361148c565b604051908082528060200260200182016040528015610cac578160200160208202803683370190505b50905060005b610cbb83610f1f565b811015610cfb57610ccc8382610f29565b828281518110610cde57610cde611476565b602090810291909101015280610cf38161142f565b915050610cb2565b509392505050565b6000546001600160a01b03163314610d2d5760405162461bcd60e51b81526004016104b0906113ac565b6001600160a01b038116610d925760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104b0565b610d9b81610e6b565b50565b6000818310610dad578161053f565b5090919050565b6000818152600183016020526040812054151561053f565b60025460ff16610e155760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016104b0565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061053f8383610f35565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60025460ff1615610ede5760405162461bcd60e51b81526004016104b090611382565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610e423390565b600061053f8383610f84565b600061043e825490565b600061053f8383611077565b6000818152600183016020526040812054610f7c5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561043e565b50600061043e565b6000818152600183016020526040812054801561106d576000610fa8600183611418565b8554909150600090610fbc90600190611418565b9050818114611021576000866000018281548110610fdc57610fdc611476565b9060005260206000200154905080876000018481548110610fff57610fff611476565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061103257611032611460565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061043e565b600091505061043e565b600082600001828154811061108e5761108e611476565b9060005260206000200154905092915050565b80356001600160a01b03811681146110b857600080fd5b919050565b6000602082840312156110cf57600080fd5b61053f826110a1565b6000806000806000608086880312156110f057600080fd5b6110f9866110a1565b9450611107602087016110a1565b935060408601359250606086013567ffffffffffffffff8082111561112b57600080fd5b818801915088601f83011261113f57600080fd5b81358181111561114e57600080fd5b89602082850101111561116057600080fd5b9699959850939650602001949392505050565b6000806040838503121561118657600080fd5b61118f836110a1565b915060208084013567ffffffffffffffff808211156111ad57600080fd5b818601915086601f8301126111c157600080fd5b8135818111156111d3576111d361148c565b8060051b604051601f19603f830116810181811085821117156111f8576111f861148c565b604052828152858101935084860182860187018b101561121757600080fd5b600095505b8386101561123a57803585526001959095019493860193860161121c565b508096505050505050509250929050565b6000806040838503121561125e57600080fd5b611267836110a1565b946020939093013593505050565b6000806020838503121561128857600080fd5b823567ffffffffffffffff808211156112a057600080fd5b818501915085601f8301126112b457600080fd5b8135818111156112c357600080fd5b8660208260051b85010111156112d857600080fd5b60209290920196919550909350505050565b6000602082840312156112fc57600080fd5b8151801515811461053f57600080fd5b60006020828403121561131e57600080fd5b5035919050565b60006020828403121561133757600080fd5b5051919050565b6020808252825182820181905260009190848201906040850190845b818110156113765783518352928401929184019160010161135a565b50909695505050505050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156113f4576113f461144a565b500190565b60008160001904831182151516156114135761141361144a565b500290565b60008282101561142a5761142a61144a565b500390565b60006000198214156114435761144361144a565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122023ff7649c9381d891a64963ee47f0bff55cfcc6bb130b06fc44d5e32668337f364736f6c63430008070033000000000000000000000000436fbf52faf705b6f82404bd06fb637bc4cc44ae0000000000000000000000000000000000000000000000000005ebd312a02aaa000000000000000000000000000000000000000000000000000000000265be0e000000000000000000000000b226dc40b282020697fadbb2482bc879e5c7c6c8

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101375760003560e01c8063598b8e71116100b85780638d8f2adb1161007c5780638d8f2adb146102865780638da5cb5b1461028e578063983d95ce1461029f578063b343ae14146102b2578063e3a9db1a146102dd578063f2fde38b146102f057600080fd5b8063598b8e711461023a5780635c975abb1461024d5780635eac623914610263578063715018a6146102765780638456cb591461027e57600080fd5b80632c4e722e116100ff5780632c4e722e146101f857806334fcf437146102015780633f4ba83a146102165780634665096d1461021e578063515a20ba1461022757600080fd5b80630222a2c41461013c578063068c526f1461016c578063150b7a021461018c5780631852e8d9146101c4578063276184ae146101e5575b600080fd5b60035461014f906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61017f61017a366004611173565b610303565b604051610163919061133e565b6101ab61019a3660046110d8565b630a85bd0160e11b95945050505050565b6040516001600160e01b03199091168152602001610163565b6101d76101d236600461124b565b610444565b604051908152602001610163565b60045461014f906001600160a01b031681565b6101d760065481565b61021461020f36600461130c565b610546565b005b610214610575565b6101d760055481565b61021461023536600461130c565b6105a9565b610214610248366004611275565b6105e3565b60025460ff166040519015158152602001610163565b610214610271366004611275565b610755565b6102146108a7565b6102146108db565b61021461090d565b6000546001600160a01b031661014f565b6102146102ad366004611275565b610a46565b6101d76102c036600461124b565b600860209081526000928352604080842090915290825290205481565b61017f6102eb3660046110bd565b610c47565b6102146102fe3660046110bd565b610d03565b6060815167ffffffffffffffff81111561031f5761031f61148c565b604051908082528060200260200182016040528015610348578160200160208202803683370190505b50905060005b825181101561043c57600083828151811061036b5761036b611476565b6020026020010151905060086000866001600160a01b03166001600160a01b031681526020019081526020016000206000828152602001908152602001600020546103b843600554610d9e565b6103c29190611418565b6001600160a01b03861660009081526007602052604090206103e49083610db4565b6103ef5760006103f2565b60015b60ff1660065461040291906113f9565b61040c91906113f9565b83838151811061041e5761041e611476565b602090810291909101015250806104348161142f565b91505061034e565b505b92915050565b6001600160a01b0382166000908152600860209081526040808320848452909152812054600554610476904390610d9e565b116104b95760405162461bcd60e51b815260206004820152600e60248201526d496e76616c696420626c6f636b7360901b60448201526064015b60405180910390fd5b6001600160a01b03831660009081526008602090815260408083208584529091529020546005546104eb904390610d9e565b6104f59190611418565b6001600160a01b03841660009081526007602052604090206105179084610db4565b610522576000610525565b60015b60ff1660065461053591906113f9565b61053f91906113f9565b9392505050565b6000546001600160a01b031633146105705760405162461bcd60e51b81526004016104b0906113ac565b600655565b6000546001600160a01b0316331461059f5760405162461bcd60e51b81526004016104b0906113ac565b6105a7610dcc565b565b6000546001600160a01b031633146105d35760405162461bcd60e51b81526004016104b0906113ac565b6105dd81436113e1565b60055550565b60025460ff16156106065760405162461bcd60e51b81526004016104b090611382565b6003546001600160a01b03163314156106535760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064016104b0565b61065d8282610755565b60005b81811015610750576003546001600160a01b031663b88d4fde333086868681811061068d5761068d611476565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152608060648201526000608482015260a401600060405180830381600087803b1580156106f257600080fd5b505af1158015610706573d6000803e3d6000fd5b5050505061073d83838381811061071f5761071f611476565b33600090815260076020908152604090912093910201359050610e5f565b50806107488161142f565b915050610660565b505050565b60025460ff16156107785760405162461bcd60e51b81526004016104b090611382565b60008061078743600554610d9e565b905060005b83811015610813576107b6338686848181106107aa576107aa611476565b90506020020135610444565b6107c090846113e1565b3360009081526008602052604081209194508391908787858181106107e7576107e7611476565b90506020020135815260200190815260200160002081905550808061080b9061142f565b91505061078c565b5081156108a1576004805460405163a9059cbb60e01b81523392810192909252602482018490526001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561086757600080fd5b505af115801561087b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089f91906112ea565b505b50505050565b6000546001600160a01b031633146108d15760405162461bcd60e51b81526004016104b0906113ac565b6105a76000610e6b565b6000546001600160a01b031633146109055760405162461bcd60e51b81526004016104b0906113ac565b6105a7610ebb565b6000546001600160a01b031633146109375760405162461bcd60e51b81526004016104b0906113ac565b600480546040516370a0823160e01b815230928101929092526000916001600160a01b03909116906370a082319060240160206040518083038186803b15801561098057600080fd5b505afa158015610994573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b89190611325565b6004805460405163a9059cbb60e01b81523392810192909252602482018390529192506001600160a01b039091169063a9059cbb90604401602060405180830381600087803b158015610a0a57600080fd5b505af1158015610a1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4291906112ea565b5050565b60025460ff1615610a695760405162461bcd60e51b81526004016104b090611382565b60026001541415610abc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104b0565b6002600155610acb8282610755565b60005b81811015610c3e57610b09838383818110610aeb57610aeb611476565b33600090815260076020908152604090912093910201359050610db4565b610b555760405162461bcd60e51b815260206004820152601c60248201527f5374616b696e673a20746f6b656e206e6f74206465706f73697465640000000060448201526064016104b0565b610b88838383818110610b6a57610b6a611476565b33600090815260076020908152604090912093910201359050610f13565b506003546001600160a01b031663b88d4fde3033868686818110610bae57610bae611476565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152608060648201526000608482015260a401600060405180830381600087803b158015610c1357600080fd5b505af1158015610c27573d6000803e3d6000fd5b505050508080610c369061142f565b915050610ace565b50506001805550565b6001600160a01b0381166000908152600760205260408120606091610c6b82610f1f565b67ffffffffffffffff811115610c8357610c8361148c565b604051908082528060200260200182016040528015610cac578160200160208202803683370190505b50905060005b610cbb83610f1f565b811015610cfb57610ccc8382610f29565b828281518110610cde57610cde611476565b602090810291909101015280610cf38161142f565b915050610cb2565b509392505050565b6000546001600160a01b03163314610d2d5760405162461bcd60e51b81526004016104b0906113ac565b6001600160a01b038116610d925760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104b0565b610d9b81610e6b565b50565b6000818310610dad578161053f565b5090919050565b6000818152600183016020526040812054151561053f565b60025460ff16610e155760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016104b0565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061053f8383610f35565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60025460ff1615610ede5760405162461bcd60e51b81526004016104b090611382565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610e423390565b600061053f8383610f84565b600061043e825490565b600061053f8383611077565b6000818152600183016020526040812054610f7c5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561043e565b50600061043e565b6000818152600183016020526040812054801561106d576000610fa8600183611418565b8554909150600090610fbc90600190611418565b9050818114611021576000866000018281548110610fdc57610fdc611476565b9060005260206000200154905080876000018481548110610fff57610fff611476565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061103257611032611460565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061043e565b600091505061043e565b600082600001828154811061108e5761108e611476565b9060005260206000200154905092915050565b80356001600160a01b03811681146110b857600080fd5b919050565b6000602082840312156110cf57600080fd5b61053f826110a1565b6000806000806000608086880312156110f057600080fd5b6110f9866110a1565b9450611107602087016110a1565b935060408601359250606086013567ffffffffffffffff8082111561112b57600080fd5b818801915088601f83011261113f57600080fd5b81358181111561114e57600080fd5b89602082850101111561116057600080fd5b9699959850939650602001949392505050565b6000806040838503121561118657600080fd5b61118f836110a1565b915060208084013567ffffffffffffffff808211156111ad57600080fd5b818601915086601f8301126111c157600080fd5b8135818111156111d3576111d361148c565b8060051b604051601f19603f830116810181811085821117156111f8576111f861148c565b604052828152858101935084860182860187018b101561121757600080fd5b600095505b8386101561123a57803585526001959095019493860193860161121c565b508096505050505050509250929050565b6000806040838503121561125e57600080fd5b611267836110a1565b946020939093013593505050565b6000806020838503121561128857600080fd5b823567ffffffffffffffff808211156112a057600080fd5b818501915085601f8301126112b457600080fd5b8135818111156112c357600080fd5b8660208260051b85010111156112d857600080fd5b60209290920196919550909350505050565b6000602082840312156112fc57600080fd5b8151801515811461053f57600080fd5b60006020828403121561131e57600080fd5b5035919050565b60006020828403121561133757600080fd5b5051919050565b6020808252825182820181905260009190848201906040850190845b818110156113765783518352928401929184019160010161135a565b50909695505050505050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156113f4576113f461144a565b500190565b60008160001904831182151516156114135761141361144a565b500290565b60008282101561142a5761142a61144a565b500390565b60006000198214156114435761144361144a565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122023ff7649c9381d891a64963ee47f0bff55cfcc6bb130b06fc44d5e32668337f364736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000436fbf52faf705b6f82404bd06fb637bc4cc44ae0000000000000000000000000000000000000000000000000005ebd312a02aaa000000000000000000000000000000000000000000000000000000000265be0e000000000000000000000000b226dc40b282020697fadbb2482bc879e5c7c6c8

-----Decoded View---------------
Arg [0] : _stakingDestinationAddress (address): 0x436FbF52FAF705b6f82404Bd06fB637BC4cC44ae
Arg [1] : _rate (uint256): 1666666666666666
Arg [2] : _expiration (uint256): 40222222
Arg [3] : _erc20Address (address): 0xB226DC40B282020697fadBB2482Bc879e5c7C6C8

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000436fbf52faf705b6f82404bd06fb637bc4cc44ae
Arg [1] : 0000000000000000000000000000000000000000000000000005ebd312a02aaa
Arg [2] : 000000000000000000000000000000000000000000000000000000000265be0e
Arg [3] : 000000000000000000000000b226dc40b282020697fadbb2482bc879e5c7c6c8


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.