Skip to main content
Version: 1.18.0

Type Alias: TokenPoolCCVConfig

TokenPoolCCVConfig = { inboundCCVs?: string[]; outboundCCVs?: string[]; thresholdAmount?: bigint; thresholdInboundCCVs?: string[]; thresholdOutboundCCVs?: string[]; }

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

CCVs a CCIP 2.0 token pool requires on a lane, on top of those the lane itself requires.

Remarks​

A ccvConfig object is a complete replacement: each list defaults to empty (the pool requires no CCVs of its own in that direction) and thresholdAmount to 0n. CCV addresses must be non-default and unique across a direction's base and threshold lists. Read a lane's current CCVs with getCCVConfig, whose result can be passed back as is.

Properties​

inboundCCVs?​

optional inboundCCVs?: string[]

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

CCVs required on every transfer from the remote chain.


outboundCCVs?​

optional outboundCCVs?: string[]

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

CCVs required on every transfer to the remote chain.


thresholdAmount?​

optional thresholdAmount?: bigint

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

Amount from which the threshold CCVs apply (u64, in the local mint's base units; outbound transfers count the amount after the pool's BPS fee). Defaults to 0n, which disables the threshold CCVs, so it must be positive when any are set.


thresholdInboundCCVs?​

optional thresholdInboundCCVs?: string[]

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

CCVs additionally required on transfers from the remote chain of at least thresholdAmount. Requires a non-empty inboundCCVs.


thresholdOutboundCCVs?​

optional thresholdOutboundCCVs?: string[]

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

CCVs additionally required on transfers to the remote chain of at least thresholdAmount. Requires a non-empty outboundCCVs.