Skip to main content
Version: 1.16.0

Type Alias: GetRequiredCCVsParams

GetRequiredCCVsParams = AdvancedPoolHooksTarget & { amount: bigint; direction: CCVMessageDirection; remoteChainSelector: bigint; }

Defined in: cct/evm/advanced-pool-hooks/operations/get-required-ccvs.ts:32

Parameters for GetRequiredCCVs.

Type Declaration​

amount​

amount: bigint

Transfer amount (uint256) as the hooks see it, after any pool fee or decimal adjustment.

direction​

direction: CCVMessageDirection

Whether this resolves outbound or inbound requirements.

remoteChainSelector​

remoteChainSelector: bigint

Remote CCIP chain selector (uint64).

Remarks​

IAdvancedPoolHooks.getRequiredCCVs also accepts local-token, finality-config, and extra-data arguments, but this AdvancedPoolHooks implementation does not inspect them. The query supplies their neutral values internally, so callers need only provide the inputs that affect its result: selector, amount, and direction.