Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / comments / UpdateChannelContractParams

Type Alias: UpdateChannelContractParams

type UpdateChannelContractParams = {
  channelContract: Hex;
  commentsContractAddress?: Hex;
  writeContract: ContractWriteFunctions["updateChannelContract"];
};

Defined in: packages/sdk/src/comments/contract.ts:7

Properties

channelContract

channelContract: Hex;

Defined in: packages/sdk/src/comments/contract.ts:11

The new channel manager contract address


commentsContractAddress?

optional commentsContractAddress: Hex;

Defined in: packages/sdk/src/comments/contract.ts:16

The address of the comments contract

Default

COMMENT_MANAGER_ADDRESS

writeContract

writeContract: ContractWriteFunctions["updateChannelContract"];

Defined in: packages/sdk/src/comments/contract.ts:17