Skip to main content
Version: 1.17.1

Type Alias: ChainConfigV2Params

ChainConfigV2Params = PoolProgramRef & { allowedFinality?: FinalityAllowed; authority?: string; ccvConfig?: TokenPoolCCVConfig; remoteChainSelector: bigint; tokenAddress: string; tokenTransferFeeConfig?: TokenTransferFeeConfig; }

Defined in: cct/solana/token-pool/operations/chain-config-v2.ts:64

Parameters shared by initChainConfigV2 and editChainConfigV2.

Type Declaration​

allowedFinality?​

optional allowedFinality?: FinalityAllowed

Finality that transfers to the remote chain may request below full finality: finalityDepth is the lowest block depth allowed (0 allows none) and finalitySafe allows the safe head. Defaults to { finalityDepth: 0 }, full finality only.

authority?​

optional authority?: string

Pool owner, who also pays the config account's rent. Defaults to payer for single-signer transactions.

ccvConfig?​

optional ccvConfig?: TokenPoolCCVConfig

CCVs the pool requires on the lane. Defaults to none.

remoteChainSelector​

remoteChainSelector: bigint

CCIP selector of the remote chain (u64).

tokenAddress​

tokenAddress: string

Token mint address managed by the local pool.

tokenTransferFeeConfig?​

optional tokenTransferFeeConfig?: TokenTransferFeeConfig

Fees the pool charges on transfers to the remote chain. Defaults to disabled (all zero). An enabled config takes BPS fees up to 10000 (100%) and a destBytesOverhead of at least 32.