MemeCommodities
Verified contract
Active on
Base with 95 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($1,089.36)
Native
Value
$1,089.36
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Eth | Native | 0.284884 | $3,823.85 |
$1,089.36 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 10501516 | 10 months ago | | | 0.0001375 | 0.000076656045 | |
| 10500655 | 10 months ago | | | 0.000309375 | 0.000076656045 | |
| 10331500 | 10 months ago | | | 0.002278125 | 0.000059843033 | |
| 10331384 | 10 months ago | | | 0.006215625 | 0.000064643037 | |
| 9807181 | 10 months ago | | | 0.002165625 | 0.000059843032 | |
| 9746738 | 10 months ago | | | 0.002278125 | 0.000059843032 | |
| 9716061 | 10 months ago | | | 0.012409375 | 0.000076656040 | |
| 9716040 | 10 months ago | | | 0.000034375 | 0.000076644040 | |
| 9703471 | 10 months ago | | | 0.0001375 | 0.000076656044 | |
| 9703421 | 10 months ago | | | 0.0065 | 0.00021959013 |
ABI
ABI objects
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(bytes32) view returns (address curator, string creator, string ticker, string description)
getBuyPrice(bytes32 commodityId, uint256 amount) view returns (uint256)
getBuyPriceAfterFee(bytes32 commodityId, uint256 amount) view returns (uint256)
getPrice(uint256 supply, uint256 amount) pure returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getSellPrice(bytes32 commodityId, uint256 amount) view returns (uint256)
getSellPriceAfterFee(bytes32 commodityId, uint256 amount) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
sharesBalance(bytes32, address) view returns (uint256)
sharesSupply(bytes32) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events buyShares(bytes32 commodityId, uint256 amount) payable
createCommodity(struct MemeCommoditiesCommodityData commodity) payable
grantRole(bytes32 role, address account)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
sellShares(bytes32 commodityId, uint256 amount) payable
setCommodityCreationFee(uint256 newFee)
setFeeBP(uint256 newFeePercent)
setFeeDestination(address newDestination)
CommodityCreated(bytes32 indexed id, address curator, string creator, string ticker, string description)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Trade(address trader, bytes32 commodityId, bool isBuy, uint256 shareAmount, uint256 ethAmount, uint256 protocolEthAmount, uint256 supply)
constructor(uint256 _protocolFeeBP, uint256 _commodityCreationFee, address _protocolFeeDestination, address admin, address commodityCreator)
This contract contains no fallback and receive objects.
This contract contains no error objects.