コンテンツにスキップ

CreateBuyListPoliciesParams

このコンテンツはまだ日本語訳がありません。

Defined in: src/policy/buy-list.ts:38

Parameters for createBuyListPolicies.

Properties

callPolicyVersion?

readonly optional callPolicyVersion?: CallPolicyVersion

Defined in: src/policy/buy-list.ts:57

ZeroDev callPolicy on-chain version. Defaults to V0_0_4.


jpycAddress

readonly jpycAddress: `0x${string}`

Defined in: src/policy/buy-list.ts:40

JPYC contract address on the target chain.


maxPerTransfer

readonly maxPerTransfer: bigint

Defined in: src/policy/buy-list.ts:48

Maximum JPYC (raw units) per single transfer. Must be positive.


merchants

readonly merchants: readonly `0x${string}`[]

Defined in: src/policy/buy-list.ts:46

The buy-list’s resolved merchant recipient addresses — the allowlist the session key may pay. Required and non-empty (a buy-list always targets specific merchants); checksum-normalized + de-duplicated.


validAfter?

readonly optional validAfter?: number

Defined in: src/policy/buy-list.ts:55

Optional schedule-window start (unix seconds); the key is invalid before this. Defaults to 0 (valid immediately). Must be < validUntil.


validUntil

readonly validUntil: number

Defined in: src/policy/buy-list.ts:50

Schedule-window end (unix seconds); the key is invalid after this. Must be a positive integer.