Skip to main content
Version: 1.15.0

Function: getTokenPoolInterface()

getTokenPoolInterface(type: "BurnMintTokenPool" | "BurnFromMintTokenPool" | "BurnWithFromMintTokenPool" | "BurnToAddressTokenPool" | "BurnMintWithLockReleaseFlagTokenPool" | "LockReleaseTokenPool" | "SiloedLockReleaseTokenPool", version: TokenPoolVersion): Interface

Defined in: cct/evm/token-pool/contracts.ts:333

Returns the cached pool Interface for type and version, selected by the type's TokenPoolFamily. Never throws when both came from parseTokenPoolVersion.

Parameters​

ParameterType
type"BurnMintTokenPool" | "BurnFromMintTokenPool" | "BurnWithFromMintTokenPool" | "BurnToAddressTokenPool" | "BurnMintWithLockReleaseFlagTokenPool" | "LockReleaseTokenPool" | "SiloedLockReleaseTokenPool"
versionTokenPoolVersion

Returns​

Interface