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:70
Parameters shared by initChainConfigV2 and editChainConfigV2.
Type Declaration
allowedFinality?
optionalallowedFinality?: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.
initChainConfigV2 defaults to { finalityDepth: 0 }, full finality only;
editChainConfigV2 keeps the lane's current finality when omitted.
authority?
optionalauthority?:string
Pool owner, who also pays the config account's rent. Defaults to payer for single-signer
transactions.
ccvConfig?
optionalccvConfig?:TokenPoolCCVConfig
CCVs the pool requires on the lane. initChainConfigV2 defaults to none;
editChainConfigV2 keeps the lane's current CCVs when omitted, and {} clears them.
remoteChainSelector
remoteChainSelector:
bigint
CCIP selector of the remote chain (u64).
tokenAddress
tokenAddress:
string
Token mint address managed by the local pool.
tokenTransferFeeConfig?
optionaltokenTransferFeeConfig?:TokenTransferFeeConfig
Fees the pool charges on transfers to the remote chain, replaced in full when passed. An
enabled config takes BPS fees up to 10000 (100%) and a destBytesOverhead of at least 32.
initChainConfigV2 defaults to disabled (all zero); editChainConfigV2 keeps the lane's
current fees when omitted.