@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">>;
getChannelOwner: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getChannelOwner">>;
getHookTransactionFee: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getHookTransactionFee">>;
};
Defined in: packages/sdk/src/channel-manager/types.ts:89
Properties
channelExists()
channelExists: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "channelExists">>;
Defined in: packages/sdk/src/channel-manager/types.ts:94
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:122
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:90
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:104
Parameters
args
ReadContractParameters
<ChannelManagerABIType
, "getChannelCreationFee"
>
Returns
Promise
<ReadContractReturnType
<ChannelManagerABIType
, "getChannelCreationFee"
>>
getChannelOwner()
getChannelOwner: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getChannelOwner">>;
Defined in: packages/sdk/src/channel-manager/types.ts:98
Parameters
args
ReadContractParameters
<ChannelManagerABIType
, "getChannelOwner"
>
Returns
Promise
<ReadContractReturnType
<ChannelManagerABIType
, "getChannelOwner"
>>
getHookTransactionFee()
getHookTransactionFee: (args) => Promise<ReadContractReturnType<ChannelManagerABIType, "getHookTransactionFee">>;
Defined in: packages/sdk/src/channel-manager/types.ts:113
Parameters
args
ReadContractParameters
<ChannelManagerABIType
, "getHookTransactionFee"
>
Returns
Promise
<ReadContractReturnType
<ChannelManagerABIType
, "getHookTransactionFee"
>>