ETH Price: $3,337.18 (-1.35%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Redeem Reward183768302023-10-18 11:05:35465 days ago1697627135IN
0x766f4Bae...7d4047A9F
0 ETH0.000679957.74093352
Redeem Reward183444852023-10-13 22:35:35469 days ago1697236535IN
0x766f4Bae...7d4047A9F
0 ETH0.00059186.07492877
Redeem Reward183444822023-10-13 22:34:59469 days ago1697236499IN
0x766f4Bae...7d4047A9F
0 ETH0.000664926.16205555
Redeem Reward183444802023-10-13 22:34:35469 days ago1697236475IN
0x766f4Bae...7d4047A9F
0 ETH0.000630536.47251908
Redeem Reward183444762023-10-13 22:33:47469 days ago1697236427IN
0x766f4Bae...7d4047A9F
0 ETH0.00063925.58174211
Redeem Reward183435262023-10-13 19:21:59469 days ago1697224919IN
0x766f4Bae...7d4047A9F
0 ETH0.000827559.14396013
Redeem Reward183266342023-10-11 10:34:23472 days ago1697020463IN
0x766f4Bae...7d4047A9F
0 ETH0.000523546.26041172
Redeem Reward183207522023-10-10 14:48:35473 days ago1696949315IN
0x766f4Bae...7d4047A9F
0 ETH0.0011521910.54591429
Redeem Reward183207092023-10-10 14:39:59473 days ago1696948799IN
0x766f4Bae...7d4047A9F
0 ETH0.001457812.4382589
Redeem Reward183206932023-10-10 14:36:47473 days ago1696948607IN
0x766f4Bae...7d4047A9F
0 ETH0.0011292114.14910406
Redeem Reward183206762023-10-10 14:33:23473 days ago1696948403IN
0x766f4Bae...7d4047A9F
0 ETH0.0010133111.55434298
Redeem Reward183205632023-10-10 14:10:35473 days ago1696947035IN
0x766f4Bae...7d4047A9F
0 ETH0.0009346810.07079164
Redeem Reward183205542023-10-10 14:08:47473 days ago1696946927IN
0x766f4Bae...7d4047A9F
0 ETH0.0012013710.63889454
Redeem Reward183201092023-10-10 12:39:23473 days ago1696941563IN
0x766f4Bae...7d4047A9F
0 ETH0.000856278.51217362
Redeem Reward183198442023-10-10 11:45:47473 days ago1696938347IN
0x766f4Bae...7d4047A9F
0 ETH0.000744336.21483765
Redeem Reward183198352023-10-10 11:43:59473 days ago1696938239IN
0x766f4Bae...7d4047A9F
0 ETH0.000713066.94674834
Redeem Reward183198132023-10-10 11:39:23473 days ago1696937963IN
0x766f4Bae...7d4047A9F
0 ETH0.000652445.44854176
Redeem Reward183188912023-10-10 8:33:59473 days ago1696926839IN
0x766f4Bae...7d4047A9F
0 ETH0.000529916.32617124
Redeem Reward183188742023-10-10 8:30:35473 days ago1696926635IN
0x766f4Bae...7d4047A9F
0 ETH0.000607587.42931929
Redeem Reward183188662023-10-10 8:28:59473 days ago1696926539IN
0x766f4Bae...7d4047A9F
0 ETH0.000669466.26162288
Redeem Reward183188472023-10-10 8:25:11473 days ago1696926311IN
0x766f4Bae...7d4047A9F
0 ETH0.000707327.87255501
Redeem Reward183188442023-10-10 8:24:35473 days ago1696926275IN
0x766f4Bae...7d4047A9F
0 ETH0.000838057.83620151
Redeem Reward183178962023-10-10 5:14:11473 days ago1696914851IN
0x766f4Bae...7d4047A9F
0 ETH0.000547995.33093683
Redeem Reward183165672023-10-10 0:46:11473 days ago1696898771IN
0x766f4Bae...7d4047A9F
0 ETH0.000448374.99222981
Redeem Reward183152602023-10-09 20:21:11473 days ago1696882871IN
0x766f4Bae...7d4047A9F
0 ETH0.001034469.00100221
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:
EternalsRedeemNft

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-06-12
*/

// SPDX-License-Identifier: GPL-3.0

// File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol


// OpenZeppelin Contracts (last updated v4.7.0) (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.
 *
 * [WARNING]
 * ====
 *  Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.
 *  See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 *  In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.
 * ====
 */
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;

        /// @solidity memory-safe-assembly
        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;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

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


// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/utils/ERC721Holder.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC721Receiver} interface.
 *
 * Accepts all token transfers.
 * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}.
 */
contract ERC721Holder is IERC721Receiver {
    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address,
        address,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }
}

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

// File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol


// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


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

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


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

// File: @openzeppelin/contracts/utils/Context.sol


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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

// File: contracts/RedeemNft.sol



pragma solidity ^0.8.11;






contract EternalsRedeemNft is ERC721Holder, Ownable {

    using EnumerableSet for EnumerableSet.UintSet;
    using ECDSA for bytes32;

    struct Token {
        EnumerableSet.UintSet tokenIds; // Set of token ids
    }

    mapping(address => Token) NFTs;
    mapping(string => bool) public _usedNonces;
    bool public locked;
    address private systemAddress;

    constructor(address _systemAddress) {
        systemAddress = _systemAddress;
    }

    function depositNFT(uint256[] memory _tokenIds, address _nftAddress) public {
        require(IERC721(_nftAddress).balanceOf(msg.sender) >= _tokenIds.length, "You dont have enough NFTs");

        uint[] memory tokenArr = new uint[](_tokenIds.length);
        for(uint i = 0; i < _tokenIds.length; i++) {
            NFTs[_nftAddress].tokenIds.add(_tokenIds[i]);
            tokenArr[i] = _tokenIds[i];
            IERC721(_nftAddress).transferFrom(msg.sender, address(this), _tokenIds[i]);
        }
    }

    function withdrawNFT(address _nftAddress, uint256[] memory _tokenIds) public onlyOwner {
        require(locked == false, "Cannot redeem NFT at this moment");

        locked = true;
        for(uint i = 0; i < _tokenIds.length; i++) {
            Token storage u = NFTs[_nftAddress];
            u.tokenIds.remove(_tokenIds[i]);
            IERC721(_nftAddress).transferFrom(address(this), msg.sender, _tokenIds[i]);
        }
        locked = false;
    }

    function redeemReward(address _nftAddress, uint256 _tokenId, uint256 numberOfTokens, string memory nonce, bytes32 hash, bytes memory signature) public {
        require(matchSigner(hash, signature), "Please redeem through the website");
        require(!_usedNonces[nonce], "Invalid hash");
        require(hashTransaction(msg.sender, numberOfTokens, nonce) == hash, "Failed hash");
        require(locked == false, "Cannot redeem NFT at this moment"); 

        _usedNonces[nonce] = true;
        locked = true;

        Token storage u = NFTs[_nftAddress];
        u.tokenIds.remove(_tokenId);

        IERC721(_nftAddress).transferFrom(address(this), msg.sender, _tokenId);
        locked = false;
    }

    function matchSigner(bytes32 hash, bytes memory signature) public view returns (bool) {
        return systemAddress == hash.toEthSignedMessageHash().recover(signature);
    }

    function hashTransaction(
    address sender,
    uint256 amount,
    string memory nonce
    ) public view returns (bytes32) {
    
        bytes32 hash = keccak256(
        abi.encodePacked(sender, amount, nonce, address(this))
        );

        return hash;
    }

    function rewardNfts(address _nftAddress) external view returns(uint256[] memory) {
        uint256[] memory tempArr = new uint256[](NFTs[_nftAddress].tokenIds.length());
        // Delegate to internal OpenZeppelin function
        for(uint i = 0; i < NFTs[_nftAddress].tokenIds.length(); i++) {
            tempArr[i] = NFTs[_nftAddress].tokenIds.at(i);
        }
        return tempArr;
    }
    
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_systemAddress","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"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"_usedNonces","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"address","name":"_nftAddress","type":"address"}],"name":"depositNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"nonce","type":"string"}],"name":"hashTransaction","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"matchSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_nftAddress","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"string","name":"nonce","type":"string"},{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"redeemReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nftAddress","type":"address"}],"name":"rewardNfts","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":"address","name":"_nftAddress","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"withdrawNFT","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516115cd3803806115cd83398101604081905261002f916100b3565b61003833610063565b600380546001600160a01b0390921661010002610100600160a81b03199092169190911790556100e3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100c557600080fd5b81516001600160a01b03811681146100dc57600080fd5b9392505050565b6114db806100f26000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c8063a6ba55c711610071578063a6ba55c714610161578063b45e62751461019f578063cf309012146101bf578063dd8d74d8146101cc578063ecc5357a146101df578063f2fde38b146101f257600080fd5b8063150b7a02146100b9578063352c49d0146100f557806367717e2a1461010a578063715018a61461012b5780638da5cb5b146101335780639bdedea51461014e575b600080fd5b6100d76100c7366004611048565b630a85bd0160e11b949350505050565b6040516001600160e01b031990911681526020015b60405180910390f35b6101086101033660046110b0565b610205565b005b61011d610118366004611140565b61043e565b6040519081526020016100ec565b610108610479565b6000546040516001600160a01b0390911681526020016100ec565b61010861015c366004611217565b61048d565b61018f61016f366004611265565b805160208183018101805160028252928201919093012091525460ff1681565b60405190151581526020016100ec565b6101b26101ad3660046112a2565b610604565b6040516100ec91906112bd565b60035461018f9060ff1681565b61018f6101da366004611301565b6106f0565b6101086101ed36600461133e565b610772565b6101086102003660046112a2565b6109a5565b61020f82826106f0565b61026a5760405162461bcd60e51b815260206004820152602160248201527f506c656173652072656465656d207468726f75676820746865207765627369746044820152606560f81b60648201526084015b60405180910390fd5b60028360405161027a91906113bc565b9081526040519081900360200190205460ff16156102c95760405162461bcd60e51b815260206004820152600c60248201526b092dcecc2d8d2c840d0c2e6d60a31b6044820152606401610261565b816102d533868661043e565b146103105760405162461bcd60e51b815260206004820152600b60248201526a08cc2d2d8cac840d0c2e6d60ab1b6044820152606401610261565b60035460ff16156103635760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f742072656465656d204e46542061742074686973206d6f6d656e746044820152606401610261565b600160028460405161037591906113bc565b90815260408051918290036020908101909220805493151560ff199485161790556003805490931660019081179093556001600160a01b03891660009081529290915290206103c48187610a1e565b506040516323b872dd60e01b8152306004820152336024820152604481018790526001600160a01b038816906323b872dd90606401600060405180830381600087803b15801561041357600080fd5b505af1158015610427573d6000803e3d6000fd5b50506003805460ff19169055505050505050505050565b6000808484843060405160200161045894939291906113c8565b60408051808303601f19018152919052805160209091012095945050505050565b610481610a31565b61048b6000610a8b565b565b610495610a31565b60035460ff16156104e85760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f742072656465656d204e46542061742074686973206d6f6d656e746044820152606401610261565b6003805460ff1916600117905560005b81518110156105f5576001600160a01b0383166000908152600160205260409020825161054b9084908490811061053157610531611408565b602002602001015182600001610a1e90919063ffffffff16565b50836001600160a01b03166323b872dd303386868151811061056f5761056f611408565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b1580156105c957600080fd5b505af11580156105dd573d6000803e3d6000fd5b505050505080806105ed90611434565b9150506104f8565b50506003805460ff1916905550565b6001600160a01b03811660009081526001602052604081206060919061062990610adb565b67ffffffffffffffff81111561064157610641610f91565b60405190808252806020026020018201604052801561066a578160200160208202803683370190505b50905060005b6001600160a01b038416600090815260016020526040902061069190610adb565b8110156106e9576001600160a01b03841660009081526001602052604090206106ba9082610ae5565b8282815181106106cc576106cc611408565b6020908102919091010152806106e181611434565b915050610670565b5092915050565b60006107538261074d856040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90610af1565b60035461010090046001600160a01b0390811691161490505b92915050565b81516040516370a0823160e01b81523360048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061144d565b101561082a5760405162461bcd60e51b815260206004820152601960248201527f596f7520646f6e74206861766520656e6f756768204e465473000000000000006044820152606401610261565b6000825167ffffffffffffffff81111561084657610846610f91565b60405190808252806020026020018201604052801561086f578160200160208202803683370190505b50905060005b835181101561099f576108be84828151811061089357610893611408565b6020908102919091018101516001600160a01b03861660009081526001909252604090912090610b15565b508381815181106108d1576108d1611408565b60200260200101518282815181106108eb576108eb611408565b602002602001018181525050826001600160a01b03166323b872dd333087858151811061091a5761091a611408565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561097457600080fd5b505af1158015610988573d6000803e3d6000fd5b50505050808061099790611434565b915050610875565b50505050565b6109ad610a31565b6001600160a01b038116610a125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610261565b610a1b81610a8b565b50565b6000610a2a8383610b21565b9392505050565b6000546001600160a01b0316331461048b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610261565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061076c825490565b6000610a2a8383610c14565b6000806000610b008585610c3e565b91509150610b0d81610c83565b509392505050565b6000610a2a8383610e39565b60008181526001830160205260408120548015610c0a576000610b45600183611466565b8554909150600090610b5990600190611466565b9050818114610bbe576000866000018281548110610b7957610b79611408565b9060005260206000200154905080876000018481548110610b9c57610b9c611408565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080610bcf57610bcf611479565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061076c565b600091505061076c565b6000826000018281548110610c2b57610c2b611408565b9060005260206000200154905092915050565b6000808251604103610c745760208301516040840151606085015160001a610c6887828585610e88565b94509450505050610c7c565b506000905060025b9250929050565b6000816004811115610c9757610c9761148f565b03610c9f5750565b6001816004811115610cb357610cb361148f565b03610d005760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610261565b6002816004811115610d1457610d1461148f565b03610d615760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610261565b6003816004811115610d7557610d7561148f565b03610dcd5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610261565b6004816004811115610de157610de161148f565b03610a1b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610261565b6000818152600183016020526040812054610e805750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561076c565b50600061076c565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610ebf5750600090506003610f6c565b8460ff16601b14158015610ed757508460ff16601c14155b15610ee85750600090506004610f6c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610f3c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610f6557600060019250925050610f6c565b9150600090505b94509492505050565b80356001600160a01b0381168114610f8c57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610fd057610fd0610f91565b604052919050565b600082601f830112610fe957600080fd5b813567ffffffffffffffff81111561100357611003610f91565b611016601f8201601f1916602001610fa7565b81815284602083860101111561102b57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806080858703121561105e57600080fd5b61106785610f75565b935061107560208601610f75565b925060408501359150606085013567ffffffffffffffff81111561109857600080fd5b6110a487828801610fd8565b91505092959194509250565b60008060008060008060c087890312156110c957600080fd5b6110d287610f75565b95506020870135945060408701359350606087013567ffffffffffffffff808211156110fd57600080fd5b6111098a838b01610fd8565b94506080890135935060a089013591508082111561112657600080fd5b5061113389828a01610fd8565b9150509295509295509295565b60008060006060848603121561115557600080fd5b61115e84610f75565b925060208401359150604084013567ffffffffffffffff81111561118157600080fd5b61118d86828701610fd8565b9150509250925092565b600082601f8301126111a857600080fd5b8135602067ffffffffffffffff8211156111c4576111c4610f91565b8160051b6111d3828201610fa7565b92835284810182019282810190878511156111ed57600080fd5b83870192505b8483101561120c578235825291830191908301906111f3565b979650505050505050565b6000806040838503121561122a57600080fd5b61123383610f75565b9150602083013567ffffffffffffffff81111561124f57600080fd5b61125b85828601611197565b9150509250929050565b60006020828403121561127757600080fd5b813567ffffffffffffffff81111561128e57600080fd5b61129a84828501610fd8565b949350505050565b6000602082840312156112b457600080fd5b610a2a82610f75565b6020808252825182820181905260009190848201906040850190845b818110156112f5578351835292840192918401916001016112d9565b50909695505050505050565b6000806040838503121561131457600080fd5b82359150602083013567ffffffffffffffff81111561133257600080fd5b61125b85828601610fd8565b6000806040838503121561135157600080fd5b823567ffffffffffffffff81111561136857600080fd5b61137485828601611197565b92505061138360208401610f75565b90509250929050565b6000815160005b818110156113ad5760208185018101518683015201611393565b50600093019283525090919050565b6000610a2a828461138c565b60006bffffffffffffffffffffffff19808760601b1683528560148401526113f3603484018661138c565b60609490941b16835250506014019392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016114465761144661141e565b5060010190565b60006020828403121561145f57600080fd5b5051919050565b8181038181111561076c5761076c61141e565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052602160045260246000fdfea26469706673582212200f4328234d9775c477a88a41078e688e2f511262c2fdfdd26f47b5ba371ec20d64736f6c63430008120033000000000000000000000000f41f1c3d48bb18b0624a38cadc63f3134a65c23e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c8063a6ba55c711610071578063a6ba55c714610161578063b45e62751461019f578063cf309012146101bf578063dd8d74d8146101cc578063ecc5357a146101df578063f2fde38b146101f257600080fd5b8063150b7a02146100b9578063352c49d0146100f557806367717e2a1461010a578063715018a61461012b5780638da5cb5b146101335780639bdedea51461014e575b600080fd5b6100d76100c7366004611048565b630a85bd0160e11b949350505050565b6040516001600160e01b031990911681526020015b60405180910390f35b6101086101033660046110b0565b610205565b005b61011d610118366004611140565b61043e565b6040519081526020016100ec565b610108610479565b6000546040516001600160a01b0390911681526020016100ec565b61010861015c366004611217565b61048d565b61018f61016f366004611265565b805160208183018101805160028252928201919093012091525460ff1681565b60405190151581526020016100ec565b6101b26101ad3660046112a2565b610604565b6040516100ec91906112bd565b60035461018f9060ff1681565b61018f6101da366004611301565b6106f0565b6101086101ed36600461133e565b610772565b6101086102003660046112a2565b6109a5565b61020f82826106f0565b61026a5760405162461bcd60e51b815260206004820152602160248201527f506c656173652072656465656d207468726f75676820746865207765627369746044820152606560f81b60648201526084015b60405180910390fd5b60028360405161027a91906113bc565b9081526040519081900360200190205460ff16156102c95760405162461bcd60e51b815260206004820152600c60248201526b092dcecc2d8d2c840d0c2e6d60a31b6044820152606401610261565b816102d533868661043e565b146103105760405162461bcd60e51b815260206004820152600b60248201526a08cc2d2d8cac840d0c2e6d60ab1b6044820152606401610261565b60035460ff16156103635760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f742072656465656d204e46542061742074686973206d6f6d656e746044820152606401610261565b600160028460405161037591906113bc565b90815260408051918290036020908101909220805493151560ff199485161790556003805490931660019081179093556001600160a01b03891660009081529290915290206103c48187610a1e565b506040516323b872dd60e01b8152306004820152336024820152604481018790526001600160a01b038816906323b872dd90606401600060405180830381600087803b15801561041357600080fd5b505af1158015610427573d6000803e3d6000fd5b50506003805460ff19169055505050505050505050565b6000808484843060405160200161045894939291906113c8565b60408051808303601f19018152919052805160209091012095945050505050565b610481610a31565b61048b6000610a8b565b565b610495610a31565b60035460ff16156104e85760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f742072656465656d204e46542061742074686973206d6f6d656e746044820152606401610261565b6003805460ff1916600117905560005b81518110156105f5576001600160a01b0383166000908152600160205260409020825161054b9084908490811061053157610531611408565b602002602001015182600001610a1e90919063ffffffff16565b50836001600160a01b03166323b872dd303386868151811061056f5761056f611408565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b1580156105c957600080fd5b505af11580156105dd573d6000803e3d6000fd5b505050505080806105ed90611434565b9150506104f8565b50506003805460ff1916905550565b6001600160a01b03811660009081526001602052604081206060919061062990610adb565b67ffffffffffffffff81111561064157610641610f91565b60405190808252806020026020018201604052801561066a578160200160208202803683370190505b50905060005b6001600160a01b038416600090815260016020526040902061069190610adb565b8110156106e9576001600160a01b03841660009081526001602052604090206106ba9082610ae5565b8282815181106106cc576106cc611408565b6020908102919091010152806106e181611434565b915050610670565b5092915050565b60006107538261074d856040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90610af1565b60035461010090046001600160a01b0390811691161490505b92915050565b81516040516370a0823160e01b81523360048201526001600160a01b038316906370a0823190602401602060405180830381865afa1580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061144d565b101561082a5760405162461bcd60e51b815260206004820152601960248201527f596f7520646f6e74206861766520656e6f756768204e465473000000000000006044820152606401610261565b6000825167ffffffffffffffff81111561084657610846610f91565b60405190808252806020026020018201604052801561086f578160200160208202803683370190505b50905060005b835181101561099f576108be84828151811061089357610893611408565b6020908102919091018101516001600160a01b03861660009081526001909252604090912090610b15565b508381815181106108d1576108d1611408565b60200260200101518282815181106108eb576108eb611408565b602002602001018181525050826001600160a01b03166323b872dd333087858151811061091a5761091a611408565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561097457600080fd5b505af1158015610988573d6000803e3d6000fd5b50505050808061099790611434565b915050610875565b50505050565b6109ad610a31565b6001600160a01b038116610a125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610261565b610a1b81610a8b565b50565b6000610a2a8383610b21565b9392505050565b6000546001600160a01b0316331461048b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610261565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061076c825490565b6000610a2a8383610c14565b6000806000610b008585610c3e565b91509150610b0d81610c83565b509392505050565b6000610a2a8383610e39565b60008181526001830160205260408120548015610c0a576000610b45600183611466565b8554909150600090610b5990600190611466565b9050818114610bbe576000866000018281548110610b7957610b79611408565b9060005260206000200154905080876000018481548110610b9c57610b9c611408565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080610bcf57610bcf611479565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061076c565b600091505061076c565b6000826000018281548110610c2b57610c2b611408565b9060005260206000200154905092915050565b6000808251604103610c745760208301516040840151606085015160001a610c6887828585610e88565b94509450505050610c7c565b506000905060025b9250929050565b6000816004811115610c9757610c9761148f565b03610c9f5750565b6001816004811115610cb357610cb361148f565b03610d005760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610261565b6002816004811115610d1457610d1461148f565b03610d615760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610261565b6003816004811115610d7557610d7561148f565b03610dcd5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610261565b6004816004811115610de157610de161148f565b03610a1b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610261565b6000818152600183016020526040812054610e805750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561076c565b50600061076c565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115610ebf5750600090506003610f6c565b8460ff16601b14158015610ed757508460ff16601c14155b15610ee85750600090506004610f6c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015610f3c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610f6557600060019250925050610f6c565b9150600090505b94509492505050565b80356001600160a01b0381168114610f8c57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610fd057610fd0610f91565b604052919050565b600082601f830112610fe957600080fd5b813567ffffffffffffffff81111561100357611003610f91565b611016601f8201601f1916602001610fa7565b81815284602083860101111561102b57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806080858703121561105e57600080fd5b61106785610f75565b935061107560208601610f75565b925060408501359150606085013567ffffffffffffffff81111561109857600080fd5b6110a487828801610fd8565b91505092959194509250565b60008060008060008060c087890312156110c957600080fd5b6110d287610f75565b95506020870135945060408701359350606087013567ffffffffffffffff808211156110fd57600080fd5b6111098a838b01610fd8565b94506080890135935060a089013591508082111561112657600080fd5b5061113389828a01610fd8565b9150509295509295509295565b60008060006060848603121561115557600080fd5b61115e84610f75565b925060208401359150604084013567ffffffffffffffff81111561118157600080fd5b61118d86828701610fd8565b9150509250925092565b600082601f8301126111a857600080fd5b8135602067ffffffffffffffff8211156111c4576111c4610f91565b8160051b6111d3828201610fa7565b92835284810182019282810190878511156111ed57600080fd5b83870192505b8483101561120c578235825291830191908301906111f3565b979650505050505050565b6000806040838503121561122a57600080fd5b61123383610f75565b9150602083013567ffffffffffffffff81111561124f57600080fd5b61125b85828601611197565b9150509250929050565b60006020828403121561127757600080fd5b813567ffffffffffffffff81111561128e57600080fd5b61129a84828501610fd8565b949350505050565b6000602082840312156112b457600080fd5b610a2a82610f75565b6020808252825182820181905260009190848201906040850190845b818110156112f5578351835292840192918401916001016112d9565b50909695505050505050565b6000806040838503121561131457600080fd5b82359150602083013567ffffffffffffffff81111561133257600080fd5b61125b85828601610fd8565b6000806040838503121561135157600080fd5b823567ffffffffffffffff81111561136857600080fd5b61137485828601611197565b92505061138360208401610f75565b90509250929050565b6000815160005b818110156113ad5760208185018101518683015201611393565b50600093019283525090919050565b6000610a2a828461138c565b60006bffffffffffffffffffffffff19808760601b1683528560148401526113f3603484018661138c565b60609490941b16835250506014019392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016114465761144661141e565b5060010190565b60006020828403121561145f57600080fd5b5051919050565b8181038181111561076c5761076c61141e565b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052602160045260246000fdfea26469706673582212200f4328234d9775c477a88a41078e688e2f511262c2fdfdd26f47b5ba371ec20d64736f6c63430008120033

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

000000000000000000000000f41f1c3d48bb18b0624a38cadc63f3134a65c23e

-----Decoded View---------------
Arg [0] : _systemAddress (address): 0xF41F1C3D48BB18b0624a38CAdc63F3134a65c23e

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f41f1c3d48bb18b0624a38cadc63f3134a65c23e


Deployed Bytecode Sourcemap

35569:3085:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14796:207;;;;;;:::i;:::-;-1:-1:-1;;;14796:207:0;;;;;;;;;;-1:-1:-1;;;;;;1843:33:1;;;1825:52;;1813:2;1798:18;14796:207:0;;;;;;;;37044:720;;;;;;:::i;:::-;;:::i;:::-;;37957:279;;;;;;:::i;:::-;;:::i;:::-;;;3328:25:1;;;3316:2;3301:18;37957:279:0;3182:177:1;34674:103:0;;;:::i;34026:87::-;34072:7;34099:6;34026:87;;-1:-1:-1;;;;;34099:6:0;;;3510:51:1;;3498:2;3483:18;34026:87:0;3364:203:1;36569:467:0;;;;;;:::i;:::-;;:::i;35841:42::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5207:14:1;;5200:22;5182:41;;5170:2;5155:18;35841:42:0;5042:187:1;38244:401:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;35890:18::-;;;;;;;;;37772:177;;;;;;:::i;:::-;;:::i;36046:515::-;;;;;;:::i;:::-;;:::i;34932:201::-;;;;;;:::i;:::-;;:::i;37044:720::-;37214:28;37226:4;37232:9;37214:11;:28::i;:::-;37206:74;;;;-1:-1:-1;;;37206:74:0;;7084:2:1;37206:74:0;;;7066:21:1;7123:2;7103:18;;;7096:30;7162:34;7142:18;;;7135:62;-1:-1:-1;;;7213:18:1;;;7206:31;7254:19;;37206:74:0;;;;;;;;;37300:11;37312:5;37300:18;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;37299:19;37291:44;;;;-1:-1:-1;;;37291:44:0;;8011:2:1;37291:44:0;;;7993:21:1;8050:2;8030:18;;;8023:30;-1:-1:-1;;;8069:18:1;;;8062:42;8121:18;;37291:44:0;7809:336:1;37291:44:0;37408:4;37354:50;37370:10;37382:14;37398:5;37354:15;:50::i;:::-;:58;37346:82;;;;-1:-1:-1;;;37346:82:0;;8352:2:1;37346:82:0;;;8334:21:1;8391:2;8371:18;;;8364:30;-1:-1:-1;;;8410:18:1;;;8403:41;8461:18;;37346:82:0;8150:335:1;37346:82:0;37447:6;;;;:15;37439:60;;;;-1:-1:-1;;;37439:60:0;;8692:2:1;37439:60:0;;;8674:21:1;;;8711:18;;;8704:30;8770:34;8750:18;;;8743:62;8822:18;;37439:60:0;8490:356:1;37439:60:0;37534:4;37513:11;37525:5;37513:18;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:25;;;;;-1:-1:-1;;37513:25:0;;;;;;37549:6;:13;;;;;37513:25;37549:13;;;;;;-1:-1:-1;;;;;37593:17:0;;37513:18;37593:17;;;;;;;;;37621:27;37593:17;37639:8;37621:17;:27::i;:::-;-1:-1:-1;37661:70:0;;-1:-1:-1;;;37661:70:0;;37703:4;37661:70;;;9091:34:1;37710:10:0;9141:18:1;;;9134:43;9193:18;;;9186:34;;;-1:-1:-1;;;;;37661:33:0;;;;;9026:18:1;;37661:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37742:6:0;:14;;-1:-1:-1;;37742:14:0;;;-1:-1:-1;;;;;;;;;37044:720:0:o;37957:279::-;38078:7;38104:12;38156:6;38164;38172:5;38187:4;38139:54;;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;38139:54:0;;;;;;38119:85;;38139:54;38119:85;;;;;37957:279;-1:-1:-1;;;;;37957:279:0:o;34674:103::-;33912:13;:11;:13::i;:::-;34739:30:::1;34766:1;34739:18;:30::i;:::-;34674:103::o:0;36569:467::-;33912:13;:11;:13::i;:::-;36675:6:::1;::::0;::::1;;:15;36667:60;;;::::0;-1:-1:-1;;;36667:60:0;;8692:2:1;36667:60:0::1;::::0;::::1;8674:21:1::0;;;8711:18;;;8704:30;8770:34;8750:18;;;8743:62;8822:18;;36667:60:0::1;8490:356:1::0;36667:60:0::1;36740:6;:13:::0;;-1:-1:-1;;36740:13:0::1;36749:4;36740:13;::::0;;:6:::1;36764:240;36784:9;:16;36780:1;:20;36764:240;;;-1:-1:-1::0;;;;;36840:17:0;::::1;36822:15;36840:17:::0;;;:4:::1;:17;::::0;;;;36890:12;;36872:31:::1;::::0;36890:9;;36900:1;;36890:12;::::1;;;;;:::i;:::-;;;;;;;36872:1;:10;;:17;;:31;;;;:::i;:::-;;36926:11;-1:-1:-1::0;;;;;36918:33:0::1;;36960:4;36967:10;36979:9;36989:1;36979:12;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;36918:74:::1;::::0;-1:-1:-1;;;;;;36918:74:0::1;::::0;;;;;;-1:-1:-1;;;;;9109:15:1;;;36918:74:0::1;::::0;::::1;9091:34:1::0;9161:15;;;;9141:18;;;9134:43;9193:18;;;9186:34;9026:18;;36918:74:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;36807:197;36802:3;;;;;:::i;:::-;;;;36764:240;;;-1:-1:-1::0;;37014:6:0::1;:14:::0;;-1:-1:-1;;37014:14:0::1;::::0;;-1:-1:-1;36569:467:0:o;38244:401::-;-1:-1:-1;;;;;38377:17:0;;38336:24;38377:17;;;:4;:17;;;;;38307:16;;38336:24;38377:35;;:33;:35::i;:::-;38363:50;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38363:50:0;;38336:77;;38483:6;38479:134;-1:-1:-1;;;;;38499:17:0;;;;;;:4;:17;;;;;:35;;:33;:35::i;:::-;38495:1;:39;38479:134;;;-1:-1:-1;;;;;38569:17:0;;;;;;:4;:17;;;;;:32;;38599:1;38569:29;:32::i;:::-;38556:7;38564:1;38556:10;;;;;;;;:::i;:::-;;;;;;;;;;:45;38536:3;;;;:::i;:::-;;;;38479:134;;;-1:-1:-1;38630:7:0;38244:401;-1:-1:-1;;38244:401:0:o;37772:177::-;37852:4;37893:48;37931:9;37893:29;:4;24994:58;;11695:66:1;24994:58:0;;;11683:79:1;11778:12;;;11771:28;;;24861:7:0;;11815:12:1;;24994:58:0;;;;;;;;;;;;24984:69;;;;;;24977:76;;24792:269;;;;37893:29;:37;;:48::i;:::-;37876:13;;;;;-1:-1:-1;;;;;37876:13:0;;;:65;;;;-1:-1:-1;37772:177:0;;;;;:::o;36046:515::-;36187:16;;36141:42;;-1:-1:-1;;;36141:42:0;;36172:10;36141:42;;;3510:51:1;-1:-1:-1;;;;;36141:30:0;;;;;3483:18:1;;36141:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:62;;36133:100;;;;-1:-1:-1;;;36133:100:0;;10533:2:1;36133:100:0;;;10515:21:1;10572:2;10552:18;;;10545:30;10611:27;10591:18;;;10584:55;10656:18;;36133:100:0;10331:349:1;36133:100:0;36246:22;36282:9;:16;36271:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36271:28:0;;36246:53;;36314:6;36310:244;36330:9;:16;36326:1;:20;36310:244;;;36368:44;36399:9;36409:1;36399:12;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;36368:17:0;;;;;;:4;:17;;;;;;;;:30;:44::i;:::-;;36441:9;36451:1;36441:12;;;;;;;;:::i;:::-;;;;;;;36427:8;36436:1;36427:11;;;;;;;;:::i;:::-;;;;;;:26;;;;;36476:11;-1:-1:-1;;;;;36468:33:0;;36502:10;36522:4;36529:9;36539:1;36529:12;;;;;;;;:::i;:::-;;;;;;;;;;;36468:74;;-1:-1:-1;;;;;;36468:74:0;;;;;;;-1:-1:-1;;;;;9109:15:1;;;36468:74:0;;;9091:34:1;9161:15;;;;9141:18;;;9134:43;9193:18;;;9186:34;9026:18;;36468:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36348:3;;;;;:::i;:::-;;;;36310:244;;;;36122:439;36046:515;;:::o;34932:201::-;33912:13;:11;:13::i;:::-;-1:-1:-1;;;;;35021:22:0;::::1;35013:73;;;::::0;-1:-1:-1;;;35013:73:0;;10887:2:1;35013:73:0::1;::::0;::::1;10869:21:1::0;10926:2;10906:18;;;10899:30;10965:34;10945:18;;;10938:62;-1:-1:-1;;;11016:18:1;;;11009:36;11062:19;;35013:73:0::1;10685:402:1::0;35013:73:0::1;35097:28;35116:8;35097:18;:28::i;:::-;34932:201:::0;:::o;11204:137::-;11274:4;11298:35;11306:3;11326:5;11298:7;:35::i;:::-;11291:42;11204:137;-1:-1:-1;;;11204:137:0:o;34191:132::-;34072:7;34099:6;-1:-1:-1;;;;;34099:6:0;32657:10;34255:23;34247:68;;;;-1:-1:-1;;;34247:68:0;;11294:2:1;34247:68:0;;;11276:21:1;;;11313:18;;;11306:30;11372:34;11352:18;;;11345:62;11424:18;;34247:68:0;11092:356:1;35293:191:0;35367:16;35386:6;;-1:-1:-1;;;;;35403:17:0;;;-1:-1:-1;;;;;;35403:17:0;;;;;;35436:40;;35386:6;;;;;;;35436:40;;35367:16;35436:40;35356:128;35293:191;:::o;11659:114::-;11719:7;11746:19;11754:3;4644:18;;4561:109;12127:137;12198:7;12233:22;12237:3;12249:5;12233:3;:22::i;20990:231::-;21068:7;21089:17;21108:18;21130:27;21141:4;21147:9;21130:10;:27::i;:::-;21088:69;;;;21168:18;21180:5;21168:11;:18::i;:::-;-1:-1:-1;21204:9:0;20990:231;-1:-1:-1;;;20990:231:0:o;10897:131::-;10964:4;10988:32;10993:3;11013:5;10988:4;:32::i;2840:1420::-;2906:4;3045:19;;;:12;;;:19;;;;;;3081:15;;3077:1176;;3456:21;3480:14;3493:1;3480:10;:14;:::i;:::-;3529:18;;3456:38;;-1:-1:-1;3509:17:0;;3529:22;;3550:1;;3529:22;:::i;:::-;3509:42;;3585:13;3572:9;:26;3568:405;;3619:17;3639:3;:11;;3651:9;3639:22;;;;;;;;:::i;:::-;;;;;;;;;3619:42;;3793:9;3764:3;:11;;3776:13;3764:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;3878:23;;;:12;;;:23;;;;;:36;;;3568:405;4054:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4149:3;:12;;:19;4162:5;4149:19;;;;;;;;;;;4142:26;;;4192:4;4185:11;;;;;;;3077:1176;4236:5;4229:12;;;;;5024:120;5091:7;5118:3;:11;;5130:5;5118:18;;;;;;;;:::i;:::-;;;;;;;;;5111:25;;5024:120;;;;:::o;19441:747::-;19522:7;19531:12;19560:9;:16;19580:2;19560:22;19556:625;;19904:4;19889:20;;19883:27;19954:4;19939:20;;19933:27;20012:4;19997:20;;19991:27;19599:9;19983:36;20055:25;20066:4;19983:36;19883:27;19933;20055:10;:25::i;:::-;20048:32;;;;;;;;;19556:625;-1:-1:-1;20129:1:0;;-1:-1:-1;20133:35:0;19556:625;19441:747;;;;;:::o;17712:643::-;17790:20;17781:5;:29;;;;;;;;:::i;:::-;;17777:571;;17712:643;:::o;17777:571::-;17888:29;17879:5;:38;;;;;;;;:::i;:::-;;17875:473;;17934:34;;-1:-1:-1;;;17934:34:0;;12437:2:1;17934:34:0;;;12419:21:1;12476:2;12456:18;;;12449:30;12515:26;12495:18;;;12488:54;12559:18;;17934:34:0;12235:348:1;17875:473:0;17999:35;17990:5;:44;;;;;;;;:::i;:::-;;17986:362;;18051:41;;-1:-1:-1;;;18051:41:0;;12790:2:1;18051:41:0;;;12772:21:1;12829:2;12809:18;;;12802:30;12868:33;12848:18;;;12841:61;12919:18;;18051:41:0;12588:355:1;17986:362:0;18123:30;18114:5;:39;;;;;;;;:::i;:::-;;18110:238;;18170:44;;-1:-1:-1;;;18170:44:0;;13150:2:1;18170:44:0;;;13132:21:1;13189:2;13169:18;;;13162:30;13228:34;13208:18;;;13201:62;-1:-1:-1;;;13279:18:1;;;13272:32;13321:19;;18170:44:0;12948:398:1;18110:238:0;18245:30;18236:5;:39;;;;;;;;:::i;:::-;;18232:116;;18292:44;;-1:-1:-1;;;18292:44:0;;13553:2:1;18292:44:0;;;13535:21:1;13592:2;13572:18;;;13565:30;13631:34;13611:18;;;13604:62;-1:-1:-1;;;13682:18:1;;;13675:32;13724:19;;18292:44:0;13351:398:1;2250:414:0;2313:4;4443:19;;;:12;;;:19;;;;;;2330:327;;-1:-1:-1;2373:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;2556:18;;2534:19;;;:12;;;:19;;;;;;:40;;;;2589:11;;2330:327;-1:-1:-1;2640:5:0;2633:12;;22442:1632;22573:7;;23507:66;23494:79;;23490:163;;;-1:-1:-1;23606:1:0;;-1:-1:-1;23610:30:0;23590:51;;23490:163;23667:1;:7;;23672:2;23667:7;;:18;;;;;23678:1;:7;;23683:2;23678:7;;23667:18;23663:102;;;-1:-1:-1;23718:1:0;;-1:-1:-1;23722:30:0;23702:51;;23663:102;23879:24;;;23862:14;23879:24;;;;;;;;;13981:25:1;;;14054:4;14042:17;;14022:18;;;14015:45;;;;14076:18;;;14069:34;;;14119:18;;;14112:34;;;23879:24:0;;13953:19:1;;23879:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;23879:24:0;;-1:-1:-1;;23879:24:0;;;-1:-1:-1;;;;;;;23918:20:0;;23914:103;;23971:1;23975:29;23955:50;;;;;;;23914:103;24037:6;-1:-1:-1;24045:20:0;;-1:-1:-1;22442:1632:0;;;;;;;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:127::-;253:10;248:3;244:20;241:1;234:31;284:4;281:1;274:15;308:4;305:1;298:15;324:275;395:2;389:9;460:2;441:13;;-1:-1:-1;;437:27:1;425:40;;495:18;480:34;;516:22;;;477:62;474:88;;;542:18;;:::i;:::-;578:2;571:22;324:275;;-1:-1:-1;324:275:1:o;604:530::-;646:5;699:3;692:4;684:6;680:17;676:27;666:55;;717:1;714;707:12;666:55;753:6;740:20;779:18;775:2;772:26;769:52;;;801:18;;:::i;:::-;845:55;888:2;869:13;;-1:-1:-1;;865:27:1;894:4;861:38;845:55;:::i;:::-;925:2;916:7;909:19;971:3;964:4;959:2;951:6;947:15;943:26;940:35;937:55;;;988:1;985;978:12;937:55;1053:2;1046:4;1038:6;1034:17;1027:4;1018:7;1014:18;1001:55;1101:1;1076:16;;;1094:4;1072:27;1065:38;;;;1080:7;604:530;-1:-1:-1;;;604:530:1:o;1139:537::-;1234:6;1242;1250;1258;1311:3;1299:9;1290:7;1286:23;1282:33;1279:53;;;1328:1;1325;1318:12;1279:53;1351:29;1370:9;1351:29;:::i;:::-;1341:39;;1399:38;1433:2;1422:9;1418:18;1399:38;:::i;:::-;1389:48;;1484:2;1473:9;1469:18;1456:32;1446:42;;1539:2;1528:9;1524:18;1511:32;1566:18;1558:6;1555:30;1552:50;;;1598:1;1595;1588:12;1552:50;1621:49;1662:7;1653:6;1642:9;1638:22;1621:49;:::i;:::-;1611:59;;;1139:537;;;;;;;:::o;1888:821::-;2011:6;2019;2027;2035;2043;2051;2104:3;2092:9;2083:7;2079:23;2075:33;2072:53;;;2121:1;2118;2111:12;2072:53;2144:29;2163:9;2144:29;:::i;:::-;2134:39;;2220:2;2209:9;2205:18;2192:32;2182:42;;2271:2;2260:9;2256:18;2243:32;2233:42;;2326:2;2315:9;2311:18;2298:32;2349:18;2390:2;2382:6;2379:14;2376:34;;;2406:1;2403;2396:12;2376:34;2429:49;2470:7;2461:6;2450:9;2446:22;2429:49;:::i;:::-;2419:59;;2525:3;2514:9;2510:19;2497:33;2487:43;;2583:3;2572:9;2568:19;2555:33;2539:49;;2613:2;2603:8;2600:16;2597:36;;;2629:1;2626;2619:12;2597:36;;2652:51;2695:7;2684:8;2673:9;2669:24;2652:51;:::i;:::-;2642:61;;;1888:821;;;;;;;;:::o;2714:463::-;2801:6;2809;2817;2870:2;2858:9;2849:7;2845:23;2841:32;2838:52;;;2886:1;2883;2876:12;2838:52;2909:29;2928:9;2909:29;:::i;:::-;2899:39;;2985:2;2974:9;2970:18;2957:32;2947:42;;3040:2;3029:9;3025:18;3012:32;3067:18;3059:6;3056:30;3053:50;;;3099:1;3096;3089:12;3053:50;3122:49;3163:7;3154:6;3143:9;3139:22;3122:49;:::i;:::-;3112:59;;;2714:463;;;;;:::o;3572:712::-;3626:5;3679:3;3672:4;3664:6;3660:17;3656:27;3646:55;;3697:1;3694;3687:12;3646:55;3733:6;3720:20;3759:4;3782:18;3778:2;3775:26;3772:52;;;3804:18;;:::i;:::-;3850:2;3847:1;3843:10;3873:28;3897:2;3893;3889:11;3873:28;:::i;:::-;3935:15;;;4005;;;4001:24;;;3966:12;;;;4037:15;;;4034:35;;;4065:1;4062;4055:12;4034:35;4101:2;4093:6;4089:15;4078:26;;4113:142;4129:6;4124:3;4121:15;4113:142;;;4195:17;;4183:30;;4146:12;;;;4233;;;;4113:142;;;4273:5;3572:712;-1:-1:-1;;;;;;;3572:712:1:o;4289:422::-;4382:6;4390;4443:2;4431:9;4422:7;4418:23;4414:32;4411:52;;;4459:1;4456;4449:12;4411:52;4482:29;4501:9;4482:29;:::i;:::-;4472:39;;4562:2;4551:9;4547:18;4534:32;4589:18;4581:6;4578:30;4575:50;;;4621:1;4618;4611:12;4575:50;4644:61;4697:7;4688:6;4677:9;4673:22;4644:61;:::i;:::-;4634:71;;;4289:422;;;;;:::o;4716:321::-;4785:6;4838:2;4826:9;4817:7;4813:23;4809:32;4806:52;;;4854:1;4851;4844:12;4806:52;4894:9;4881:23;4927:18;4919:6;4916:30;4913:50;;;4959:1;4956;4949:12;4913:50;4982:49;5023:7;5014:6;5003:9;4999:22;4982:49;:::i;:::-;4972:59;4716:321;-1:-1:-1;;;;4716:321:1:o;5234:186::-;5293:6;5346:2;5334:9;5325:7;5321:23;5317:32;5314:52;;;5362:1;5359;5352:12;5314:52;5385:29;5404:9;5385:29;:::i;5425:632::-;5596:2;5648:21;;;5718:13;;5621:18;;;5740:22;;;5567:4;;5596:2;5819:15;;;;5793:2;5778:18;;;5567:4;5862:169;5876:6;5873:1;5870:13;5862:169;;;5937:13;;5925:26;;6006:15;;;;5971:12;;;;5898:1;5891:9;5862:169;;;-1:-1:-1;6048:3:1;;5425:632;-1:-1:-1;;;;;;5425:632:1:o;6062:388::-;6139:6;6147;6200:2;6188:9;6179:7;6175:23;6171:32;6168:52;;;6216:1;6213;6206:12;6168:52;6252:9;6239:23;6229:33;;6313:2;6302:9;6298:18;6285:32;6340:18;6332:6;6329:30;6326:50;;;6372:1;6369;6362:12;6326:50;6395:49;6436:7;6427:6;6416:9;6412:22;6395:49;:::i;6455:422::-;6548:6;6556;6609:2;6597:9;6588:7;6584:23;6580:32;6577:52;;;6625:1;6622;6615:12;6577:52;6665:9;6652:23;6698:18;6690:6;6687:30;6684:50;;;6730:1;6727;6720:12;6684:50;6753:61;6806:7;6797:6;6786:9;6782:22;6753:61;:::i;:::-;6743:71;;;6833:38;6867:2;6856:9;6852:18;6833:38;:::i;:::-;6823:48;;6455:422;;;;;:::o;7284:323::-;7326:3;7364:5;7358:12;7388:1;7398:128;7412:6;7409:1;7406:13;7398:128;;;7509:4;7494:13;;;7490:24;;7484:31;7471:11;;;7464:52;7427:12;7398:128;;;-1:-1:-1;7581:1:1;7545:16;;7570:13;;;-1:-1:-1;7545:16:1;;7284:323;-1:-1:-1;7284:323:1:o;7612:192::-;7743:3;7768:30;7794:3;7786:6;7768:30;:::i;9231:502::-;9446:3;9478:26;9474:31;9547:2;9538:6;9534:2;9530:15;9526:24;9521:3;9514:37;9581:6;9576:2;9571:3;9567:12;9560:28;9610:39;9645:2;9640:3;9636:12;9628:6;9610:39;:::i;:::-;9680:2;9676:15;;;;9672:24;9658:39;;-1:-1:-1;;9724:2:1;9713:14;;9231:502;-1:-1:-1;;;9231:502:1:o;9738:127::-;9799:10;9794:3;9790:20;9787:1;9780:31;9830:4;9827:1;9820:15;9854:4;9851:1;9844:15;9870:127;9931:10;9926:3;9922:20;9919:1;9912:31;9962:4;9959:1;9952:15;9986:4;9983:1;9976:15;10002:135;10041:3;10062:17;;;10059:43;;10082:18;;:::i;:::-;-1:-1:-1;10129:1:1;10118:13;;10002:135::o;10142:184::-;10212:6;10265:2;10253:9;10244:7;10240:23;10236:32;10233:52;;;10281:1;10278;10271:12;10233:52;-1:-1:-1;10304:16:1;;10142:184;-1:-1:-1;10142:184:1:o;11838:128::-;11905:9;;;11926:11;;;11923:37;;;11940:18;;:::i;11971:127::-;12032:10;12027:3;12023:20;12020:1;12013:31;12063:4;12060:1;12053:15;12087:4;12084:1;12077:15;12103:127;12164:10;12159:3;12155:20;12152:1;12145:31;12195:4;12192:1;12185:15;12219:4;12216:1;12209:15

Swarm Source

ipfs://0f4328234d9775c477a88a41078e688e2f511262c2fdfdd26f47b5ba371ec20d

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.