Skip to main content
Version: 1.15.0

Type Alias: SetThresholdAmountParams

SetThresholdAmountParams = AdvancedPoolHooksTarget & { sender?: string; thresholdAmount: bigint; }

Defined in: cct/evm/advanced-pool-hooks/operations/set-threshold-amount.ts:25

Parameters for SetThresholdAmount.

Type Declaration​

sender?​

optional sender?: string

Hooks owner. Sets tx.from for offline / multisig signing and, when supplied, is checked against the hooks' on-chain owner() before calldata is built. Optional for SetThresholdAmount.generate; SetThresholdAmount.execute defaults it to the signing wallet.

thresholdAmount​

thresholdAmount: bigint

Amount at or above which threshold CCVs apply; zero disables threshold CCVs.