flash-sdk 2.48.8 → 2.49.0-alpha.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.
@@ -385,6 +385,17 @@
385
385
  "pythTicker": "FX.GBP/USD",
386
386
  "pythPriceId": "0x84c2dde9633d93d1bcad84e7dc41c9d56578b7ec52fabedc1f335d673df0a7c1"
387
387
  },
388
+ {
389
+ "symbol": "AUD",
390
+ "mintKey": "AUDdbsJZpT1pFErezhe9pvcf97XnvD8oo8etZbeFbBX",
391
+ "decimals": 6,
392
+ "usdPrecision": 4,
393
+ "tokenPrecision": 6,
394
+ "isStable": false,
395
+ "isVirtual": true,
396
+ "pythTicker": "FX.AUD/USD",
397
+ "pythPriceId": "0x67a6f93030420c1c9e3fe37c1ab6b77966af82f995944a9fefce357a22854a80"
398
+ },
388
399
  {
389
400
  "symbol": "CRUDEOIL",
390
401
  "mintKey": "o1Lw5djE8o6wMbPXU7U8Us8a6DJhWJc9WrWWUc1LHAo",
@@ -478,6 +489,22 @@
478
489
  "pythTicker": "FX.GBP/USD",
479
490
  "pythPriceId": "0x84c2dde9633d93d1bcad84e7dc41c9d56578b7ec52fabedc1f335d673df0a7c1"
480
491
  },
492
+ {
493
+ "custodyId": 5,
494
+ "custodyAccount": "AFrALLNuCbBBnhUvEjxrK96e8yjComh2xuTak1y5TEJL",
495
+ "tokenAccount": "6yofaNof5vxFfpRMmrmGK2Qge5aSUTAvUW15cL7z8fB1",
496
+ "symbol": "AUD",
497
+ "mintKey": "AUDdbsJZpT1pFErezhe9pvcf97XnvD8oo8etZbeFbBX",
498
+ "decimals": 6,
499
+ "usdPrecision": 4,
500
+ "tokenPrecision": 6,
501
+ "isStable": false,
502
+ "isVirtual": true,
503
+ "intOracleAddress": "3RDtyt5bEFEmWwh99mDN7amsn1uz4eVQ8CJuXzAGaKL8",
504
+ "extOracleAddress": "6pPXqXcgFFoLEcXfedWJy3ypNZVJ1F3mgipaDFsvZ1co",
505
+ "pythTicker": "FX.AUD/USD",
506
+ "pythPriceId": "0x67a6f93030420c1c9e3fe37c1ab6b77966af82f995944a9fefce357a22854a80"
507
+ },
481
508
  {
482
509
  "custodyId": 6,
483
510
  "custodyAccount": "5mggznCHoC98t2xXNYPVR8cqNhRhYdhV7qGWqMoY6YSJ",
@@ -608,6 +635,34 @@
608
635
  "targetMint": "GBPvXsT3uQVBmipvhhU5NW1JfhMJ2maYqLAbPzUq5NnY",
609
636
  "collateralMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
610
637
  },
638
+ {
639
+ "marketId": 8,
640
+ "marketAccount": "CxC8u5SBCtu9a53x7jSZtaAuJoKYA2ukXLuMuB9NtqoQ",
641
+ "marketCorrelation": false,
642
+ "pool": "KwhpybQPe9xuZFmAfcjLHj3ukownWex1ratyascAC1X",
643
+ "targetCustody": "AFrALLNuCbBBnhUvEjxrK96e8yjComh2xuTak1y5TEJL",
644
+ "collateralCustody": "9yANuRkTRxb9jjxnG1h3xcUz2kM8fJgDbdYJV4PfZ7dy",
645
+ "side": "long",
646
+ "maxLev": 100,
647
+ "targetCustodyId": 5,
648
+ "collateralCustodyId": 0,
649
+ "targetMint": "AUDdbsJZpT1pFErezhe9pvcf97XnvD8oo8etZbeFbBX",
650
+ "collateralMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
651
+ },
652
+ {
653
+ "marketId": 9,
654
+ "marketAccount": "JCwYots22PTcPn2XQz9un15kMj6tqEYjUKgQaay5sMY1",
655
+ "marketCorrelation": false,
656
+ "pool": "KwhpybQPe9xuZFmAfcjLHj3ukownWex1ratyascAC1X",
657
+ "targetCustody": "AFrALLNuCbBBnhUvEjxrK96e8yjComh2xuTak1y5TEJL",
658
+ "collateralCustody": "9yANuRkTRxb9jjxnG1h3xcUz2kM8fJgDbdYJV4PfZ7dy",
659
+ "side": "short",
660
+ "maxLev": 100,
661
+ "targetCustodyId": 5,
662
+ "collateralCustodyId": 0,
663
+ "targetMint": "AUDdbsJZpT1pFErezhe9pvcf97XnvD8oo8etZbeFbBX",
664
+ "collateralMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
665
+ },
611
666
  {
612
667
  "marketId": 10,
613
668
  "marketAccount": "5D2t4gqE8BjbvJaz5NUShUo3EVkqJD72P5YTzgV7n5nj",
@@ -1516,6 +1571,17 @@
1516
1571
  "pythTicker": "Crypto.USDC/USD",
1517
1572
  "pythPriceId": "0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a"
1518
1573
  },
1574
+ {
1575
+ "symbol": "TRUMP",
1576
+ "mintKey": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
1577
+ "decimals": 6,
1578
+ "usdPrecision": 4,
1579
+ "tokenPrecision": 4,
1580
+ "isStable": false,
1581
+ "isVirtual": false,
1582
+ "pythTicker": "Crypto.TRUMP/USD",
1583
+ "pythPriceId": "0x879551021853eec7a7dc827578e8e69da7e4fa8148339aa0d3d5296405be4b1a"
1584
+ },
1519
1585
  {
1520
1586
  "symbol": "FARTCOIN",
1521
1587
  "mintKey": "9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump",
@@ -1545,6 +1611,22 @@
1545
1611
  "pythTicker": "Crypto.USDC/USD",
1546
1612
  "pythPriceId": "0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a"
1547
1613
  },
1614
+ {
1615
+ "custodyId": 1,
1616
+ "custodyAccount": "Ckt7Bzzq5S1aKukXZqMZov9i2gxJGAT2Yn4AunqkKdDP",
1617
+ "tokenAccount": "6m3KTmMtvmWMJvUDjxZ6RzHVikUJ6V6bDpYwjmHos3Vf",
1618
+ "symbol": "TRUMP",
1619
+ "mintKey": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
1620
+ "decimals": 6,
1621
+ "usdPrecision": 4,
1622
+ "tokenPrecision": 4,
1623
+ "isStable": false,
1624
+ "isVirtual": false,
1625
+ "intOracleAddress": "Dku3XJ6sFEpoQtN1JYYgY64EtMMWEsz448Z4j1XPfcad",
1626
+ "extOracleAddress": "9vNb2tQoZ8bB4vzMbQLWViGwNaDJVtct13AGgno1wazp",
1627
+ "pythTicker": "Crypto.TRUMP/USD",
1628
+ "pythPriceId": "0x879551021853eec7a7dc827578e8e69da7e4fa8148339aa0d3d5296405be4b1a"
1629
+ },
1548
1630
  {
1549
1631
  "custodyId": 2,
1550
1632
  "custodyAccount": "EHzgXgb2azBXG9bgPT2GEPfe6FtyQwiJtPxMUwny4WFe",
@@ -1563,6 +1645,34 @@
1563
1645
  }
1564
1646
  ],
1565
1647
  "markets": [
1648
+ {
1649
+ "marketId": 0,
1650
+ "marketAccount": "53zJK3muUnpmp1LBZKYiiDsJLnqNw9vTWALVanaRMdyv",
1651
+ "marketCorrelation": true,
1652
+ "pool": "Crk3yzGpPCt9thXmV9wCkBM9nBq8EHhBct71ArkKY9wA",
1653
+ "targetCustody": "Ckt7Bzzq5S1aKukXZqMZov9i2gxJGAT2Yn4AunqkKdDP",
1654
+ "collateralCustody": "Ckt7Bzzq5S1aKukXZqMZov9i2gxJGAT2Yn4AunqkKdDP",
1655
+ "side": "long",
1656
+ "maxLev": 5,
1657
+ "targetCustodyId": 1,
1658
+ "collateralCustodyId": 1,
1659
+ "targetMint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
1660
+ "collateralMint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"
1661
+ },
1662
+ {
1663
+ "marketId": 1,
1664
+ "marketAccount": "DvK3NQLuwEH525Yw8XchJySNYWiy1gZNY4wfPENBakA3",
1665
+ "marketCorrelation": false,
1666
+ "pool": "Crk3yzGpPCt9thXmV9wCkBM9nBq8EHhBct71ArkKY9wA",
1667
+ "targetCustody": "Ckt7Bzzq5S1aKukXZqMZov9i2gxJGAT2Yn4AunqkKdDP",
1668
+ "collateralCustody": "B1b3WnCbwrQC8yk6o5rVLGGJFD7BdQBLyaWsRw4Lqgp2",
1669
+ "side": "short",
1670
+ "maxLev": 5,
1671
+ "targetCustodyId": 1,
1672
+ "collateralCustodyId": 0,
1673
+ "targetMint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
1674
+ "collateralMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
1675
+ },
1566
1676
  {
1567
1677
  "marketId": 2,
1568
1678
  "marketAccount": "9PYLfK5KFQVKptGjZdUGWW3hs24g3TMcYAS3B73k3BDi",
@@ -1972,6 +2082,17 @@
1972
2082
  "pythTicker": "FX.GBP/USD",
1973
2083
  "pythPriceId": "0x84c2dde9633d93d1bcad84e7dc41c9d56578b7ec52fabedc1f335d673df0a7c1"
1974
2084
  },
2085
+ {
2086
+ "symbol": "AUD",
2087
+ "mintKey": "auduqqUHqZC3DRmZaAtzccTs3NTi1fSYp5rgg4uYwFz",
2088
+ "decimals": 6,
2089
+ "usdPrecision": 4,
2090
+ "tokenPrecision": 4,
2091
+ "isStable": false,
2092
+ "isVirtual": true,
2093
+ "pythTicker": "FX.AUD/USD",
2094
+ "pythPriceId": "0x67a6f93030420c1c9e3fe37c1ab6b77966af82f995944a9fefce357a22854a80"
2095
+ },
1975
2096
  {
1976
2097
  "symbol": "CRUDEOIL",
1977
2098
  "mintKey": "oi1DkCGa5CVm379ZuznLMevqjg7KGWnDDFB96JXAi7a",
@@ -2065,6 +2186,22 @@
2065
2186
  "pythTicker": "FX.GBP/USD",
2066
2187
  "pythPriceId": "0x84c2dde9633d93d1bcad84e7dc41c9d56578b7ec52fabedc1f335d673df0a7c1"
2067
2188
  },
2189
+ {
2190
+ "custodyId": 5,
2191
+ "custodyAccount": "GcMKm7441Vx3rtUuE4qQzV7tWmv8mHWShZ9CerasWuwc",
2192
+ "tokenAccount": "B4z3UgMM4KnCyWbrju8HWhLX7b7xd1TSrdheLMDtTj2N",
2193
+ "symbol": "AUD",
2194
+ "mintKey": "auduqqUHqZC3DRmZaAtzccTs3NTi1fSYp5rgg4uYwFz",
2195
+ "decimals": 6,
2196
+ "usdPrecision": 4,
2197
+ "tokenPrecision": 4,
2198
+ "isStable": false,
2199
+ "isVirtual": true,
2200
+ "intOracleAddress": "BttDaqMMzPPvUvakrRsddcjJxiTs2qTmrCcWvk5nvtc9",
2201
+ "extOracleAddress": "6pPXqXcgFFoLEcXfedWJy3ypNZVJ1F3mgipaDFsvZ1co",
2202
+ "pythTicker": "FX.AUD/USD",
2203
+ "pythPriceId": "0x67a6f93030420c1c9e3fe37c1ab6b77966af82f995944a9fefce357a22854a80"
2204
+ },
2068
2205
  {
2069
2206
  "custodyId": 6,
2070
2207
  "custodyAccount": "7B6jnXZTsMtCzcrwFv1Pnr4WpGu8tkw6rqBThucG4Pkw",
@@ -2195,6 +2332,34 @@
2195
2332
  "targetMint": "gbpLV6AqxQGSMFsuSfcutvWnfjLUqKq63GoXLAHXXKV",
2196
2333
  "collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
2197
2334
  },
2335
+ {
2336
+ "marketId": 8,
2337
+ "marketAccount": "6yCsUoaTU4JVNikkEXfCV7KKDh7FcMY23hcvKk9dqhqf",
2338
+ "marketCorrelation": false,
2339
+ "pool": "5MCtcNsF3dxna8ArzMamyciWDV3TBkiAzY1NqLtNiXvw",
2340
+ "targetCustody": "GcMKm7441Vx3rtUuE4qQzV7tWmv8mHWShZ9CerasWuwc",
2341
+ "collateralCustody": "8DrHPGQq4dBrSYV2oy8oDi3sQDSgeCaAe1jq3s9tSh42",
2342
+ "side": "long",
2343
+ "maxLev": 200,
2344
+ "targetCustodyId": 5,
2345
+ "collateralCustodyId": 0,
2346
+ "targetMint": "auduqqUHqZC3DRmZaAtzccTs3NTi1fSYp5rgg4uYwFz",
2347
+ "collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
2348
+ },
2349
+ {
2350
+ "marketId": 9,
2351
+ "marketAccount": "BnA1TVMsE4jsrdCwo38n6EwpRCkKzVxwVhXE7izmBd8F",
2352
+ "marketCorrelation": false,
2353
+ "pool": "5MCtcNsF3dxna8ArzMamyciWDV3TBkiAzY1NqLtNiXvw",
2354
+ "targetCustody": "GcMKm7441Vx3rtUuE4qQzV7tWmv8mHWShZ9CerasWuwc",
2355
+ "collateralCustody": "8DrHPGQq4dBrSYV2oy8oDi3sQDSgeCaAe1jq3s9tSh42",
2356
+ "side": "short",
2357
+ "maxLev": 200,
2358
+ "targetCustodyId": 5,
2359
+ "collateralCustodyId": 0,
2360
+ "targetMint": "auduqqUHqZC3DRmZaAtzccTs3NTi1fSYp5rgg4uYwFz",
2361
+ "collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
2362
+ },
2198
2363
  {
2199
2364
  "marketId": 10,
2200
2365
  "marketAccount": "9LuTyn29Ro7atJmGfu31F77dcQ3vATT5GovTair6stWF",
@@ -3103,6 +3268,17 @@
3103
3268
  "pythTicker": "Crypto.USDC/USD",
3104
3269
  "pythPriceId": "0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a"
3105
3270
  },
3271
+ {
3272
+ "symbol": "TRUMP",
3273
+ "mintKey": "trmpE3o2TJpkvszv7hZvFw72ynYYfyoVJXjJajfK5VH",
3274
+ "decimals": 6,
3275
+ "usdPrecision": 4,
3276
+ "tokenPrecision": 4,
3277
+ "isStable": false,
3278
+ "isVirtual": false,
3279
+ "pythTicker": "Crypto.TRUMP/USD",
3280
+ "pythPriceId": "0x879551021853eec7a7dc827578e8e69da7e4fa8148339aa0d3d5296405be4b1a"
3281
+ },
3106
3282
  {
3107
3283
  "symbol": "FARTCOIN",
3108
3284
  "mintKey": "fartpRHniUMJ2dG3AFkFcmvDHptBSqBbttYwE3hKv5t",
@@ -3132,6 +3308,22 @@
3132
3308
  "pythTicker": "Crypto.USDC/USD",
3133
3309
  "pythPriceId": "0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a"
3134
3310
  },
3311
+ {
3312
+ "custodyId": 1,
3313
+ "custodyAccount": "2dLnRMbXfMx8DnGb6CbM3BrLv4F78SWLx7uWRTZPTZ1y",
3314
+ "tokenAccount": "DDKaMxvZmgUNHDjWPf12LZrMnWF4gLHFnvRYtK17kUCq",
3315
+ "symbol": "TRUMP",
3316
+ "mintKey": "trmpE3o2TJpkvszv7hZvFw72ynYYfyoVJXjJajfK5VH",
3317
+ "decimals": 6,
3318
+ "usdPrecision": 4,
3319
+ "tokenPrecision": 4,
3320
+ "isStable": false,
3321
+ "isVirtual": false,
3322
+ "intOracleAddress": "2X5dR335kR9zvcS6XeYAoQ91X2i1eGvzBu2niPW8vFM5",
3323
+ "extOracleAddress": "9vNb2tQoZ8bB4vzMbQLWViGwNaDJVtct13AGgno1wazp",
3324
+ "pythTicker": "Crypto.TRUMP/USD",
3325
+ "pythPriceId": "0x879551021853eec7a7dc827578e8e69da7e4fa8148339aa0d3d5296405be4b1a"
3326
+ },
3135
3327
  {
3136
3328
  "custodyId": 2,
3137
3329
  "custodyAccount": "EbH7fBbcTojR5P8kPDEFeUnFRGr5SXKWaavqtCgpH9G4",
@@ -3150,6 +3342,34 @@
3150
3342
  }
3151
3343
  ],
3152
3344
  "markets": [
3345
+ {
3346
+ "marketId": 0,
3347
+ "marketAccount": "CZBZsoRS8zyoysWqQoQGQct12srenVvKdqG5cyFhyRJN",
3348
+ "marketCorrelation": true,
3349
+ "pool": "GJMj6ZeK8JYvwYNfurMKf6sEYZLkonqvYzXowcS6TL5D",
3350
+ "targetCustody": "2dLnRMbXfMx8DnGb6CbM3BrLv4F78SWLx7uWRTZPTZ1y",
3351
+ "collateralCustody": "2dLnRMbXfMx8DnGb6CbM3BrLv4F78SWLx7uWRTZPTZ1y",
3352
+ "side": "long",
3353
+ "maxLev": 5,
3354
+ "targetCustodyId": 1,
3355
+ "collateralCustodyId": 1,
3356
+ "targetMint": "trmpE3o2TJpkvszv7hZvFw72ynYYfyoVJXjJajfK5VH",
3357
+ "collateralMint": "trmpE3o2TJpkvszv7hZvFw72ynYYfyoVJXjJajfK5VH"
3358
+ },
3359
+ {
3360
+ "marketId": 1,
3361
+ "marketAccount": "E2f2k4bMv6g4usjt9zAz43CudykXWGwjG8s6nYtJF8Yy",
3362
+ "marketCorrelation": false,
3363
+ "pool": "GJMj6ZeK8JYvwYNfurMKf6sEYZLkonqvYzXowcS6TL5D",
3364
+ "targetCustody": "2dLnRMbXfMx8DnGb6CbM3BrLv4F78SWLx7uWRTZPTZ1y",
3365
+ "collateralCustody": "FheNnJ2RmuVCJFvHbhADFHwfQwnCX9nMhdsay1hxSmkv",
3366
+ "side": "short",
3367
+ "maxLev": 5,
3368
+ "targetCustodyId": 1,
3369
+ "collateralCustodyId": 0,
3370
+ "targetMint": "trmpE3o2TJpkvszv7hZvFw72ynYYfyoVJXjJajfK5VH",
3371
+ "collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
3372
+ },
3153
3373
  {
3154
3374
  "marketId": 2,
3155
3375
  "marketAccount": "B1ZSHUD97mU8DPG4LeWx7QcN4wV6KkTKNmv9hXU2Qb95",
@@ -82,10 +82,10 @@ var ViewHelper = (function () {
82
82
  console.log("decode error::", error);
83
83
  }
84
84
  };
85
- ViewHelper.prototype.simulateTransaction = function (transaction_1) {
86
- return __awaiter(this, arguments, void 0, function (transaction, userPublicKey) {
85
+ ViewHelper.prototype.simulateTransaction = function (transaction, userPublicKey) {
86
+ if (userPublicKey === void 0) { userPublicKey = undefined; }
87
+ return __awaiter(this, void 0, void 0, function () {
87
88
  var latestBlockhash, messageV0, transaction2;
88
- if (userPublicKey === void 0) { userPublicKey = undefined; }
89
89
  return __generator(this, function (_a) {
90
90
  switch (_a.label) {
91
91
  case 0:
@@ -129,10 +129,10 @@ var getBackupOracleInstruction = function (program, poolConfig, backupOracleSecr
129
129
  }
130
130
  };
131
131
  exports.getBackupOracleInstruction = getBackupOracleInstruction;
132
- function createBackupOracleInstruction(poolAddress_1) {
133
- return __awaiter(this, arguments, void 0, function (poolAddress, overrideCheck) {
132
+ function createBackupOracleInstruction(poolAddress, overrideCheck) {
133
+ if (overrideCheck === void 0) { overrideCheck = false; }
134
+ return __awaiter(this, void 0, void 0, function () {
134
135
  var backupOracleData, backUpOracleInstruction, error_1;
135
- if (overrideCheck === void 0) { overrideCheck = false; }
136
136
  return __generator(this, function (_a) {
137
137
  switch (_a.label) {
138
138
  case 0:
@@ -1520,6 +1520,44 @@ export type Perpetuals = {
1520
1520
  ];
1521
1521
  "returns": "u8";
1522
1522
  },
1523
+ {
1524
+ "name": "setInternalCurrentPrice";
1525
+ "accounts": [
1526
+ {
1527
+ "name": "authority";
1528
+ "isMut": true;
1529
+ "isSigner": true;
1530
+ }
1531
+ ];
1532
+ "args": [
1533
+ {
1534
+ "name": "params";
1535
+ "type": {
1536
+ "defined": "SetInternalCurrentPriceParams";
1537
+ };
1538
+ }
1539
+ ];
1540
+ "returns": "u8";
1541
+ },
1542
+ {
1543
+ "name": "setInternalEmaPrice";
1544
+ "accounts": [
1545
+ {
1546
+ "name": "authority";
1547
+ "isMut": true;
1548
+ "isSigner": true;
1549
+ }
1550
+ ];
1551
+ "args": [
1552
+ {
1553
+ "name": "params";
1554
+ "type": {
1555
+ "defined": "SetInternalEmaPriceParams";
1556
+ };
1557
+ }
1558
+ ];
1559
+ "returns": "u8";
1560
+ },
1523
1561
  {
1524
1562
  "name": "setInternalOraclePrice";
1525
1563
  "accounts": [
@@ -8326,7 +8364,12 @@ export type Perpetuals = {
8326
8364
  "name": "AddInternalOracleParams";
8327
8365
  "type": {
8328
8366
  "kind": "struct";
8329
- "fields": [];
8367
+ "fields": [
8368
+ {
8369
+ "name": "expo";
8370
+ "type": "i32";
8371
+ }
8372
+ ];
8330
8373
  };
8331
8374
  },
8332
8375
  {
@@ -9704,6 +9747,38 @@ export type Perpetuals = {
9704
9747
  ];
9705
9748
  };
9706
9749
  },
9750
+ {
9751
+ "name": "SetInternalCurrentPriceParams";
9752
+ "type": {
9753
+ "kind": "struct";
9754
+ "fields": [
9755
+ {
9756
+ "name": "prices";
9757
+ "type": {
9758
+ "vec": {
9759
+ "defined": "InternalPrice";
9760
+ };
9761
+ };
9762
+ }
9763
+ ];
9764
+ };
9765
+ },
9766
+ {
9767
+ "name": "SetInternalEmaPriceParams";
9768
+ "type": {
9769
+ "kind": "struct";
9770
+ "fields": [
9771
+ {
9772
+ "name": "prices";
9773
+ "type": {
9774
+ "vec": {
9775
+ "defined": "InternalEmaPrice";
9776
+ };
9777
+ };
9778
+ }
9779
+ ];
9780
+ };
9781
+ },
9707
9782
  {
9708
9783
  "name": "SetInternalOraclePriceParams";
9709
9784
  "type": {
@@ -10593,6 +10668,42 @@ export type Perpetuals = {
10593
10668
  ];
10594
10669
  };
10595
10670
  },
10671
+ {
10672
+ "name": "InternalPrice";
10673
+ "type": {
10674
+ "kind": "struct";
10675
+ "fields": [
10676
+ {
10677
+ "name": "price";
10678
+ "type": "u64";
10679
+ },
10680
+ {
10681
+ "name": "conf";
10682
+ "type": "u64";
10683
+ },
10684
+ {
10685
+ "name": "publishTime";
10686
+ "type": "i64";
10687
+ }
10688
+ ];
10689
+ };
10690
+ },
10691
+ {
10692
+ "name": "InternalEmaPrice";
10693
+ "type": {
10694
+ "kind": "struct";
10695
+ "fields": [
10696
+ {
10697
+ "name": "emaPrice";
10698
+ "type": "u64";
10699
+ },
10700
+ {
10701
+ "name": "publishTime";
10702
+ "type": "i64";
10703
+ }
10704
+ ];
10705
+ };
10706
+ },
10596
10707
  {
10597
10708
  "name": "BackupOracle";
10598
10709
  "type": {
@@ -1523,6 +1523,44 @@ exports.IDL = {
1523
1523
  ],
1524
1524
  "returns": "u8"
1525
1525
  },
1526
+ {
1527
+ "name": "setInternalCurrentPrice",
1528
+ "accounts": [
1529
+ {
1530
+ "name": "authority",
1531
+ "isMut": true,
1532
+ "isSigner": true
1533
+ }
1534
+ ],
1535
+ "args": [
1536
+ {
1537
+ "name": "params",
1538
+ "type": {
1539
+ "defined": "SetInternalCurrentPriceParams"
1540
+ }
1541
+ }
1542
+ ],
1543
+ "returns": "u8"
1544
+ },
1545
+ {
1546
+ "name": "setInternalEmaPrice",
1547
+ "accounts": [
1548
+ {
1549
+ "name": "authority",
1550
+ "isMut": true,
1551
+ "isSigner": true
1552
+ }
1553
+ ],
1554
+ "args": [
1555
+ {
1556
+ "name": "params",
1557
+ "type": {
1558
+ "defined": "SetInternalEmaPriceParams"
1559
+ }
1560
+ }
1561
+ ],
1562
+ "returns": "u8"
1563
+ },
1526
1564
  {
1527
1565
  "name": "setInternalOraclePrice",
1528
1566
  "accounts": [
@@ -8329,7 +8367,12 @@ exports.IDL = {
8329
8367
  "name": "AddInternalOracleParams",
8330
8368
  "type": {
8331
8369
  "kind": "struct",
8332
- "fields": []
8370
+ "fields": [
8371
+ {
8372
+ "name": "expo",
8373
+ "type": "i32"
8374
+ }
8375
+ ]
8333
8376
  }
8334
8377
  },
8335
8378
  {
@@ -9707,6 +9750,38 @@ exports.IDL = {
9707
9750
  ]
9708
9751
  }
9709
9752
  },
9753
+ {
9754
+ "name": "SetInternalCurrentPriceParams",
9755
+ "type": {
9756
+ "kind": "struct",
9757
+ "fields": [
9758
+ {
9759
+ "name": "prices",
9760
+ "type": {
9761
+ "vec": {
9762
+ "defined": "InternalPrice"
9763
+ }
9764
+ }
9765
+ }
9766
+ ]
9767
+ }
9768
+ },
9769
+ {
9770
+ "name": "SetInternalEmaPriceParams",
9771
+ "type": {
9772
+ "kind": "struct",
9773
+ "fields": [
9774
+ {
9775
+ "name": "prices",
9776
+ "type": {
9777
+ "vec": {
9778
+ "defined": "InternalEmaPrice"
9779
+ }
9780
+ }
9781
+ }
9782
+ ]
9783
+ }
9784
+ },
9710
9785
  {
9711
9786
  "name": "SetInternalOraclePriceParams",
9712
9787
  "type": {
@@ -10596,6 +10671,42 @@ exports.IDL = {
10596
10671
  ]
10597
10672
  }
10598
10673
  },
10674
+ {
10675
+ "name": "InternalPrice",
10676
+ "type": {
10677
+ "kind": "struct",
10678
+ "fields": [
10679
+ {
10680
+ "name": "price",
10681
+ "type": "u64"
10682
+ },
10683
+ {
10684
+ "name": "conf",
10685
+ "type": "u64"
10686
+ },
10687
+ {
10688
+ "name": "publishTime",
10689
+ "type": "i64"
10690
+ }
10691
+ ]
10692
+ }
10693
+ },
10694
+ {
10695
+ "name": "InternalEmaPrice",
10696
+ "type": {
10697
+ "kind": "struct",
10698
+ "fields": [
10699
+ {
10700
+ "name": "emaPrice",
10701
+ "type": "u64"
10702
+ },
10703
+ {
10704
+ "name": "publishTime",
10705
+ "type": "i64"
10706
+ }
10707
+ ]
10708
+ }
10709
+ },
10599
10710
  {
10600
10711
  "name": "BackupOracle",
10601
10712
  "type": {