Skip to main content
Version: 1.16.0

Function: isLockReleaseTokenPoolType()

isLockReleaseTokenPoolType(type: "BurnMintTokenPool" | "BurnFromMintTokenPool" | "BurnWithFromMintTokenPool" | "BurnToAddressTokenPool" | "BurnMintWithLockReleaseFlagTokenPool" | "LockReleaseTokenPool" | "SiloedLockReleaseTokenPool"): type is LockReleaseTokenPoolType

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

Narrows a pool type to the LockReleaseTokenPoolTypes: every family but BurnMint, so both the siloed and non-siloed lock/release pools.

Parameters​

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

Returns​

type is LockReleaseTokenPoolType