Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / channel-manager

channel-manager

Ethereum Comments Protocol SDK Channel Manager Core functionality for managing comment channels

Type Aliases

Type AliasDescription
ChannelExistsParams-
CreateChannelParams-
CreateChannelResult-
DeductProtocolHookTransactionFeeParams-
DeductProtocolHookTransactionFeeResult-
GetChannelCreationFeeParams-
GetChannelCreationFeeResult-
GetChannelMetadataParams-
GetChannelMetadataResult-
GetChannelParams-
GetChannelResult-
GetHookTransactionFeeParams-
GetHookTransactionFeeResult-
OwnerOfParams-
OwnerOfResult-
SetBaseURIParams-
SetBaseURIResult-
SetChannelCreationFeeParams-
SetChannelCreationFeeResult-
SetHookParams-
SetHookResult-
SetHookTransactionFeeParams-
SetHookTransactionFeeResult-
UpdateChannelParams-
UpdateChannelResult-
WithdrawFeesParams-
WithdrawFeesResult-

Variables

VariableDescription
createChannelCreate a new channel
updateChannelUpdate a channel

Functions

FunctionDescription
channelExistsCheck if a channel exists
deductProtocolHookTransactionFeeCalculates the hook transaction fee by deducting the protocol fee
getChannelGet a channel
getChannelCreationFeeGet the creation fee from channel manager
getChannelMetadataGet channel metadata
getHookTransactionFeeGet the hook transaction fee from channel manager
ownerOfGet the owner of a channel
setBaseURISets the base URI for NFT metadata
setChannelCreationFeeSet the fee for creating a new channel
setHookSet the hook for a channel
setHookTransactionFeeSet the percentage of the fee for the hook transaction
withdrawFeesWithdraws 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