@ecp.eth/sdk / channel-manager
channel-manager
Ethereum Comments Protocol SDK Channel Manager Core functionality for managing comment channels
Type Aliases
Variables
Variable | Description |
---|---|
createChannel | Create a new channel |
updateChannel | Update a channel |
Functions
Function | Description |
---|---|
channelExists | Check if a channel exists |
deductProtocolHookTransactionFee | Calculates the hook transaction fee by deducting the protocol fee |
getChannel | Get a channel |
getChannelCreationFee | Get the creation fee from channel manager |
getChannelMetadata | Get channel metadata |
getHookTransactionFee | Get the hook transaction fee from channel manager |
ownerOf | Get the owner of a channel |
setBaseURI | Sets the base URI for NFT metadata |
setChannelCreationFee | Set the fee for creating a new channel |
setHook | Set the hook for a channel |
setHookTransactionFee | Set the percentage of the fee for the hook transaction |
withdrawFees | Withdraws accumulated fees to a specified address |
References
Channel
Re-exports Channel
ChannelManagerABIType
Re-exports ChannelManagerABIType
ChannelPermissions
Re-exports ChannelPermissions
ContractReadFunctions
Re-exports ContractReadFunctions
ContractWriteFunctions
Re-exports ContractWriteFunctions