Skip to main content
Version: 1.15.0

Type Alias: ChainUpdate

ChainUpdate = { inboundRateLimiterConfig: RateLimitConfig; outboundRateLimiterConfig: RateLimitConfig; remoteChainSelector: bigint; remotePoolAddresses: string[]; remoteTokenAddress: string; }

Defined in: cct/evm/token-pool/operations/apply-chain-updates.ts:53

One lane to add or reconfigure.

Remarks​

Field-for-field the Solana ChainUpdate in cct/solana/token-pool/operations/apply-chain-updates.ts, minus its Solana-only remoteTokenDecimals.

Properties​

inboundRateLimiterConfig​

inboundRateLimiterConfig: RateLimitConfig

Defined in: cct/evm/token-pool/operations/apply-chain-updates.ts:70

Rate limit for tokens received from the remote chain.


outboundRateLimiterConfig​

outboundRateLimiterConfig: RateLimitConfig

Defined in: cct/evm/token-pool/operations/apply-chain-updates.ts:72

Rate limit for tokens sent to the remote chain.


remoteChainSelector​

remoteChainSelector: bigint

Defined in: cct/evm/token-pool/operations/apply-chain-updates.ts:55

CCIP selector of the remote chain (uint64).


remotePoolAddresses​

remotePoolAddresses: string[]

Defined in: cct/evm/token-pool/operations/apply-chain-updates.ts:68

Remote pool addresses in the remote chain's own format, like remoteTokenAddress — plural, because a lane may accept several remote pools, e.g. while migrating one. Non-empty, and unique within the lane (compared by canonical spelling, so two spellings of one address collide). A v1.5.0 pool holds a single remote pool per lane, so there it must have exactly one entry.


remoteTokenAddress​

remoteTokenAddress: string

Defined in: cct/evm/token-pool/operations/apply-chain-updates.ts:61

Remote token address in the remote chain's own format (0x… for EVM, base58 for Solana, …), the family taken from remoteChainSelector. Encoded to the 32-byte padded bytes the pool stores; an unpadded EVM remote would configure fine, then revert every inbound transfer.