ETH Price: $2,093.30 (+4.85%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim140013772022-01-14 4:02:221165 days ago1642132942IN
0x72e9fa8e...A509FdF72
0 ETH0.01376355149.00299067
Claim139285162022-01-02 21:40:011176 days ago1641159601IN
0x72e9fa8e...A509FdF72
0 ETH0.01154904125.02888563
Claim139247202022-01-02 7:34:551177 days ago1641108895IN
0x72e9fa8e...A509FdF72
0 ETH0.0048846564.89420364
Claim139247132022-01-02 7:34:061177 days ago1641108846IN
0x72e9fa8e...A509FdF72
0 ETH0.0075763781.99276053
Claim139069712021-12-30 13:33:161180 days ago1640871196IN
0x72e9fa8e...A509FdF72
0 ETH0.0091496199.05285998
Claim138996152021-12-29 10:14:311181 days ago1640772871IN
0x72e9fa8e...A509FdF72
0 ETH0.0090633798.13205624
Claim138884732021-12-27 16:56:161183 days ago1640624176IN
0x72e9fa8e...A509FdF72
0 ETH0.008900196.33915589
Claim138825572021-12-26 19:01:321184 days ago1640545292IN
0x72e9fa8e...A509FdF72
0 ETH0.0053041857.42262317
Claim138797212021-12-26 8:27:431184 days ago1640507263IN
0x72e9fa8e...A509FdF72
0 ETH0.0048638852.64461859
Claim138790002021-12-26 5:48:381184 days ago1640497718IN
0x72e9fa8e...A509FdF72
0 ETH0.004030143.6201557
Claim138786722021-12-26 4:37:531184 days ago1640493473IN
0x72e9fa8e...A509FdF72
0 ETH0.004269346.21913027
Claim138654772021-12-24 3:37:091186 days ago1640317029IN
0x72e9fa8e...A509FdF72
0 ETH0.0058920763.77881768
Claim138654672021-12-24 3:34:561186 days ago1640316896IN
0x72e9fa8e...A509FdF72
0 ETH0.0070487176.31861851
Claim138644912021-12-23 23:53:111186 days ago1640303591IN
0x72e9fa8e...A509FdF72
0 ETH0.0100723133.81389122
Claim138617952021-12-23 13:51:371187 days ago1640267497IN
0x72e9fa8e...A509FdF72
0 ETH0.0047235151.11868654
Claim138615172021-12-23 12:53:531187 days ago1640264033IN
0x72e9fa8e...A509FdF72
0 ETH0.0069353875.06557014
Claim138605402021-12-23 9:14:271187 days ago1640250867IN
0x72e9fa8e...A509FdF72
0 ETH0.0058471863.30106355
Claim138603532021-12-23 8:36:491187 days ago1640248609IN
0x72e9fa8e...A509FdF72
0 ETH0.0053386857.77607323
Claim138569822021-12-22 19:53:081187 days ago1640202788IN
0x72e9fa8e...A509FdF72
0 ETH0.0067770473.35182372
Claim138569072021-12-22 19:38:531187 days ago1640201933IN
0x72e9fa8e...A509FdF72
0 ETH0.00932776100.96838635
Claim138558412021-12-22 15:36:551188 days ago1640187415IN
0x72e9fa8e...A509FdF72
0 ETH0.0073301579.32809653
Claim138552932021-12-22 13:33:381188 days ago1640180018IN
0x72e9fa8e...A509FdF72
0 ETH0.0041253544.66656586
Claim138549512021-12-22 12:16:241188 days ago1640175384IN
0x72e9fa8e...A509FdF72
0 ETH0.0036889139.93588923
Claim138545922021-12-22 10:55:211188 days ago1640170521IN
0x72e9fa8e...A509FdF72
0 ETH0.0032971835.68733307
Claim138538512021-12-22 8:15:591188 days ago1640160959IN
0x72e9fa8e...A509FdF72
0 ETH0.0037107240.16671958
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:
TempleCashback

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : TempleCashback.sol
pragma solidity ^0.8.4;
// SPDX-License-Identifier: GPL-3.0-or-later

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

/*
    Claim allocated $TEMPLE or other currencies with a verified signature
*/
contract TempleCashback is EIP712, Ownable {
    using ECDSA for bytes32;

    event Withdrawal(
        address indexed tokenAddress,
        address indexed recipient,
        uint256 indexed tokenQuantity
    );

    address public verifier;
    mapping(address => mapping(uint256 => bool)) public usedNonces;
    bytes32 public immutable VERIFY_TYPEHASH =
        keccak256(
            "Claim(address tokenAddress,address recipient,uint256 tokenQuantity,uint256 nonce)"
        );

    constructor(address _verifier) EIP712("TempleCashback", "1") {
        verifier = _verifier;
    }

    function setVerifier(address _verifier) external onlyOwner {
        verifier = _verifier;
    }

    function withdraw(address tokenAddress, uint256 tokenQuantity)
        public
        virtual
        onlyOwner
    {
        IERC20(tokenAddress).transfer(msg.sender, tokenQuantity);
    }

    function _matchVerifier(bytes32 hash, bytes memory signature)
        private
        view
        returns (bool)
    {
        return verifier == hash.recover(signature);
    }

    function generateHash(
        address tokenAddress,
        address recipient,
        uint256 tokenQuantity,
        uint256 nonce
    ) public view returns (bytes32) {
        return
            _hashTypedDataV4(
                keccak256(
                    abi.encode(
                        VERIFY_TYPEHASH,
                        tokenAddress,
                        recipient,
                        tokenQuantity,
                        nonce
                    )
                )
            );
    }

    function claim(
        bytes32 hash,
        bytes memory signature,
        address tokenAddress,
        uint256 tokenQuantity,
        uint256 nonce
    ) external payable {
        require(tokenQuantity > 0, "No funds allocated");
        require(!usedNonces[msg.sender][nonce], "Hash used");
        require(_matchVerifier(hash, signature), "Invalid signature");
        require(
            generateHash(tokenAddress, msg.sender, tokenQuantity, nonce) ==
                hash,
            "Hash fail"
        );
        usedNonces[msg.sender][nonce] = true;
        IERC20(tokenAddress).transfer(msg.sender, tokenQuantity);
        emit Withdrawal(tokenAddress, msg.sender, tokenQuantity);
    }
}

File 2 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 6 : draft-EIP712.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

File 4 of 6 : ECDSA.sol
// SPDX-License-Identifier: MIT

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) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        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.
            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 if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } 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;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 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 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 5 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 6 of 6 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_verifier","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"VERIFY_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenQuantity","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenQuantity","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"generateHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_verifier","type":"address"}],"name":"setVerifier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"usedNonces","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"verifier","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101406040527fb91e21d5674662c9ff1f47ae598a02560a89eff14460e5335d2a8e947310b4af610120908152503480156200003a57600080fd5b506040516200209d3803806200209d8339818101604052810190620000609190620002d0565b6040518060400160405280600e81526020017f54656d706c65436173686261636b0000000000000000000000000000000000008152506040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260c081815250508160e081815250504660a0818152505062000134818484620001b160201b60201c565b608081815250508061010081815250505050505050620001696200015d620001ed60201b60201c565b620001f560201b60201c565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620003ee565b60008383834630604051602001620001ce9594939291906200032f565b6040516020818303038152906040528051906020012090509392505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050620002ca81620003d4565b92915050565b600060208284031215620002e357600080fd5b6000620002f384828501620002b9565b91505092915050565b62000307816200038c565b82525050565b6200031881620003a0565b82525050565b6200032981620003ca565b82525050565b600060a0820190506200034660008301886200030d565b6200035560208301876200030d565b6200036460408301866200030d565b6200037360608301856200031e565b620003826080830184620002fc565b9695505050505050565b60006200039982620003aa565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b620003df816200038c565b8114620003eb57600080fd5b50565b60805160a05160c05160e0516101005161012051611c5862000445600039600081816106b3015261073a01526000610b3301526000610b7501526000610b5401526000610ae001526000610b080152611c586000f3fe6080604052600436106100915760003560e01c80637188813811610059578063718881381461015a5780638da5cb5b14610197578063cb6535b5146101c2578063f2fde38b146101ed578063f3fef3a31461021657610091565b80632b7ac3f314610096578063432753d4146100c15780635437988d146100dd5780636a8a689414610106578063715018a614610143575b600080fd5b3480156100a257600080fd5b506100ab61023f565b6040516100b89190611591565b60405180910390f35b6100db60048036038101906100d691906112e8565b610265565b005b3480156100e957600080fd5b5061010460048036038101906100ff91906111f7565b610535565b005b34801561011257600080fd5b5061012d60048036038101906101289190611283565b6105f5565b60405161013a91906115d5565b60405180910390f35b34801561014f57600080fd5b50610158610624565b005b34801561016657600080fd5b50610181600480360381019061017c9190611220565b6106ac565b60405161018e91906115f0565b60405180910390f35b3480156101a357600080fd5b506101ac61070f565b6040516101b99190611591565b60405180910390f35b3480156101ce57600080fd5b506101d7610738565b6040516101e491906115f0565b60405180910390f35b3480156101f957600080fd5b50610214600480360381019061020f91906111f7565b61075c565b005b34801561022257600080fd5b5061023d60048036038101906102389190611283565b610854565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600082116102a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611776565b60405180910390fd5b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff1615610346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033d906117f6565b60405180910390fd5b6103508585610962565b61038f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038690611756565b60405180910390fd5b8461039c843385856106ac565b146103dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d390611816565b60405180910390fd5b6001600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff0219169083151502179055508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b81526004016104809291906115ac565b602060405180830381600087803b15801561049a57600080fd5b505af11580156104ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d291906112bf565b50813373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2717ead6b9200dd235aad468c9809ea400fe33ac69b5bfaa6d3e90fc922b639860405160405180910390a45050505050565b61053d6109cf565b73ffffffffffffffffffffffffffffffffffffffff1661055b61070f565b73ffffffffffffffffffffffffffffffffffffffff16146105b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a8906117d6565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60026020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b61062c6109cf565b73ffffffffffffffffffffffffffffffffffffffff1661064a61070f565b73ffffffffffffffffffffffffffffffffffffffff16146106a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610697906117d6565b60405180910390fd5b6106aa60006109d7565b565b60006107057f0000000000000000000000000000000000000000000000000000000000000000868686866040516020016106ea95949392919061160b565b60405160208183030381529060405280519060200120610a9b565b9050949350505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6107646109cf565b73ffffffffffffffffffffffffffffffffffffffff1661078261070f565b73ffffffffffffffffffffffffffffffffffffffff16146107d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cf906117d6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083f90611736565b60405180910390fd5b610851816109d7565b50565b61085c6109cf565b73ffffffffffffffffffffffffffffffffffffffff1661087a61070f565b73ffffffffffffffffffffffffffffffffffffffff16146108d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c7906117d6565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161090b9291906115ac565b602060405180830381600087803b15801561092557600080fd5b505af1158015610939573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095d91906112bf565b505050565b60006109778284610ab590919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000610aae610aa8610adc565b83610b9f565b9050919050565b6000806000610ac48585610bd2565b91509150610ad181610c55565b819250505092915050565b60007f0000000000000000000000000000000000000000000000000000000000000000461415610b2e577f00000000000000000000000000000000000000000000000000000000000000009050610b9c565b610b997f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610fa6565b90505b90565b60008282604051602001610bb492919061155a565b60405160208183030381529060405280519060200120905092915050565b600080604183511415610c145760008060006020860151925060408601519150606086015160001a9050610c0887828585610fe0565b94509450505050610c4e565b604083511415610c45576000806020850151915060408501519050610c3a8683836110ed565b935093505050610c4e565b60006002915091505b9250929050565b60006004811115610c8f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115610cc8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610cd357610fa3565b60016004811115610d0d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115610d46577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e906116f6565b60405180910390fd5b60026004811115610dc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115610dfa577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3290611716565b60405180910390fd5b60036004811115610e75577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115610eae577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee690611796565b60405180910390fd5b600480811115610f28577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115610f61577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f99906117b6565b60405180910390fd5b5b50565b60008383834630604051602001610fc195949392919061165e565b6040516020818303038152906040528051906020012090509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561101b5760006003915091506110e4565b601b8560ff16141580156110335750601c8560ff1614155b156110455760006004915091506110e4565b60006001878787876040516000815260200160405260405161106a94939291906116b1565b6020604051602081039080840390855afa15801561108c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110db576000600192509250506110e4565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061112d87828885610fe0565b935093505050935093915050565b600061114e6111498461185b565b611836565b90508281526020810184848401111561116657600080fd5b611171848285611907565b509392505050565b60008135905061118881611bc6565b92915050565b60008151905061119d81611bdd565b92915050565b6000813590506111b281611bf4565b92915050565b600082601f8301126111c957600080fd5b81356111d984826020860161113b565b91505092915050565b6000813590506111f181611c0b565b92915050565b60006020828403121561120957600080fd5b600061121784828501611179565b91505092915050565b6000806000806080858703121561123657600080fd5b600061124487828801611179565b945050602061125587828801611179565b9350506040611266878288016111e2565b9250506060611277878288016111e2565b91505092959194509250565b6000806040838503121561129657600080fd5b60006112a485828601611179565b92505060206112b5858286016111e2565b9150509250929050565b6000602082840312156112d157600080fd5b60006112df8482850161118e565b91505092915050565b600080600080600060a0868803121561130057600080fd5b600061130e888289016111a3565b955050602086013567ffffffffffffffff81111561132b57600080fd5b611337888289016111b8565b945050604061134888828901611179565b9350506060611359888289016111e2565b925050608061136a888289016111e2565b9150509295509295909350565b611380816118a8565b82525050565b61138f816118ba565b82525050565b61139e816118c6565b82525050565b6113b56113b0826118c6565b611947565b82525050565b60006113c860188361188c565b91506113d382611991565b602082019050919050565b60006113eb601f8361188c565b91506113f6826119ba565b602082019050919050565b600061140e60268361188c565b9150611419826119e3565b604082019050919050565b600061143160028361189d565b915061143c82611a32565b600282019050919050565b600061145460118361188c565b915061145f82611a5b565b602082019050919050565b600061147760128361188c565b915061148282611a84565b602082019050919050565b600061149a60228361188c565b91506114a582611aad565b604082019050919050565b60006114bd60228361188c565b91506114c882611afc565b604082019050919050565b60006114e060208361188c565b91506114eb82611b4b565b602082019050919050565b600061150360098361188c565b915061150e82611b74565b602082019050919050565b600061152660098361188c565b915061153182611b9d565b602082019050919050565b611545816118f0565b82525050565b611554816118fa565b82525050565b600061156582611424565b915061157182856113a4565b60208201915061158182846113a4565b6020820191508190509392505050565b60006020820190506115a66000830184611377565b92915050565b60006040820190506115c16000830185611377565b6115ce602083018461153c565b9392505050565b60006020820190506115ea6000830184611386565b92915050565b60006020820190506116056000830184611395565b92915050565b600060a0820190506116206000830188611395565b61162d6020830187611377565b61163a6040830186611377565b611647606083018561153c565b611654608083018461153c565b9695505050505050565b600060a0820190506116736000830188611395565b6116806020830187611395565b61168d6040830186611395565b61169a606083018561153c565b6116a76080830184611377565b9695505050505050565b60006080820190506116c66000830187611395565b6116d3602083018661154b565b6116e06040830185611395565b6116ed6060830184611395565b95945050505050565b6000602082019050818103600083015261170f816113bb565b9050919050565b6000602082019050818103600083015261172f816113de565b9050919050565b6000602082019050818103600083015261174f81611401565b9050919050565b6000602082019050818103600083015261176f81611447565b9050919050565b6000602082019050818103600083015261178f8161146a565b9050919050565b600060208201905081810360008301526117af8161148d565b9050919050565b600060208201905081810360008301526117cf816114b0565b9050919050565b600060208201905081810360008301526117ef816114d3565b9050919050565b6000602082019050818103600083015261180f816114f6565b9050919050565b6000602082019050818103600083015261182f81611519565b9050919050565b6000611840611851565b905061184c8282611916565b919050565b6000604051905090565b600067ffffffffffffffff82111561187657611875611951565b5b61187f82611980565b9050602081019050919050565b600082825260208201905092915050565b600081905092915050565b60006118b3826118d0565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b61191f82611980565b810181811067ffffffffffffffff8211171561193e5761193d611951565b5b80604052505050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f4e6f2066756e647320616c6c6f63617465640000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4861736820757365640000000000000000000000000000000000000000000000600082015250565b7f48617368206661696c0000000000000000000000000000000000000000000000600082015250565b611bcf816118a8565b8114611bda57600080fd5b50565b611be6816118ba565b8114611bf157600080fd5b50565b611bfd816118c6565b8114611c0857600080fd5b50565b611c14816118f0565b8114611c1f57600080fd5b5056fea264697066735822122085cdf4842a284e7fb8352a23e15a9e88b3d4afa71bc00674ea3b549fa753d21e64736f6c6343000804003300000000000000000000000056308ae1fd1a70c46b246af4c0dcd855bd87d7a7

Deployed Bytecode

0x6080604052600436106100915760003560e01c80637188813811610059578063718881381461015a5780638da5cb5b14610197578063cb6535b5146101c2578063f2fde38b146101ed578063f3fef3a31461021657610091565b80632b7ac3f314610096578063432753d4146100c15780635437988d146100dd5780636a8a689414610106578063715018a614610143575b600080fd5b3480156100a257600080fd5b506100ab61023f565b6040516100b89190611591565b60405180910390f35b6100db60048036038101906100d691906112e8565b610265565b005b3480156100e957600080fd5b5061010460048036038101906100ff91906111f7565b610535565b005b34801561011257600080fd5b5061012d60048036038101906101289190611283565b6105f5565b60405161013a91906115d5565b60405180910390f35b34801561014f57600080fd5b50610158610624565b005b34801561016657600080fd5b50610181600480360381019061017c9190611220565b6106ac565b60405161018e91906115f0565b60405180910390f35b3480156101a357600080fd5b506101ac61070f565b6040516101b99190611591565b60405180910390f35b3480156101ce57600080fd5b506101d7610738565b6040516101e491906115f0565b60405180910390f35b3480156101f957600080fd5b50610214600480360381019061020f91906111f7565b61075c565b005b34801561022257600080fd5b5061023d60048036038101906102389190611283565b610854565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600082116102a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029f90611776565b60405180910390fd5b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082815260200190815260200160002060009054906101000a900460ff1615610346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033d906117f6565b60405180910390fd5b6103508585610962565b61038f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038690611756565b60405180910390fd5b8461039c843385856106ac565b146103dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d390611816565b60405180910390fd5b6001600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81548160ff0219169083151502179055508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b81526004016104809291906115ac565b602060405180830381600087803b15801561049a57600080fd5b505af11580156104ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d291906112bf565b50813373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f2717ead6b9200dd235aad468c9809ea400fe33ac69b5bfaa6d3e90fc922b639860405160405180910390a45050505050565b61053d6109cf565b73ffffffffffffffffffffffffffffffffffffffff1661055b61070f565b73ffffffffffffffffffffffffffffffffffffffff16146105b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a8906117d6565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60026020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b61062c6109cf565b73ffffffffffffffffffffffffffffffffffffffff1661064a61070f565b73ffffffffffffffffffffffffffffffffffffffff16146106a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610697906117d6565b60405180910390fd5b6106aa60006109d7565b565b60006107057fb91e21d5674662c9ff1f47ae598a02560a89eff14460e5335d2a8e947310b4af868686866040516020016106ea95949392919061160b565b60405160208183030381529060405280519060200120610a9b565b9050949350505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7fb91e21d5674662c9ff1f47ae598a02560a89eff14460e5335d2a8e947310b4af81565b6107646109cf565b73ffffffffffffffffffffffffffffffffffffffff1661078261070f565b73ffffffffffffffffffffffffffffffffffffffff16146107d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cf906117d6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083f90611736565b60405180910390fd5b610851816109d7565b50565b61085c6109cf565b73ffffffffffffffffffffffffffffffffffffffff1661087a61070f565b73ffffffffffffffffffffffffffffffffffffffff16146108d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c7906117d6565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161090b9291906115ac565b602060405180830381600087803b15801561092557600080fd5b505af1158015610939573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095d91906112bf565b505050565b60006109778284610ab590919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000610aae610aa8610adc565b83610b9f565b9050919050565b6000806000610ac48585610bd2565b91509150610ad181610c55565b819250505092915050565b60007f0000000000000000000000000000000000000000000000000000000000000001461415610b2e577f635b6e7f60bfb4baa2822a30ccbc3fc27e6fe75de9f4df6b835b1ce31f847a409050610b9c565b610b997f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f5c05cbdd8c2b8b1e1b2b63a069cc544b0f99149e7dd9746e0c2c3a909a0f849c7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6610fa6565b90505b90565b60008282604051602001610bb492919061155a565b60405160208183030381529060405280519060200120905092915050565b600080604183511415610c145760008060006020860151925060408601519150606086015160001a9050610c0887828585610fe0565b94509450505050610c4e565b604083511415610c45576000806020850151915060408501519050610c3a8683836110ed565b935093505050610c4e565b60006002915091505b9250929050565b60006004811115610c8f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115610cc8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610cd357610fa3565b60016004811115610d0d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115610d46577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e906116f6565b60405180910390fd5b60026004811115610dc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115610dfa577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3290611716565b60405180910390fd5b60036004811115610e75577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115610eae577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee690611796565b60405180910390fd5b600480811115610f28577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115610f61577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f99906117b6565b60405180910390fd5b5b50565b60008383834630604051602001610fc195949392919061165e565b6040516020818303038152906040528051906020012090509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561101b5760006003915091506110e4565b601b8560ff16141580156110335750601c8560ff1614155b156110455760006004915091506110e4565b60006001878787876040516000815260200160405260405161106a94939291906116b1565b6020604051602081039080840390855afa15801561108c573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110db576000600192509250506110e4565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061112d87828885610fe0565b935093505050935093915050565b600061114e6111498461185b565b611836565b90508281526020810184848401111561116657600080fd5b611171848285611907565b509392505050565b60008135905061118881611bc6565b92915050565b60008151905061119d81611bdd565b92915050565b6000813590506111b281611bf4565b92915050565b600082601f8301126111c957600080fd5b81356111d984826020860161113b565b91505092915050565b6000813590506111f181611c0b565b92915050565b60006020828403121561120957600080fd5b600061121784828501611179565b91505092915050565b6000806000806080858703121561123657600080fd5b600061124487828801611179565b945050602061125587828801611179565b9350506040611266878288016111e2565b9250506060611277878288016111e2565b91505092959194509250565b6000806040838503121561129657600080fd5b60006112a485828601611179565b92505060206112b5858286016111e2565b9150509250929050565b6000602082840312156112d157600080fd5b60006112df8482850161118e565b91505092915050565b600080600080600060a0868803121561130057600080fd5b600061130e888289016111a3565b955050602086013567ffffffffffffffff81111561132b57600080fd5b611337888289016111b8565b945050604061134888828901611179565b9350506060611359888289016111e2565b925050608061136a888289016111e2565b9150509295509295909350565b611380816118a8565b82525050565b61138f816118ba565b82525050565b61139e816118c6565b82525050565b6113b56113b0826118c6565b611947565b82525050565b60006113c860188361188c565b91506113d382611991565b602082019050919050565b60006113eb601f8361188c565b91506113f6826119ba565b602082019050919050565b600061140e60268361188c565b9150611419826119e3565b604082019050919050565b600061143160028361189d565b915061143c82611a32565b600282019050919050565b600061145460118361188c565b915061145f82611a5b565b602082019050919050565b600061147760128361188c565b915061148282611a84565b602082019050919050565b600061149a60228361188c565b91506114a582611aad565b604082019050919050565b60006114bd60228361188c565b91506114c882611afc565b604082019050919050565b60006114e060208361188c565b91506114eb82611b4b565b602082019050919050565b600061150360098361188c565b915061150e82611b74565b602082019050919050565b600061152660098361188c565b915061153182611b9d565b602082019050919050565b611545816118f0565b82525050565b611554816118fa565b82525050565b600061156582611424565b915061157182856113a4565b60208201915061158182846113a4565b6020820191508190509392505050565b60006020820190506115a66000830184611377565b92915050565b60006040820190506115c16000830185611377565b6115ce602083018461153c565b9392505050565b60006020820190506115ea6000830184611386565b92915050565b60006020820190506116056000830184611395565b92915050565b600060a0820190506116206000830188611395565b61162d6020830187611377565b61163a6040830186611377565b611647606083018561153c565b611654608083018461153c565b9695505050505050565b600060a0820190506116736000830188611395565b6116806020830187611395565b61168d6040830186611395565b61169a606083018561153c565b6116a76080830184611377565b9695505050505050565b60006080820190506116c66000830187611395565b6116d3602083018661154b565b6116e06040830185611395565b6116ed6060830184611395565b95945050505050565b6000602082019050818103600083015261170f816113bb565b9050919050565b6000602082019050818103600083015261172f816113de565b9050919050565b6000602082019050818103600083015261174f81611401565b9050919050565b6000602082019050818103600083015261176f81611447565b9050919050565b6000602082019050818103600083015261178f8161146a565b9050919050565b600060208201905081810360008301526117af8161148d565b9050919050565b600060208201905081810360008301526117cf816114b0565b9050919050565b600060208201905081810360008301526117ef816114d3565b9050919050565b6000602082019050818103600083015261180f816114f6565b9050919050565b6000602082019050818103600083015261182f81611519565b9050919050565b6000611840611851565b905061184c8282611916565b919050565b6000604051905090565b600067ffffffffffffffff82111561187657611875611951565b5b61187f82611980565b9050602081019050919050565b600082825260208201905092915050565b600081905092915050565b60006118b3826118d0565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b61191f82611980565b810181811067ffffffffffffffff8211171561193e5761193d611951565b5b80604052505050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f4e6f2066756e647320616c6c6f63617465640000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4861736820757365640000000000000000000000000000000000000000000000600082015250565b7f48617368206661696c0000000000000000000000000000000000000000000000600082015250565b611bcf816118a8565b8114611bda57600080fd5b50565b611be6816118ba565b8114611bf157600080fd5b50565b611bfd816118c6565b8114611c0857600080fd5b50565b611c14816118f0565b8114611c1f57600080fd5b5056fea264697066735822122085cdf4842a284e7fb8352a23e15a9e88b3d4afa71bc00674ea3b549fa753d21e64736f6c63430008040033

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

00000000000000000000000056308ae1fd1a70c46b246af4c0dcd855bd87d7a7

-----Decoded View---------------
Arg [0] : _verifier (address): 0x56308ae1FD1a70c46B246Af4c0DCd855bD87d7a7

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000056308ae1fd1a70c46b246af4c0dcd855bd87d7a7


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.