@liquid-af/sdk 0.8.2 → 0.9.1
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/client.d.ts +0 -5
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +1 -5
- package/dist/client.js.map +1 -1
- package/dist/helpers/ata.d.ts +28 -0
- package/dist/helpers/ata.d.ts.map +1 -0
- package/dist/helpers/ata.js +29 -0
- package/dist/helpers/ata.js.map +1 -0
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.js +1 -0
- package/dist/helpers/index.js.map +1 -1
- package/dist/idl/liquid.d.ts +27 -663
- package/dist/idl/liquid.d.ts.map +1 -1
- package/dist/idl/liquid.json +37 -673
- package/dist/idl/liquid_fees.d.ts +0 -86
- package/dist/idl/liquid_fees.d.ts.map +1 -1
- package/dist/idl/liquid_fees.json +1 -87
- package/dist/idl/liquid_state.d.ts +18 -5
- package/dist/idl/liquid_state.d.ts.map +1 -1
- package/dist/idl/liquid_state.json +18 -5
- package/dist/instructions/index.d.ts +2 -2
- package/dist/instructions/index.d.ts.map +1 -1
- package/dist/instructions/index.js +1 -1
- package/dist/instructions/index.js.map +1 -1
- package/dist/instructions/liquid-fees.d.ts +1 -0
- package/dist/instructions/liquid-fees.d.ts.map +1 -1
- package/dist/instructions/liquid-fees.js +4 -1
- package/dist/instructions/liquid-fees.js.map +1 -1
- package/dist/instructions/liquid-state.d.ts +0 -13
- package/dist/instructions/liquid-state.d.ts.map +1 -1
- package/dist/instructions/liquid-state.js +0 -15
- package/dist/instructions/liquid-state.js.map +1 -1
- package/dist/instructions/liquid.d.ts +12 -0
- package/dist/instructions/liquid.d.ts.map +1 -1
- package/dist/instructions/liquid.js +45 -9
- package/dist/instructions/liquid.js.map +1 -1
- package/dist/types.d.ts +6 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +0 -8
- package/src/helpers/ata.ts +44 -0
- package/src/helpers/index.ts +1 -0
- package/src/idl/liquid.json +37 -673
- package/src/idl/liquid.ts +37 -673
- package/src/idl/liquid_fees.json +1 -87
- package/src/idl/liquid_fees.ts +1 -87
- package/src/idl/liquid_state.json +18 -5
- package/src/idl/liquid_state.ts +18 -5
- package/src/instructions/index.ts +0 -2
- package/src/instructions/liquid-fees.ts +8 -1
- package/src/instructions/liquid-state.ts +0 -25
- package/src/instructions/liquid.ts +81 -0
- package/src/types.ts +6 -3
package/src/types.ts
CHANGED
|
@@ -75,17 +75,20 @@ export const feeModeEquals = (
|
|
|
75
75
|
/** Global configuration for the bonding curve program */
|
|
76
76
|
export interface GlobalConfiguration {
|
|
77
77
|
adminAuthority: PublicKey;
|
|
78
|
+
initialVirtualReserveUsd: BN;
|
|
79
|
+
migrationMarketCapUsd: BN;
|
|
78
80
|
initialVirtualTokenReserves: BN;
|
|
79
|
-
initialVirtualSolReserves: BN;
|
|
80
81
|
initialRealTokenReserves: BN;
|
|
81
82
|
tokenTotalSupply: BN;
|
|
82
|
-
traderCashbackBasisPoints: number;
|
|
83
83
|
creatorFeeBasisPoints: number;
|
|
84
84
|
creatorReferralRewardBasisPoints: number;
|
|
85
85
|
traderReferralRewardBasisPoints: number;
|
|
86
86
|
protocolFeeBasisPoints: number;
|
|
87
87
|
feeRecipients: PublicKey[];
|
|
88
88
|
quoteMints: PublicKey[];
|
|
89
|
+
solUsdPriceFeed: PublicKey;
|
|
90
|
+
pendingAdmin: PublicKey | null;
|
|
91
|
+
bump: number;
|
|
89
92
|
paused: boolean;
|
|
90
93
|
}
|
|
91
94
|
|
|
@@ -96,8 +99,8 @@ export interface BondingCurveState {
|
|
|
96
99
|
realTokenReserves: BN;
|
|
97
100
|
virtualTokenReserves: BN;
|
|
98
101
|
realSolReserves: BN;
|
|
99
|
-
virtualSolReserves: BN;
|
|
100
102
|
tokenTotalSupply: BN;
|
|
103
|
+
initialVirtualReserveUsd: BN;
|
|
101
104
|
status: CurveStatusAnchor;
|
|
102
105
|
bump: number;
|
|
103
106
|
}
|