flash-sdk 2.49.1 → 2.50.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/PerpetualsClient.d.ts +2 -10
- package/dist/PerpetualsClient.js +541 -516
- package/dist/PoolConfig.json +110 -0
- package/dist/ViewHelper.js +3 -3
- package/dist/backupOracle.js +3 -3
- package/dist/idl/perpetuals.d.ts +1 -112
- package/dist/idl/perpetuals.js +1 -112
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/utils/alt.d.ts +0 -1
- package/dist/utils/rpc.js +50 -50
- package/package.json +1 -1
package/dist/PoolConfig.json
CHANGED
|
@@ -719,6 +719,17 @@
|
|
|
719
719
|
"pythTicker": "Crypto.JTO/USD",
|
|
720
720
|
"pythPriceId": "0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2"
|
|
721
721
|
},
|
|
722
|
+
{
|
|
723
|
+
"symbol": "W",
|
|
724
|
+
"mintKey": "85VBFQZC9TZkfaptBWjvUw7YbZjy52A6mjtPGjstQAmQ",
|
|
725
|
+
"decimals": 6,
|
|
726
|
+
"usdPrecision": 4,
|
|
727
|
+
"tokenPrecision": 4,
|
|
728
|
+
"isStable": false,
|
|
729
|
+
"isVirtual": false,
|
|
730
|
+
"pythTicker": "Crypto.W/USD",
|
|
731
|
+
"pythPriceId": "0xeff7446475e218517566ea99e72a4abec2e1bd8498b43b7d8331e29dcb059389"
|
|
732
|
+
},
|
|
722
733
|
{
|
|
723
734
|
"symbol": "RAY",
|
|
724
735
|
"mintKey": "4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R",
|
|
@@ -807,6 +818,22 @@
|
|
|
807
818
|
"pythTicker": "Crypto.JTO/USD",
|
|
808
819
|
"pythPriceId": "0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2"
|
|
809
820
|
},
|
|
821
|
+
{
|
|
822
|
+
"custodyId": 4,
|
|
823
|
+
"custodyAccount": "58NxGYaVq1CXpNJUsvUDGgBeBtMcoGHP8u58KSk2bagE",
|
|
824
|
+
"tokenAccount": "4xooDvD4S1BJECjGnKmzNJQrtSxxXVpHRHLiZYc5xyC3",
|
|
825
|
+
"symbol": "W",
|
|
826
|
+
"mintKey": "85VBFQZC9TZkfaptBWjvUw7YbZjy52A6mjtPGjstQAmQ",
|
|
827
|
+
"decimals": 6,
|
|
828
|
+
"usdPrecision": 4,
|
|
829
|
+
"tokenPrecision": 6,
|
|
830
|
+
"isStable": false,
|
|
831
|
+
"isVirtual": false,
|
|
832
|
+
"intOracleAddress": "F1xtMtakpmtDvtrGs7YXeJHAmQi4owUxNns5P5qsZN35",
|
|
833
|
+
"extOracleAddress": "BEMsCSQEGi2kwPA4mKnGjxnreijhMki7L4eeb96ypzF9",
|
|
834
|
+
"pythTicker": "Crypto.W/USD",
|
|
835
|
+
"pythPriceId": "0xeff7446475e218517566ea99e72a4abec2e1bd8498b43b7d8331e29dcb059389"
|
|
836
|
+
},
|
|
810
837
|
{
|
|
811
838
|
"custodyId": 5,
|
|
812
839
|
"custodyAccount": "AuzpQGWBNTYKXj4pe5WPoT95dc2T7ouMWpjcriF9t4XS",
|
|
@@ -925,6 +952,34 @@
|
|
|
925
952
|
"targetMint": "jtojtomepa8beP8AuQc6eXt5FriJwfFMwQx2v2f9mCL",
|
|
926
953
|
"collateralMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
|
|
927
954
|
},
|
|
955
|
+
{
|
|
956
|
+
"marketId": 6,
|
|
957
|
+
"marketAccount": "Dk2P1xDyewb9nxsMacw6gfuhTb3DqPZM1Sm97K66CTQK",
|
|
958
|
+
"marketCorrelation": true,
|
|
959
|
+
"pool": "D6bfytnxoZBSzJM7fcixg5sgWJ2hj8SbwkPvb2r8XpbH",
|
|
960
|
+
"targetCustody": "58NxGYaVq1CXpNJUsvUDGgBeBtMcoGHP8u58KSk2bagE",
|
|
961
|
+
"collateralCustody": "58NxGYaVq1CXpNJUsvUDGgBeBtMcoGHP8u58KSk2bagE",
|
|
962
|
+
"side": "long",
|
|
963
|
+
"maxLev": 50,
|
|
964
|
+
"targetCustodyId": 4,
|
|
965
|
+
"collateralCustodyId": 4,
|
|
966
|
+
"targetMint": "85VBFQZC9TZkfaptBWjvUw7YbZjy52A6mjtPGjstQAmQ",
|
|
967
|
+
"collateralMint": "85VBFQZC9TZkfaptBWjvUw7YbZjy52A6mjtPGjstQAmQ"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"marketId": 7,
|
|
971
|
+
"marketAccount": "9mMAN4hFvw5AGB6eNay1WvNsGoyK9xcBafZ5tVbHcHQq",
|
|
972
|
+
"marketCorrelation": false,
|
|
973
|
+
"pool": "D6bfytnxoZBSzJM7fcixg5sgWJ2hj8SbwkPvb2r8XpbH",
|
|
974
|
+
"targetCustody": "58NxGYaVq1CXpNJUsvUDGgBeBtMcoGHP8u58KSk2bagE",
|
|
975
|
+
"collateralCustody": "6fiadNoZVTha5NdaktZgJ3PHm7bncZpiqGvFbCsrUv72",
|
|
976
|
+
"side": "short",
|
|
977
|
+
"maxLev": 50,
|
|
978
|
+
"targetCustodyId": 4,
|
|
979
|
+
"collateralCustodyId": 0,
|
|
980
|
+
"targetMint": "85VBFQZC9TZkfaptBWjvUw7YbZjy52A6mjtPGjstQAmQ",
|
|
981
|
+
"collateralMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
|
|
982
|
+
},
|
|
928
983
|
{
|
|
929
984
|
"marketId": 8,
|
|
930
985
|
"marketAccount": "aZCThBPnK1j8feCAKnVtS3QjULzNwPDy4a8V3FzbM9V",
|
|
@@ -2251,6 +2306,17 @@
|
|
|
2251
2306
|
"pythTicker": "Crypto.JTO/USD",
|
|
2252
2307
|
"pythPriceId": "0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2"
|
|
2253
2308
|
},
|
|
2309
|
+
{
|
|
2310
|
+
"symbol": "W",
|
|
2311
|
+
"mintKey": "wda4XRBjGzP2kbCuapvfseNnH49WNkTqLw5szmjjxDG",
|
|
2312
|
+
"decimals": 6,
|
|
2313
|
+
"usdPrecision": 4,
|
|
2314
|
+
"tokenPrecision": 4,
|
|
2315
|
+
"isStable": false,
|
|
2316
|
+
"isVirtual": false,
|
|
2317
|
+
"pythTicker": "Crypto.W/USD",
|
|
2318
|
+
"pythPriceId": "0xeff7446475e218517566ea99e72a4abec2e1bd8498b43b7d8331e29dcb059389"
|
|
2319
|
+
},
|
|
2254
2320
|
{
|
|
2255
2321
|
"symbol": "RAY",
|
|
2256
2322
|
"mintKey": "ray4PVwCwoM4ADM3qKar3Wy6v7eA2zcMtHWv7LAPGe8",
|
|
@@ -2339,6 +2405,22 @@
|
|
|
2339
2405
|
"pythTicker": "Crypto.JTO/USD",
|
|
2340
2406
|
"pythPriceId": "0xb43660a5f790c69354b0729a5ef9d50d68f1df92107540210b9cccba1f947cc2"
|
|
2341
2407
|
},
|
|
2408
|
+
{
|
|
2409
|
+
"custodyId": 4,
|
|
2410
|
+
"custodyAccount": "7DLv5QVuRizNG4P5ak8jZRdn9PeSETSeGogzPMh6p3WU",
|
|
2411
|
+
"tokenAccount": "71EcBjgsDBQJHGrD3kUKRHbKVr6jWZgpee7aRrcsxH9K",
|
|
2412
|
+
"symbol": "W",
|
|
2413
|
+
"mintKey": "wda4XRBjGzP2kbCuapvfseNnH49WNkTqLw5szmjjxDG",
|
|
2414
|
+
"decimals": 6,
|
|
2415
|
+
"usdPrecision": 4,
|
|
2416
|
+
"tokenPrecision": 4,
|
|
2417
|
+
"isStable": false,
|
|
2418
|
+
"isVirtual": false,
|
|
2419
|
+
"intOracleAddress": "H4JgM7j6H19YrvzGmrx67LDQRemm4G1ocgjASBfB7WBR",
|
|
2420
|
+
"extOracleAddress": "BEMsCSQEGi2kwPA4mKnGjxnreijhMki7L4eeb96ypzF9",
|
|
2421
|
+
"pythTicker": "Crypto.W/USD",
|
|
2422
|
+
"pythPriceId": "0xeff7446475e218517566ea99e72a4abec2e1bd8498b43b7d8331e29dcb059389"
|
|
2423
|
+
},
|
|
2342
2424
|
{
|
|
2343
2425
|
"custodyId": 5,
|
|
2344
2426
|
"custodyAccount": "4t4CxpF8cjtgdiVKNgpsM5i7K3C1zUpvUcbG4hCToNfD",
|
|
@@ -2457,6 +2539,34 @@
|
|
|
2457
2539
|
"targetMint": "jtoLsU5JqXTYzPzRwGK7UmsNgy1EN6BwNRr6KMJKcXi",
|
|
2458
2540
|
"collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
|
|
2459
2541
|
},
|
|
2542
|
+
{
|
|
2543
|
+
"marketId": 6,
|
|
2544
|
+
"marketAccount": "9zvixTyYoxSeiEW1Acb3aScdi6HUPbSGQqTLa1PinAZb",
|
|
2545
|
+
"marketCorrelation": true,
|
|
2546
|
+
"pool": "FpRXePeSYyPZrBKrCSvLNSQGYT6gkgZXGDCBWVVRkNRT",
|
|
2547
|
+
"targetCustody": "7DLv5QVuRizNG4P5ak8jZRdn9PeSETSeGogzPMh6p3WU",
|
|
2548
|
+
"collateralCustody": "7DLv5QVuRizNG4P5ak8jZRdn9PeSETSeGogzPMh6p3WU",
|
|
2549
|
+
"side": "long",
|
|
2550
|
+
"maxLev": 50,
|
|
2551
|
+
"targetCustodyId": 4,
|
|
2552
|
+
"collateralCustodyId": 4,
|
|
2553
|
+
"targetMint": "wda4XRBjGzP2kbCuapvfseNnH49WNkTqLw5szmjjxDG",
|
|
2554
|
+
"collateralMint": "wda4XRBjGzP2kbCuapvfseNnH49WNkTqLw5szmjjxDG"
|
|
2555
|
+
},
|
|
2556
|
+
{
|
|
2557
|
+
"marketId": 7,
|
|
2558
|
+
"marketAccount": "7AcT3XJsLT97MeXUpai71zEuFGdg5QetbTDTQheWMqFT",
|
|
2559
|
+
"marketCorrelation": false,
|
|
2560
|
+
"pool": "FpRXePeSYyPZrBKrCSvLNSQGYT6gkgZXGDCBWVVRkNRT",
|
|
2561
|
+
"targetCustody": "7DLv5QVuRizNG4P5ak8jZRdn9PeSETSeGogzPMh6p3WU",
|
|
2562
|
+
"collateralCustody": "4BwjABgU78jqjKeyCemyCCLwEtFdZ8JSeP9ogPMQS8Zg",
|
|
2563
|
+
"side": "short",
|
|
2564
|
+
"maxLev": 50,
|
|
2565
|
+
"targetCustodyId": 4,
|
|
2566
|
+
"collateralCustodyId": 0,
|
|
2567
|
+
"targetMint": "wda4XRBjGzP2kbCuapvfseNnH49WNkTqLw5szmjjxDG",
|
|
2568
|
+
"collateralMint": "Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr"
|
|
2569
|
+
},
|
|
2460
2570
|
{
|
|
2461
2571
|
"marketId": 8,
|
|
2462
2572
|
"marketAccount": "CmKDkRzjB4sGiVqui7JPKL5wARFjcryPNFTbwDgPNxzB",
|
package/dist/ViewHelper.js
CHANGED
|
@@ -82,10 +82,10 @@ var ViewHelper = (function () {
|
|
|
82
82
|
console.log("decode error::", error);
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
|
-
ViewHelper.prototype.simulateTransaction = function (
|
|
86
|
-
|
|
87
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
85
|
+
ViewHelper.prototype.simulateTransaction = function (transaction_1) {
|
|
86
|
+
return __awaiter(this, arguments, void 0, function (transaction, userPublicKey) {
|
|
88
87
|
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:
|
package/dist/backupOracle.js
CHANGED
|
@@ -129,10 +129,10 @@ var getBackupOracleInstruction = function (program, poolConfig, backupOracleSecr
|
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
131
|
exports.getBackupOracleInstruction = getBackupOracleInstruction;
|
|
132
|
-
function createBackupOracleInstruction(
|
|
133
|
-
|
|
134
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
132
|
+
function createBackupOracleInstruction(poolAddress_1) {
|
|
133
|
+
return __awaiter(this, arguments, void 0, function (poolAddress, overrideCheck) {
|
|
135
134
|
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:
|
package/dist/idl/perpetuals.d.ts
CHANGED
|
@@ -1520,44 +1520,6 @@ 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
|
-
},
|
|
1561
1523
|
{
|
|
1562
1524
|
"name": "setInternalOraclePrice";
|
|
1563
1525
|
"accounts": [
|
|
@@ -8364,12 +8326,7 @@ export type Perpetuals = {
|
|
|
8364
8326
|
"name": "AddInternalOracleParams";
|
|
8365
8327
|
"type": {
|
|
8366
8328
|
"kind": "struct";
|
|
8367
|
-
"fields": [
|
|
8368
|
-
{
|
|
8369
|
-
"name": "expo";
|
|
8370
|
-
"type": "i32";
|
|
8371
|
-
}
|
|
8372
|
-
];
|
|
8329
|
+
"fields": [];
|
|
8373
8330
|
};
|
|
8374
8331
|
},
|
|
8375
8332
|
{
|
|
@@ -9747,38 +9704,6 @@ export type Perpetuals = {
|
|
|
9747
9704
|
];
|
|
9748
9705
|
};
|
|
9749
9706
|
},
|
|
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
|
-
},
|
|
9782
9707
|
{
|
|
9783
9708
|
"name": "SetInternalOraclePriceParams";
|
|
9784
9709
|
"type": {
|
|
@@ -10668,42 +10593,6 @@ export type Perpetuals = {
|
|
|
10668
10593
|
];
|
|
10669
10594
|
};
|
|
10670
10595
|
},
|
|
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
|
-
},
|
|
10707
10596
|
{
|
|
10708
10597
|
"name": "BackupOracle";
|
|
10709
10598
|
"type": {
|
package/dist/idl/perpetuals.js
CHANGED
|
@@ -1523,44 +1523,6 @@ 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
|
-
},
|
|
1564
1526
|
{
|
|
1565
1527
|
"name": "setInternalOraclePrice",
|
|
1566
1528
|
"accounts": [
|
|
@@ -8367,12 +8329,7 @@ exports.IDL = {
|
|
|
8367
8329
|
"name": "AddInternalOracleParams",
|
|
8368
8330
|
"type": {
|
|
8369
8331
|
"kind": "struct",
|
|
8370
|
-
"fields": [
|
|
8371
|
-
{
|
|
8372
|
-
"name": "expo",
|
|
8373
|
-
"type": "i32"
|
|
8374
|
-
}
|
|
8375
|
-
]
|
|
8332
|
+
"fields": []
|
|
8376
8333
|
}
|
|
8377
8334
|
},
|
|
8378
8335
|
{
|
|
@@ -9750,38 +9707,6 @@ exports.IDL = {
|
|
|
9750
9707
|
]
|
|
9751
9708
|
}
|
|
9752
9709
|
},
|
|
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
|
-
},
|
|
9785
9710
|
{
|
|
9786
9711
|
"name": "SetInternalOraclePriceParams",
|
|
9787
9712
|
"type": {
|
|
@@ -10671,42 +10596,6 @@ exports.IDL = {
|
|
|
10671
10596
|
]
|
|
10672
10597
|
}
|
|
10673
10598
|
},
|
|
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
|
-
},
|
|
10710
10599
|
{
|
|
10711
10600
|
"name": "BackupOracle",
|
|
10712
10601
|
"type": {
|