Skip to content

@ecp.eth/sdk


@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:237

Properties

channelManager()

channelManager: (args) => Promise<ReadContractReturnType<CommentManagerABIType, "channelManager">>;

Defined in: packages/sdk/src/comments/types.ts:295

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

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

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

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

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

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

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

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

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

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

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

Parameters

args

ReadContractParameters<CommentManagerABIType, "version">

Returns

Promise<ReadContractReturnType<CommentManagerABIType, "version">>