@ape.swap/bonds-sdk 4.5.4-test.0 → 4.5.4-test.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ccip-BJIJlp6h.js +295 -0
- package/dist/main-DoVlruAO.js +112900 -0
- package/dist/main.js +16 -106843
- package/dist/utils/displayHelpers.d.ts +1 -1
- package/package.json +1 -1
|
@@ -39,6 +39,6 @@ export declare const getBonusColor: (premiumString: string) => string;
|
|
|
39
39
|
* @param userPoints - User's tier points
|
|
40
40
|
* @returns The principal token amount needed, or '0' if calculation cannot be performed
|
|
41
41
|
*/
|
|
42
|
-
export declare const getPrincipalAmount: (bond?: BondsData, targetPayoutAmount?: number | string, userPoints?: string | null) =>
|
|
42
|
+
export declare const getPrincipalAmount: (bond?: BondsData, targetPayoutAmount?: number | string, userPoints?: string | null) => BigNumber;
|
|
43
43
|
export declare const getRemainingTokensString: (bond: BondsData, allowLowValueBonds?: boolean) => string;
|
|
44
44
|
export declare const remainingPercentage: (bond: BondsData) => number;
|