CELO Price: $0.12 (+0.51%)
Gas: 25 GWei

Contract

0xA73dCF69F028669c2B4D4077B848B9F3c1F871Ef
Transaction Hash
Block
From
To
Reclaim ERC20519967062025-11-23 11:31:0463 days ago1763897464IN
0xA73dCF69...3c1F871Ef
0 CELO0.0019643725.001
Reclaim ERC20519966622025-11-23 11:30:2063 days ago1763897420IN
0xA73dCF69...3c1F871Ef
0 CELO0.0019643725.001
Reclaim ERC20519966432025-11-23 11:30:0163 days ago1763897401IN
0xA73dCF69...3c1F871Ef
0 CELO0.0019643725.001
Reclaim ERC20519965432025-11-23 11:28:2163 days ago1763897301IN
0xA73dCF69...3c1F871Ef
0 CELO0.0019643725.001
Reclaim ERC20504137062025-11-05 3:47:4482 days ago1762314464IN
0xA73dCF69...3c1F871Ef
0 CELO0.0019643725.001
Deposit ERC20502836942025-11-03 15:40:5283 days ago1762184452IN
0xA73dCF69...3c1F871Ef
0 CELO0.001076955.92207714
Reclaim ERC20459853762025-09-14 21:42:14133 days ago1757886134IN
0xA73dCF69...3c1F871Ef
0 CELO0.001974525.001
Deposit ERC20458008392025-09-12 18:26:37135 days ago1757701597IN
0xA73dCF69...3c1F871Ef
0 CELO0.0035526625.001
Reclaim ERC20457264462025-09-11 21:46:44136 days ago1757627204IN
0xA73dCF69...3c1F871Ef
0 CELO0.001011197.8393807
Reclaim ERC20455215892025-09-09 12:52:27138 days ago1757422347IN
0xA73dCF69...3c1F871Ef
0 CELO0.000911757.78022794
Deposit ERC20455214802025-09-09 12:50:38138 days ago1757422238IN
0xA73dCF69...3c1F871Ef
0 CELO0.001402877.78022794
Deposit ERC20455153562025-09-09 11:08:34138 days ago1757416114IN
0xA73dCF69...3c1F871Ef
0 CELO0.0035179625.001
Reclaim ERC20455096172025-09-09 9:32:55138 days ago1757410375IN
0xA73dCF69...3c1F871Ef
0 CELO0.0025026225.001
Deposit ERC20455095892025-09-09 9:32:27138 days ago1757410347IN
0xA73dCF69...3c1F871Ef
0 CELO0.001518877.83143799
Deposit ERC20455039992025-09-09 7:59:17138 days ago1757404757IN
0xA73dCF69...3c1F871Ef
0 CELO0.0035176625.001
Deposit ERC20454803882025-09-09 1:25:46139 days ago1757381146IN
0xA73dCF69...3c1F871Ef
0 CELO0.0035176625.001
Deposit ERC20454803592025-09-09 1:25:17139 days ago1757381117IN
0xA73dCF69...3c1F871Ef
0 CELO0.0035176625.001
Deposit ERC20454803272025-09-09 1:24:45139 days ago1757381085IN
0xA73dCF69...3c1F871Ef
0 CELO0.0035176625.001
Deposit ERC20454803012025-09-09 1:24:19139 days ago1757381059IN
0xA73dCF69...3c1F871Ef
0 CELO0.0035176625.001
Deposit ERC20454802702025-09-09 1:23:48139 days ago1757381028IN
0xA73dCF69...3c1F871Ef
0 CELO0.0035176625.001
Deposit ERC20454801962025-09-09 1:22:34139 days ago1757380954IN
0xA73dCF69...3c1F871Ef
0 CELO0.0035176625.001
Deposit ERC20454801232025-09-09 1:21:21139 days ago1757380881IN
0xA73dCF69...3c1F871Ef
0 CELO0.0035176625.001
Deposit ERC20454800982025-09-09 1:20:56139 days ago1757380856IN
0xA73dCF69...3c1F871Ef
0 CELO0.0035176625.001
Deposit ERC20454800732025-09-09 1:20:31139 days ago1757380831IN
0xA73dCF69...3c1F871Ef
0 CELO0.0035176625.001
Deposit ERC20454800422025-09-09 1:20:00139 days ago1757380800IN
0xA73dCF69...3c1F871Ef
0 CELO0.0035176625.001
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WalletJumpstart

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;

import {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import {IERC721} from '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import {ECDSA} from '@openzeppelin/contracts/utils/cryptography/ECDSA.sol';
import {MessageHashUtils} from '@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol';

error AlreadyClaimed();
error InvalidSignature();
error InvalidSender();
error InvalidIndexOrBeneficiary();
error InvalidAmount();

using ECDSA for bytes32;
using MessageHashUtils for bytes32;

contract WalletJumpstart {
  struct ERC20Claim {
    IERC20 token;
    address depositor;
    uint256 amount;
    bool claimed;
  }

  struct ERC721Claim {
    IERC721 token;
    address depositor;
    uint256 tokenId;
    bool claimed;
  }

  mapping(address => ERC20Claim[]) public erc20Claims;
  mapping(address => ERC721Claim[]) public erc721Claims;

  event ERC20Deposited(
    address indexed depositor,
    address indexed beneficiary,
    IERC20 indexed token,
    uint256 amount,
    uint256 index
  );
  event ERC721Deposited(
    address indexed depositor,
    address indexed beneficiary,
    IERC721 indexed token,
    uint256 tokenId,
    uint256 index
  );
  event ERC20Claimed(
    address indexed beneficiary,
    address sentTo,
    IERC20 indexed token,
    uint256 amount
  );
  event ERC721Claimed(
    address indexed beneficiary,
    address sentTo,
    IERC721 indexed token,
    uint256 tokenId
  );
  event ERC20Reclaimed(
    address indexed beneficiary,
    address sentTo,
    IERC20 indexed token,
    uint256 amount
  );
  event ERC721Reclaimed(
    address indexed beneficiary,
    address sentTo,
    IERC721 indexed token,
    uint256 tokenId
  );

  function depositERC20(
    address beneficiary,
    IERC20 token,
    uint256 amount
  ) external {
    if (amount == 0) {
      revert InvalidAmount();
    }
    token.transferFrom(msg.sender, address(this), amount);
    erc20Claims[beneficiary].push(ERC20Claim(token, msg.sender, amount, false));
    emit ERC20Deposited(
      msg.sender,
      beneficiary,
      token,
      amount,
      erc20Claims[beneficiary].length - 1
    );
  }

  function depositERC721(
    address beneficiary,
    IERC721 token,
    uint256 tokenId
  ) external {
    token.transferFrom(msg.sender, address(this), tokenId);
    erc721Claims[beneficiary].push(
      ERC721Claim(token, msg.sender, tokenId, false)
    );
    emit ERC721Deposited(
      msg.sender,
      beneficiary,
      token,
      tokenId,
      erc721Claims[beneficiary].length - 1
    );
  }

  function claimERC20(
    uint256 index,
    address beneficiary,
    bytes memory signature,
    address sendTo
  ) external {
    if (index >= erc20Claims[beneficiary].length) {
      revert InvalidIndexOrBeneficiary();
    }

    ERC20Claim storage claim = erc20Claims[beneficiary][index];
    if (claim.claimed) {
      revert AlreadyClaimed();
    }

    bytes32 hash = keccak256(abi.encodePacked(beneficiary, sendTo, index));
    address signer = hash.toEthSignedMessageHash().recover(signature);
    if (beneficiary != signer) {
      revert InvalidSignature();
    }

    claim.claimed = true;
    claim.token.transfer(sendTo, claim.amount);
    emit ERC20Claimed(beneficiary, sendTo, claim.token, claim.amount);
  }

  function claimERC721(
    uint256 index,
    address beneficiary,
    bytes memory signature,
    address sendTo
  ) external {
    if (index >= erc721Claims[beneficiary].length) {
      revert InvalidIndexOrBeneficiary();
    }

    ERC721Claim storage claim = erc721Claims[beneficiary][index];
    if (claim.claimed) {
      revert AlreadyClaimed();
    }

    bytes32 hash = keccak256(abi.encodePacked(beneficiary, sendTo, index));
    address signer = hash.toEthSignedMessageHash().recover(signature);
    if (beneficiary != signer) {
      revert InvalidSignature();
    }

    claim.claimed = true;
    claim.token.transferFrom(address(this), sendTo, claim.tokenId);
    emit ERC721Claimed(beneficiary, sendTo, claim.token, claim.tokenId);
  }

  function reclaimERC20(address beneficiary, uint256 index) external {
    if (index >= erc20Claims[beneficiary].length) {
      revert InvalidIndexOrBeneficiary();
    }

    ERC20Claim storage claim = erc20Claims[beneficiary][index];
    if (claim.depositor != msg.sender) {
      revert InvalidSender();
    }

    if (claim.claimed) {
      revert AlreadyClaimed();
    }

    claim.claimed = true;
    claim.token.transfer(claim.depositor, claim.amount);
    emit ERC20Reclaimed(
      beneficiary,
      claim.depositor,
      claim.token,
      claim.amount
    );
  }

  function reclaimERC721(address beneficiary, uint256 index) external {
    if (index >= erc721Claims[beneficiary].length) {
      revert InvalidIndexOrBeneficiary();
    }

    ERC721Claim storage claim = erc721Claims[beneficiary][index];
    if (claim.depositor != msg.sender) {
      revert InvalidSender();
    }

    if (claim.claimed) {
      revert AlreadyClaimed();
    }

    claim.claimed = true;
    claim.token.transferFrom(address(this), claim.depositor, claim.tokenId);
    emit ERC721Reclaimed(
      beneficiary,
      claim.depositor,
      claim.token,
      claim.tokenId
    );
  }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../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`.
     *
     * 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the address zero.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) external;

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.20;

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

    /**
     * @dev The signature derives the `address(0)`.
     */
    error ECDSAInvalidSignature();

    /**
     * @dev The signature has an invalid length.
     */
    error ECDSAInvalidSignatureLength(uint256 length);

    /**
     * @dev The signature has an S value that is in the upper half order.
     */
    error ECDSAInvalidSignatureS(bytes32 s);

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not
     * return address(0) without also returning an error description. Errors are documented using an enum (error type)
     * and a bytes32 providing additional information about the error.
     *
     * If no error is returned, then the address can be used for verification purposes.
     *
     * The `ecrecover` EVM precompile 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 {MessageHashUtils-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]
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError, bytes32) {
        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, bytes32(signature.length));
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM precompile 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 {MessageHashUtils-toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);
        _throwError(error, errorArg);
        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]
     */
    function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError, bytes32) {
        unchecked {
            bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
            // We do not check for an overflow here since the shift operation results in 0 or 1.
            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.
     */
    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);
        _throwError(error, errorArg);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError, bytes32) {
        // 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, s);
        }

        // 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, bytes32(0));
        }

        return (signer, RecoverError.NoError, bytes32(0));
    }

    /**
     * @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, bytes32 errorArg) = tryRecover(hash, v, r, s);
        _throwError(error, errorArg);
        return recovered;
    }

    /**
     * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.
     */
    function _throwError(RecoverError error, bytes32 errorArg) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert ECDSAInvalidSignature();
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert ECDSAInvalidSignatureLength(uint256(errorArg));
        } else if (error == RecoverError.InvalidSignatureS) {
            revert ECDSAInvalidSignatureS(errorArg);
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MessageHashUtils.sol)

pragma solidity ^0.8.20;

import {Strings} from "../Strings.sol";

/**
 * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.
 *
 * The library provides methods for generating a hash of a message that conforms to the
 * https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]
 * specifications.
 */
library MessageHashUtils {
    /**
     * @dev Returns the keccak256 digest of an EIP-191 signed data with version
     * `0x45` (`personal_sign` messages).
     *
     * The digest is calculated by prefixing a bytes32 `messageHash` with
     * `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the
     * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
     *
     * NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with
     * keccak256, although any bytes32 value can be safely used because the final digest will
     * be re-hashed.
     *
     * See {ECDSA-recover}.
     */
    function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, "\x19Ethereum Signed Message:\n32") // 32 is the bytes-length of messageHash
            mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix
            digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20)
        }
    }

    /**
     * @dev Returns the keccak256 digest of an EIP-191 signed data with version
     * `0x45` (`personal_sign` messages).
     *
     * The digest is calculated by prefixing an arbitrary `message` with
     * `"\x19Ethereum Signed Message:\n" + len(message)` and hashing the result. It corresponds with the
     * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
     *
     * See {ECDSA-recover}.
     */
    function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) {
        return
            keccak256(bytes.concat("\x19Ethereum Signed Message:\n", bytes(Strings.toString(message.length)), message));
    }

    /**
     * @dev Returns the keccak256 digest of an EIP-191 signed data with version
     * `0x00` (data with intended validator).
     *
     * The digest is calculated by prefixing an arbitrary `data` with `"\x19\x00"` and the intended
     * `validator` address. Then hashing the result.
     *
     * See {ECDSA-recover}.
     */
    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(hex"19_00", validator, data));
    }

    /**
     * @dev Returns the keccak256 digest of an EIP-712 typed data (EIP-191 version `0x01`).
     *
     * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with
     * `\x19\x01` and hashing the result. It corresponds to the hash signed by the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.
     *
     * See {ECDSA-recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, hex"19_01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            digest := keccak256(ptr, 0x42)
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    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.
     */
    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.
     */
    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.
     */
    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 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 towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

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

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        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_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"AlreadyClaimed","type":"error"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"InvalidIndexOrBeneficiary","type":"error"},{"inputs":[],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"address","name":"sentTo","type":"address"},{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"depositor","type":"address"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"ERC20Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"address","name":"sentTo","type":"address"},{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20Reclaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"address","name":"sentTo","type":"address"},{"indexed":true,"internalType":"contract IERC721","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"depositor","type":"address"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":true,"internalType":"contract IERC721","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"ERC721Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"address","name":"sentTo","type":"address"},{"indexed":true,"internalType":"contract IERC721","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721Reclaimed","type":"event"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"address","name":"sendTo","type":"address"}],"name":"claimERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"address","name":"sendTo","type":"address"}],"name":"claimERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"contract IERC721","name":"token","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"depositERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"erc20Claims","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"depositor","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"claimed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"erc721Claims","outputs":[{"internalType":"contract IERC721","name":"token","type":"address"},{"internalType":"address","name":"depositor","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bool","name":"claimed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"reclaimERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"reclaimERC721","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506120bf806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80636b7d24701161005b5780636b7d247014610114578063afdbd49914610130578063b78a574d1461014c578063ead779ea1461016857610088565b806304231eb51461008d57806312c27461146100c05780631cad5a40146100dc578063331ded1a146100f8575b600080fd5b6100a760048036038101906100a29190611922565b61019b565b6040516100b794939291906119fa565b60405180910390f35b6100da60048036038101906100d59190611b85565b610235565b005b6100f660048036038101906100f19190611c46565b610569565b005b610112600480360381019061010d9190611cd7565b610865565b005b61012e60048036038101906101299190611922565b610b16565b005b61014a60048036038101906101459190611922565b610e56565b005b61016660048036038101906101619190611b85565b6111a4565b005b610182600480360381019061017d9190611922565b6114ca565b6040516101929493929190611d4b565b60405180910390f35b600060205281600052604060002081815481106101b757600080fd5b9060005260206000209060040201600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030160009054906101000a900460ff16905084565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905084106102af576040517fdafae42700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020858154811061030157610300611d90565b5b906000526020600020906004020190508060030160009054906101000a900460ff161561035a576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084838760405160200161037193929190611e28565b60405160208183030381529060405280519060200120905060006103a68561039884611564565b61159a90919063ffffffff16565b90508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161461040d576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018360030160006101000a81548160ff0219169083151502179055508260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585600201546040518363ffffffff1660e01b815260040161048d929190611e65565b6020604051808303816000875af11580156104ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d09190611eba565b508260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167ff15b4a917680e4fb479db7640331eb3db831672f5654e014110e0508a1a3badc868660020154604051610558929190611e65565b60405180910390a350505050505050565b600081036105a3576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016105e093929190611ee7565b6020604051808303816000875af11580156105ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106239190611eba565b506000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052808473ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff16815260200183815260200160001515815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555050508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f11f8fc1c83f28d04a445c8ff0d48d1d193d6630abb9e3f548c9ffcf8873eb98d8460016000808a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061084a9190611f4d565b604051610858929190611f81565b60405180910390a4505050565b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016108a293929190611ee7565b600060405180830381600087803b1580156108bc57600080fd5b505af11580156108d0573d6000803e3d6000fd5b50505050600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052808473ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff16815260200183815260200160001515815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555050508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4213197902d92d3da3574f45f355c7d785412e084f6b4079cbb438f092c15c528460018060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050610afb9190611f4d565b604051610b09929190611f81565b60405180910390a4505050565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110610b91576040517fdafae42700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110610be457610be3611d90565b5b906000526020600020906004020190503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c7d576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060030160009054906101000a900460ff1615610cc6576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018160030160006101000a81548160ff0219169083151502179055508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd308360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684600201546040518463ffffffff1660e01b8152600401610d6c93929190611ee7565b600060405180830381600087803b158015610d8657600080fd5b505af1158015610d9a573d6000803e3d6000fd5b505050508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fe525a0d808b0d3327b749154940ed78d3ccab88556457bc692e5a485f82d10478360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168460020154604051610e49929190611e65565b60405180910390a3505050565b6000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110610ed0576040517fdafae42700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110610f2257610f21611d90565b5b906000526020600020906004020190503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fbb576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060030160009054906101000a900460ff1615611004576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018160030160006101000a81548160ff0219169083151502179055508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683600201546040518363ffffffff1660e01b81526004016110a8929190611e65565b6020604051808303816000875af11580156110c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110eb9190611eba565b508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167ff6141ac062bbc04d91bb316d585cfc009fa10941330bc08ae1b80b0b68e7fce98360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168460020154604051611197929190611e65565b60405180910390a3505050565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050841061121f576040517fdafae42700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020858154811061127257611271611d90565b5b906000526020600020906004020190508060030160009054906101000a900460ff16156112cb576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008483876040516020016112e293929190611e28565b60405160208183030381529060405280519060200120905060006113178561130984611564565b61159a90919063ffffffff16565b90508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161461137e576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018360030160006101000a81548160ff0219169083151502179055508260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd308686600201546040518463ffffffff1660e01b815260040161140093929190611ee7565b600060405180830381600087803b15801561141a57600080fd5b505af115801561142e573d6000803e3d6000fd5b505050508260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f6564f48f177e41e345d2183fe4cec34dab8b183fcb99fb2193f5c3126c2080318686600201546040516114b9929190611e65565b60405180910390a350505050505050565b600160205281600052604060002081815481106114e657600080fd5b9060005260206000209060040201600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030160009054906101000a900460ff16905084565b60007f19457468657265756d205369676e6564204d6573736167653a0a33320000000060005281601c52603c6000209050919050565b6000806000806115aa86866115c6565b9250925092506115ba8282611622565b82935050505092915050565b6000806000604184510361160b5760008060006020870151925060408701519150606087015160001a90506115fd88828585611786565b95509550955050505061161b565b60006002855160001b9250925092505b9250925092565b6000600381111561163657611635611faa565b5b82600381111561164957611648611faa565b5b0315611782576001600381111561166357611662611faa565b5b82600381111561167657611675611faa565b5b036116ad576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600260038111156116c1576116c0611faa565b5b8260038111156116d4576116d3611faa565b5b03611719578060001c6040517ffce698f70000000000000000000000000000000000000000000000000000000081526004016117109190611fd9565b60405180910390fd5b60038081111561172c5761172b611faa565b5b82600381111561173f5761173e611faa565b5b0361178157806040517fd78bce0c000000000000000000000000000000000000000000000000000000008152600401611778919061200d565b60405180910390fd5b5b5050565b60008060007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08460001c11156117c6576000600385925092509250611870565b6000600188888888604051600081526020016040526040516117eb9493929190612044565b6020604051602081039080840390855afa15801561180d573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361186157600060016000801b93509350935050611870565b8060008060001b935093509350505b9450945094915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006118b98261188e565b9050919050565b6118c9816118ae565b81146118d457600080fd5b50565b6000813590506118e6816118c0565b92915050565b6000819050919050565b6118ff816118ec565b811461190a57600080fd5b50565b60008135905061191c816118f6565b92915050565b6000806040838503121561193957611938611884565b5b6000611947858286016118d7565b92505060206119588582860161190d565b9150509250929050565b6000819050919050565b600061198761198261197d8461188e565b611962565b61188e565b9050919050565b60006119998261196c565b9050919050565b60006119ab8261198e565b9050919050565b6119bb816119a0565b82525050565b6119ca816118ae565b82525050565b6119d9816118ec565b82525050565b60008115159050919050565b6119f4816119df565b82525050565b6000608082019050611a0f60008301876119b2565b611a1c60208301866119c1565b611a2960408301856119d0565b611a3660608301846119eb565b95945050505050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611a9282611a49565b810181811067ffffffffffffffff82111715611ab157611ab0611a5a565b5b80604052505050565b6000611ac461187a565b9050611ad08282611a89565b919050565b600067ffffffffffffffff821115611af057611aef611a5a565b5b611af982611a49565b9050602081019050919050565b82818337600083830152505050565b6000611b28611b2384611ad5565b611aba565b905082815260208101848484011115611b4457611b43611a44565b5b611b4f848285611b06565b509392505050565b600082601f830112611b6c57611b6b611a3f565b5b8135611b7c848260208601611b15565b91505092915050565b60008060008060808587031215611b9f57611b9e611884565b5b6000611bad8782880161190d565b9450506020611bbe878288016118d7565b935050604085013567ffffffffffffffff811115611bdf57611bde611889565b5b611beb87828801611b57565b9250506060611bfc878288016118d7565b91505092959194509250565b6000611c13826118ae565b9050919050565b611c2381611c08565b8114611c2e57600080fd5b50565b600081359050611c4081611c1a565b92915050565b600080600060608486031215611c5f57611c5e611884565b5b6000611c6d868287016118d7565b9350506020611c7e86828701611c31565b9250506040611c8f8682870161190d565b9150509250925092565b6000611ca4826118ae565b9050919050565b611cb481611c99565b8114611cbf57600080fd5b50565b600081359050611cd181611cab565b92915050565b600080600060608486031215611cf057611cef611884565b5b6000611cfe868287016118d7565b9350506020611d0f86828701611cc2565b9250506040611d208682870161190d565b9150509250925092565b6000611d358261198e565b9050919050565b611d4581611d2a565b82525050565b6000608082019050611d606000830187611d3c565b611d6d60208301866119c1565b611d7a60408301856119d0565b611d8760608301846119eb565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008160601b9050919050565b6000611dd782611dbf565b9050919050565b6000611de982611dcc565b9050919050565b611e01611dfc826118ae565b611dde565b82525050565b6000819050919050565b611e22611e1d826118ec565b611e07565b82525050565b6000611e348286611df0565b601482019150611e448285611df0565b601482019150611e548284611e11565b602082019150819050949350505050565b6000604082019050611e7a60008301856119c1565b611e8760208301846119d0565b9392505050565b611e97816119df565b8114611ea257600080fd5b50565b600081519050611eb481611e8e565b92915050565b600060208284031215611ed057611ecf611884565b5b6000611ede84828501611ea5565b91505092915050565b6000606082019050611efc60008301866119c1565b611f0960208301856119c1565b611f1660408301846119d0565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611f58826118ec565b9150611f63836118ec565b9250828203905081811115611f7b57611f7a611f1e565b5b92915050565b6000604082019050611f9660008301856119d0565b611fa360208301846119d0565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082019050611fee60008301846119d0565b92915050565b6000819050919050565b61200781611ff4565b82525050565b60006020820190506120226000830184611ffe565b92915050565b600060ff82169050919050565b61203e81612028565b82525050565b60006080820190506120596000830187611ffe565b6120666020830186612035565b6120736040830185611ffe565b6120806060830184611ffe565b9594505050505056fea2646970667358221220aad1b968a041cdb600d8cd3b01137c73252e906261bdc1e50c7e978e89e5c99564736f6c63430008140033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100885760003560e01c80636b7d24701161005b5780636b7d247014610114578063afdbd49914610130578063b78a574d1461014c578063ead779ea1461016857610088565b806304231eb51461008d57806312c27461146100c05780631cad5a40146100dc578063331ded1a146100f8575b600080fd5b6100a760048036038101906100a29190611922565b61019b565b6040516100b794939291906119fa565b60405180910390f35b6100da60048036038101906100d59190611b85565b610235565b005b6100f660048036038101906100f19190611c46565b610569565b005b610112600480360381019061010d9190611cd7565b610865565b005b61012e60048036038101906101299190611922565b610b16565b005b61014a60048036038101906101459190611922565b610e56565b005b61016660048036038101906101619190611b85565b6111a4565b005b610182600480360381019061017d9190611922565b6114ca565b6040516101929493929190611d4b565b60405180910390f35b600060205281600052604060002081815481106101b757600080fd5b9060005260206000209060040201600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030160009054906101000a900460ff16905084565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905084106102af576040517fdafae42700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020858154811061030157610300611d90565b5b906000526020600020906004020190508060030160009054906101000a900460ff161561035a576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084838760405160200161037193929190611e28565b60405160208183030381529060405280519060200120905060006103a68561039884611564565b61159a90919063ffffffff16565b90508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161461040d576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018360030160006101000a81548160ff0219169083151502179055508260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585600201546040518363ffffffff1660e01b815260040161048d929190611e65565b6020604051808303816000875af11580156104ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d09190611eba565b508260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167ff15b4a917680e4fb479db7640331eb3db831672f5654e014110e0508a1a3badc868660020154604051610558929190611e65565b60405180910390a350505050505050565b600081036105a3576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016105e093929190611ee7565b6020604051808303816000875af11580156105ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106239190611eba565b506000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052808473ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff16815260200183815260200160001515815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555050508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f11f8fc1c83f28d04a445c8ff0d48d1d193d6630abb9e3f548c9ffcf8873eb98d8460016000808a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061084a9190611f4d565b604051610858929190611f81565b60405180910390a4505050565b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016108a293929190611ee7565b600060405180830381600087803b1580156108bc57600080fd5b505af11580156108d0573d6000803e3d6000fd5b50505050600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052808473ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff16815260200183815260200160001515815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555050508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f4213197902d92d3da3574f45f355c7d785412e084f6b4079cbb438f092c15c528460018060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050610afb9190611f4d565b604051610b09929190611f81565b60405180910390a4505050565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110610b91576040517fdafae42700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110610be457610be3611d90565b5b906000526020600020906004020190503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c7d576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060030160009054906101000a900460ff1615610cc6576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018160030160006101000a81548160ff0219169083151502179055508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd308360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684600201546040518463ffffffff1660e01b8152600401610d6c93929190611ee7565b600060405180830381600087803b158015610d8657600080fd5b505af1158015610d9a573d6000803e3d6000fd5b505050508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fe525a0d808b0d3327b749154940ed78d3ccab88556457bc692e5a485f82d10478360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168460020154604051610e49929190611e65565b60405180910390a3505050565b6000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110610ed0576040517fdafae42700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110610f2257610f21611d90565b5b906000526020600020906004020190503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fbb576040517fddb5de5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060030160009054906101000a900460ff1615611004576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018160030160006101000a81548160ff0219169083151502179055508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8260010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683600201546040518363ffffffff1660e01b81526004016110a8929190611e65565b6020604051808303816000875af11580156110c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110eb9190611eba565b508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167ff6141ac062bbc04d91bb316d585cfc009fa10941330bc08ae1b80b0b68e7fce98360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168460020154604051611197929190611e65565b60405180910390a3505050565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050841061121f576040517fdafae42700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020858154811061127257611271611d90565b5b906000526020600020906004020190508060030160009054906101000a900460ff16156112cb576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008483876040516020016112e293929190611e28565b60405160208183030381529060405280519060200120905060006113178561130984611564565b61159a90919063ffffffff16565b90508073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161461137e576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018360030160006101000a81548160ff0219169083151502179055508260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd308686600201546040518463ffffffff1660e01b815260040161140093929190611ee7565b600060405180830381600087803b15801561141a57600080fd5b505af115801561142e573d6000803e3d6000fd5b505050508260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f6564f48f177e41e345d2183fe4cec34dab8b183fcb99fb2193f5c3126c2080318686600201546040516114b9929190611e65565b60405180910390a350505050505050565b600160205281600052604060002081815481106114e657600080fd5b9060005260206000209060040201600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030160009054906101000a900460ff16905084565b60007f19457468657265756d205369676e6564204d6573736167653a0a33320000000060005281601c52603c6000209050919050565b6000806000806115aa86866115c6565b9250925092506115ba8282611622565b82935050505092915050565b6000806000604184510361160b5760008060006020870151925060408701519150606087015160001a90506115fd88828585611786565b95509550955050505061161b565b60006002855160001b9250925092505b9250925092565b6000600381111561163657611635611faa565b5b82600381111561164957611648611faa565b5b0315611782576001600381111561166357611662611faa565b5b82600381111561167657611675611faa565b5b036116ad576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600260038111156116c1576116c0611faa565b5b8260038111156116d4576116d3611faa565b5b03611719578060001c6040517ffce698f70000000000000000000000000000000000000000000000000000000081526004016117109190611fd9565b60405180910390fd5b60038081111561172c5761172b611faa565b5b82600381111561173f5761173e611faa565b5b0361178157806040517fd78bce0c000000000000000000000000000000000000000000000000000000008152600401611778919061200d565b60405180910390fd5b5b5050565b60008060007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08460001c11156117c6576000600385925092509250611870565b6000600188888888604051600081526020016040526040516117eb9493929190612044565b6020604051602081039080840390855afa15801561180d573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361186157600060016000801b93509350935050611870565b8060008060001b935093509350505b9450945094915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006118b98261188e565b9050919050565b6118c9816118ae565b81146118d457600080fd5b50565b6000813590506118e6816118c0565b92915050565b6000819050919050565b6118ff816118ec565b811461190a57600080fd5b50565b60008135905061191c816118f6565b92915050565b6000806040838503121561193957611938611884565b5b6000611947858286016118d7565b92505060206119588582860161190d565b9150509250929050565b6000819050919050565b600061198761198261197d8461188e565b611962565b61188e565b9050919050565b60006119998261196c565b9050919050565b60006119ab8261198e565b9050919050565b6119bb816119a0565b82525050565b6119ca816118ae565b82525050565b6119d9816118ec565b82525050565b60008115159050919050565b6119f4816119df565b82525050565b6000608082019050611a0f60008301876119b2565b611a1c60208301866119c1565b611a2960408301856119d0565b611a3660608301846119eb565b95945050505050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611a9282611a49565b810181811067ffffffffffffffff82111715611ab157611ab0611a5a565b5b80604052505050565b6000611ac461187a565b9050611ad08282611a89565b919050565b600067ffffffffffffffff821115611af057611aef611a5a565b5b611af982611a49565b9050602081019050919050565b82818337600083830152505050565b6000611b28611b2384611ad5565b611aba565b905082815260208101848484011115611b4457611b43611a44565b5b611b4f848285611b06565b509392505050565b600082601f830112611b6c57611b6b611a3f565b5b8135611b7c848260208601611b15565b91505092915050565b60008060008060808587031215611b9f57611b9e611884565b5b6000611bad8782880161190d565b9450506020611bbe878288016118d7565b935050604085013567ffffffffffffffff811115611bdf57611bde611889565b5b611beb87828801611b57565b9250506060611bfc878288016118d7565b91505092959194509250565b6000611c13826118ae565b9050919050565b611c2381611c08565b8114611c2e57600080fd5b50565b600081359050611c4081611c1a565b92915050565b600080600060608486031215611c5f57611c5e611884565b5b6000611c6d868287016118d7565b9350506020611c7e86828701611c31565b9250506040611c8f8682870161190d565b9150509250925092565b6000611ca4826118ae565b9050919050565b611cb481611c99565b8114611cbf57600080fd5b50565b600081359050611cd181611cab565b92915050565b600080600060608486031215611cf057611cef611884565b5b6000611cfe868287016118d7565b9350506020611d0f86828701611cc2565b9250506040611d208682870161190d565b9150509250925092565b6000611d358261198e565b9050919050565b611d4581611d2a565b82525050565b6000608082019050611d606000830187611d3c565b611d6d60208301866119c1565b611d7a60408301856119d0565b611d8760608301846119eb565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008160601b9050919050565b6000611dd782611dbf565b9050919050565b6000611de982611dcc565b9050919050565b611e01611dfc826118ae565b611dde565b82525050565b6000819050919050565b611e22611e1d826118ec565b611e07565b82525050565b6000611e348286611df0565b601482019150611e448285611df0565b601482019150611e548284611e11565b602082019150819050949350505050565b6000604082019050611e7a60008301856119c1565b611e8760208301846119d0565b9392505050565b611e97816119df565b8114611ea257600080fd5b50565b600081519050611eb481611e8e565b92915050565b600060208284031215611ed057611ecf611884565b5b6000611ede84828501611ea5565b91505092915050565b6000606082019050611efc60008301866119c1565b611f0960208301856119c1565b611f1660408301846119d0565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611f58826118ec565b9150611f63836118ec565b9250828203905081811115611f7b57611f7a611f1e565b5b92915050565b6000604082019050611f9660008301856119d0565b611fa360208301846119d0565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000602082019050611fee60008301846119d0565b92915050565b6000819050919050565b61200781611ff4565b82525050565b60006020820190506120226000830184611ffe565b92915050565b600060ff82169050919050565b61203e81612028565b82525050565b60006080820190506120596000830187611ffe565b6120666020830186612035565b6120736040830185611ffe565b6120806060830184611ffe565b9594505050505056fea2646970667358221220aad1b968a041cdb600d8cd3b01137c73252e906261bdc1e50c7e978e89e5c99564736f6c63430008140033

Block Transaction Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
0xA73dCF69F028669c2B4D4077B848B9F3c1F871Ef
Loading...
Loading
Loading...
Loading
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.