Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / channel-manager/types / ContractReadFunctions

Type Alias: ContractReadFunctions

type ContractReadFunctions = {
  channelExists: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "channelExists">>;
  deductProtocolHookTransactionFee: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "deductProtocolHookTransactionFee">>;
  getChannel: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getChannel">>;
  getChannelCreationFee: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getChannelCreationFee">>;
  getChannelMetadata: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getChannelMetadata">>;
  getCommentCreationFee: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getCommentCreationFee">>;
  getHookTransactionFee: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getHookTransactionFee">>;
  ownerOf: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "ownerOf">>;
};

Defined in: packages/sdk/src/channel-manager/types.ts:99

Properties

channelExists()

channelExists: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "channelExists">>;

Defined in: packages/sdk/src/channel-manager/types.ts:110

Parameters

args

ReadContractParameters<ChannelManagerABIType, "channelExists">

Returns

Promise<ReadContractReturnType<ChannelManagerABIType, "channelExists">>


deductProtocolHookTransactionFee()

deductProtocolHookTransactionFee: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "deductProtocolHookTransactionFee">>;

Defined in: packages/sdk/src/channel-manager/types.ts:145

Parameters

args

ReadContractParameters<ChannelManagerABIType, "deductProtocolHookTransactionFee">

Returns

Promise<ReadContractReturnType<ChannelManagerABIType, "deductProtocolHookTransactionFee">>


getChannel()

getChannel: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getChannel">>;

Defined in: packages/sdk/src/channel-manager/types.ts:100

Parameters

args

ReadContractParameters<ChannelManagerABIType, "getChannel">

Returns

Promise<ReadContractReturnType<ChannelManagerABIType, "getChannel">>


getChannelCreationFee()

getChannelCreationFee: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getChannelCreationFee">>;

Defined in: packages/sdk/src/channel-manager/types.ts:118

Parameters

args

ReadContractParameters<ChannelManagerABIType, "getChannelCreationFee">

Returns

Promise<ReadContractReturnType<ChannelManagerABIType, "getChannelCreationFee">>


getChannelMetadata()

getChannelMetadata: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getChannelMetadata">>;

Defined in: packages/sdk/src/channel-manager/types.ts:104

Parameters

args

ReadContractParameters<ChannelManagerABIType, "getChannelMetadata">

Returns

Promise<ReadContractReturnType<ChannelManagerABIType, "getChannelMetadata">>


getCommentCreationFee()

getCommentCreationFee: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getCommentCreationFee">>;

Defined in: packages/sdk/src/channel-manager/types.ts:127

Parameters

args

ReadContractParameters<ChannelManagerABIType, "getCommentCreationFee">

Returns

Promise<ReadContractReturnType<ChannelManagerABIType, "getCommentCreationFee">>


getHookTransactionFee()

getHookTransactionFee: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getHookTransactionFee">>;

Defined in: packages/sdk/src/channel-manager/types.ts:136

Parameters

args

ReadContractParameters<ChannelManagerABIType, "getHookTransactionFee">

Returns

Promise<ReadContractReturnType<ChannelManagerABIType, "getHookTransactionFee">>


ownerOf()

ownerOf: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "ownerOf">>;

Defined in: packages/sdk/src/channel-manager/types.ts:114

Parameters

args

ReadContractParameters<ChannelManagerABIType, "ownerOf">

Returns

Promise<ReadContractReturnType<ChannelManagerABIType, "ownerOf">>