Comments Protocol Contract
The contracts are currently only deployed on the Monad testnet as we decide where to deploy the production contracts.
Comment Manager Contract Details
- Contract Address:
0xB7aF05daE28b4C96db996Cd4ceefdF9d4431D54d
- Networks:
- Contract ABI: View ABI Documentation
Comment Manager Contract Functions
Function | Description | Note |
---|---|---|
postCommentAsAuthor | Post a comment directly from the author's address | |
postComment | Post a comment with both author and app signer signatures | |
deleteCommentAsAuthor | Delete a comment when called by the author | ⚠️ Deleted data may still be traceable or recoverable on-chain |
deleteComment | Delete a comment with signature verification | ⚠️ Deleted data may still be traceable or recoverable on-chain |
addApprovalAsAuthor | Approve an app signer directly | |
revokeApprovalAsAuthor | Remove an app signer approval directly |
For detailed information about all functions, events, and structs, please refer to the Contract ABI Documentation.
Channel Manager Contract Details
- Contract Address:
0x0c47bb07B152F698612A0CdC89D1510B0a8c6E30
- Networks:
- Contract ABI: View ABI Documentation
ChannelManager Contract Functions
Function | Description | Note |
---|---|---|
createChannel | Creates a new channel with specified name, description, metadata, and optional hook | Requires channel creation fee |
updateChannel | Updates an existing channel's name, description, and metadata | Only callable by channel owner |
setHook | Sets or updates a hook contract for a channel | Only callable by channel owner |
getChannel | Retrieves channel information including name, description, metadata, and hook address | |
executeHook | Executes channel hooks for comment operations | Normally called by the Comments contract |
channelExists | Checks if a channel ID exists | |
getChannelOwner | Gets the owner address of a channel | |
updateCommentsContract | Updates the address of the Comments contract | Only callable by contract owner |
setBaseURI | Sets the base URI for token metadata | Only callable by contract owner |
For detailed information about all functions, events, and structs, please refer to the Contract ABI Documentation.