Skip to main content
Version: 1.15.0

Type Alias: ApplyChainUpdatesParamsV1_5_1

ApplyChainUpdatesParamsV1_5_1 = ApplyChainUpdatesBaseParams & { chainsToAdd: ChainUpdateV1_5_1[]; remoteChainSelectorsToRemove: bigint[]; version: typeof V1_5_1; }

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

The v1.5.1+ parameter shape: additions and removals as two arrays.

Type Declaration​

chainsToAdd​

chainsToAdd: ChainUpdateV1_5_1[]

Lanes to add or reconfigure. To replace a lane's remote pools wholesale, list its selector here and in remoteChainSelectorsToRemove — the contract applies removals first, so that cross-array pairing stays legal. Within this array a selector may appear only once, and may not be 0n; holes are rejected too.

remoteChainSelectorsToRemove​

remoteChainSelectorsToRemove: bigint[]

Lanes to remove, applied before chainsToAdd. No duplicates and no holes; 0n is accepted here, so a pool already holding a junk lane can be cleaned up.

version​

version: typeof V1_5_1