CreateBuyListPoliciesParams
このコンテンツはまだ日本語訳がありません。
Defined in: src/policy/buy-list.ts:40
Parameters for createBuyListPolicies.
Properties
jpycAddress
readonlyjpycAddress:`0x${string}`
Defined in: src/policy/buy-list.ts:42
JPYC contract address on the target chain.
maxPerTransfer
readonlymaxPerTransfer:bigint
Defined in: src/policy/buy-list.ts:58
Maximum JPYC (raw units) per single payment. Must be positive.
merchants
readonlymerchants: readonly`0x${string}`[]
Defined in: src/policy/buy-list.ts:56
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.
settlementAddress
readonlysettlementAddress:`0x${string}`
Defined in: src/policy/buy-list.ts:50
The Settlement contract on the target chain — pass getSettlementAddress(chainId).
It MUST be the address settleOrder pays through (it resolves the same table): the key’s
approval is scoped to this exact spender, so a key built with any other address cannot pay —
the payment is refused on chain with CallViolatesParamRule().
validAfter?
readonlyoptionalvalidAfter?:number
Defined in: src/policy/buy-list.ts:65
Optional schedule-window start (unix seconds); the key is invalid before
this. Defaults to 0 (valid immediately). Must be < validUntil.
validUntil
readonlyvalidUntil:number
Defined in: src/policy/buy-list.ts:60
Schedule-window end (unix seconds); the key is invalid after this. Must be a positive integer.