Type Alias: AdvancedPoolHooksTarget
AdvancedPoolHooksTarget = {
advancedPoolHooks:string;poolAddress?:never; } | {advancedPoolHooks?:never;poolAddress:string; }
Defined in: cct/evm/advanced-pool-hooks/contracts.ts:305
The AdvancedPoolHooks a hooks op targets: exactly one of the hooks themselves, or a v2.0.0
pool whose bound hooks are used.
Union Members
Type Literal
{ advancedPoolHooks: string; poolAddress?: never; }
advancedPoolHooks
advancedPoolHooks:
string
Hooks contract to target. Must be non-zero and report type AdvancedPoolHooks.
poolAddress?
optionalpoolAddress?:never
Type Literal
{ advancedPoolHooks?: never; poolAddress: string; }
advancedPoolHooks?
optionaladvancedPoolHooks?:never
poolAddress
poolAddress:
string
v2.0.0 token pool whose bound AdvancedPoolHooks are the target. Hooks may be shared: a
write through one pool changes every pool bound to the same hooks.
Remarks
Address the hooks directly to configure them before binding, or in a batch that also
re-points the pool (poolAddress resolves to the hooks bound at build time).