More Info
Private Name Tags
ContractCreator
Latest 6 from a total of 6 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
On ERC1155Receiv... | 15717464 | 847 days ago | IN | 0 ETH | 0.00129419 | ||||
On ERC721Receive... | 15717454 | 847 days ago | IN | 0 ETH | 0.00126167 | ||||
Transfer | 14703161 | 1008 days ago | IN | 0.76699999 ETH | 0.0016844 | ||||
Transfer | 13840919 | 1142 days ago | IN | 0.003 ETH | 0.00102368 | ||||
Transfer | 13555162 | 1187 days ago | IN | 0.1 ETH | 0.00203677 | ||||
Set Vault | 13554846 | 1187 days ago | IN | 0 ETH | 0.00696706 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
15739468 | 844 days ago | 0.76999842 ETH | ||||
14800545 | 992 days ago | 0 ETH | ||||
14800545 | 992 days ago | 0 ETH | ||||
14800545 | 992 days ago | 0 ETH | ||||
14800542 | 992 days ago | 0 ETH | ||||
14800538 | 992 days ago | 0 ETH | ||||
14800537 | 992 days ago | 0 ETH | ||||
14800536 | 992 days ago | 0 ETH | ||||
14800487 | 992 days ago | 0 ETH | ||||
14800487 | 992 days ago | 0 ETH | ||||
14800486 | 992 days ago | 0 ETH | ||||
14800447 | 992 days ago | 0 ETH | ||||
14610217 | 1022 days ago | 0 ETH | ||||
14610217 | 1022 days ago | 0 ETH | ||||
14182353 | 1089 days ago | 0 ETH | ||||
13916988 | 1130 days ago | 0 ETH | ||||
13916949 | 1130 days ago | 0 ETH | ||||
13916498 | 1130 days ago | 0 ETH | ||||
13916251 | 1130 days ago | 0 ETH | ||||
13916250 | 1130 days ago | 0 ETH | ||||
13916250 | 1130 days ago | 0 ETH | ||||
13916250 | 1130 days ago | 0 ETH | ||||
13916086 | 1130 days ago | 0 ETH | ||||
13915724 | 1130 days ago | 0 ETH | ||||
13913465 | 1130 days ago | 0 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
HarvestArt
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity >=0.8.0 <0.9.0; //SPDX-License-Identifier: MIT import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; contract HarvestArt is ReentrancyGuard, Ownable, IERC721Receiver, IERC1155Receiver { uint256 public amountPerTx = 1 gwei; address public vault = address(0); function supportsInterface(bytes4 interfaceID) public virtual override view returns (bool) { return interfaceID == 0x4e2312e0; } function setVault(address newVault) onlyOwner public { vault = newVault; } function setAmount(uint256 newAmountPerTx) onlyOwner public { amountPerTx = newAmountPerTx; } function onERC721Received( address, address from, uint256 tokenId, bytes calldata ) public virtual override returns (bytes4) { require(vault != address(0), "Vault cannot be the 0x0 address"); require(address(this).balance > amountPerTx, "Not enough ether in contract."); IERC721(msg.sender).safeTransferFrom(address(this), vault, tokenId); (bool sent, ) = payable(from).call{ value: amountPerTx }(""); require(sent, "Failed to send ether."); return this.onERC721Received.selector; } function onERC1155Received( address, address from, uint256 id, uint256 value, bytes calldata data ) public virtual override returns (bytes4) { require(vault != address(0), "Vault cannot be the 0x0 address"); require(address(this).balance > amountPerTx * value, "Not enough ether in contract."); IERC1155(msg.sender).safeTransferFrom(address(this), vault, id, value, data); (bool sent, ) = payable(from).call{ value: amountPerTx * value }(""); require(sent, "Failed to send ether."); return this.onERC1155Received.selector; } function onERC1155BatchReceived( address, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) public virtual override returns (bytes4) { require(vault != address(0), "Vault cannot be the 0x0 address"); uint totalNFTs = 0; for (uint i = 0; i < values.length; i++) { totalNFTs += values[i]; } require(address(this).balance > amountPerTx * totalNFTs, "Not enough ether in contract."); IERC1155(msg.sender).safeBatchTransferFrom(address(this), vault, ids, values, data); (bool sent, ) = payable(from).call{ value: amountPerTx * totalNFTs }(""); require(sent, "Failed to send ether."); return this.onERC1155BatchReceived.selector; } receive () external payable { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT 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 make 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT 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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT 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); }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "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"},{"inputs":[],"name":"amountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","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":"uint256","name":"newAmountPerTx","type":"uint256"}],"name":"setAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newVault","type":"address"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052633b9aca00600255600380546001600160a01b031916905534801561002857600080fd5b5060016000556100373361003c565b61008e565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610d538061009d6000396000f3fe6080604052600436106100a05760003560e01c8063715018a611610064578063715018a6146101915780638da5cb5b146101a6578063bc197c81146101d8578063f23a6e61146101f8578063f2fde38b14610218578063fbfa77cf1461023857600080fd5b806301ffc9a7146100ac578063150b7a02146100f2578063271f88b41461012b57806338d5a5901461014d5780636817031b1461017157600080fd5b366100a757005b600080fd5b3480156100b857600080fd5b506100dd6100c7366004610a9b565b6001600160e01b031916630271189760e51b1490565b60405190151581526020015b60405180910390f35b3480156100fe57600080fd5b5061011261010d3660046109b8565b610258565b6040516001600160e01b031990911681526020016100e9565b34801561013757600080fd5b5061014b610146366004610ac3565b61039c565b005b34801561015957600080fd5b5061016360025481565b6040519081526020016100e9565b34801561017d57600080fd5b5061014b61018c3660046108e0565b6103cb565b34801561019d57600080fd5b5061014b610417565b3480156101b257600080fd5b506001546001600160a01b03165b6040516001600160a01b0390911681526020016100e9565b3480156101e457600080fd5b506101126101f3366004610901565b61044d565b34801561020457600080fd5b50610112610213366004610a25565b6105fa565b34801561022457600080fd5b5061014b6102333660046108e0565b61074d565b34801561024457600080fd5b506003546101c0906001600160a01b031681565b6003546000906001600160a01b031661028c5760405162461bcd60e51b815260040161028390610c7e565b60405180910390fd5b60025447116102ad5760405162461bcd60e51b815260040161028390610be3565b600354604051632142170760e11b81523060048201526001600160a01b0390911660248201526044810185905233906342842e0e90606401600060405180830381600087803b1580156102ff57600080fd5b505af1158015610313573d6000803e3d6000fd5b5050600254604051600093506001600160a01b03891692508381818185875af1925050503d8060008114610363576040519150601f19603f3d011682016040523d82523d6000602084013e610368565b606091505b50509050806103895760405162461bcd60e51b815260040161028390610c1a565b50630a85bd0160e11b9695505050505050565b6001546001600160a01b031633146103c65760405162461bcd60e51b815260040161028390610c49565b600255565b6001546001600160a01b031633146103f55760405162461bcd60e51b815260040161028390610c49565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031633146104415760405162461bcd60e51b815260040161028390610c49565b61044b60006107e8565b565b6003546000906001600160a01b03166104785760405162461bcd60e51b815260040161028390610c7e565b6000805b858110156104ca578686828181106104a457634e487b7160e01b600052603260045260246000fd5b90506020020135826104b69190610cb5565b9150806104c281610cec565b91505061047c565b50806002546104d99190610ccd565b47116104f75760405162461bcd60e51b815260040161028390610be3565b600354604051631759616b60e11b81523391632eb2c2d6916105359130916001600160a01b03909116908d908d908d908d908d908d90600401610b38565b600060405180830381600087803b15801561054f57600080fd5b505af1158015610563573d6000803e3d6000fd5b505050506000896001600160a01b0316826002546105819190610ccd565b604051600081818185875af1925050503d80600081146105bd576040519150601f19603f3d011682016040523d82523d6000602084013e6105c2565b606091505b50509050806105e35760405162461bcd60e51b815260040161028390610c1a565b5063bc197c8160e01b9a9950505050505050505050565b6003546000906001600160a01b03166106255760405162461bcd60e51b815260040161028390610c7e565b836002546106339190610ccd565b47116106515760405162461bcd60e51b815260040161028390610be3565b600354604051637921219560e11b8152339163f242432a9161068b9130916001600160a01b03909116908a908a908a908a90600401610b9c565b600060405180830381600087803b1580156106a557600080fd5b505af11580156106b9573d6000803e3d6000fd5b505050506000866001600160a01b0316856002546106d79190610ccd565b604051600081818185875af1925050503d8060008114610713576040519150601f19603f3d011682016040523d82523d6000602084013e610718565b606091505b50509050806107395760405162461bcd60e51b815260040161028390610c1a565b5063f23a6e6160e01b979650505050505050565b6001546001600160a01b031633146107775760405162461bcd60e51b815260040161028390610c49565b6001600160a01b0381166107dc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610283565b6107e5816107e8565b50565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80356001600160a01b038116811461085157600080fd5b919050565b60008083601f840112610867578182fd5b50813567ffffffffffffffff81111561087e578182fd5b6020830191508360208260051b850101111561089957600080fd5b9250929050565b60008083601f8401126108b1578182fd5b50813567ffffffffffffffff8111156108c8578182fd5b60208301915083602082850101111561089957600080fd5b6000602082840312156108f1578081fd5b6108fa8261083a565b9392505050565b60008060008060008060008060a0898b03121561091c578384fd5b6109258961083a565b975061093360208a0161083a565b9650604089013567ffffffffffffffff8082111561094f578586fd5b61095b8c838d01610856565b909850965060608b0135915080821115610973578586fd5b61097f8c838d01610856565b909650945060808b0135915080821115610997578384fd5b506109a48b828c016108a0565b999c989b5096995094979396929594505050565b6000806000806000608086880312156109cf578081fd5b6109d88661083a565b94506109e66020870161083a565b935060408601359250606086013567ffffffffffffffff811115610a08578182fd5b610a14888289016108a0565b969995985093965092949392505050565b60008060008060008060a08789031215610a3d578182fd5b610a468761083a565b9550610a546020880161083a565b94506040870135935060608701359250608087013567ffffffffffffffff811115610a7d578283fd5b610a8989828a016108a0565b979a9699509497509295939492505050565b600060208284031215610aac578081fd5b81356001600160e01b0319811681146108fa578182fd5b600060208284031215610ad4578081fd5b5035919050565b81835260006001600160fb1b03831115610af3578081fd5b8260051b80836020870137939093016020019283525090919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682528816602082015260a060408201819052600090610b65908301888a610adb565b8281036060840152610b78818789610adb565b90508281036080840152610b8d818587610b0f565b9b9a5050505050505050505050565b6001600160a01b03878116825286166020820152604081018590526060810184905260a060808201819052600090610bd79083018486610b0f565b98975050505050505050565b6020808252601d908201527f4e6f7420656e6f75676820657468657220696e20636f6e74726163742e000000604082015260600190565b6020808252601590820152742330b4b632b2103a379039b2b7321032ba3432b91760591b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5661756c742063616e6e6f742062652074686520307830206164647265737300604082015260600190565b60008219821115610cc857610cc8610d07565b500190565b6000816000190483118215151615610ce757610ce7610d07565b500290565b6000600019821415610d0057610d00610d07565b5060010190565b634e487b7160e01b600052601160045260246000fdfea264697066735822122061a2f20c95573b1a3115f36136ef3a604c249499fc03551f130d49c1f23fb3e064736f6c63430008040033
Deployed Bytecode
0x6080604052600436106100a05760003560e01c8063715018a611610064578063715018a6146101915780638da5cb5b146101a6578063bc197c81146101d8578063f23a6e61146101f8578063f2fde38b14610218578063fbfa77cf1461023857600080fd5b806301ffc9a7146100ac578063150b7a02146100f2578063271f88b41461012b57806338d5a5901461014d5780636817031b1461017157600080fd5b366100a757005b600080fd5b3480156100b857600080fd5b506100dd6100c7366004610a9b565b6001600160e01b031916630271189760e51b1490565b60405190151581526020015b60405180910390f35b3480156100fe57600080fd5b5061011261010d3660046109b8565b610258565b6040516001600160e01b031990911681526020016100e9565b34801561013757600080fd5b5061014b610146366004610ac3565b61039c565b005b34801561015957600080fd5b5061016360025481565b6040519081526020016100e9565b34801561017d57600080fd5b5061014b61018c3660046108e0565b6103cb565b34801561019d57600080fd5b5061014b610417565b3480156101b257600080fd5b506001546001600160a01b03165b6040516001600160a01b0390911681526020016100e9565b3480156101e457600080fd5b506101126101f3366004610901565b61044d565b34801561020457600080fd5b50610112610213366004610a25565b6105fa565b34801561022457600080fd5b5061014b6102333660046108e0565b61074d565b34801561024457600080fd5b506003546101c0906001600160a01b031681565b6003546000906001600160a01b031661028c5760405162461bcd60e51b815260040161028390610c7e565b60405180910390fd5b60025447116102ad5760405162461bcd60e51b815260040161028390610be3565b600354604051632142170760e11b81523060048201526001600160a01b0390911660248201526044810185905233906342842e0e90606401600060405180830381600087803b1580156102ff57600080fd5b505af1158015610313573d6000803e3d6000fd5b5050600254604051600093506001600160a01b03891692508381818185875af1925050503d8060008114610363576040519150601f19603f3d011682016040523d82523d6000602084013e610368565b606091505b50509050806103895760405162461bcd60e51b815260040161028390610c1a565b50630a85bd0160e11b9695505050505050565b6001546001600160a01b031633146103c65760405162461bcd60e51b815260040161028390610c49565b600255565b6001546001600160a01b031633146103f55760405162461bcd60e51b815260040161028390610c49565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031633146104415760405162461bcd60e51b815260040161028390610c49565b61044b60006107e8565b565b6003546000906001600160a01b03166104785760405162461bcd60e51b815260040161028390610c7e565b6000805b858110156104ca578686828181106104a457634e487b7160e01b600052603260045260246000fd5b90506020020135826104b69190610cb5565b9150806104c281610cec565b91505061047c565b50806002546104d99190610ccd565b47116104f75760405162461bcd60e51b815260040161028390610be3565b600354604051631759616b60e11b81523391632eb2c2d6916105359130916001600160a01b03909116908d908d908d908d908d908d90600401610b38565b600060405180830381600087803b15801561054f57600080fd5b505af1158015610563573d6000803e3d6000fd5b505050506000896001600160a01b0316826002546105819190610ccd565b604051600081818185875af1925050503d80600081146105bd576040519150601f19603f3d011682016040523d82523d6000602084013e6105c2565b606091505b50509050806105e35760405162461bcd60e51b815260040161028390610c1a565b5063bc197c8160e01b9a9950505050505050505050565b6003546000906001600160a01b03166106255760405162461bcd60e51b815260040161028390610c7e565b836002546106339190610ccd565b47116106515760405162461bcd60e51b815260040161028390610be3565b600354604051637921219560e11b8152339163f242432a9161068b9130916001600160a01b03909116908a908a908a908a90600401610b9c565b600060405180830381600087803b1580156106a557600080fd5b505af11580156106b9573d6000803e3d6000fd5b505050506000866001600160a01b0316856002546106d79190610ccd565b604051600081818185875af1925050503d8060008114610713576040519150601f19603f3d011682016040523d82523d6000602084013e610718565b606091505b50509050806107395760405162461bcd60e51b815260040161028390610c1a565b5063f23a6e6160e01b979650505050505050565b6001546001600160a01b031633146107775760405162461bcd60e51b815260040161028390610c49565b6001600160a01b0381166107dc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610283565b6107e5816107e8565b50565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80356001600160a01b038116811461085157600080fd5b919050565b60008083601f840112610867578182fd5b50813567ffffffffffffffff81111561087e578182fd5b6020830191508360208260051b850101111561089957600080fd5b9250929050565b60008083601f8401126108b1578182fd5b50813567ffffffffffffffff8111156108c8578182fd5b60208301915083602082850101111561089957600080fd5b6000602082840312156108f1578081fd5b6108fa8261083a565b9392505050565b60008060008060008060008060a0898b03121561091c578384fd5b6109258961083a565b975061093360208a0161083a565b9650604089013567ffffffffffffffff8082111561094f578586fd5b61095b8c838d01610856565b909850965060608b0135915080821115610973578586fd5b61097f8c838d01610856565b909650945060808b0135915080821115610997578384fd5b506109a48b828c016108a0565b999c989b5096995094979396929594505050565b6000806000806000608086880312156109cf578081fd5b6109d88661083a565b94506109e66020870161083a565b935060408601359250606086013567ffffffffffffffff811115610a08578182fd5b610a14888289016108a0565b969995985093965092949392505050565b60008060008060008060a08789031215610a3d578182fd5b610a468761083a565b9550610a546020880161083a565b94506040870135935060608701359250608087013567ffffffffffffffff811115610a7d578283fd5b610a8989828a016108a0565b979a9699509497509295939492505050565b600060208284031215610aac578081fd5b81356001600160e01b0319811681146108fa578182fd5b600060208284031215610ad4578081fd5b5035919050565b81835260006001600160fb1b03831115610af3578081fd5b8260051b80836020870137939093016020019283525090919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682528816602082015260a060408201819052600090610b65908301888a610adb565b8281036060840152610b78818789610adb565b90508281036080840152610b8d818587610b0f565b9b9a5050505050505050505050565b6001600160a01b03878116825286166020820152604081018590526060810184905260a060808201819052600090610bd79083018486610b0f565b98975050505050505050565b6020808252601d908201527f4e6f7420656e6f75676820657468657220696e20636f6e74726163742e000000604082015260600190565b6020808252601590820152742330b4b632b2103a379039b2b7321032ba3432b91760591b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5661756c742063616e6e6f742062652074686520307830206164647265737300604082015260600190565b60008219821115610cc857610cc8610d07565b500190565b6000816000190483118215151615610ce757610ce7610d07565b500290565b6000600019821415610d0057610d00610d07565b5060010190565b634e487b7160e01b600052601160045260246000fdfea264697066735822122061a2f20c95573b1a3115f36136ef3a604c249499fc03551f130d49c1f23fb3e064736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $2,713.79 | 0.000000001 | $0.000003 |
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.