@ecp.eth/sdk / comments / DeleteCommentTypedDataSchemaType
Type Alias: DeleteCommentTypedDataSchemaType
type DeleteCommentTypedDataSchemaType = {
domain: {
chainId: number;
name: "Comments";
verifyingContract: `0x${string}`;
version: "1";
};
message: {
app: `0x${string}`;
author: `0x${string}`;
commentId: `0x${string}`;
deadline: bigint;
};
primaryType: "DeleteComment";
types: {
DeleteComment: (
| {
name: "commentId";
type: "bytes32";
}
| {
name: "author";
type: "address";
}
| {
name: "app";
type: "address";
}
| {
name: "deadline";
type: "uint256";
})[];
};
};
Defined in: packages/sdk/src/comments/schemas.ts:214
Type declaration
domain
domain: {
chainId: number;
name: "Comments";
verifyingContract: `0x${string}`;
version: "1";
};
domain.chainId
chainId: number;
domain.name
name: "Comments";
domain.verifyingContract
verifyingContract: `0x${string}` = HexSchema;
domain.version
version: "1";
message
message: {
app: `0x${string}`;
author: `0x${string}`;
commentId: `0x${string}`;
deadline: bigint;
};
message.app
app: `0x${string}` = HexSchema;
message.author
author: `0x${string}` = HexSchema;
message.commentId
commentId: `0x${string}` = HexSchema;
message.deadline
deadline: bigint;
primaryType
primaryType: "DeleteComment";
types
types: {
DeleteComment: (
| {
name: "commentId";
type: "bytes32";
}
| {
name: "author";
type: "address";
}
| {
name: "app";
type: "address";
}
| {
name: "deadline";
type: "uint256";
})[];
};
types.DeleteComment
DeleteComment: (
| {
name: "commentId";
type: "bytes32";
}
| {
name: "author";
type: "address";
}
| {
name: "app";
type: "address";
}
| {
name: "deadline";
type: "uint256";
})[];