Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 66 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Put Item For Sal... | 16613793 | 532 days ago | IN | 0 ETH | 0.00361886 | ||||
Put Item For Sal... | 16609724 | 533 days ago | IN | 0 ETH | 0.0022421 | ||||
Put Item For Sal... | 16609704 | 533 days ago | IN | 0 ETH | 0.0022269 | ||||
Delist Item | 16609695 | 533 days ago | IN | 0 ETH | 0.00053149 | ||||
Delist Item | 16370974 | 566 days ago | IN | 0 ETH | 0.00131952 | ||||
Put Item For Sal... | 16365108 | 567 days ago | IN | 0 ETH | 0.0041637 | ||||
Put Item For Sal... | 16349566 | 569 days ago | IN | 0 ETH | 0.00492522 | ||||
Put Item For Sal... | 16342459 | 570 days ago | IN | 0 ETH | 0.00326597 | ||||
Delist Item | 16340833 | 571 days ago | IN | 0 ETH | 0.00082878 | ||||
Put Item For Sal... | 16337782 | 571 days ago | IN | 0 ETH | 0.00311379 | ||||
Delist Item | 16335800 | 571 days ago | IN | 0 ETH | 0.00088175 | ||||
Put Item For Sal... | 16335785 | 571 days ago | IN | 0 ETH | 0.0042131 | ||||
Buy Item | 16190683 | 592 days ago | IN | 0.2 ETH | 0.00439685 | ||||
Put Item For Sal... | 16162549 | 595 days ago | IN | 0 ETH | 0.00257752 | ||||
Put Item For Sal... | 16162539 | 595 days ago | IN | 0 ETH | 0.00250462 | ||||
Put Item For Sal... | 16162535 | 595 days ago | IN | 0 ETH | 0.0021963 | ||||
Put Item For Sal... | 16162532 | 595 days ago | IN | 0 ETH | 0.00238921 | ||||
Delist Item | 16160979 | 596 days ago | IN | 0 ETH | 0.00062461 | ||||
Delist Item | 16160973 | 596 days ago | IN | 0 ETH | 0.00076305 | ||||
Delist Item | 16160966 | 596 days ago | IN | 0 ETH | 0.00057131 | ||||
Put Item For Sal... | 16064022 | 609 days ago | IN | 0 ETH | 0.00173423 | ||||
Put Item For Sal... | 16053169 | 611 days ago | IN | 0 ETH | 0.0017464 | ||||
Delist Item | 16053126 | 611 days ago | IN | 0 ETH | 0.00046724 | ||||
Put Item For Sal... | 16005909 | 617 days ago | IN | 0 ETH | 0.00206612 | ||||
Buy Item | 16004856 | 617 days ago | IN | 0.25555 ETH | 0.00505341 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16190683 | 592 days ago | 0.00444497 ETH | ||||
16190683 | 592 days ago | 0.19553644 ETH | ||||
16190683 | 592 days ago | 0.00001857 ETH | ||||
16004856 | 617 days ago | 0.00567957 ETH | ||||
16004856 | 617 days ago | 0.24984669 ETH | ||||
16004856 | 617 days ago | 0.00002373 ETH | ||||
15960179 | 624 days ago | 0.00666746 ETH | ||||
15960179 | 624 days ago | 0.29330466 ETH | ||||
15960179 | 624 days ago | 0.00002786 ETH | ||||
15912696 | 630 days ago | 0.00567957 ETH | ||||
15912696 | 630 days ago | 0.24984669 ETH | ||||
15912696 | 630 days ago | 0.00002373 ETH | ||||
15912665 | 630 days ago | 0.00246644 ETH | ||||
15912665 | 630 days ago | 0.0928891 ETH | ||||
15912665 | 630 days ago | 0.00464445 ETH | ||||
15912663 | 630 days ago | 0.00567957 ETH | ||||
15912663 | 630 days ago | 0.24984669 ETH | ||||
15912663 | 630 days ago | 0.00002373 ETH | ||||
15820504 | 643 days ago | 0.00666746 ETH | ||||
15820504 | 643 days ago | 0.29330466 ETH | ||||
15820504 | 643 days ago | 0.00002786 ETH | ||||
15817979 | 644 days ago | 0.00246644 ETH | ||||
15817979 | 644 days ago | 0.0928891 ETH | ||||
15817979 | 644 days ago | 0.00464445 ETH | ||||
15816880 | 644 days ago | 0.00666746 ETH |
Loading...
Loading
Contract Name:
HexArtMarket
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
Yes with 369 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: None pragma solidity ^0.8.1; import "@openzeppelin/contracts/access/Ownable.sol"; interface HexArts { function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address, uint256); function transferNFT( uint256 _tokenId, address _from, address _to ) external returns (bool); function getApproved(uint256 tokenId) external view returns (address); function ownerOf(uint256 tokenId) external view returns (address); } interface FeesCollector { function manageHexArtFees(uint256 value) external; function manageArtistFees(uint256 value) external; } contract HexArtMarket is Ownable { HexArts public hexArtAddress; FeesCollector public feeCollectorAddress; struct ItemForSale { uint256 id; uint256 tokenId; address payable seller; uint256 price; bool isSold; } uint256 public totalFeeShare = 2222; // 2.222 Percentage address payable internal fee; ItemForSale[] public itemsForSale; mapping(uint256 => bool) public activeItems; mapping(uint256 => address) public nftBuyer; constructor(address _hexArt, address payable _feeCollector) { hexArtAddress = HexArts(_hexArt); feeCollectorAddress = FeesCollector(_feeCollector); fee = _feeCollector; } ///Modifier, Check if NFT listed for sale modifier ItemExists(uint256 id) { require( id < itemsForSale.length && itemsForSale[id].id == id, "NFT not listed for sale" ); _; } ///Modifier, Check NFT ownership modifier OnlyItemOwner(uint256 tokenId) { require( hexArtAddress.ownerOf(tokenId) == msg.sender, "Sender is not the owner of this NFT" ); _; } ///Modifier, Check if listed NFT is sold or not modifier IsForSale(uint256 id) { require(!itemsForSale[id].isSold, "Item is already sold"); require( activeItems[itemsForSale[id].tokenId], "Item is delisted for sale" ); _; } ///Modifier, Check if NFT is approved for this contract modifier HasTransferApproval(uint256 tokenId) { require( hexArtAddress.getApproved(tokenId) == address(this), "NFT not approved for this Marketplace" ); _; } event itemAddedForSale( uint256 id, address seller, uint256 tokenId, uint256 price ); event itemSold(uint256 id, address buyer, uint256 tokenId, uint256 price); event itemDelisted(uint256 id, uint256 tokenId, bool isActive); /** *@notice List NFT for sale *@param tokenId uint256, NFT ID *@param price(in wei) uint256, NFT selling price *@return uint(newItemId) */ function putItemForSale(uint256 tokenId, uint256 price) external OnlyItemOwner(tokenId) HasTransferApproval(tokenId) returns (uint256) { require(!activeItems[tokenId], "Item is already up for sale"); require(price > 0, "Price should be greater than 0"); uint256 newItemId = itemsForSale.length; itemsForSale.push( ItemForSale({ id: newItemId, tokenId: tokenId, seller: payable(msg.sender), price: price, isSold: false }) ); activeItems[tokenId] = true; assert(itemsForSale[newItemId].id == newItemId); emit itemAddedForSale(newItemId, msg.sender, tokenId, price); return newItemId; } /** * @notice Buy a NFT * @param id, index of NFT */ function buyItem(uint256 id) external payable ItemExists(id) IsForSale(id) { require(msg.value >= itemsForSale[id].price, "Not enough funds sent"); require( msg.sender != itemsForSale[id].seller, "Seller is not allowed to buy" ); itemsForSale[id].isSold = true; activeItems[itemsForSale[id].tokenId] = false; uint256 addShare = (msg.value * totalFeeShare) / 100000; uint256 sellerShare = msg.value - addShare; require( hexArtAddress.transferNFT( itemsForSale[id].tokenId, itemsForSale[id].seller, msg.sender ), "NFT purchase failed" ); nftBuyer[itemsForSale[id].tokenId] = msg.sender; (address _receiver, uint256 _royaltyAmount) = hexArtAddress.royaltyInfo( itemsForSale[id].tokenId, sellerShare ); uint256 _sellerShare = sellerShare - _royaltyAmount; uint256 _royaltyshare = (_royaltyAmount * 5) / 100; uint256 _finalRoyalty = _royaltyAmount - _royaltyshare; payable(_receiver).transfer(_finalRoyalty); itemsForSale[id].seller.transfer(_sellerShare); fee.transfer(addShare + _royaltyshare); feeCollectorAddress.manageHexArtFees(msg.value); feeCollectorAddress.manageArtistFees(_royaltyshare); emit itemSold( id, msg.sender, itemsForSale[id].tokenId, itemsForSale[id].price ); } /** * @notice Remove an NFT from sale * @param id, Index of NFT in itemsForSale * @param tokenId, NFT ID * @return uint256 */ function delistItem(uint256 id, uint256 tokenId) external OnlyItemOwner(tokenId) IsForSale(id) returns (uint256) { activeItems[itemsForSale[id].tokenId] = false; emit itemDelisted(id, tokenId, activeItems[itemsForSale[id].tokenId]); return tokenId; } /** @notice Check if hexart is listed on sale. @param _tokenId, hexart tokenId @return bool */ function isListed(uint256 _tokenId) external view returns (bool) { return activeItems[_tokenId]; } /** @notice Distribute penalty for asset removal */ function distibuteRemovalFee() external payable { fee.transfer(msg.value); feeCollectorAddress.manageArtistFees(msg.value); } /** @notice Get the last owner of a hexart. @param _tokenId, hexart tokenId @return address */ function getLastOwnerOfNft(uint256 _tokenId) external view returns (address) { return nftBuyer[_tokenId]; } /** *@notice Update Fee Collector contract address *@param _fee, new fee collector address */ function updateFeeCollector(address payable _fee) external onlyOwner { require(_fee != address(0), "Zero address is not allowed"); require(_fee != fee, "Cannot add the same address as feeCollector"); feeCollectorAddress = FeesCollector(_fee); fee = _fee; } }
// 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/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": 369 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_hexArt","type":"address"},{"internalType":"address payable","name":"_feeCollector","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"itemAddedForSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isActive","type":"bool"}],"name":"itemDelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"itemSold","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"activeItems","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"buyItem","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"delistItem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distibuteRemovalFee","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"feeCollectorAddress","outputs":[{"internalType":"contract FeesCollector","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getLastOwnerOfNft","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hexArtAddress","outputs":[{"internalType":"contract HexArts","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"itemsForSale","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address payable","name":"seller","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"isSold","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nftBuyer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"putItemForSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalFeeShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_fee","type":"address"}],"name":"updateFeeCollector","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526108ae6003553480156200001757600080fd5b50604051620018e3380380620018e38339810160408190526200003a91620000ed565b620000453362000084565b600180546001600160a01b039384166001600160a01b03199182161790915560028054929093169181168217909255600480549092161790556200012c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0381168114620000ea57600080fd5b50565b600080604083850312156200010157600080fd5b82516200010e81620000d4565b60208401519092506200012181620000d4565b809150509250929050565b6117a7806200013c6000396000f3fe6080604052600436106100f35760003560e01c8063ab1ee7411161008a578063f2fde38b11610059578063f2fde38b146102ed578063f4f357641461030d578063fc49875a1461032d578063fcce48831461034d57600080fd5b8063ab1ee74114610264578063d2c35ce81461029a578063e7fb74c7146102ba578063f108e225146102cd57600080fd5b80634a16c7d1116100c65780634a16c7d1146101a3578063715018a6146101f15780638da5cb5b146102065780639c318c7b1461022457600080fd5b8063092d0afc146100f85780630ece212114610155578063127dc25114610183578063221a4a5614610199575b600080fd5b34801561010457600080fd5b506101186101133660046115de565b61037d565b6040805195865260208601949094526001600160a01b039092169284019290925260608301919091521515608082015260a0015b60405180910390f35b34801561016157600080fd5b506101756101703660046115f7565b6103cb565b60405190815260200161014c565b34801561018f57600080fd5b5061017560035481565b6101a161067f565b005b3480156101af57600080fd5b506101d96101be3660046115de565b6007602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161014c565b3480156101fd57600080fd5b506101a1610718565b34801561021257600080fd5b506000546001600160a01b03166101d9565b34801561023057600080fd5b5061025461023f3660046115de565b60066020526000908152604090205460ff1681565b604051901515815260200161014c565b34801561027057600080fd5b506101d961027f3660046115de565b6000908152600760205260409020546001600160a01b031690565b3480156102a657600080fd5b506101a16102b536600461162e565b61077e565b6101a16102c83660046115de565b6108cc565b3480156102d957600080fd5b506002546101d9906001600160a01b031681565b3480156102f957600080fd5b506101a161030836600461162e565b6110a8565b34801561031957600080fd5b506101756103283660046115f7565b611173565b34801561033957600080fd5b506001546101d9906001600160a01b031681565b34801561035957600080fd5b506102546103683660046115de565b60009081526006602052604090205460ff1690565b6005818154811061038d57600080fd5b60009182526020909120600590910201805460018201546002830154600384015460049094015492945090926001600160a01b039091169160ff1685565b6001546040516331a9108f60e11b815260048101839052600091839133916001600160a01b031690636352211e90602401602060405180830381865afa158015610419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043d9190611652565b6001600160a01b0316146104a45760405162461bcd60e51b815260206004820152602360248201527f53656e646572206973206e6f7420746865206f776e6572206f6620746869732060448201526213919560ea1b60648201526084015b60405180910390fd5b83600581815481106104b8576104b861166f565b600091825260209091206004600590920201015460ff16156105135760405162461bcd60e51b8152602060048201526014602482015273125d195b481a5cc8185b1c9958591e481cdbdb1960621b604482015260640161049b565b600660006005838154811061052a5761052a61166f565b906000526020600020906005020160010154815260200190815260200160002060009054906101000a900460ff166105a45760405162461bcd60e51b815260206004820152601960248201527f4974656d2069732064656c697374656420666f722073616c6500000000000000604482015260640161049b565b600060066000600588815481106105bd576105bd61166f565b906000526020600020906005020160010154815260200190815260200160002060006101000a81548160ff0219169083151502179055507f4efa0dd83d15539f501cca2312bff792a092d2dafc58d7c1d9ed929b64f5e8e385856006600060058a8154811061062e5761062e61166f565b6000918252602080832060016005909302019190910154835282810193909352604091820190205481519485529184019290925260ff1615159082015260600160405180910390a150919392505050565b6004546040516001600160a01b03909116903480156108fc02916000818181858888f193505050501580156106b8573d6000803e3d6000fd5b50600254604051636a8efaed60e01b81523460048201526001600160a01b0390911690636a8efaed90602401600060405180830381600087803b1580156106fe57600080fd5b505af1158015610712573d6000803e3d6000fd5b50505050565b6000546001600160a01b031633146107725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049b565b61077c600061158e565b565b6000546001600160a01b031633146107d85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049b565b6001600160a01b03811661082e5760405162461bcd60e51b815260206004820152601b60248201527f5a65726f2061646472657373206973206e6f7420616c6c6f7765640000000000604482015260640161049b565b6004546001600160a01b03908116908216036108a05760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f7420616464207468652073616d652061646472657373206173206660448201526a32b2a1b7b63632b1ba37b960a91b606482015260840161049b565b600280546001600160a01b039092166001600160a01b0319928316811790915560048054909216179055565b600554819081108015610902575080600582815481106108ee576108ee61166f565b906000526020600020906005020160000154145b61094e5760405162461bcd60e51b815260206004820152601760248201527f4e4654206e6f74206c697374656420666f722073616c65000000000000000000604482015260640161049b565b81600581815481106109625761096261166f565b600091825260209091206004600590920201015460ff16156109bd5760405162461bcd60e51b8152602060048201526014602482015273125d195b481a5cc8185b1c9958591e481cdbdb1960621b604482015260640161049b565b60066000600583815481106109d4576109d461166f565b906000526020600020906005020160010154815260200190815260200160002060009054906101000a900460ff16610a4e5760405162461bcd60e51b815260206004820152601960248201527f4974656d2069732064656c697374656420666f722073616c6500000000000000604482015260640161049b565b60058381548110610a6157610a6161166f565b906000526020600020906005020160030154341015610ac25760405162461bcd60e51b815260206004820152601560248201527f4e6f7420656e6f7567682066756e64732073656e740000000000000000000000604482015260640161049b565b60058381548110610ad557610ad561166f565b60009182526020909120600260059092020101546001600160a01b03163303610b405760405162461bcd60e51b815260206004820152601c60248201527f53656c6c6572206973206e6f7420616c6c6f77656420746f2062757900000000604482015260640161049b565b600160058481548110610b5557610b5561166f565b906000526020600020906005020160040160006101000a81548160ff02191690831515021790555060006006600060058681548110610b9657610b9661166f565b906000526020600020906005020160010154815260200190815260200160002060006101000a81548160ff0219169083151502179055506000620186a060035434610be1919061169b565b610beb91906116ba565b90506000610bf982346116dc565b600154600580549293506001600160a01b0390911691632aafe132919088908110610c2657610c2661166f565b90600052602060002090600502016001015460058881548110610c4b57610c4b61166f565b600091825260209091206005909102016002015460405160e084901b7fffffffff0000000000000000000000000000000000000000000000000000000016815260048101929092526001600160a01b031660248201523360448201526064016020604051808303816000875af1158015610cc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ced91906116f3565b610d395760405162461bcd60e51b815260206004820152601360248201527f4e4654207075726368617365206661696c656400000000000000000000000000604482015260640161049b565b336007600060058881548110610d5157610d5161166f565b600091825260208083206005928302016001908101548552908401949094526040909201812080546001600160a01b0319166001600160a01b039586161790559154815492938493911691632a55205a918a908110610db257610db261166f565b906000526020600020906005020160010154856040518363ffffffff1660e01b8152600401610deb929190918252602082015260400190565b6040805180830381865afa158015610e07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2b9190611715565b90925090506000610e3c82856116dc565b905060006064610e4d84600561169b565b610e5791906116ba565b90506000610e6582856116dc565b6040519091506001600160a01b0386169082156108fc029083906000818181858888f19350505050158015610e9e573d6000803e3d6000fd5b5060058a81548110610eb257610eb261166f565b600091825260208220600260059092020101546040516001600160a01b039091169185156108fc02918691818181858888f19350505050158015610efa573d6000803e3d6000fd5b506004546001600160a01b03166108fc610f14848a611743565b6040518115909202916000818181858888f19350505050158015610f3c573d6000803e3d6000fd5b506002546040516309e8fd1d60e21b81523460048201526001600160a01b03909116906327a3f47490602401600060405180830381600087803b158015610f8257600080fd5b505af1158015610f96573d6000803e3d6000fd5b5050600254604051636a8efaed60e01b8152600481018690526001600160a01b039091169250636a8efaed9150602401600060405180830381600087803b158015610fe057600080fd5b505af1158015610ff4573d6000803e3d6000fd5b505050507ff5cd6af1a84d20f94426f2aa2d420b06231a715660d36dc2cb1f02b9ccd3c68d8a3360058d8154811061102e5761102e61166f565b90600052602060002090600502016001015460058e815481106110535761105361166f565b90600052602060002090600502016003015460405161109494939291909384526001600160a01b039290921660208401526040830152606082015260800190565b60405180910390a150505050505050505050565b6000546001600160a01b031633146111025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049b565b6001600160a01b0381166111675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161049b565b6111708161158e565b50565b6001546040516331a9108f60e11b815260048101849052600091849133916001600160a01b031690636352211e90602401602060405180830381865afa1580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e59190611652565b6001600160a01b0316146112475760405162461bcd60e51b815260206004820152602360248201527f53656e646572206973206e6f7420746865206f776e6572206f6620746869732060448201526213919560ea1b606482015260840161049b565b60015460405163020604bf60e21b815260048101869052859130916001600160a01b039091169063081812fc90602401602060405180830381865afa158015611294573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b89190611652565b6001600160a01b03161461131c5760405162461bcd60e51b815260206004820152602560248201527f4e4654206e6f7420617070726f76656420666f722074686973204d61726b6574604482015264706c61636560d81b606482015260840161049b565b60008581526006602052604090205460ff161561137b5760405162461bcd60e51b815260206004820152601b60248201527f4974656d20697320616c726561647920757020666f722073616c650000000000604482015260640161049b565b600084116113cb5760405162461bcd60e51b815260206004820152601e60248201527f50726963652073686f756c642062652067726561746572207468616e20300000604482015260640161049b565b600580546040805160a08101825282815260208082018a815233838501908152606084018b81526000608086018181526001808a018b558a83529651898b027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db081019190915594517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db186015592517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db2850180546001600160a01b03929092166001600160a01b031990921691909117905590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db384015590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db4909201805492151560ff199384161790558b8152600690925292902080549092161790558154909182918290811061151f5761151f61166f565b9060005260206000209060050201600001541461153e5761153e61175b565b60408051828152336020820152908101879052606081018690527f89e578a57dfaa27223ecfc471d68a9ecf849743447fa86941f27b4be2504fd559060800160405180910390a195945050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156115f057600080fd5b5035919050565b6000806040838503121561160a57600080fd5b50508035926020909101359150565b6001600160a01b038116811461117057600080fd5b60006020828403121561164057600080fd5b813561164b81611619565b9392505050565b60006020828403121561166457600080fd5b815161164b81611619565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156116b5576116b5611685565b500290565b6000826116d757634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156116ee576116ee611685565b500390565b60006020828403121561170557600080fd5b8151801515811461164b57600080fd5b6000806040838503121561172857600080fd5b825161173381611619565b6020939093015192949293505050565b6000821982111561175657611756611685565b500190565b634e487b7160e01b600052600160045260246000fdfea2646970667358221220a997e2dc96193d3b5dc69c33b201a2526324388b848e023d652c037d621a0a1764736f6c634300080e0033000000000000000000000000297f6fd8768bc42be762557580473f8f2b04ecb000000000000000000000000001dd2e0e174898856fbcf9cf1b3e17e3c12bc622
Deployed Bytecode
0x6080604052600436106100f35760003560e01c8063ab1ee7411161008a578063f2fde38b11610059578063f2fde38b146102ed578063f4f357641461030d578063fc49875a1461032d578063fcce48831461034d57600080fd5b8063ab1ee74114610264578063d2c35ce81461029a578063e7fb74c7146102ba578063f108e225146102cd57600080fd5b80634a16c7d1116100c65780634a16c7d1146101a3578063715018a6146101f15780638da5cb5b146102065780639c318c7b1461022457600080fd5b8063092d0afc146100f85780630ece212114610155578063127dc25114610183578063221a4a5614610199575b600080fd5b34801561010457600080fd5b506101186101133660046115de565b61037d565b6040805195865260208601949094526001600160a01b039092169284019290925260608301919091521515608082015260a0015b60405180910390f35b34801561016157600080fd5b506101756101703660046115f7565b6103cb565b60405190815260200161014c565b34801561018f57600080fd5b5061017560035481565b6101a161067f565b005b3480156101af57600080fd5b506101d96101be3660046115de565b6007602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161014c565b3480156101fd57600080fd5b506101a1610718565b34801561021257600080fd5b506000546001600160a01b03166101d9565b34801561023057600080fd5b5061025461023f3660046115de565b60066020526000908152604090205460ff1681565b604051901515815260200161014c565b34801561027057600080fd5b506101d961027f3660046115de565b6000908152600760205260409020546001600160a01b031690565b3480156102a657600080fd5b506101a16102b536600461162e565b61077e565b6101a16102c83660046115de565b6108cc565b3480156102d957600080fd5b506002546101d9906001600160a01b031681565b3480156102f957600080fd5b506101a161030836600461162e565b6110a8565b34801561031957600080fd5b506101756103283660046115f7565b611173565b34801561033957600080fd5b506001546101d9906001600160a01b031681565b34801561035957600080fd5b506102546103683660046115de565b60009081526006602052604090205460ff1690565b6005818154811061038d57600080fd5b60009182526020909120600590910201805460018201546002830154600384015460049094015492945090926001600160a01b039091169160ff1685565b6001546040516331a9108f60e11b815260048101839052600091839133916001600160a01b031690636352211e90602401602060405180830381865afa158015610419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043d9190611652565b6001600160a01b0316146104a45760405162461bcd60e51b815260206004820152602360248201527f53656e646572206973206e6f7420746865206f776e6572206f6620746869732060448201526213919560ea1b60648201526084015b60405180910390fd5b83600581815481106104b8576104b861166f565b600091825260209091206004600590920201015460ff16156105135760405162461bcd60e51b8152602060048201526014602482015273125d195b481a5cc8185b1c9958591e481cdbdb1960621b604482015260640161049b565b600660006005838154811061052a5761052a61166f565b906000526020600020906005020160010154815260200190815260200160002060009054906101000a900460ff166105a45760405162461bcd60e51b815260206004820152601960248201527f4974656d2069732064656c697374656420666f722073616c6500000000000000604482015260640161049b565b600060066000600588815481106105bd576105bd61166f565b906000526020600020906005020160010154815260200190815260200160002060006101000a81548160ff0219169083151502179055507f4efa0dd83d15539f501cca2312bff792a092d2dafc58d7c1d9ed929b64f5e8e385856006600060058a8154811061062e5761062e61166f565b6000918252602080832060016005909302019190910154835282810193909352604091820190205481519485529184019290925260ff1615159082015260600160405180910390a150919392505050565b6004546040516001600160a01b03909116903480156108fc02916000818181858888f193505050501580156106b8573d6000803e3d6000fd5b50600254604051636a8efaed60e01b81523460048201526001600160a01b0390911690636a8efaed90602401600060405180830381600087803b1580156106fe57600080fd5b505af1158015610712573d6000803e3d6000fd5b50505050565b6000546001600160a01b031633146107725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049b565b61077c600061158e565b565b6000546001600160a01b031633146107d85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049b565b6001600160a01b03811661082e5760405162461bcd60e51b815260206004820152601b60248201527f5a65726f2061646472657373206973206e6f7420616c6c6f7765640000000000604482015260640161049b565b6004546001600160a01b03908116908216036108a05760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f7420616464207468652073616d652061646472657373206173206660448201526a32b2a1b7b63632b1ba37b960a91b606482015260840161049b565b600280546001600160a01b039092166001600160a01b0319928316811790915560048054909216179055565b600554819081108015610902575080600582815481106108ee576108ee61166f565b906000526020600020906005020160000154145b61094e5760405162461bcd60e51b815260206004820152601760248201527f4e4654206e6f74206c697374656420666f722073616c65000000000000000000604482015260640161049b565b81600581815481106109625761096261166f565b600091825260209091206004600590920201015460ff16156109bd5760405162461bcd60e51b8152602060048201526014602482015273125d195b481a5cc8185b1c9958591e481cdbdb1960621b604482015260640161049b565b60066000600583815481106109d4576109d461166f565b906000526020600020906005020160010154815260200190815260200160002060009054906101000a900460ff16610a4e5760405162461bcd60e51b815260206004820152601960248201527f4974656d2069732064656c697374656420666f722073616c6500000000000000604482015260640161049b565b60058381548110610a6157610a6161166f565b906000526020600020906005020160030154341015610ac25760405162461bcd60e51b815260206004820152601560248201527f4e6f7420656e6f7567682066756e64732073656e740000000000000000000000604482015260640161049b565b60058381548110610ad557610ad561166f565b60009182526020909120600260059092020101546001600160a01b03163303610b405760405162461bcd60e51b815260206004820152601c60248201527f53656c6c6572206973206e6f7420616c6c6f77656420746f2062757900000000604482015260640161049b565b600160058481548110610b5557610b5561166f565b906000526020600020906005020160040160006101000a81548160ff02191690831515021790555060006006600060058681548110610b9657610b9661166f565b906000526020600020906005020160010154815260200190815260200160002060006101000a81548160ff0219169083151502179055506000620186a060035434610be1919061169b565b610beb91906116ba565b90506000610bf982346116dc565b600154600580549293506001600160a01b0390911691632aafe132919088908110610c2657610c2661166f565b90600052602060002090600502016001015460058881548110610c4b57610c4b61166f565b600091825260209091206005909102016002015460405160e084901b7fffffffff0000000000000000000000000000000000000000000000000000000016815260048101929092526001600160a01b031660248201523360448201526064016020604051808303816000875af1158015610cc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ced91906116f3565b610d395760405162461bcd60e51b815260206004820152601360248201527f4e4654207075726368617365206661696c656400000000000000000000000000604482015260640161049b565b336007600060058881548110610d5157610d5161166f565b600091825260208083206005928302016001908101548552908401949094526040909201812080546001600160a01b0319166001600160a01b039586161790559154815492938493911691632a55205a918a908110610db257610db261166f565b906000526020600020906005020160010154856040518363ffffffff1660e01b8152600401610deb929190918252602082015260400190565b6040805180830381865afa158015610e07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2b9190611715565b90925090506000610e3c82856116dc565b905060006064610e4d84600561169b565b610e5791906116ba565b90506000610e6582856116dc565b6040519091506001600160a01b0386169082156108fc029083906000818181858888f19350505050158015610e9e573d6000803e3d6000fd5b5060058a81548110610eb257610eb261166f565b600091825260208220600260059092020101546040516001600160a01b039091169185156108fc02918691818181858888f19350505050158015610efa573d6000803e3d6000fd5b506004546001600160a01b03166108fc610f14848a611743565b6040518115909202916000818181858888f19350505050158015610f3c573d6000803e3d6000fd5b506002546040516309e8fd1d60e21b81523460048201526001600160a01b03909116906327a3f47490602401600060405180830381600087803b158015610f8257600080fd5b505af1158015610f96573d6000803e3d6000fd5b5050600254604051636a8efaed60e01b8152600481018690526001600160a01b039091169250636a8efaed9150602401600060405180830381600087803b158015610fe057600080fd5b505af1158015610ff4573d6000803e3d6000fd5b505050507ff5cd6af1a84d20f94426f2aa2d420b06231a715660d36dc2cb1f02b9ccd3c68d8a3360058d8154811061102e5761102e61166f565b90600052602060002090600502016001015460058e815481106110535761105361166f565b90600052602060002090600502016003015460405161109494939291909384526001600160a01b039290921660208401526040830152606082015260800190565b60405180910390a150505050505050505050565b6000546001600160a01b031633146111025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161049b565b6001600160a01b0381166111675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161049b565b6111708161158e565b50565b6001546040516331a9108f60e11b815260048101849052600091849133916001600160a01b031690636352211e90602401602060405180830381865afa1580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e59190611652565b6001600160a01b0316146112475760405162461bcd60e51b815260206004820152602360248201527f53656e646572206973206e6f7420746865206f776e6572206f6620746869732060448201526213919560ea1b606482015260840161049b565b60015460405163020604bf60e21b815260048101869052859130916001600160a01b039091169063081812fc90602401602060405180830381865afa158015611294573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b89190611652565b6001600160a01b03161461131c5760405162461bcd60e51b815260206004820152602560248201527f4e4654206e6f7420617070726f76656420666f722074686973204d61726b6574604482015264706c61636560d81b606482015260840161049b565b60008581526006602052604090205460ff161561137b5760405162461bcd60e51b815260206004820152601b60248201527f4974656d20697320616c726561647920757020666f722073616c650000000000604482015260640161049b565b600084116113cb5760405162461bcd60e51b815260206004820152601e60248201527f50726963652073686f756c642062652067726561746572207468616e20300000604482015260640161049b565b600580546040805160a08101825282815260208082018a815233838501908152606084018b81526000608086018181526001808a018b558a83529651898b027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db081019190915594517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db186015592517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db2850180546001600160a01b03929092166001600160a01b031990921691909117905590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db384015590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db4909201805492151560ff199384161790558b8152600690925292902080549092161790558154909182918290811061151f5761151f61166f565b9060005260206000209060050201600001541461153e5761153e61175b565b60408051828152336020820152908101879052606081018690527f89e578a57dfaa27223ecfc471d68a9ecf849743447fa86941f27b4be2504fd559060800160405180910390a195945050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156115f057600080fd5b5035919050565b6000806040838503121561160a57600080fd5b50508035926020909101359150565b6001600160a01b038116811461117057600080fd5b60006020828403121561164057600080fd5b813561164b81611619565b9392505050565b60006020828403121561166457600080fd5b815161164b81611619565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156116b5576116b5611685565b500290565b6000826116d757634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156116ee576116ee611685565b500390565b60006020828403121561170557600080fd5b8151801515811461164b57600080fd5b6000806040838503121561172857600080fd5b825161173381611619565b6020939093015192949293505050565b6000821982111561175657611756611685565b500190565b634e487b7160e01b600052600160045260246000fdfea2646970667358221220a997e2dc96193d3b5dc69c33b201a2526324388b848e023d652c037d621a0a1764736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000297f6fd8768bc42be762557580473f8f2b04ecb000000000000000000000000001dd2e0e174898856fbcf9cf1b3e17e3c12bc622
-----Decoded View---------------
Arg [0] : _hexArt (address): 0x297F6fD8768BC42bE762557580473f8F2B04ECb0
Arg [1] : _feeCollector (address): 0x01dd2e0E174898856fbcf9cf1b3E17E3C12bc622
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000297f6fd8768bc42be762557580473f8f2b04ecb0
Arg [1] : 00000000000000000000000001dd2e0e174898856fbcf9cf1b3e17e3c12bc622
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.