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
| Parameter | Type |
|---|---|
type | "BurnMintTokenPool" | "BurnFromMintTokenPool" | "BurnWithFromMintTokenPool" | "BurnToAddressTokenPool" | "BurnMintWithLockReleaseFlagTokenPool" | "LockReleaseTokenPool" | "SiloedLockReleaseTokenPool" |
version | TokenPoolVersion |
Returns
Interface