XSquared

Verified contract

Active on Base with 92,914 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 7 additional slots
Native
Value $19,699.08
ERC-20
Value $0.06
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x79987668b03c6540017bdf09b58a419adde367be4a55de1f1f2effa21a349c0c
0x216a7b3517485e68d7acf4ddb83dbd7e45c10a1c6c34f21b71d5bb108028ac02
0xd09e271c9a6a8036b9837d328b7192460b4696d6aa9a12da9c9c883358dcdf51
0x51b510082fbd050b8c65e8336a9b1d70403ef776b5f221d5cacafca43cdda237
0xf6997c51f5fc457f135477f73af6b0f1e31e84296cd8b2ce9cbec0b9dadda0cc
0xc08f84a0f400b81850a92ca202d21bd937af6fe24127f5a0d48a898b65504efb
0xc0ec7074804877fa271edd7121689ce60d8b917f41631d47aa24defade9e4073
0x29e707065973ec949a1ce6228bccbca098c1846fa88292f75464b49e496b0bb8
0xe9d3ea801894067b94b1ca921f9612b84d0d06b11b1cbeb610d90cb484f4c827
0x51a3f17c5c8d08a35cdac1378e6c96b4e4b544a3ec1f7556fd50e422f34bd3b9

Functions
Getter at block 22906071
_collection(view returns (bytes32 iduint256 collectionFeeuint256 itemFeeaddress owneraddress feeDestinationaddress allowedItemCreatoruint256 slopeScaleuint256 slopeMagnitude)
(id=0xc0e6ccd5f74de3efa079599b04c62d712768dc824c10078479ae4d7bb68fadc5, collectionFee=500, itemFee=500, owner=0x98b5dfc86d3b72f6102a974be362a755767da9ce, feeDestination=0x2121432b1e39fb88802905a4184cbb0afd8c344b, allowedItemCreator=0x98b5dfc86d3b72f6102a974be362a755767da9ce, slopeScale=32, slopeMagnitude=3)
collection(view returns (struct IXSquaredCollection)
(0xc0e6ccd5f74de3efa079599b04c62d712768dc824c10078479ae4d7bb68fadc5, 500, 500, 0x98b5dfc86d3b72f6102a974be362a755767da9ce, 0x2121432b1e39fb88802905a4184cbb0afd8c344b, 0x98b5dfc86d3b72f6102a974be362a755767da9ce, 32, 3)
Read-only
_items(bytes32view returns (uint256 supplyaddress feeDestinationstring textbytes data)
balanceOf(bytes32addressview returns (uint256)
getBuyPrice(bytes32 itemuint256 amountview returns (uint256)
getBuyPriceAfterFee(bytes32 itemuint256 amountview returns (uint256)
getPrice(uint256 supplyuint256 amountview returns (uint256)
getSellPrice(bytes32 itemuint256 amountview returns (uint256)
getSellPriceAfterFee(bytes32 itemuint256 amountview returns (uint256)
items(bytes32 idview returns (struct IXSquaredItem)
State-modifying
buyItem(bytes32 itemuint256 amountpayable 
createItem(bytes32 itemaddress toaddress feeDestinationstring textbytes datapayable 
initialize(bytes32 iduint256 collectionFeeuint256 itemFeeaddress owneraddress feeDestinationaddress allowedItemCreatoruint256 slopeScaleuint256 slopeMagnitude
sellItem(bytes32 itemuint256 amountpayable 
updateCollection(uint256 collectionFeeuint256 itemFeeaddress owneraddress feeDestinationaddress allowedItemCreator
updateItem(bytes32 itemaddress feeDestination
Events
CollectionCreated(bytes32 collectionaddress creator
CollectionSettings(bytes32 collectionuint256 collectionFeePercentuint256 itemFeePercentaddress owneraddress feeDestinationaddress allowedItemCreator
ItemCreated(bytes32 collectionbytes32 itemaddress creatorstring textbytes data
ItemSettings(bytes32 collectionbytes32 itemaddress feeDestination
Trade(bytes32 collectionbytes32 itemaddress traderbool isBuyuint256 quantityuint256 supplyuint256 ethAmountaddress collectionFeeDestinationuint256 collectionFeeEthAmountaddress itemFeeDestinationuint256 itemFeeEthAmount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.