ETH Price: $2,466.63 (-8.17%)

Contract

0x191E9db35Db1856fba1a7D576EF5cFB009A277E2
 

Overview

ETH Balance

1.2 ETH

Eth Value

$2,959.96 (@ $2,466.63/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Refund148405242022-05-25 7:17:39825 days ago1653463059IN
0x191E9db3...009A277E2
0 ETH0.0022560330.84630726
Claim Refund147498592022-05-10 17:33:45840 days ago1652204025IN
0x191E9db3...009A277E2
0 ETH0.0045343664.87860289
Claim Refund147456192022-05-10 1:00:20841 days ago1652144420IN
0x191E9db3...009A277E2
0 ETH0.00967235132.2697086
Claim Refund147445652022-05-09 20:51:38841 days ago1652129498IN
0x191E9db3...009A277E2
0 ETH0.0059597681.5089009
Claim Refund147360462022-05-08 12:22:25842 days ago1652012545IN
0x191E9db3...009A277E2
0 ETH0.0051136924.96920592
Claim Refund147341592022-05-08 5:11:56842 days ago1651986716IN
0x191E9db3...009A277E2
0 ETH0.002130123.69385056
Claim Refund147324062022-05-07 22:24:59843 days ago1651962299IN
0x191E9db3...009A277E2
0 ETH0.0025167234.42199517
Claim Refund147255412022-05-06 20:09:16844 days ago1651867756IN
0x191E9db3...009A277E2
0 ETH0.0038152435.77420423
Claim Refund147252972022-05-06 19:09:22844 days ago1651864162IN
0x191E9db3...009A277E2
0 ETH0.0029897540.89725592
Claim Refund147246212022-05-06 16:35:12844 days ago1651854912IN
0x191E9db3...009A277E2
0 ETH0.0027438139.26013958
Claim Refund147245002022-05-06 16:07:04844 days ago1651853224IN
0x191E9db3...009A277E2
0 ETH0.0051757557.55889979
Claim Refund147224882022-05-06 8:27:28844 days ago1651825648IN
0x191E9db3...009A277E2
0 ETH0.0025891435.41153566
Claim Refund147188512022-05-05 18:43:50845 days ago1651776230IN
0x191E9db3...009A277E2
0 ETH0.0042720658.41257992
Claim Refund147178822022-05-05 14:57:58845 days ago1651762678IN
0x191E9db3...009A277E2
0 ETH0.0057939779.22408537
Claim Refund147169492022-05-05 11:18:40845 days ago1651749520IN
0x191E9db3...009A277E2
0 ETH0.0023565432.22582712
Claim Refund147167232022-05-05 10:24:47845 days ago1651746287IN
0x191E9db3...009A277E2
0 ETH0.0017389123.77900774
Claim Refund147160392022-05-05 7:49:30845 days ago1651736970IN
0x191E9db3...009A277E2
0 ETH0.0023759632.4860681
Claim Refund147142082022-05-05 0:57:55846 days ago1651712275IN
0x191E9db3...009A277E2
0 ETH0.0041720357.05272413
Claim Refund147141302022-05-05 0:39:40846 days ago1651711180IN
0x191E9db3...009A277E2
0 ETH0.002349126.13450565
Claim Refund147140562022-05-05 0:20:56846 days ago1651710056IN
0x191E9db3...009A277E2
0 ETH0.0035338433.13245218
Claim Refund147139102022-05-04 23:46:02846 days ago1651707962IN
0x191E9db3...009A277E2
0 ETH0.004486432
Claim Refund147138412022-05-04 23:30:53846 days ago1651707053IN
0x191E9db3...009A277E2
0 ETH0.0034635548.98319053
Claim Refund147135542022-05-04 22:24:10846 days ago1651703050IN
0x191E9db3...009A277E2
0 ETH0.0027126237.10028701
Claim Refund147134592022-05-04 22:04:36846 days ago1651701876IN
0x191E9db3...009A277E2
0 ETH0.0026443136.15619744
Claim Refund147130462022-05-04 20:30:08846 days ago1651696208IN
0x191E9db3...009A277E2
0 ETH0.0057557178.69885278
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
148405242022-05-25 7:17:39825 days ago1653463059
0x191E9db3...009A277E2
0.2 ETH
147498592022-05-10 17:33:45840 days ago1652204025
0x191E9db3...009A277E2
0.2 ETH
147456192022-05-10 1:00:20841 days ago1652144420
0x191E9db3...009A277E2
0.2 ETH
147445652022-05-09 20:51:38841 days ago1652129498
0x191E9db3...009A277E2
0.2 ETH
147360462022-05-08 12:22:25842 days ago1652012545
0x191E9db3...009A277E2
1.8 ETH
147341592022-05-08 5:11:56842 days ago1651986716
0x191E9db3...009A277E2
0.4 ETH
147324062022-05-07 22:24:59843 days ago1651962299
0x191E9db3...009A277E2
0.2 ETH
147255412022-05-06 20:09:16844 days ago1651867756
0x191E9db3...009A277E2
0.6 ETH
147252972022-05-06 19:09:22844 days ago1651864162
0x191E9db3...009A277E2
0.2 ETH
147246212022-05-06 16:35:12844 days ago1651854912
0x191E9db3...009A277E2
0.2 ETH
147245002022-05-06 16:07:04844 days ago1651853224
0x191E9db3...009A277E2
0.4 ETH
147224882022-05-06 8:27:28844 days ago1651825648
0x191E9db3...009A277E2
0.2 ETH
147188512022-05-05 18:43:50845 days ago1651776230
0x191E9db3...009A277E2
0.2 ETH
147178822022-05-05 14:57:58845 days ago1651762678
0x191E9db3...009A277E2
0.2 ETH
147169492022-05-05 11:18:40845 days ago1651749520
0x191E9db3...009A277E2
0.2 ETH
147167232022-05-05 10:24:47845 days ago1651746287
0x191E9db3...009A277E2
0.2 ETH
147160392022-05-05 7:49:30845 days ago1651736970
0x191E9db3...009A277E2
0.2 ETH
147142082022-05-05 0:57:55846 days ago1651712275
0x191E9db3...009A277E2
0.2 ETH
147141302022-05-05 0:39:40846 days ago1651711180
0x191E9db3...009A277E2
0.4 ETH
147140562022-05-05 0:20:56846 days ago1651710056
0x191E9db3...009A277E2
0.6 ETH
147139102022-05-04 23:46:02846 days ago1651707962
0x191E9db3...009A277E2
1 ETH
147138412022-05-04 23:30:53846 days ago1651707053
0x191E9db3...009A277E2
0.2 ETH
147135542022-05-04 22:24:10846 days ago1651703050
0x191E9db3...009A277E2
0.2 ETH
147134592022-05-04 22:04:36846 days ago1651701876
0x191E9db3...009A277E2
0.2 ETH
147130462022-05-04 20:30:08846 days ago1651696208
0x191E9db3...009A277E2
0.2 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OlympiaRefund

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 7 : OlympusRefund.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract OlympiaRefund is Ownable {
    // mainnet
    address payable public tokenReciever = payable(0x940913C25A23FB6e2778Ec4b29110DC9f3F54fb0);
    IERC721 public constant nftContract = IERC721(0xeB652a847e5961D1F7FA53699693eC13C008b57B);


    uint256 public ethRecieved;
    bool public isRefundActive;
    bool public skipMerkleCheck;
    bytes32 public merkleRoot;

    modifier whitelisted(bytes32[] calldata merkleProof) {
        if (!skipMerkleCheck) {
            bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
            require(MerkleProof.verify(merkleProof, merkleRoot, leaf), "not whitelisted");
        }
        _;
    }

    function claimRefund(bytes32[] calldata merkleProof, uint256[] calldata nftIds) whitelisted(merkleProof) external {
        require (isRefundActive, "!active");
        uint256 total = nftIds.length * 0.2 ether;
        require(ethRecieved >= total, "noEth");
        ethRecieved -= total;
        for (uint8 i = 0; i < nftIds.length; i++) {
            require(msg.sender == nftContract.ownerOf(nftIds[i]), "!owner");
            nftContract.transferFrom(msg.sender, tokenReciever, nftIds[i]);
        }
        payable(msg.sender).transfer(total);
    }

    function withdrawAllEth() external {
        require(
            (msg.sender == owner() || msg.sender == tokenReciever),
            "!owner"
        );
        tokenReciever.transfer(ethRecieved);
        ethRecieved = 0;
    }

    receive() external payable {
        ethRecieved += msg.value;
    }

    fallback() external payable {
        ethRecieved += msg.value;
    }

    function inCaseTokensGetStuck(address _token) external onlyOwner {
        uint256 amount = IERC20(_token).balanceOf(address(this));
        IERC20(_token).transfer(msg.sender, amount);
    }

    function setIsRefundActive(bool _isRefundActive) external onlyOwner {
        isRefundActive = _isRefundActive;
    }

    function setSkipMerkleCheck(bool _skipMerkleCheck) external onlyOwner {
        skipMerkleCheck = _skipMerkleCheck;
    }

    function setTokenReciever(address payable _tokenReciever) external onlyOwner {
        tokenReciever = _tokenReciever;
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }
}

File 2 of 7 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 3 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 4 of 7 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 7 of 7 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256[]","name":"nftIds","type":"uint256[]"}],"name":"claimRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ethRecieved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isRefundActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftContract","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"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":"bool","name":"_isRefundActive","type":"bool"}],"name":"setIsRefundActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_skipMerkleCheck","type":"bool"}],"name":"setSkipMerkleCheck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_tokenReciever","type":"address"}],"name":"setTokenReciever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"skipMerkleCheck","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenReciever","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAllEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600180546001600160a01b03191673940913c25a23fb6e2778ec4b29110dc9f3f54fb017905534801561003657600080fd5b5061004033610045565b610095565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610f8c806100a46000396000f3fe6080604052600436106100f75760003560e01c8063715018a61161008a578063b7aa650511610059578063b7aa6505146102b1578063d56d229d146102d1578063def68a9c146102f9578063f2fde38b1461031957610115565b8063715018a6146102485780637cb647591461025d5780638da5cb5b1461027d578063aebb82541461029b57610115565b806348facdc3116100c657806348facdc3146101d1578063519af30e146101f357806356cc425514610208578063683b1b4b1461022857610115565b80632525ff6c14610127578063267f39ab146101645780632eb4a7ab1461018e578063422e9ec4146101b257610115565b3661011557346002600082825461010e9190610e7e565b9091555050005b346002600082825461010e9190610e7e565b34801561013357600080fd5b50600154610147906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561017057600080fd5b5060035461017e9060ff1681565b604051901515815260200161015b565b34801561019a57600080fd5b506101a460045481565b60405190815260200161015b565b3480156101be57600080fd5b5060035461017e90610100900460ff1681565b3480156101dd57600080fd5b506101f16101ec366004610d65565b610339565b005b3480156101ff57600080fd5b506101f16103c7565b34801561021457600080fd5b506101f1610223366004610e12565b610463565b34801561023457600080fd5b506101f1610243366004610e12565b6104d7565b34801561025457600080fd5b506101f1610544565b34801561026957600080fd5b506101f1610278366004610e4c565b6105aa565b34801561028957600080fd5b506000546001600160a01b0316610147565b3480156102a757600080fd5b506101a460025481565b3480156102bd57600080fd5b506101f16102cc366004610da6565b610609565b3480156102dd57600080fd5b5061014773eb652a847e5961d1f7fa53699693ec13c008b57b81565b34801561030557600080fd5b506101f1610314366004610d65565b6109c2565b34801561032557600080fd5b506101f1610334366004610d65565b610b50565b6000546001600160a01b031633146103985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314806103ea57506001546001600160a01b031633145b61041f5760405162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015260640161038f565b6001546002546040516001600160a01b039092169181156108fc0291906000818181858888f1935050505015801561045b573d6000803e3d6000fd5b506000600255565b6000546001600160a01b031633146104bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b600380549115156101000261ff0019909216919091179055565b6000546001600160a01b031633146105315760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6003805460ff1916911515919091179055565b6000546001600160a01b0316331461059e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6105a86000610c32565b565b6000546001600160a01b031633146106045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b600455565b60035484908490610100900460ff166106e4576040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610696838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506004549150849050610c8f565b6106e25760405162461bcd60e51b815260206004820152600f60248201527f6e6f742077686974656c69737465640000000000000000000000000000000000604482015260640161038f565b505b60035460ff166107365760405162461bcd60e51b815260206004820152600760248201527f2161637469766500000000000000000000000000000000000000000000000000604482015260640161038f565b600061074a846702c68af0bb140000610e96565b905080600254101561079e5760405162461bcd60e51b815260206004820152600560248201527f6e6f457468000000000000000000000000000000000000000000000000000000604482015260640161038f565b80600260008282546107b09190610eb5565b90915550600090505b60ff811685111561098a5773eb652a847e5961d1f7fa53699693ec13c008b57b636352211e878760ff85168181106107f3576107f3610f1d565b905060200201356040518263ffffffff1660e01b815260040161081891815260200190565b60206040518083038186803b15801561083057600080fd5b505afa158015610844573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108689190610d89565b6001600160a01b0316336001600160a01b0316146108b15760405162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015260640161038f565b60015473eb652a847e5961d1f7fa53699693ec13c008b57b906323b872dd9033906001600160a01b0316898960ff87168181106108f0576108f0610f1d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561095f57600080fd5b505af1158015610973573d6000803e3d6000fd5b50505050808061098290610ee7565b9150506107b9565b50604051339082156108fc029083906000818181858888f193505050501580156109b8573d6000803e3d6000fd5b5050505050505050565b6000546001600160a01b03163314610a1c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610a7757600080fd5b505afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf9190610e65565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610b1357600080fd5b505af1158015610b27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4b9190610e2f565b505050565b6000546001600160a01b03163314610baa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6001600160a01b038116610c265760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161038f565b610c2f81610c32565b50565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082610c9c8584610ca5565b14949350505050565b600081815b8451811015610d11576000858281518110610cc757610cc7610f1d565b60200260200101519050808311610ced5760008381526020829052604090209250610cfe565b600081815260208490526040902092505b5080610d0981610ecc565b915050610caa565b509392505050565b60008083601f840112610d2b57600080fd5b50813567ffffffffffffffff811115610d4357600080fd5b6020830191508360208260051b8501011115610d5e57600080fd5b9250929050565b600060208284031215610d7757600080fd5b8135610d8281610f33565b9392505050565b600060208284031215610d9b57600080fd5b8151610d8281610f33565b60008060008060408587031215610dbc57600080fd5b843567ffffffffffffffff80821115610dd457600080fd5b610de088838901610d19565b90965094506020870135915080821115610df957600080fd5b50610e0687828801610d19565b95989497509550505050565b600060208284031215610e2457600080fd5b8135610d8281610f48565b600060208284031215610e4157600080fd5b8151610d8281610f48565b600060208284031215610e5e57600080fd5b5035919050565b600060208284031215610e7757600080fd5b5051919050565b60008219821115610e9157610e91610f07565b500190565b6000816000190483118215151615610eb057610eb0610f07565b500290565b600082821015610ec757610ec7610f07565b500390565b6000600019821415610ee057610ee0610f07565b5060010190565b600060ff821660ff811415610efe57610efe610f07565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114610c2f57600080fd5b8015158114610c2f57600080fdfea2646970667358221220cfdd3e36e0e46c3370d08afb329fbdb242d99fd7d19fd9891d2ef0e934dd82a164736f6c63430008070033

Deployed Bytecode

0x6080604052600436106100f75760003560e01c8063715018a61161008a578063b7aa650511610059578063b7aa6505146102b1578063d56d229d146102d1578063def68a9c146102f9578063f2fde38b1461031957610115565b8063715018a6146102485780637cb647591461025d5780638da5cb5b1461027d578063aebb82541461029b57610115565b806348facdc3116100c657806348facdc3146101d1578063519af30e146101f357806356cc425514610208578063683b1b4b1461022857610115565b80632525ff6c14610127578063267f39ab146101645780632eb4a7ab1461018e578063422e9ec4146101b257610115565b3661011557346002600082825461010e9190610e7e565b9091555050005b346002600082825461010e9190610e7e565b34801561013357600080fd5b50600154610147906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561017057600080fd5b5060035461017e9060ff1681565b604051901515815260200161015b565b34801561019a57600080fd5b506101a460045481565b60405190815260200161015b565b3480156101be57600080fd5b5060035461017e90610100900460ff1681565b3480156101dd57600080fd5b506101f16101ec366004610d65565b610339565b005b3480156101ff57600080fd5b506101f16103c7565b34801561021457600080fd5b506101f1610223366004610e12565b610463565b34801561023457600080fd5b506101f1610243366004610e12565b6104d7565b34801561025457600080fd5b506101f1610544565b34801561026957600080fd5b506101f1610278366004610e4c565b6105aa565b34801561028957600080fd5b506000546001600160a01b0316610147565b3480156102a757600080fd5b506101a460025481565b3480156102bd57600080fd5b506101f16102cc366004610da6565b610609565b3480156102dd57600080fd5b5061014773eb652a847e5961d1f7fa53699693ec13c008b57b81565b34801561030557600080fd5b506101f1610314366004610d65565b6109c2565b34801561032557600080fd5b506101f1610334366004610d65565b610b50565b6000546001600160a01b031633146103985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314806103ea57506001546001600160a01b031633145b61041f5760405162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015260640161038f565b6001546002546040516001600160a01b039092169181156108fc0291906000818181858888f1935050505015801561045b573d6000803e3d6000fd5b506000600255565b6000546001600160a01b031633146104bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b600380549115156101000261ff0019909216919091179055565b6000546001600160a01b031633146105315760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6003805460ff1916911515919091179055565b6000546001600160a01b0316331461059e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6105a86000610c32565b565b6000546001600160a01b031633146106045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b600455565b60035484908490610100900460ff166106e4576040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610696838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506004549150849050610c8f565b6106e25760405162461bcd60e51b815260206004820152600f60248201527f6e6f742077686974656c69737465640000000000000000000000000000000000604482015260640161038f565b505b60035460ff166107365760405162461bcd60e51b815260206004820152600760248201527f2161637469766500000000000000000000000000000000000000000000000000604482015260640161038f565b600061074a846702c68af0bb140000610e96565b905080600254101561079e5760405162461bcd60e51b815260206004820152600560248201527f6e6f457468000000000000000000000000000000000000000000000000000000604482015260640161038f565b80600260008282546107b09190610eb5565b90915550600090505b60ff811685111561098a5773eb652a847e5961d1f7fa53699693ec13c008b57b636352211e878760ff85168181106107f3576107f3610f1d565b905060200201356040518263ffffffff1660e01b815260040161081891815260200190565b60206040518083038186803b15801561083057600080fd5b505afa158015610844573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108689190610d89565b6001600160a01b0316336001600160a01b0316146108b15760405162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015260640161038f565b60015473eb652a847e5961d1f7fa53699693ec13c008b57b906323b872dd9033906001600160a01b0316898960ff87168181106108f0576108f0610f1d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561095f57600080fd5b505af1158015610973573d6000803e3d6000fd5b50505050808061098290610ee7565b9150506107b9565b50604051339082156108fc029083906000818181858888f193505050501580156109b8573d6000803e3d6000fd5b5050505050505050565b6000546001600160a01b03163314610a1c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610a7757600080fd5b505afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf9190610e65565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610b1357600080fd5b505af1158015610b27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4b9190610e2f565b505050565b6000546001600160a01b03163314610baa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6001600160a01b038116610c265760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161038f565b610c2f81610c32565b50565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082610c9c8584610ca5565b14949350505050565b600081815b8451811015610d11576000858281518110610cc757610cc7610f1d565b60200260200101519050808311610ced5760008381526020829052604090209250610cfe565b600081815260208490526040902092505b5080610d0981610ecc565b915050610caa565b509392505050565b60008083601f840112610d2b57600080fd5b50813567ffffffffffffffff811115610d4357600080fd5b6020830191508360208260051b8501011115610d5e57600080fd5b9250929050565b600060208284031215610d7757600080fd5b8135610d8281610f33565b9392505050565b600060208284031215610d9b57600080fd5b8151610d8281610f33565b60008060008060408587031215610dbc57600080fd5b843567ffffffffffffffff80821115610dd457600080fd5b610de088838901610d19565b90965094506020870135915080821115610df957600080fd5b50610e0687828801610d19565b95989497509550505050565b600060208284031215610e2457600080fd5b8135610d8281610f48565b600060208284031215610e4157600080fd5b8151610d8281610f48565b600060208284031215610e5e57600080fd5b5035919050565b600060208284031215610e7757600080fd5b5051919050565b60008219821115610e9157610e91610f07565b500190565b6000816000190483118215151615610eb057610eb0610f07565b500290565b600082821015610ec757610ec7610f07565b500390565b6000600019821415610ee057610ee0610f07565b5060010190565b600060ff821660ff811415610efe57610efe610f07565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114610c2f57600080fd5b8015158114610c2f57600080fdfea2646970667358221220cfdd3e36e0e46c3370d08afb329fbdb242d99fd7d19fd9891d2ef0e934dd82a164736f6c63430008070033

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  ]
[ 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.