MemeCommodities

Verified contract

Active on Base with 95 txns
Deployed by via 0x62593203 at 5221004
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $1,089.36
0xb3f3735e19093c0bf16069f502fd6934ff6ad2e0170a9b152d49b212659a0f5b
0x77eeb44b9ee57a8d97a42a6855213d045511d5d34e03f60bf3827464c2abc61e
0xbf6c02eb4cca32c7bc1b7e038869536755e01e8eaf153818aed5ea68936d975f
0x6f6b94a38b035c0265f6cacb3b2a071be4cb431dfaf0604806331d44a8281bd6
0xb65c732434476b90458df96546b326304bb338ef406a21d16b993d03539e02d5
0x32e0131d1feab3c956f02d948822d3baa870ac98a8467341f730dd2bd66cd92c
0x1aba1bbb8020ddf66e76a7b64f5dd848f67b1ec3c79dee576dad192fa1f62423
0x2d1f4245b647b7f3e1c8be928a1ee592ef911d40bd96e06981b21114a91c8ab9
0xc411bf5dc56babee5c67a2ffedae230fd2a375b42765e88add8cffc29c81c64d
0x5817024c616b8a0364e51138a968c806de48fced92d3c5fe6d1aac0fb1edc286

Functions
Getter at block 23284367
COMMODITY_CREATOR_ROLE(view returns (bytes32)
0x50c281de1d028cf7588de11522fc229bbf4dcf954e758d23945b77ebf47a2e71
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
VANITY_MEME_CREATOR(view returns (bytes32)
0x51135d02bb40af4f82a07e5a96736d5b4386bd89c8f7b2d8318f787c24f35cf6
VANITY_TICKER_CUTOFF(view returns (uint8)
3
commodityCreationFee(view returns (uint256)
6500000000000000
protocolFeeBP(view returns (uint256)
1000
protocolFeeDestination(view returns (address)
0xed49c1bd9474febb7eb0a0036fecd969794dabff
Read-only
commodityData(bytes32view returns (address curatorstring creatorstring tickerstring description)
getBuyPrice(bytes32 commodityIduint256 amountview returns (uint256)
getBuyPriceAfterFee(bytes32 commodityIduint256 amountview returns (uint256)
getPrice(uint256 supplyuint256 amountpure returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getSellPrice(bytes32 commodityIduint256 amountview returns (uint256)
getSellPriceAfterFee(bytes32 commodityIduint256 amountview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
sharesBalance(bytes32addressview returns (uint256)
sharesSupply(bytes32view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
buyShares(bytes32 commodityIduint256 amountpayable 
createCommodity(struct MemeCommoditiesCommodityData commoditypayable 
grantRole(bytes32 roleaddress account
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
sellShares(bytes32 commodityIduint256 amountpayable 
setCommodityCreationFee(uint256 newFee
setFeeBP(uint256 newFeePercent
setFeeDestination(address newDestination
Events
CommodityCreated(bytes32 indexed idaddress curatorstring creatorstring tickerstring description
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Trade(address traderbytes32 commodityIdbool isBuyuint256 shareAmountuint256 ethAmountuint256 protocolEthAmountuint256 supply
Constructor
constructor(uint256 _protocolFeeBPuint256 _commodityCreationFeeaddress _protocolFeeDestinationaddress adminaddress commodityCreator
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.