@liquid-af/sdk 0.11.4 → 0.11.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liquid-af/sdk",
3
- "version": "0.11.4",
3
+ "version": "0.11.6",
4
4
  "description": "TypeScript SDK for the Liquid DeFi protocol on Solana",
5
5
  "type": "module",
6
6
  "publishConfig": {
package/src/config.ts CHANGED
@@ -71,6 +71,11 @@ export const PYTH_RECEIVER_PROGRAM_ID = new PublicKey(
71
71
  "rec5EKMGg6MxZYaMdyBfgwp4d5rB9T1VQH5pJv5LtFJ",
72
72
  );
73
73
 
74
+ /** Cosigner required for setReferrer instruction */
75
+ export const REFERRER_COSIGNER = new PublicKey(
76
+ "Ref1fKLFiWDro19Am4aSRhXgbWovG6nJFQDH9AhSBzE",
77
+ );
78
+
74
79
  /** Basis points denominator (10,000 = 100%) */
75
80
  export const BPS_DENOMINATOR = 10_000;
76
81
 
@@ -11,13 +11,14 @@ export interface TokenCreatedEvent {
11
11
  quoteMint: PublicKey | null;
12
12
  bondingCurve: PublicKey;
13
13
  creator: PublicKey;
14
- initialVirtualQuoteReserves: BN;
14
+ creatorReferrer: PublicKey | null;
15
+ initialVirtualReserveUsd: BN;
15
16
  initialVirtualTokenReserves: BN;
16
17
  initialRealTokenReserves: BN;
17
18
  totalTokenSupply: BN;
18
19
  tokenProgram: PublicKey;
20
+ solPriceUsd: BN | null;
19
21
  timestamp: BN;
20
- migrationMarketCapUsd: BN;
21
22
  }
22
23
 
23
24
  /** Buy trade amounts */