Type Alias: DeployAdvancedPoolHooksParams
DeployAdvancedPoolHooksParams = {
allowlist?:string[];authorizedCallers?:string[];policyEngine?:string;sender?:string;thresholdAmount?:bigint; }
Defined in: cct/evm/advanced-pool-hooks/operations/deploy-advanced-pool-hooks.ts:24
Parameters for DeployAdvancedPoolHooks — deploys AdvancedPoolHooks (v2.0.0).
Properties
allowlist?
optionalallowlist?:string[]
Defined in: cct/evm/advanced-pool-hooks/operations/deploy-advanced-pool-hooks.ts:31
Senders permitted to lockOrBurn through pools bound to these hooks; defaults to [].
Remarks
Permanent: i_allowlistEnabled is immutable, set to allowlist.length > 0.
Deploy with [] and the contract can never gain an allowlist; deploy with entries and it
can be edited but never switched off.
authorizedCallers?
optionalauthorizedCallers?:string[]
Defined in: cct/evm/advanced-pool-hooks/operations/deploy-advanced-pool-hooks.ts:47
Pools permitted to call preflightCheck / postflightCheck on these hooks; defaults to [].
Remarks
Binding a pool with updateAdvancedPoolHooks does not authorize it here; a pool
missing from this set reverts UnauthorizedCaller on every transfer.
policyEngine?
optionalpolicyEngine?:string
Defined in: cct/evm/advanced-pool-hooks/operations/deploy-advanced-pool-hooks.ts:41
Policy engine run on every pre/postflight check; the zero address (the default) disables policy checks.
sender?
optionalsender?:string
Defined in: cct/evm/advanced-pool-hooks/operations/deploy-advanced-pool-hooks.ts:49
Deployer address; sets tx.from for offline / multisig signing.
thresholdAmount?
optionalthresholdAmount?:bigint
Defined in: cct/evm/advanced-pool-hooks/operations/deploy-advanced-pool-hooks.ts:36
Amount at or above which the threshold CCVs also apply; 0n (the default) disables the
threshold.