Skip to main content
Version: 1.15.0

Type Alias: UpdateAdvancedPoolHooksParams

UpdateAdvancedPoolHooksParams = { advancedPoolHooks: string; poolAddress: string; sender?: string; }

Defined in: cct/evm/token-pool/operations/update-advanced-pool-hooks.ts:35

Parameters for UpdateAdvancedPoolHooks.

Properties​

advancedPoolHooks​

advancedPoolHooks: string

Defined in: cct/evm/token-pool/operations/update-advanced-pool-hooks.ts:44

AdvancedPoolHooks contract to bind, as returned by deployAdvancedPoolHooks; the zero address detaches. A non-zero address is probed and must report type AdvancedPoolHooks.

Remarks​

Binding a pool here does not authorize it on the hooks contract — it must also be in their authorized-caller set, or every transfer reverts UnauthorizedCaller.


poolAddress​

poolAddress: string

Defined in: cct/evm/token-pool/operations/update-advanced-pool-hooks.ts:37

Token pool to re-point. Must be non-zero — it is the transaction destination.


sender?​

optional sender?: string

Defined in: cct/evm/token-pool/operations/update-advanced-pool-hooks.ts:51

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