@ecp.eth/sdk / comments / RemoveApprovalTypedDataSchemaType
Type Alias: RemoveApprovalTypedDataSchemaType
type RemoveApprovalTypedDataSchemaType = {
domain: {
chainId: number;
name: "Comments";
verifyingContract: `0x${string}`;
version: "1";
};
message: {
app: `0x${string}`;
author: `0x${string}`;
deadline: bigint;
nonce: bigint;
};
primaryType: "RemoveApproval";
types: {
RemoveApproval: (
| {
name: "author";
type: "address";
}
| {
name: "app";
type: "address";
}
| {
name: "nonce";
type: "uint256";
}
| {
name: "deadline";
type: "uint256";
})[];
};
};
Defined in: packages/sdk/src/comments/schemas.ts:310
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}`;
deadline: bigint;
nonce: bigint;
};
message.app
app: `0x${string}` = HexSchema;
message.author
author: `0x${string}` = HexSchema;
message.deadline
deadline: bigint;
message.nonce
nonce: bigint;
primaryType
primaryType: "RemoveApproval";
types
types: {
RemoveApproval: (
| {
name: "author";
type: "address";
}
| {
name: "app";
type: "address";
}
| {
name: "nonce";
type: "uint256";
}
| {
name: "deadline";
type: "uint256";
})[];
};
types.RemoveApproval
RemoveApproval: (
| {
name: "author";
type: "address";
}
| {
name: "app";
type: "address";
}
| {
name: "nonce";
type: "uint256";
}
| {
name: "deadline";
type: "uint256";
})[];