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">>;
  getHookTransactionFee: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getHookTransactionFee">>;
  ownerOf: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "ownerOf">>;
};

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

Properties

channelExists()

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

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

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:127

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:91

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:109

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:95

Parameters

args

ReadContractParameters<ChannelManagerABIType, "getChannelMetadata">

Returns

Promise<ReadContractReturnType<ChannelManagerABIType, "getChannelMetadata">>


getHookTransactionFee()

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

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

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:105

Parameters

args

ReadContractParameters<ChannelManagerABIType, "ownerOf">

Returns

Promise<ReadContractReturnType<ChannelManagerABIType, "ownerOf">>