Overview
ETH Balance
1.2 ETH
Eth Value
$2,959.96 (@ $2,466.63/ETH)Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 76 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Refund | 14840524 | 825 days ago | IN | 0 ETH | 0.00225603 | ||||
Claim Refund | 14749859 | 840 days ago | IN | 0 ETH | 0.00453436 | ||||
Claim Refund | 14745619 | 841 days ago | IN | 0 ETH | 0.00967235 | ||||
Claim Refund | 14744565 | 841 days ago | IN | 0 ETH | 0.00595976 | ||||
Claim Refund | 14736046 | 842 days ago | IN | 0 ETH | 0.00511369 | ||||
Claim Refund | 14734159 | 842 days ago | IN | 0 ETH | 0.0021301 | ||||
Claim Refund | 14732406 | 843 days ago | IN | 0 ETH | 0.00251672 | ||||
Claim Refund | 14725541 | 844 days ago | IN | 0 ETH | 0.00381524 | ||||
Claim Refund | 14725297 | 844 days ago | IN | 0 ETH | 0.00298975 | ||||
Claim Refund | 14724621 | 844 days ago | IN | 0 ETH | 0.00274381 | ||||
Claim Refund | 14724500 | 844 days ago | IN | 0 ETH | 0.00517575 | ||||
Claim Refund | 14722488 | 844 days ago | IN | 0 ETH | 0.00258914 | ||||
Claim Refund | 14718851 | 845 days ago | IN | 0 ETH | 0.00427206 | ||||
Claim Refund | 14717882 | 845 days ago | IN | 0 ETH | 0.00579397 | ||||
Claim Refund | 14716949 | 845 days ago | IN | 0 ETH | 0.00235654 | ||||
Claim Refund | 14716723 | 845 days ago | IN | 0 ETH | 0.00173891 | ||||
Claim Refund | 14716039 | 845 days ago | IN | 0 ETH | 0.00237596 | ||||
Claim Refund | 14714208 | 846 days ago | IN | 0 ETH | 0.00417203 | ||||
Claim Refund | 14714130 | 846 days ago | IN | 0 ETH | 0.0023491 | ||||
Claim Refund | 14714056 | 846 days ago | IN | 0 ETH | 0.00353384 | ||||
Claim Refund | 14713910 | 846 days ago | IN | 0 ETH | 0.0044864 | ||||
Claim Refund | 14713841 | 846 days ago | IN | 0 ETH | 0.00346355 | ||||
Claim Refund | 14713554 | 846 days ago | IN | 0 ETH | 0.00271262 | ||||
Claim Refund | 14713459 | 846 days ago | IN | 0 ETH | 0.00264431 | ||||
Claim Refund | 14713046 | 846 days ago | IN | 0 ETH | 0.00575571 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
14840524 | 825 days ago | 0.2 ETH | ||||
14749859 | 840 days ago | 0.2 ETH | ||||
14745619 | 841 days ago | 0.2 ETH | ||||
14744565 | 841 days ago | 0.2 ETH | ||||
14736046 | 842 days ago | 1.8 ETH | ||||
14734159 | 842 days ago | 0.4 ETH | ||||
14732406 | 843 days ago | 0.2 ETH | ||||
14725541 | 844 days ago | 0.6 ETH | ||||
14725297 | 844 days ago | 0.2 ETH | ||||
14724621 | 844 days ago | 0.2 ETH | ||||
14724500 | 844 days ago | 0.4 ETH | ||||
14722488 | 844 days ago | 0.2 ETH | ||||
14718851 | 845 days ago | 0.2 ETH | ||||
14717882 | 845 days ago | 0.2 ETH | ||||
14716949 | 845 days ago | 0.2 ETH | ||||
14716723 | 845 days ago | 0.2 ETH | ||||
14716039 | 845 days ago | 0.2 ETH | ||||
14714208 | 846 days ago | 0.2 ETH | ||||
14714130 | 846 days ago | 0.4 ETH | ||||
14714056 | 846 days ago | 0.6 ETH | ||||
14713910 | 846 days ago | 1 ETH | ||||
14713841 | 846 days ago | 0.2 ETH | ||||
14713554 | 846 days ago | 0.2 ETH | ||||
14713459 | 846 days ago | 0.2 ETH | ||||
14713046 | 846 days ago | 0.2 ETH |
Loading...
Loading
Contract Name:
OlympiaRefund
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// 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; } }
// 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) } } }
// 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); }
// 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); }
// 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); } }
// 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); }
// 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; } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
6080604052600180546001600160a01b03191673940913c25a23fb6e2778ec4b29110dc9f3f54fb017905534801561003657600080fd5b5061004033610045565b610095565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610f8c806100a46000396000f3fe6080604052600436106100f75760003560e01c8063715018a61161008a578063b7aa650511610059578063b7aa6505146102b1578063d56d229d146102d1578063def68a9c146102f9578063f2fde38b1461031957610115565b8063715018a6146102485780637cb647591461025d5780638da5cb5b1461027d578063aebb82541461029b57610115565b806348facdc3116100c657806348facdc3146101d1578063519af30e146101f357806356cc425514610208578063683b1b4b1461022857610115565b80632525ff6c14610127578063267f39ab146101645780632eb4a7ab1461018e578063422e9ec4146101b257610115565b3661011557346002600082825461010e9190610e7e565b9091555050005b346002600082825461010e9190610e7e565b34801561013357600080fd5b50600154610147906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561017057600080fd5b5060035461017e9060ff1681565b604051901515815260200161015b565b34801561019a57600080fd5b506101a460045481565b60405190815260200161015b565b3480156101be57600080fd5b5060035461017e90610100900460ff1681565b3480156101dd57600080fd5b506101f16101ec366004610d65565b610339565b005b3480156101ff57600080fd5b506101f16103c7565b34801561021457600080fd5b506101f1610223366004610e12565b610463565b34801561023457600080fd5b506101f1610243366004610e12565b6104d7565b34801561025457600080fd5b506101f1610544565b34801561026957600080fd5b506101f1610278366004610e4c565b6105aa565b34801561028957600080fd5b506000546001600160a01b0316610147565b3480156102a757600080fd5b506101a460025481565b3480156102bd57600080fd5b506101f16102cc366004610da6565b610609565b3480156102dd57600080fd5b5061014773eb652a847e5961d1f7fa53699693ec13c008b57b81565b34801561030557600080fd5b506101f1610314366004610d65565b6109c2565b34801561032557600080fd5b506101f1610334366004610d65565b610b50565b6000546001600160a01b031633146103985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314806103ea57506001546001600160a01b031633145b61041f5760405162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015260640161038f565b6001546002546040516001600160a01b039092169181156108fc0291906000818181858888f1935050505015801561045b573d6000803e3d6000fd5b506000600255565b6000546001600160a01b031633146104bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b600380549115156101000261ff0019909216919091179055565b6000546001600160a01b031633146105315760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6003805460ff1916911515919091179055565b6000546001600160a01b0316331461059e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6105a86000610c32565b565b6000546001600160a01b031633146106045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b600455565b60035484908490610100900460ff166106e4576040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610696838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506004549150849050610c8f565b6106e25760405162461bcd60e51b815260206004820152600f60248201527f6e6f742077686974656c69737465640000000000000000000000000000000000604482015260640161038f565b505b60035460ff166107365760405162461bcd60e51b815260206004820152600760248201527f2161637469766500000000000000000000000000000000000000000000000000604482015260640161038f565b600061074a846702c68af0bb140000610e96565b905080600254101561079e5760405162461bcd60e51b815260206004820152600560248201527f6e6f457468000000000000000000000000000000000000000000000000000000604482015260640161038f565b80600260008282546107b09190610eb5565b90915550600090505b60ff811685111561098a5773eb652a847e5961d1f7fa53699693ec13c008b57b636352211e878760ff85168181106107f3576107f3610f1d565b905060200201356040518263ffffffff1660e01b815260040161081891815260200190565b60206040518083038186803b15801561083057600080fd5b505afa158015610844573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108689190610d89565b6001600160a01b0316336001600160a01b0316146108b15760405162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015260640161038f565b60015473eb652a847e5961d1f7fa53699693ec13c008b57b906323b872dd9033906001600160a01b0316898960ff87168181106108f0576108f0610f1d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561095f57600080fd5b505af1158015610973573d6000803e3d6000fd5b50505050808061098290610ee7565b9150506107b9565b50604051339082156108fc029083906000818181858888f193505050501580156109b8573d6000803e3d6000fd5b5050505050505050565b6000546001600160a01b03163314610a1c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610a7757600080fd5b505afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf9190610e65565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610b1357600080fd5b505af1158015610b27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4b9190610e2f565b505050565b6000546001600160a01b03163314610baa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6001600160a01b038116610c265760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161038f565b610c2f81610c32565b50565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082610c9c8584610ca5565b14949350505050565b600081815b8451811015610d11576000858281518110610cc757610cc7610f1d565b60200260200101519050808311610ced5760008381526020829052604090209250610cfe565b600081815260208490526040902092505b5080610d0981610ecc565b915050610caa565b509392505050565b60008083601f840112610d2b57600080fd5b50813567ffffffffffffffff811115610d4357600080fd5b6020830191508360208260051b8501011115610d5e57600080fd5b9250929050565b600060208284031215610d7757600080fd5b8135610d8281610f33565b9392505050565b600060208284031215610d9b57600080fd5b8151610d8281610f33565b60008060008060408587031215610dbc57600080fd5b843567ffffffffffffffff80821115610dd457600080fd5b610de088838901610d19565b90965094506020870135915080821115610df957600080fd5b50610e0687828801610d19565b95989497509550505050565b600060208284031215610e2457600080fd5b8135610d8281610f48565b600060208284031215610e4157600080fd5b8151610d8281610f48565b600060208284031215610e5e57600080fd5b5035919050565b600060208284031215610e7757600080fd5b5051919050565b60008219821115610e9157610e91610f07565b500190565b6000816000190483118215151615610eb057610eb0610f07565b500290565b600082821015610ec757610ec7610f07565b500390565b6000600019821415610ee057610ee0610f07565b5060010190565b600060ff821660ff811415610efe57610efe610f07565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114610c2f57600080fd5b8015158114610c2f57600080fdfea2646970667358221220cfdd3e36e0e46c3370d08afb329fbdb242d99fd7d19fd9891d2ef0e934dd82a164736f6c63430008070033
Deployed Bytecode
0x6080604052600436106100f75760003560e01c8063715018a61161008a578063b7aa650511610059578063b7aa6505146102b1578063d56d229d146102d1578063def68a9c146102f9578063f2fde38b1461031957610115565b8063715018a6146102485780637cb647591461025d5780638da5cb5b1461027d578063aebb82541461029b57610115565b806348facdc3116100c657806348facdc3146101d1578063519af30e146101f357806356cc425514610208578063683b1b4b1461022857610115565b80632525ff6c14610127578063267f39ab146101645780632eb4a7ab1461018e578063422e9ec4146101b257610115565b3661011557346002600082825461010e9190610e7e565b9091555050005b346002600082825461010e9190610e7e565b34801561013357600080fd5b50600154610147906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561017057600080fd5b5060035461017e9060ff1681565b604051901515815260200161015b565b34801561019a57600080fd5b506101a460045481565b60405190815260200161015b565b3480156101be57600080fd5b5060035461017e90610100900460ff1681565b3480156101dd57600080fd5b506101f16101ec366004610d65565b610339565b005b3480156101ff57600080fd5b506101f16103c7565b34801561021457600080fd5b506101f1610223366004610e12565b610463565b34801561023457600080fd5b506101f1610243366004610e12565b6104d7565b34801561025457600080fd5b506101f1610544565b34801561026957600080fd5b506101f1610278366004610e4c565b6105aa565b34801561028957600080fd5b506000546001600160a01b0316610147565b3480156102a757600080fd5b506101a460025481565b3480156102bd57600080fd5b506101f16102cc366004610da6565b610609565b3480156102dd57600080fd5b5061014773eb652a847e5961d1f7fa53699693ec13c008b57b81565b34801561030557600080fd5b506101f1610314366004610d65565b6109c2565b34801561032557600080fd5b506101f1610334366004610d65565b610b50565b6000546001600160a01b031633146103985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314806103ea57506001546001600160a01b031633145b61041f5760405162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015260640161038f565b6001546002546040516001600160a01b039092169181156108fc0291906000818181858888f1935050505015801561045b573d6000803e3d6000fd5b506000600255565b6000546001600160a01b031633146104bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b600380549115156101000261ff0019909216919091179055565b6000546001600160a01b031633146105315760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6003805460ff1916911515919091179055565b6000546001600160a01b0316331461059e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6105a86000610c32565b565b6000546001600160a01b031633146106045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b600455565b60035484908490610100900460ff166106e4576040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610696838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506004549150849050610c8f565b6106e25760405162461bcd60e51b815260206004820152600f60248201527f6e6f742077686974656c69737465640000000000000000000000000000000000604482015260640161038f565b505b60035460ff166107365760405162461bcd60e51b815260206004820152600760248201527f2161637469766500000000000000000000000000000000000000000000000000604482015260640161038f565b600061074a846702c68af0bb140000610e96565b905080600254101561079e5760405162461bcd60e51b815260206004820152600560248201527f6e6f457468000000000000000000000000000000000000000000000000000000604482015260640161038f565b80600260008282546107b09190610eb5565b90915550600090505b60ff811685111561098a5773eb652a847e5961d1f7fa53699693ec13c008b57b636352211e878760ff85168181106107f3576107f3610f1d565b905060200201356040518263ffffffff1660e01b815260040161081891815260200190565b60206040518083038186803b15801561083057600080fd5b505afa158015610844573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108689190610d89565b6001600160a01b0316336001600160a01b0316146108b15760405162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015260640161038f565b60015473eb652a847e5961d1f7fa53699693ec13c008b57b906323b872dd9033906001600160a01b0316898960ff87168181106108f0576108f0610f1d565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b15801561095f57600080fd5b505af1158015610973573d6000803e3d6000fd5b50505050808061098290610ee7565b9150506107b9565b50604051339082156108fc029083906000818181858888f193505050501580156109b8573d6000803e3d6000fd5b5050505050505050565b6000546001600160a01b03163314610a1c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610a7757600080fd5b505afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf9190610e65565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610b1357600080fd5b505af1158015610b27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4b9190610e2f565b505050565b6000546001600160a01b03163314610baa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161038f565b6001600160a01b038116610c265760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161038f565b610c2f81610c32565b50565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082610c9c8584610ca5565b14949350505050565b600081815b8451811015610d11576000858281518110610cc757610cc7610f1d565b60200260200101519050808311610ced5760008381526020829052604090209250610cfe565b600081815260208490526040902092505b5080610d0981610ecc565b915050610caa565b509392505050565b60008083601f840112610d2b57600080fd5b50813567ffffffffffffffff811115610d4357600080fd5b6020830191508360208260051b8501011115610d5e57600080fd5b9250929050565b600060208284031215610d7757600080fd5b8135610d8281610f33565b9392505050565b600060208284031215610d9b57600080fd5b8151610d8281610f33565b60008060008060408587031215610dbc57600080fd5b843567ffffffffffffffff80821115610dd457600080fd5b610de088838901610d19565b90965094506020870135915080821115610df957600080fd5b50610e0687828801610d19565b95989497509550505050565b600060208284031215610e2457600080fd5b8135610d8281610f48565b600060208284031215610e4157600080fd5b8151610d8281610f48565b600060208284031215610e5e57600080fd5b5035919050565b600060208284031215610e7757600080fd5b5051919050565b60008219821115610e9157610e91610f07565b500190565b6000816000190483118215151615610eb057610eb0610f07565b500290565b600082821015610ec757610ec7610f07565b500390565b6000600019821415610ee057610ee0610f07565b5060010190565b600060ff821660ff811415610efe57610efe610f07565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114610c2f57600080fd5b8015158114610c2f57600080fdfea2646970667358221220cfdd3e36e0e46c3370d08afb329fbdb242d99fd7d19fd9891d2ef0e934dd82a164736f6c63430008070033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $2,466.63 | 1.2 | $2,959.96 |
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.