Function: describeLiquidity()
describeLiquidity(
type:"BurnMintTokenPool"|"BurnFromMintTokenPool"|"BurnWithFromMintTokenPool"|"BurnToAddressTokenPool"|"BurnMintWithLockReleaseFlagTokenPool"|"LockReleaseTokenPool"|"SiloedLockReleaseTokenPool",liquidity:bigint,token:string):string
Defined in: cct/evm/token-pool/contracts.ts:847
The "holds N of token" clause of an insufficient-liquidity error, naming the unsiloed bucket on a siloed pool so the figure is not mistaken for its balance.
Parameters
| Parameter | Type | Description |
|---|---|---|
type | "BurnMintTokenPool" | "BurnFromMintTokenPool" | "BurnWithFromMintTokenPool" | "BurnToAddressTokenPool" | "BurnMintWithLockReleaseFlagTokenPool" | "LockReleaseTokenPool" | "SiloedLockReleaseTokenPool" | Pool type the liquidity was read for. |
liquidity | bigint | As returned by readTokenPoolLiquidity. |
token | string | The escrowed token. |
Returns
string
The clause, with no subject.