ETH Price: $3,392.82 (-1.26%)
Gas: 2 Gwei

Contract

0xCE3Ab27f003FDA9AA4187288549E8978Cd33B6b5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Claim201707202024-06-25 19:14:593 days ago1719342899IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.000705939.93463969
Claim201508112024-06-23 0:26:596 days ago1719102419IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.000291974.1082084
Claim201499622024-06-22 21:35:476 days ago1719092147IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.000322564.53742272
Claim201465492024-06-22 10:08:117 days ago1719050891IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.000604624.94242384
Claim201284732024-06-19 21:28:479 days ago1718832527IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.0012498317.58103126
Claim201219962024-06-18 23:43:4710 days ago1718754227IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.000621197.04385448
Claim200970072024-06-15 11:50:5914 days ago1718452259IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.000409565.76290046
Claim200935392024-06-15 0:09:5914 days ago1718410199IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.000567086.43176944
Claim200809372024-06-13 5:52:3516 days ago1718257955IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.0010743912.18549937
Claim200442942024-06-08 3:01:5921 days ago1717815719IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.000650919.15627937
Claim200429522024-06-07 22:32:4721 days ago1717799567IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.0007353910.34921945
Claim200421632024-06-07 19:53:2321 days ago1717790003IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.0012399317.4387913
Claim200372582024-06-07 3:27:3522 days ago1717730855IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.000688949.69549098
Claim200307242024-06-06 5:33:2323 days ago1717652003IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.0008308311.6903251
Claim200289882024-06-05 23:43:4723 days ago1717631027IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.0017014119.29696799
Claim199871552024-05-31 3:33:1129 days ago1717126391IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.0008647112.16705463
Claim199841752024-05-30 17:34:2329 days ago1717090463IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.0019831822.49579142
Claim199756022024-05-29 12:44:4730 days ago1716986687IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.0016806319.06130013
Claim199593932024-05-27 6:23:1133 days ago1716790991IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.0008607212.1075098
Claim199534582024-05-26 10:28:4734 days ago1716719327IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.00061336.95588959
Claim199531122024-05-26 9:19:2334 days ago1716715163IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.000476466.7022878
Claim199492602024-05-25 20:24:4734 days ago1716668687IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.000524897.38357467
Claim199487652024-05-25 18:45:3534 days ago1716662735IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.00049456.95723632
Claim199476032024-05-25 14:51:3534 days ago1716648695IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.001009198.24711535
Claim199283442024-05-22 22:16:1137 days ago1716416171IN
0xCE3Ab27f...8Cd33B6b5
0 ETH0.0010091811.44332488
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:
TroverseGalaxyBucksManager

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : TroverseGalaxyBucksManager.sol
// contracs/TroverseGalaxyBucksManager.sol
// SPDX-License-Identifier: MIT

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

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";


interface IYieldToken {
    function mint(address to, uint256 amount) external;
}


contract TroverseGalaxyBucksManager is Ownable, ReentrancyGuard {
    using ECDSA for bytes32;

    bool public claimEnabled = false;
    mapping(address => uint64) public claimCount;
    mapping(address => uint64) public lastExpiryDate;
    
    address public signer;

    IYieldToken public yieldToken;

    event YieldTokenChanged(address _yieldToken);
    event ClaimStateChanged(bool _newState);
    event SignerChanged(address _newSigner);
    event Claimed(address _user, uint256 _amount, uint64 _claimNounce);


    constructor() { }


    modifier onlyOwnerOrSigner() {
        require(owner() == _msgSender() || signer == _msgSender(), "The caller is not the owner or signer");
        _;
    }


    function setYieldToken(address _yieldToken) external onlyOwner {
        require(_yieldToken != address(0), "Bad YieldToken address");
        yieldToken = IYieldToken(_yieldToken);

        emit YieldTokenChanged(_yieldToken);
    }
    
    function airdrop(address[] calldata _accounts, uint256[] calldata _amounts) external onlyOwnerOrSigner {
        for (uint256 i; i < _accounts.length; i++) {
            yieldToken.mint(_accounts[i], _amounts[i]);
        }
    }
    
    function claim(uint256 _amount, uint64 _claimNonce, uint64 _issueDate, uint64 _expiryDate, bytes calldata _signature) external nonReentrant {
        require(_expiryDate > block.timestamp, "The signature has expired");
        require(lastExpiryDate[_msgSender()] < _issueDate, "You have already claimed your available rewards.");
        require(verifyOwnerSignature(keccak256(abi.encode(_msgSender(), address(this), _amount, _claimNonce, _issueDate, _expiryDate)), _signature), "Invalid Signature");
        require(claimEnabled, "Claiming is not enabled.");

        yieldToken.mint(_msgSender(), _amount);

        claimCount[_msgSender()]++;
        lastExpiryDate[_msgSender()] = _expiryDate;

        emit Claimed(_msgSender(), _amount, _claimNonce);
    }

    function toggleClaim(bool _claimEnabled) external onlyOwner {
        claimEnabled = _claimEnabled;

        emit ClaimStateChanged(_claimEnabled);
    }

    function setSigner(address _signer) external onlyOwner {
        require(_signer != address(0), "Bad Signer address");
        signer = _signer;

        emit SignerChanged(_signer);
    }

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

File 2 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 6 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

File 4 of 6 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 5 of 6 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 6 of 6 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_newState","type":"bool"}],"name":"ClaimStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"_claimNounce","type":"uint64"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_newSigner","type":"address"}],"name":"SignerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_yieldToken","type":"address"}],"name":"YieldTokenChanged","type":"event"},{"inputs":[{"internalType":"address[]","name":"_accounts","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint64","name":"_claimNonce","type":"uint64"},{"internalType":"uint64","name":"_issueDate","type":"uint64"},{"internalType":"uint64","name":"_expiryDate","type":"uint64"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimCount","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastExpiryDate","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"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":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_yieldToken","type":"address"}],"name":"setYieldToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_claimEnabled","type":"bool"}],"name":"toggleClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"yieldToken","outputs":[{"internalType":"contract IYieldToken","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040526000600260006101000a81548160ff02191690831515021790555034801561002b57600080fd5b5061004861003d61005460201b60201c565b61005c60201b60201c565b60018081905550610120565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61225c80620001306000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806369c12cb71161008c57806376d5de851161006657806376d5de85146101ea5780638da5cb5b14610208578063b7de7e3f14610226578063f2fde38b14610242576100cf565b806369c12cb7146101945780636c19e783146101c4578063715018a6146101e0576100cf565b806318868455146100d4578063238ac933146100f057806323ffce851461010e5780632866ed211461012a5780633174d37b146101485780636724348214610178575b600080fd5b6100ee60048036038101906100e991906115c6565b61025e565b005b6100f861032e565b6040516101059190611940565b60405180910390f35b61012860048036038101906101239190611518565b610354565b005b6101326104bb565b60405161013f9190611a1c565b60405180910390f35b610162600480360381019061015d9190611518565b6104ce565b60405161016f9190611c57565b60405180910390f35b610192600480360381019061018d9190611545565b6104f5565b005b6101ae60048036038101906101a99190611518565b6106c7565b6040516101bb9190611c57565b60405180910390f35b6101de60048036038101906101d99190611518565b6106ee565b005b6101e8610855565b005b6101f26108dd565b6040516101ff9190611a7c565b60405180910390f35b610210610903565b60405161021d9190611940565b60405180910390f35b610240600480360381019061023b91906115f3565b61092c565b005b61025c60048036038101906102579190611518565b610d6e565b005b610266610e66565b73ffffffffffffffffffffffffffffffffffffffff16610284610903565b73ffffffffffffffffffffffffffffffffffffffff16146102da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102d190611bd7565b60405180910390fd5b80600260006101000a81548160ff0219169083151502179055507f85c5e22892c481b07f113481bebdcd450337cc6db7041ce0ddf2422baea8f353816040516103239190611a1c565b60405180910390a150565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61035c610e66565b73ffffffffffffffffffffffffffffffffffffffff1661037a610903565b73ffffffffffffffffffffffffffffffffffffffff16146103d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103c790611bd7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610440576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161043790611b77565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507faa7a2151be5d8de1944ae1c30f2b61e11af1651d9b3af8a557d8f3284b056303816040516104b09190611940565b60405180910390a150565b600260009054906101000a900460ff1681565b60046020528060005260406000206000915054906101000a900467ffffffffffffffff1681565b6104fd610e66565b73ffffffffffffffffffffffffffffffffffffffff1661051b610903565b73ffffffffffffffffffffffffffffffffffffffff1614806105915750610540610e66565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6105d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c790611c17565b60405180910390fd5b60005b848490508110156106c057600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1986868481811061062f5761062e611e5d565b5b90506020020160208101906106449190611518565b85858581811061065757610656611e5d565b5b905060200201356040518363ffffffff1660e01b815260040161067b9291906119bc565b600060405180830381600087803b15801561069557600080fd5b505af11580156106a9573d6000803e3d6000fd5b5050505080806106b890611d7b565b9150506105d3565b5050505050565b60036020528060005260406000206000915054906101000a900467ffffffffffffffff1681565b6106f6610e66565b73ffffffffffffffffffffffffffffffffffffffff16610714610903565b73ffffffffffffffffffffffffffffffffffffffff161461076a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076190611bd7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156107da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d190611b17565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f5719a5656c5cfdaafa148ecf366fd3b0a7fae06449ce2a46225977fb7417e29d8160405161084a9190611940565b60405180910390a150565b61085d610e66565b73ffffffffffffffffffffffffffffffffffffffff1661087b610903565b73ffffffffffffffffffffffffffffffffffffffff16146108d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c890611bd7565b60405180910390fd5b6108db6000610e6e565b565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026001541415610972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096990611c37565b60405180910390fd5b6002600181905550428367ffffffffffffffff16116109c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bd90611bf7565b60405180910390fd5b8367ffffffffffffffff16600460006109dd610e66565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900467ffffffffffffffff1667ffffffffffffffff1610610a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6d90611ab7565b60405180910390fd5b610afb610a81610e66565b3088888888604051602001610a9b9695949392919061195b565b6040516020818303038152906040528051906020012083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610f32565b610b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3190611bb7565b60405180910390fd5b600260009054906101000a900460ff16610b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8090611b37565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19610bcf610e66565b886040518363ffffffff1660e01b8152600401610bed9291906119bc565b600060405180830381600087803b158015610c0757600080fd5b505af1158015610c1b573d6000803e3d6000fd5b5050505060036000610c2b610e66565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081819054906101000a900467ffffffffffffffff1680929190610c8990611dc4565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550508260046000610cbd610e66565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507fab671ee14f2137fbbf21b695f74d8a69b447f77be322018a5a7a754aceada9f4610d46610e66565b8787604051610d57939291906119e5565b60405180910390a160018081905550505050505050565b610d76610e66565b73ffffffffffffffffffffffffffffffffffffffff16610d94610903565b73ffffffffffffffffffffffffffffffffffffffff1614610dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de190611bd7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5190611af7565b60405180910390fd5b610e6381610e6e565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f8883610f7a86610fa7565b610fd790919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600081604051602001610fba919061191a565b604051602081830303815290604052805190602001209050919050565b6000806000610fe68585610ffe565b91509150610ff381611081565b819250505092915050565b6000806041835114156110405760008060006020860151925060408601519150606086015160001a905061103487828585611256565b9450945050505061107a565b604083511415611071576000806020850151915060408501519050611066868383611363565b93509350505061107a565b60006002915091505b9250929050565b6000600481111561109557611094611e2e565b5b8160048111156110a8576110a7611e2e565b5b14156110b357611253565b600160048111156110c7576110c6611e2e565b5b8160048111156110da576110d9611e2e565b5b141561111b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111290611a97565b60405180910390fd5b6002600481111561112f5761112e611e2e565b5b81600481111561114257611141611e2e565b5b1415611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117a90611ad7565b60405180910390fd5b6003600481111561119757611196611e2e565b5b8160048111156111aa576111a9611e2e565b5b14156111eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e290611b57565b60405180910390fd5b6004808111156111fe576111fd611e2e565b5b81600481111561121157611210611e2e565b5b1415611252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124990611b97565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561129157600060039150915061135a565b601b8560ff16141580156112a95750601c8560ff1614155b156112bb57600060049150915061135a565b6000600187878787604051600081526020016040526040516112e09493929190611a37565b6020604051602081039080840390855afa158015611302573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113515760006001925092505061135a565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6113a69190611c8e565b90506113b487828885611256565b935093505050935093915050565b6000813590506113d1816121ca565b92915050565b60008083601f8401126113ed576113ec611e91565b5b8235905067ffffffffffffffff81111561140a57611409611e8c565b5b60208301915083602082028301111561142657611425611e96565b5b9250929050565b60008083601f84011261144357611442611e91565b5b8235905067ffffffffffffffff8111156114605761145f611e8c565b5b60208301915083602082028301111561147c5761147b611e96565b5b9250929050565b600081359050611492816121e1565b92915050565b60008083601f8401126114ae576114ad611e91565b5b8235905067ffffffffffffffff8111156114cb576114ca611e8c565b5b6020830191508360018202830111156114e7576114e6611e96565b5b9250929050565b6000813590506114fd816121f8565b92915050565b6000813590506115128161220f565b92915050565b60006020828403121561152e5761152d611ea0565b5b600061153c848285016113c2565b91505092915050565b6000806000806040858703121561155f5761155e611ea0565b5b600085013567ffffffffffffffff81111561157d5761157c611e9b565b5b611589878288016113d7565b9450945050602085013567ffffffffffffffff8111156115ac576115ab611e9b565b5b6115b88782880161142d565b925092505092959194509250565b6000602082840312156115dc576115db611ea0565b5b60006115ea84828501611483565b91505092915050565b60008060008060008060a087890312156116105761160f611ea0565b5b600061161e89828a016114ee565b965050602061162f89828a01611503565b955050604061164089828a01611503565b945050606061165189828a01611503565b935050608087013567ffffffffffffffff81111561167257611671611e9b565b5b61167e89828a01611498565b92509250509295509295509295565b61169681611ce4565b82525050565b6116a581611cf6565b82525050565b6116b481611d02565b82525050565b6116cb6116c682611d02565b611df5565b82525050565b6116da81611d57565b82525050565b60006116ed601883611c72565b91506116f882611ea5565b602082019050919050565b6000611710603083611c72565b915061171b82611ece565b604082019050919050565b6000611733601f83611c72565b915061173e82611f1d565b602082019050919050565b6000611756601c83611c83565b915061176182611f46565b601c82019050919050565b6000611779602683611c72565b915061178482611f6f565b604082019050919050565b600061179c601283611c72565b91506117a782611fbe565b602082019050919050565b60006117bf601883611c72565b91506117ca82611fe7565b602082019050919050565b60006117e2602283611c72565b91506117ed82612010565b604082019050919050565b6000611805601683611c72565b91506118108261205f565b602082019050919050565b6000611828602283611c72565b915061183382612088565b604082019050919050565b600061184b601183611c72565b9150611856826120d7565b602082019050919050565b600061186e602083611c72565b915061187982612100565b602082019050919050565b6000611891601983611c72565b915061189c82612129565b602082019050919050565b60006118b4602583611c72565b91506118bf82612152565b604082019050919050565b60006118d7601f83611c72565b91506118e2826121a1565b602082019050919050565b6118f681611d2c565b82525050565b61190581611d36565b82525050565b61191481611d4a565b82525050565b600061192582611749565b915061193182846116ba565b60208201915081905092915050565b6000602082019050611955600083018461168d565b92915050565b600060c082019050611970600083018961168d565b61197d602083018861168d565b61198a60408301876118ed565b61199760608301866118fc565b6119a460808301856118fc565b6119b160a08301846118fc565b979650505050505050565b60006040820190506119d1600083018561168d565b6119de60208301846118ed565b9392505050565b60006060820190506119fa600083018661168d565b611a0760208301856118ed565b611a1460408301846118fc565b949350505050565b6000602082019050611a31600083018461169c565b92915050565b6000608082019050611a4c60008301876116ab565b611a59602083018661190b565b611a6660408301856116ab565b611a7360608301846116ab565b95945050505050565b6000602082019050611a9160008301846116d1565b92915050565b60006020820190508181036000830152611ab0816116e0565b9050919050565b60006020820190508181036000830152611ad081611703565b9050919050565b60006020820190508181036000830152611af081611726565b9050919050565b60006020820190508181036000830152611b108161176c565b9050919050565b60006020820190508181036000830152611b308161178f565b9050919050565b60006020820190508181036000830152611b50816117b2565b9050919050565b60006020820190508181036000830152611b70816117d5565b9050919050565b60006020820190508181036000830152611b90816117f8565b9050919050565b60006020820190508181036000830152611bb08161181b565b9050919050565b60006020820190508181036000830152611bd08161183e565b9050919050565b60006020820190508181036000830152611bf081611861565b9050919050565b60006020820190508181036000830152611c1081611884565b9050919050565b60006020820190508181036000830152611c30816118a7565b9050919050565b60006020820190508181036000830152611c50816118ca565b9050919050565b6000602082019050611c6c60008301846118fc565b92915050565b600082825260208201905092915050565b600081905092915050565b6000611c9982611d2c565b9150611ca483611d2c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611cd957611cd8611dff565b5b828201905092915050565b6000611cef82611d0c565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b6000611d6282611d69565b9050919050565b6000611d7482611d0c565b9050919050565b6000611d8682611d2c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611db957611db8611dff565b5b600182019050919050565b6000611dcf82611d36565b915067ffffffffffffffff821415611dea57611de9611dff565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f596f75206861766520616c726561647920636c61696d656420796f757220617660008201527f61696c61626c6520726577617264732e00000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f426164205369676e657220616464726573730000000000000000000000000000600082015250565b7f436c61696d696e67206973206e6f7420656e61626c65642e0000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f426164205969656c64546f6b656e206164647265737300000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964205369676e6174757265000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546865207369676e617475726520686173206578706972656400000000000000600082015250565b7f5468652063616c6c6572206973206e6f7420746865206f776e6572206f72207360008201527f69676e6572000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6121d381611ce4565b81146121de57600080fd5b50565b6121ea81611cf6565b81146121f557600080fd5b50565b61220181611d2c565b811461220c57600080fd5b50565b61221881611d36565b811461222357600080fd5b5056fea2646970667358221220542383a8503900c2528db698f267ac2a5d985605b0188b6eae5ffbb6ea2757aa64736f6c63430008060033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c806369c12cb71161008c57806376d5de851161006657806376d5de85146101ea5780638da5cb5b14610208578063b7de7e3f14610226578063f2fde38b14610242576100cf565b806369c12cb7146101945780636c19e783146101c4578063715018a6146101e0576100cf565b806318868455146100d4578063238ac933146100f057806323ffce851461010e5780632866ed211461012a5780633174d37b146101485780636724348214610178575b600080fd5b6100ee60048036038101906100e991906115c6565b61025e565b005b6100f861032e565b6040516101059190611940565b60405180910390f35b61012860048036038101906101239190611518565b610354565b005b6101326104bb565b60405161013f9190611a1c565b60405180910390f35b610162600480360381019061015d9190611518565b6104ce565b60405161016f9190611c57565b60405180910390f35b610192600480360381019061018d9190611545565b6104f5565b005b6101ae60048036038101906101a99190611518565b6106c7565b6040516101bb9190611c57565b60405180910390f35b6101de60048036038101906101d99190611518565b6106ee565b005b6101e8610855565b005b6101f26108dd565b6040516101ff9190611a7c565b60405180910390f35b610210610903565b60405161021d9190611940565b60405180910390f35b610240600480360381019061023b91906115f3565b61092c565b005b61025c60048036038101906102579190611518565b610d6e565b005b610266610e66565b73ffffffffffffffffffffffffffffffffffffffff16610284610903565b73ffffffffffffffffffffffffffffffffffffffff16146102da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102d190611bd7565b60405180910390fd5b80600260006101000a81548160ff0219169083151502179055507f85c5e22892c481b07f113481bebdcd450337cc6db7041ce0ddf2422baea8f353816040516103239190611a1c565b60405180910390a150565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61035c610e66565b73ffffffffffffffffffffffffffffffffffffffff1661037a610903565b73ffffffffffffffffffffffffffffffffffffffff16146103d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103c790611bd7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610440576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161043790611b77565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507faa7a2151be5d8de1944ae1c30f2b61e11af1651d9b3af8a557d8f3284b056303816040516104b09190611940565b60405180910390a150565b600260009054906101000a900460ff1681565b60046020528060005260406000206000915054906101000a900467ffffffffffffffff1681565b6104fd610e66565b73ffffffffffffffffffffffffffffffffffffffff1661051b610903565b73ffffffffffffffffffffffffffffffffffffffff1614806105915750610540610e66565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6105d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c790611c17565b60405180910390fd5b60005b848490508110156106c057600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1986868481811061062f5761062e611e5d565b5b90506020020160208101906106449190611518565b85858581811061065757610656611e5d565b5b905060200201356040518363ffffffff1660e01b815260040161067b9291906119bc565b600060405180830381600087803b15801561069557600080fd5b505af11580156106a9573d6000803e3d6000fd5b5050505080806106b890611d7b565b9150506105d3565b5050505050565b60036020528060005260406000206000915054906101000a900467ffffffffffffffff1681565b6106f6610e66565b73ffffffffffffffffffffffffffffffffffffffff16610714610903565b73ffffffffffffffffffffffffffffffffffffffff161461076a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076190611bd7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156107da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d190611b17565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f5719a5656c5cfdaafa148ecf366fd3b0a7fae06449ce2a46225977fb7417e29d8160405161084a9190611940565b60405180910390a150565b61085d610e66565b73ffffffffffffffffffffffffffffffffffffffff1661087b610903565b73ffffffffffffffffffffffffffffffffffffffff16146108d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c890611bd7565b60405180910390fd5b6108db6000610e6e565b565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026001541415610972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096990611c37565b60405180910390fd5b6002600181905550428367ffffffffffffffff16116109c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bd90611bf7565b60405180910390fd5b8367ffffffffffffffff16600460006109dd610e66565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900467ffffffffffffffff1667ffffffffffffffff1610610a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6d90611ab7565b60405180910390fd5b610afb610a81610e66565b3088888888604051602001610a9b9695949392919061195b565b6040516020818303038152906040528051906020012083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610f32565b610b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3190611bb7565b60405180910390fd5b600260009054906101000a900460ff16610b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8090611b37565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19610bcf610e66565b886040518363ffffffff1660e01b8152600401610bed9291906119bc565b600060405180830381600087803b158015610c0757600080fd5b505af1158015610c1b573d6000803e3d6000fd5b5050505060036000610c2b610e66565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081819054906101000a900467ffffffffffffffff1680929190610c8990611dc4565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550508260046000610cbd610e66565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507fab671ee14f2137fbbf21b695f74d8a69b447f77be322018a5a7a754aceada9f4610d46610e66565b8787604051610d57939291906119e5565b60405180910390a160018081905550505050505050565b610d76610e66565b73ffffffffffffffffffffffffffffffffffffffff16610d94610903565b73ffffffffffffffffffffffffffffffffffffffff1614610dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de190611bd7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5190611af7565b60405180910390fd5b610e6381610e6e565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f8883610f7a86610fa7565b610fd790919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600081604051602001610fba919061191a565b604051602081830303815290604052805190602001209050919050565b6000806000610fe68585610ffe565b91509150610ff381611081565b819250505092915050565b6000806041835114156110405760008060006020860151925060408601519150606086015160001a905061103487828585611256565b9450945050505061107a565b604083511415611071576000806020850151915060408501519050611066868383611363565b93509350505061107a565b60006002915091505b9250929050565b6000600481111561109557611094611e2e565b5b8160048111156110a8576110a7611e2e565b5b14156110b357611253565b600160048111156110c7576110c6611e2e565b5b8160048111156110da576110d9611e2e565b5b141561111b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111290611a97565b60405180910390fd5b6002600481111561112f5761112e611e2e565b5b81600481111561114257611141611e2e565b5b1415611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117a90611ad7565b60405180910390fd5b6003600481111561119757611196611e2e565b5b8160048111156111aa576111a9611e2e565b5b14156111eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e290611b57565b60405180910390fd5b6004808111156111fe576111fd611e2e565b5b81600481111561121157611210611e2e565b5b1415611252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124990611b97565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561129157600060039150915061135a565b601b8560ff16141580156112a95750601c8560ff1614155b156112bb57600060049150915061135a565b6000600187878787604051600081526020016040526040516112e09493929190611a37565b6020604051602081039080840390855afa158015611302573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113515760006001925092505061135a565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6113a69190611c8e565b90506113b487828885611256565b935093505050935093915050565b6000813590506113d1816121ca565b92915050565b60008083601f8401126113ed576113ec611e91565b5b8235905067ffffffffffffffff81111561140a57611409611e8c565b5b60208301915083602082028301111561142657611425611e96565b5b9250929050565b60008083601f84011261144357611442611e91565b5b8235905067ffffffffffffffff8111156114605761145f611e8c565b5b60208301915083602082028301111561147c5761147b611e96565b5b9250929050565b600081359050611492816121e1565b92915050565b60008083601f8401126114ae576114ad611e91565b5b8235905067ffffffffffffffff8111156114cb576114ca611e8c565b5b6020830191508360018202830111156114e7576114e6611e96565b5b9250929050565b6000813590506114fd816121f8565b92915050565b6000813590506115128161220f565b92915050565b60006020828403121561152e5761152d611ea0565b5b600061153c848285016113c2565b91505092915050565b6000806000806040858703121561155f5761155e611ea0565b5b600085013567ffffffffffffffff81111561157d5761157c611e9b565b5b611589878288016113d7565b9450945050602085013567ffffffffffffffff8111156115ac576115ab611e9b565b5b6115b88782880161142d565b925092505092959194509250565b6000602082840312156115dc576115db611ea0565b5b60006115ea84828501611483565b91505092915050565b60008060008060008060a087890312156116105761160f611ea0565b5b600061161e89828a016114ee565b965050602061162f89828a01611503565b955050604061164089828a01611503565b945050606061165189828a01611503565b935050608087013567ffffffffffffffff81111561167257611671611e9b565b5b61167e89828a01611498565b92509250509295509295509295565b61169681611ce4565b82525050565b6116a581611cf6565b82525050565b6116b481611d02565b82525050565b6116cb6116c682611d02565b611df5565b82525050565b6116da81611d57565b82525050565b60006116ed601883611c72565b91506116f882611ea5565b602082019050919050565b6000611710603083611c72565b915061171b82611ece565b604082019050919050565b6000611733601f83611c72565b915061173e82611f1d565b602082019050919050565b6000611756601c83611c83565b915061176182611f46565b601c82019050919050565b6000611779602683611c72565b915061178482611f6f565b604082019050919050565b600061179c601283611c72565b91506117a782611fbe565b602082019050919050565b60006117bf601883611c72565b91506117ca82611fe7565b602082019050919050565b60006117e2602283611c72565b91506117ed82612010565b604082019050919050565b6000611805601683611c72565b91506118108261205f565b602082019050919050565b6000611828602283611c72565b915061183382612088565b604082019050919050565b600061184b601183611c72565b9150611856826120d7565b602082019050919050565b600061186e602083611c72565b915061187982612100565b602082019050919050565b6000611891601983611c72565b915061189c82612129565b602082019050919050565b60006118b4602583611c72565b91506118bf82612152565b604082019050919050565b60006118d7601f83611c72565b91506118e2826121a1565b602082019050919050565b6118f681611d2c565b82525050565b61190581611d36565b82525050565b61191481611d4a565b82525050565b600061192582611749565b915061193182846116ba565b60208201915081905092915050565b6000602082019050611955600083018461168d565b92915050565b600060c082019050611970600083018961168d565b61197d602083018861168d565b61198a60408301876118ed565b61199760608301866118fc565b6119a460808301856118fc565b6119b160a08301846118fc565b979650505050505050565b60006040820190506119d1600083018561168d565b6119de60208301846118ed565b9392505050565b60006060820190506119fa600083018661168d565b611a0760208301856118ed565b611a1460408301846118fc565b949350505050565b6000602082019050611a31600083018461169c565b92915050565b6000608082019050611a4c60008301876116ab565b611a59602083018661190b565b611a6660408301856116ab565b611a7360608301846116ab565b95945050505050565b6000602082019050611a9160008301846116d1565b92915050565b60006020820190508181036000830152611ab0816116e0565b9050919050565b60006020820190508181036000830152611ad081611703565b9050919050565b60006020820190508181036000830152611af081611726565b9050919050565b60006020820190508181036000830152611b108161176c565b9050919050565b60006020820190508181036000830152611b308161178f565b9050919050565b60006020820190508181036000830152611b50816117b2565b9050919050565b60006020820190508181036000830152611b70816117d5565b9050919050565b60006020820190508181036000830152611b90816117f8565b9050919050565b60006020820190508181036000830152611bb08161181b565b9050919050565b60006020820190508181036000830152611bd08161183e565b9050919050565b60006020820190508181036000830152611bf081611861565b9050919050565b60006020820190508181036000830152611c1081611884565b9050919050565b60006020820190508181036000830152611c30816118a7565b9050919050565b60006020820190508181036000830152611c50816118ca565b9050919050565b6000602082019050611c6c60008301846118fc565b92915050565b600082825260208201905092915050565b600081905092915050565b6000611c9982611d2c565b9150611ca483611d2c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611cd957611cd8611dff565b5b828201905092915050565b6000611cef82611d0c565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b6000611d6282611d69565b9050919050565b6000611d7482611d0c565b9050919050565b6000611d8682611d2c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611db957611db8611dff565b5b600182019050919050565b6000611dcf82611d36565b915067ffffffffffffffff821415611dea57611de9611dff565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f596f75206861766520616c726561647920636c61696d656420796f757220617660008201527f61696c61626c6520726577617264732e00000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f426164205369676e657220616464726573730000000000000000000000000000600082015250565b7f436c61696d696e67206973206e6f7420656e61626c65642e0000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f426164205969656c64546f6b656e206164647265737300000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964205369676e6174757265000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546865207369676e617475726520686173206578706972656400000000000000600082015250565b7f5468652063616c6c6572206973206e6f7420746865206f776e6572206f72207360008201527f69676e6572000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6121d381611ce4565b81146121de57600080fd5b50565b6121ea81611cf6565b81146121f557600080fd5b50565b61220181611d2c565b811461220c57600080fd5b50565b61221881611d36565b811461222357600080fd5b5056fea2646970667358221220542383a8503900c2528db698f267ac2a5d985605b0188b6eae5ffbb6ea2757aa64736f6c63430008060033

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.