Skip to content

READ_GRANT_TYPES

const READ_GRANT_TYPES: object

Defined in: claims.ts:55

EIP-712 types for every link and for a request. The domain is Keysmith’s DOMAIN. A link’s signature covers the fields it inherits from the root, so a link cannot be moved under a root that differs in any of them. Links name their parent by its bearer’s address, not by hash, so a parent can be re-issued without invalidating the links beneath it.

readonly ReadGrant: readonly [{ name: "v"; type: "uint8"; }, { name: "node"; type: "string"; }, { name: "owner"; type: "address"; }, { name: "keyspace"; type: "bytes16"; }, { name: "bearer"; type: "address"; }, { name: "maxDepth"; type: "uint8"; }, { name: "chainId"; type: "uint256"; }, { name: "keyCommitment"; type: "bytes16"; }, { name: "keyspaceCommitment"; type: "bytes16"; }, { name: "expires"; type: "uint64"; }]