Skip to content

OptionsType

OptionsType = Simplify<Omit<OptionsType, "approve" | "maxLockupPeriod"> & ActionCallChain & { approve: true; maxLockupPeriod: bigint; } | { approve: false; maxLockupPeriod?: bigint; }>

Defined in: packages/synapse-core/src/pay/set-operator-approval.ts:183

Approving requires an explicit maxLockupPeriod because this synchronous builder cannot read it from the chain price list. Revoking does not.