@liquid-af/sdk 0.6.1 → 0.7.0

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.
Files changed (50) hide show
  1. package/dist/accounts/liquid-fees.d.ts +1 -1
  2. package/dist/accounts/liquid-fees.d.ts.map +1 -1
  3. package/dist/accounts/liquid-fees.js +2 -2
  4. package/dist/accounts/liquid-fees.js.map +1 -1
  5. package/dist/client.d.ts +7 -6
  6. package/dist/client.d.ts.map +1 -1
  7. package/dist/client.js +6 -6
  8. package/dist/client.js.map +1 -1
  9. package/dist/idl/liquid.d.ts +2581 -2490
  10. package/dist/idl/liquid.d.ts.map +1 -1
  11. package/dist/idl/liquid.json +2581 -2490
  12. package/dist/idl/liquid_events.d.ts +205 -1
  13. package/dist/idl/liquid_events.d.ts.map +1 -1
  14. package/dist/idl/liquid_events.json +205 -1
  15. package/dist/idl/liquid_fees.d.ts +121 -6
  16. package/dist/idl/liquid_fees.d.ts.map +1 -1
  17. package/dist/idl/liquid_fees.json +121 -6
  18. package/dist/idl/liquid_state.d.ts +72 -72
  19. package/dist/idl/liquid_state.d.ts.map +1 -1
  20. package/dist/idl/liquid_state.json +72 -72
  21. package/dist/idl/liquid_swap.d.ts +1022 -998
  22. package/dist/idl/liquid_swap.d.ts.map +1 -1
  23. package/dist/idl/liquid_swap.json +1022 -998
  24. package/dist/instructions/liquid-fees.d.ts +4 -2
  25. package/dist/instructions/liquid-fees.d.ts.map +1 -1
  26. package/dist/instructions/liquid-fees.js +12 -9
  27. package/dist/instructions/liquid-fees.js.map +1 -1
  28. package/dist/pda/index.d.ts.map +1 -1
  29. package/dist/pda/index.js +2 -2
  30. package/dist/pda/index.js.map +1 -1
  31. package/dist/pda/liquid-fees.d.ts +3 -2
  32. package/dist/pda/liquid-fees.d.ts.map +1 -1
  33. package/dist/pda/liquid-fees.js +4 -3
  34. package/dist/pda/liquid-fees.js.map +1 -1
  35. package/package.json +1 -1
  36. package/src/accounts/liquid-fees.ts +6 -1
  37. package/src/client.ts +21 -8
  38. package/src/idl/liquid.json +2581 -2490
  39. package/src/idl/liquid.ts +2581 -2490
  40. package/src/idl/liquid_events.json +205 -1
  41. package/src/idl/liquid_events.ts +205 -1
  42. package/src/idl/liquid_fees.json +121 -6
  43. package/src/idl/liquid_fees.ts +121 -6
  44. package/src/idl/liquid_state.json +72 -72
  45. package/src/idl/liquid_state.ts +72 -72
  46. package/src/idl/liquid_swap.json +1022 -998
  47. package/src/idl/liquid_swap.ts +1022 -998
  48. package/src/instructions/liquid-fees.ts +32 -10
  49. package/src/pda/index.ts +10 -2
  50. package/src/pda/liquid-fees.ts +4 -2
@@ -5,7 +5,7 @@
5
5
  * IDL can be found at `target/idl/liquid_state.json`.
6
6
  */
7
7
  export type LiquidState = {
8
- "address": "9ZcKPa3HAEVEKxwFX8fYD56ZJCKPEQgqjgr9rfUvtwKJ",
8
+ "address": "State3HtEfi7cXdsTpAtRoBvrij8zSFCiGTAVWmYH2d",
9
9
  "metadata": {
10
10
  "name": "liquidState",
11
11
  "version": "0.1.0",
@@ -244,7 +244,7 @@ export type LiquidState = {
244
244
  "docs": [
245
245
  "Liquid events program for centralized event emission."
246
246
  ],
247
- "address": "Bast7hBDiqSsxiwEmqazwvPvXC3N4z8UQR5ZmkqXnCiY"
247
+ "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG"
248
248
  },
249
249
  {
250
250
  "name": "systemProgram",
@@ -432,7 +432,7 @@ export type LiquidState = {
432
432
  "docs": [
433
433
  "Liquid events program for centralized event emission."
434
434
  ],
435
- "address": "Bast7hBDiqSsxiwEmqazwvPvXC3N4z8UQR5ZmkqXnCiY"
435
+ "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG"
436
436
  }
437
437
  ],
438
438
  "args": []
@@ -559,7 +559,7 @@ export type LiquidState = {
559
559
  "docs": [
560
560
  "Liquid events program for centralized event emission."
561
561
  ],
562
- "address": "Bast7hBDiqSsxiwEmqazwvPvXC3N4z8UQR5ZmkqXnCiY"
562
+ "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG"
563
563
  },
564
564
  {
565
565
  "name": "systemProgram",
@@ -672,7 +672,7 @@ export type LiquidState = {
672
672
  "docs": [
673
673
  "Liquid events program for centralized event emission."
674
674
  ],
675
- "address": "Bast7hBDiqSsxiwEmqazwvPvXC3N4z8UQR5ZmkqXnCiY"
675
+ "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG"
676
676
  }
677
677
  ],
678
678
  "args": [
@@ -1066,7 +1066,7 @@ export type LiquidState = {
1066
1066
  "docs": [
1067
1067
  "Liquid events program for centralized event emission."
1068
1068
  ],
1069
- "address": "Bast7hBDiqSsxiwEmqazwvPvXC3N4z8UQR5ZmkqXnCiY"
1069
+ "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG"
1070
1070
  }
1071
1071
  ],
1072
1072
  "args": []
@@ -1184,7 +1184,7 @@ export type LiquidState = {
1184
1184
  "docs": [
1185
1185
  "Liquid events program for centralized event emission."
1186
1186
  ],
1187
- "address": "Bast7hBDiqSsxiwEmqazwvPvXC3N4z8UQR5ZmkqXnCiY"
1187
+ "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG"
1188
1188
  }
1189
1189
  ],
1190
1190
  "args": []
@@ -1274,7 +1274,7 @@ export type LiquidState = {
1274
1274
  "docs": [
1275
1275
  "Liquid events program for centralized event emission."
1276
1276
  ],
1277
- "address": "Bast7hBDiqSsxiwEmqazwvPvXC3N4z8UQR5ZmkqXnCiY"
1277
+ "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG"
1278
1278
  }
1279
1279
  ],
1280
1280
  "args": [
@@ -1380,7 +1380,7 @@ export type LiquidState = {
1380
1380
  "docs": [
1381
1381
  "Liquid events program for centralized event emission."
1382
1382
  ],
1383
- "address": "Bast7hBDiqSsxiwEmqazwvPvXC3N4z8UQR5ZmkqXnCiY"
1383
+ "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG"
1384
1384
  }
1385
1385
  ],
1386
1386
  "args": [
@@ -1568,7 +1568,7 @@ export type LiquidState = {
1568
1568
  "docs": [
1569
1569
  "Liquid events program for centralized event emission."
1570
1570
  ],
1571
- "address": "Bast7hBDiqSsxiwEmqazwvPvXC3N4z8UQR5ZmkqXnCiY"
1571
+ "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG"
1572
1572
  },
1573
1573
  {
1574
1574
  "name": "systemProgram",
@@ -1692,38 +1692,38 @@ export type LiquidState = {
1692
1692
  "program": {
1693
1693
  "kind": "const",
1694
1694
  "value": [
1695
- 190,
1696
- 32,
1697
- 180,
1698
- 44,
1699
- 45,
1700
- 199,
1701
- 191,
1702
- 169,
1703
- 16,
1704
- 36,
1705
- 248,
1706
- 54,
1707
- 24,
1708
- 28,
1709
- 56,
1710
- 136,
1711
- 88,
1695
+ 6,
1696
+ 165,
1697
+ 60,
1698
+ 202,
1699
+ 204,
1700
+ 17,
1701
+ 4,
1702
+ 104,
1703
+ 249,
1704
+ 125,
1705
+ 214,
1706
+ 143,
1712
1707
  2,
1713
- 74,
1714
- 47,
1715
- 84,
1716
- 229,
1717
- 29,
1718
- 26,
1719
- 30,
1720
- 90,
1721
- 41,
1722
- 109,
1708
+ 99,
1709
+ 165,
1710
+ 89,
1711
+ 177,
1712
+ 218,
1713
+ 121,
1714
+ 12,
1715
+ 23,
1716
+ 196,
1717
+ 207,
1718
+ 105,
1719
+ 96,
1720
+ 207,
1723
1721
  2,
1724
- 14,
1725
- 50,
1726
- 160
1722
+ 136,
1723
+ 202,
1724
+ 45,
1725
+ 209,
1726
+ 225
1727
1727
  ]
1728
1728
  }
1729
1729
  }
@@ -1966,38 +1966,38 @@ export type LiquidState = {
1966
1966
  "program": {
1967
1967
  "kind": "const",
1968
1968
  "value": [
1969
- 90,
1970
- 167,
1971
- 50,
1972
- 46,
1973
- 85,
1974
- 64,
1975
- 55,
1976
- 53,
1977
- 224,
1978
- 209,
1979
- 144,
1969
+ 5,
1970
+ 13,
1971
+ 89,
1972
+ 2,
1973
+ 127,
1974
+ 227,
1975
+ 146,
1976
+ 196,
1977
+ 34,
1978
+ 13,
1979
+ 249,
1980
1980
  181,
1981
- 201,
1982
- 225,
1983
- 70,
1984
- 30,
1985
- 252,
1986
- 64,
1987
- 238,
1988
- 96,
1989
- 113,
1990
- 137,
1991
- 55,
1992
- 211,
1993
- 9,
1994
- 69,
1995
- 233,
1996
- 207,
1997
- 149,
1998
- 20,
1999
- 99,
2000
- 193
1981
+ 167,
1982
+ 33,
1983
+ 126,
1984
+ 56,
1985
+ 182,
1986
+ 105,
1987
+ 148,
1988
+ 219,
1989
+ 33,
1990
+ 200,
1991
+ 131,
1992
+ 117,
1993
+ 84,
1994
+ 120,
1995
+ 212,
1996
+ 68,
1997
+ 166,
1998
+ 219,
1999
+ 24,
2000
+ 119
2001
2001
  ]
2002
2002
  }
2003
2003
  }
@@ -2234,7 +2234,7 @@ export type LiquidState = {
2234
2234
  "docs": [
2235
2235
  "Liquid events program for centralized event emission."
2236
2236
  ],
2237
- "address": "Bast7hBDiqSsxiwEmqazwvPvXC3N4z8UQR5ZmkqXnCiY"
2237
+ "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG"
2238
2238
  }
2239
2239
  ],
2240
2240
  "args": [