@ecp.eth/sdk / comments / ContractReadFunctions
Type Alias: ContractReadFunctions
type ContractReadFunctions = {
channelManager: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "channelManager">>;
DOMAIN_SEPARATOR: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "DOMAIN_SEPARATOR">>;
getAddApprovalHash: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getAddApprovalHash">>;
getComment: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getComment">>;
getCommentId: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getCommentId">>;
getDeleteCommentHash: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getDeleteCommentHash">>;
getEditCommentHash: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getEditCommentHash">>;
getIsApproved: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "isApproved">>;
getNonce: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getNonce">>;
getRemoveApprovalHash: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getRemoveApprovalHash">>;
name: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "name">>;
version: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "version">>;
};Defined in: packages/sdk/src/comments/types.ts:246
Properties
channelManager()
channelManager: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "channelManager">>;Defined in: packages/sdk/src/comments/types.ts:304
Parameters
args
ReadContractParameters<CommentManagerABIType, "channelManager">
Returns
Promise<ReadContractReturnType<CommentManagerABIType, "channelManager">>
DOMAIN_SEPARATOR()
DOMAIN_SEPARATOR: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "DOMAIN_SEPARATOR">>;Defined in: packages/sdk/src/comments/types.ts:298
Parameters
args
ReadContractParameters<CommentManagerABIType, "DOMAIN_SEPARATOR">
Returns
Promise<ReadContractReturnType<CommentManagerABIType, "DOMAIN_SEPARATOR">>
getAddApprovalHash()
getAddApprovalHash: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getAddApprovalHash">>;Defined in: packages/sdk/src/comments/types.ts:247
Parameters
args
ReadContractParameters<CommentManagerABIType, "getAddApprovalHash">
Returns
Promise<ReadContractReturnType<CommentManagerABIType, "getAddApprovalHash">>
getComment()
getComment: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getComment">>;Defined in: packages/sdk/src/comments/types.ts:278
Parameters
args
ReadContractParameters<CommentManagerABIType, "getComment">
Returns
Promise<ReadContractReturnType<CommentManagerABIType, "getComment">>
getCommentId()
getCommentId: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getCommentId">>;Defined in: packages/sdk/src/comments/types.ts:274
Parameters
args
ReadContractParameters<CommentManagerABIType, "getCommentId">
Returns
Promise<ReadContractReturnType<CommentManagerABIType, "getCommentId">>
getDeleteCommentHash()
getDeleteCommentHash: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getDeleteCommentHash">>;Defined in: packages/sdk/src/comments/types.ts:262
Parameters
args
ReadContractParameters<CommentManagerABIType, "getDeleteCommentHash">
Returns
Promise<ReadContractReturnType<CommentManagerABIType, "getDeleteCommentHash">>
getEditCommentHash()
getEditCommentHash: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getEditCommentHash">>;Defined in: packages/sdk/src/comments/types.ts:268
Parameters
args
ReadContractParameters<CommentManagerABIType, "getEditCommentHash">
Returns
Promise<ReadContractReturnType<CommentManagerABIType, "getEditCommentHash">>
getIsApproved()
getIsApproved: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "isApproved">>;Defined in: packages/sdk/src/comments/types.ts:282
Parameters
args
ReadContractParameters<CommentManagerABIType, "isApproved">
Returns
Promise<ReadContractReturnType<CommentManagerABIType, "isApproved">>
getNonce()
getNonce: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getNonce">>;Defined in: packages/sdk/src/comments/types.ts:286
Parameters
args
ReadContractParameters<CommentManagerABIType, "getNonce">
Returns
Promise<ReadContractReturnType<CommentManagerABIType, "getNonce">>
getRemoveApprovalHash()
getRemoveApprovalHash: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "getRemoveApprovalHash">>;Defined in: packages/sdk/src/comments/types.ts:253
Parameters
args
ReadContractParameters<CommentManagerABIType, "getRemoveApprovalHash">
Returns
Promise<ReadContractReturnType<CommentManagerABIType, "getRemoveApprovalHash">>
name()
name: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "name">>;Defined in: packages/sdk/src/comments/types.ts:290
Parameters
args
ReadContractParameters<CommentManagerABIType, "name">
Returns
Promise<ReadContractReturnType<CommentManagerABIType, "name">>
version()
version: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "version">>;Defined in: packages/sdk/src/comments/types.ts:294
Parameters
args
ReadContractParameters<CommentManagerABIType, "version">
Returns
Promise<ReadContractReturnType<CommentManagerABIType, "version">>