Skip to main content
Version: 1.17.0

Type Alias: LegacyTokenPoolState

LegacyTokenPoolState = TokenPoolStateCore & { type: TokenPoolType | USDCTokenPoolType; version: Exclude<USDCTokenPoolVersion, typeof V2_0_0>; }

Defined in: cct/evm/token-pool/operations/get-token-pool-state.ts:66

State of a pre-v2.0.0 pool (v1.5.0 to v1.6.5), of any recognized type: no fee admin, finality window, or lockbox, none of which exist before v2.0.0.

Type Declaration​

type​

type: TokenPoolType | USDCTokenPoolType

version​

version: Exclude<USDCTokenPoolVersion, typeof V2_0_0>

1.6.2 and 1.6.5 only on a USDCTokenPoolType.

Remarks​

A legacy pool's allowList and (lock/release) rebalancer are transfer-flow and liquidity concerns, not admin ones; read those via cct.chain.getTokenPoolConfig().