Skip to main content

Interface: GraduationCalculationResult

Gala Launchpad SDK 9.0.0-rc.5


Gala Launchpad SDK 9.0.0-rc.5 / index / GraduationCalculationResult

Interface: GraduationCalculationResult

Defined in: packages/launchpad-sdk/dist/types/launchpad.dto.d.ts:567

Extended result for graduation calculations

Includes the remaining token quantity needed to graduate the pool, in addition to the standard amount calculation fields.

Since​

4.0.2

Extends​

Properties​

amount​

amount: string

Defined in: packages/launchpad-sdk/dist/types/launchpad.dto.d.ts:515

Calculated token amount

Inherited from​

AmountCalculationResult.amount


gasFee​

gasFee: string

Defined in: packages/launchpad-sdk/dist/types/launchpad.dto.d.ts:521

Gas fee (fixed at 1 GALA)

Inherited from​

AmountCalculationResult.gasFee


remainingTokens​

remainingTokens: string

Defined in: packages/launchpad-sdk/dist/types/launchpad.dto.d.ts:575

Remaining tokens to buy for graduation (token quantity, not GALA cost)

This is the actual number of tokens that need to be purchased to reach the max supply and trigger graduation. Use this value as the amount parameter when calling buy() with type: 'exact'.


reverseBondingCurveFee​

reverseBondingCurveFee: string

Defined in: packages/launchpad-sdk/dist/types/launchpad.dto.d.ts:517

Reverse bonding curve fee

Inherited from​

AmountCalculationResult.reverseBondingCurveFee


transactionFee​

transactionFee: string

Defined in: packages/launchpad-sdk/dist/types/launchpad.dto.d.ts:519

Transaction fees

Inherited from​

AmountCalculationResult.transactionFee