Type Alias: ChainUpdateV1_5_0
ChainUpdateV1_5_0 =
ChainUpdateCommon& {allowed:boolean;remotePoolAddress:string; }
Defined in: cct/evm/token-pool/operations/apply-chain-updates.ts:179
One lane's configuration on a v1.5.0 pool.
Type Declaration
allowed
allowed:
boolean
Whether the lane is enabled. v1.5.0 only — false removes the lane, which is how this
version spells v1.5.1+'s remoteChainSelectorsToRemove. Every other field is still required
for a removal, though the contract ignores both remote addresses, so they are not validated
and are encoded as empty bytes; a lane of 0n or of a chain the SDK does not know can still be
removed. Both rate limits must be { enabled: false }: v1.5.0
validates them with mustBeDisabled = !update.allowed and reverts RateLimitMustBeDisabled()
otherwise, so passing a lane's current (enabled) limits back through is rejected.
remotePoolAddress
remotePoolAddress:
string
Remote pool address in the remote chain's own format, like remoteTokenAddress. Singular at
v1.5.0 — one pool per lane.
Remarks
Field-for-field the Solana ChainUpdate in
cct/solana/token-pool/operations/apply-chain-updates.ts, minus its Solana-only
remoteTokenDecimals.