Skip to main content
Version: 1.15.0

Type Alias: ChainRateLimitUpdate

ChainRateLimitUpdate = { fastFinality?: boolean; inboundRateLimiterConfig: RateLimitConfig; outboundRateLimiterConfig: RateLimitConfig; remoteChainSelector: bigint; }

Defined in: cct/evm/token-pool/operations/set-chain-rate-limiter-configs.ts:49

New rate limits for one already-configured lane.

Remarks​

The two config fields are deliberately spelled inboundRateLimiterConfig / outboundRateLimiterConfig, matching the Solana ChainUpdate in cct/solana/token-pool/operations/apply-chain-updates.ts, so the very same config objects can be passed to applyChainUpdates and to this op.

This op only updates limits — it does not add a lane. A selector the pool has no chain config for reverts on-chain (NonExistentChain); add it first with the pool's chain-update op.

Properties​

fastFinality?​

optional fastFinality?: boolean

Defined in: cct/evm/token-pool/operations/set-chain-rate-limiter-configs.ts:62

Whether this entry configures the lane's fast-finality (FTF) buckets rather than its finalized ones. v2.0.0 only — the field does not exist in the pre-2.0.0 ABIs, so setting it (to either value) on a v1.5.1–v1.6.1 pool is rejected instead of silently dropped. Defaults to false on v2.0.0.


inboundRateLimiterConfig​

inboundRateLimiterConfig: RateLimitConfig

Defined in: cct/evm/token-pool/operations/set-chain-rate-limiter-configs.ts:53

Limit on tokens received from the remote chain.


outboundRateLimiterConfig​

outboundRateLimiterConfig: RateLimitConfig

Defined in: cct/evm/token-pool/operations/set-chain-rate-limiter-configs.ts:55

Limit on tokens sent to the remote chain.


remoteChainSelector​

remoteChainSelector: bigint

Defined in: cct/evm/token-pool/operations/set-chain-rate-limiter-configs.ts:51

CCIP selector of the already-configured remote chain (uint64).