@drift-labs/sdk 2.131.0-beta.6 → 2.131.0-beta.7
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/VERSION +1 -1
- package/lib/browser/idl/drift.json +36 -5
- package/lib/node/idl/drift.json +36 -5
- package/package.json +1 -1
- package/src/idl/drift.json +37 -6
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.131.0-beta.
|
|
1
|
+
2.131.0-beta.7
|
|
@@ -7576,6 +7576,27 @@
|
|
|
7576
7576
|
}
|
|
7577
7577
|
],
|
|
7578
7578
|
"args": []
|
|
7579
|
+
},
|
|
7580
|
+
{
|
|
7581
|
+
"name": "updateFeatureBitFlagsMedianTriggerPrice",
|
|
7582
|
+
"accounts": [
|
|
7583
|
+
{
|
|
7584
|
+
"name": "admin",
|
|
7585
|
+
"isMut": false,
|
|
7586
|
+
"isSigner": true
|
|
7587
|
+
},
|
|
7588
|
+
{
|
|
7589
|
+
"name": "state",
|
|
7590
|
+
"isMut": true,
|
|
7591
|
+
"isSigner": false
|
|
7592
|
+
}
|
|
7593
|
+
],
|
|
7594
|
+
"args": [
|
|
7595
|
+
{
|
|
7596
|
+
"name": "enable",
|
|
7597
|
+
"type": "bool"
|
|
7598
|
+
}
|
|
7599
|
+
]
|
|
7579
7600
|
}
|
|
7580
7601
|
],
|
|
7581
7602
|
"accounts": [
|
|
@@ -11434,7 +11455,7 @@
|
|
|
11434
11455
|
{
|
|
11435
11456
|
"name": "openBids",
|
|
11436
11457
|
"docs": [
|
|
11437
|
-
"How many spot
|
|
11458
|
+
"How many spot non reduce only trigger orders the user has open",
|
|
11438
11459
|
"precision: token mint precision"
|
|
11439
11460
|
],
|
|
11440
11461
|
"type": "i64"
|
|
@@ -11442,7 +11463,7 @@
|
|
|
11442
11463
|
{
|
|
11443
11464
|
"name": "openAsks",
|
|
11444
11465
|
"docs": [
|
|
11445
|
-
"How many spot
|
|
11466
|
+
"How many spot non reduce only trigger orders the user has open",
|
|
11446
11467
|
"precision: token mint precision"
|
|
11447
11468
|
],
|
|
11448
11469
|
"type": "i64"
|
|
@@ -11541,7 +11562,7 @@
|
|
|
11541
11562
|
{
|
|
11542
11563
|
"name": "openBids",
|
|
11543
11564
|
"docs": [
|
|
11544
|
-
"The amount of
|
|
11565
|
+
"The amount of non reduce only trigger orders the user has open",
|
|
11545
11566
|
"precision: BASE_PRECISION"
|
|
11546
11567
|
],
|
|
11547
11568
|
"type": "i64"
|
|
@@ -11549,7 +11570,7 @@
|
|
|
11549
11570
|
{
|
|
11550
11571
|
"name": "openAsks",
|
|
11551
11572
|
"docs": [
|
|
11552
|
-
"The amount of
|
|
11573
|
+
"The amount of non reduce only trigger orders the user has open",
|
|
11553
11574
|
"precision: BASE_PRECISION"
|
|
11554
11575
|
],
|
|
11555
11576
|
"type": "i64"
|
|
@@ -12810,7 +12831,7 @@
|
|
|
12810
12831
|
"name": "MmOracleUpdate"
|
|
12811
12832
|
},
|
|
12812
12833
|
{
|
|
12813
|
-
"name": "
|
|
12834
|
+
"name": "MedianTriggerPrice"
|
|
12814
12835
|
}
|
|
12815
12836
|
]
|
|
12816
12837
|
}
|
|
@@ -12942,6 +12963,9 @@
|
|
|
12942
12963
|
},
|
|
12943
12964
|
{
|
|
12944
12965
|
"name": "SafeTriggerOrder"
|
|
12966
|
+
},
|
|
12967
|
+
{
|
|
12968
|
+
"name": "NewTriggerReduceOnly"
|
|
12945
12969
|
}
|
|
12946
12970
|
]
|
|
12947
12971
|
}
|
|
@@ -13738,6 +13762,13 @@
|
|
|
13738
13762
|
"option": "u64"
|
|
13739
13763
|
},
|
|
13740
13764
|
"index": false
|
|
13765
|
+
},
|
|
13766
|
+
{
|
|
13767
|
+
"name": "triggerPrice",
|
|
13768
|
+
"type": {
|
|
13769
|
+
"option": "u64"
|
|
13770
|
+
},
|
|
13771
|
+
"index": false
|
|
13741
13772
|
}
|
|
13742
13773
|
]
|
|
13743
13774
|
},
|
package/lib/node/idl/drift.json
CHANGED
|
@@ -7576,6 +7576,27 @@
|
|
|
7576
7576
|
}
|
|
7577
7577
|
],
|
|
7578
7578
|
"args": []
|
|
7579
|
+
},
|
|
7580
|
+
{
|
|
7581
|
+
"name": "updateFeatureBitFlagsMedianTriggerPrice",
|
|
7582
|
+
"accounts": [
|
|
7583
|
+
{
|
|
7584
|
+
"name": "admin",
|
|
7585
|
+
"isMut": false,
|
|
7586
|
+
"isSigner": true
|
|
7587
|
+
},
|
|
7588
|
+
{
|
|
7589
|
+
"name": "state",
|
|
7590
|
+
"isMut": true,
|
|
7591
|
+
"isSigner": false
|
|
7592
|
+
}
|
|
7593
|
+
],
|
|
7594
|
+
"args": [
|
|
7595
|
+
{
|
|
7596
|
+
"name": "enable",
|
|
7597
|
+
"type": "bool"
|
|
7598
|
+
}
|
|
7599
|
+
]
|
|
7579
7600
|
}
|
|
7580
7601
|
],
|
|
7581
7602
|
"accounts": [
|
|
@@ -11434,7 +11455,7 @@
|
|
|
11434
11455
|
{
|
|
11435
11456
|
"name": "openBids",
|
|
11436
11457
|
"docs": [
|
|
11437
|
-
"How many spot
|
|
11458
|
+
"How many spot non reduce only trigger orders the user has open",
|
|
11438
11459
|
"precision: token mint precision"
|
|
11439
11460
|
],
|
|
11440
11461
|
"type": "i64"
|
|
@@ -11442,7 +11463,7 @@
|
|
|
11442
11463
|
{
|
|
11443
11464
|
"name": "openAsks",
|
|
11444
11465
|
"docs": [
|
|
11445
|
-
"How many spot
|
|
11466
|
+
"How many spot non reduce only trigger orders the user has open",
|
|
11446
11467
|
"precision: token mint precision"
|
|
11447
11468
|
],
|
|
11448
11469
|
"type": "i64"
|
|
@@ -11541,7 +11562,7 @@
|
|
|
11541
11562
|
{
|
|
11542
11563
|
"name": "openBids",
|
|
11543
11564
|
"docs": [
|
|
11544
|
-
"The amount of
|
|
11565
|
+
"The amount of non reduce only trigger orders the user has open",
|
|
11545
11566
|
"precision: BASE_PRECISION"
|
|
11546
11567
|
],
|
|
11547
11568
|
"type": "i64"
|
|
@@ -11549,7 +11570,7 @@
|
|
|
11549
11570
|
{
|
|
11550
11571
|
"name": "openAsks",
|
|
11551
11572
|
"docs": [
|
|
11552
|
-
"The amount of
|
|
11573
|
+
"The amount of non reduce only trigger orders the user has open",
|
|
11553
11574
|
"precision: BASE_PRECISION"
|
|
11554
11575
|
],
|
|
11555
11576
|
"type": "i64"
|
|
@@ -12810,7 +12831,7 @@
|
|
|
12810
12831
|
"name": "MmOracleUpdate"
|
|
12811
12832
|
},
|
|
12812
12833
|
{
|
|
12813
|
-
"name": "
|
|
12834
|
+
"name": "MedianTriggerPrice"
|
|
12814
12835
|
}
|
|
12815
12836
|
]
|
|
12816
12837
|
}
|
|
@@ -12942,6 +12963,9 @@
|
|
|
12942
12963
|
},
|
|
12943
12964
|
{
|
|
12944
12965
|
"name": "SafeTriggerOrder"
|
|
12966
|
+
},
|
|
12967
|
+
{
|
|
12968
|
+
"name": "NewTriggerReduceOnly"
|
|
12945
12969
|
}
|
|
12946
12970
|
]
|
|
12947
12971
|
}
|
|
@@ -13738,6 +13762,13 @@
|
|
|
13738
13762
|
"option": "u64"
|
|
13739
13763
|
},
|
|
13740
13764
|
"index": false
|
|
13765
|
+
},
|
|
13766
|
+
{
|
|
13767
|
+
"name": "triggerPrice",
|
|
13768
|
+
"type": {
|
|
13769
|
+
"option": "u64"
|
|
13770
|
+
},
|
|
13771
|
+
"index": false
|
|
13741
13772
|
}
|
|
13742
13773
|
]
|
|
13743
13774
|
},
|
package/package.json
CHANGED
package/src/idl/drift.json
CHANGED
|
@@ -7576,6 +7576,27 @@
|
|
|
7576
7576
|
}
|
|
7577
7577
|
],
|
|
7578
7578
|
"args": []
|
|
7579
|
+
},
|
|
7580
|
+
{
|
|
7581
|
+
"name": "updateFeatureBitFlagsMedianTriggerPrice",
|
|
7582
|
+
"accounts": [
|
|
7583
|
+
{
|
|
7584
|
+
"name": "admin",
|
|
7585
|
+
"isMut": false,
|
|
7586
|
+
"isSigner": true
|
|
7587
|
+
},
|
|
7588
|
+
{
|
|
7589
|
+
"name": "state",
|
|
7590
|
+
"isMut": true,
|
|
7591
|
+
"isSigner": false
|
|
7592
|
+
}
|
|
7593
|
+
],
|
|
7594
|
+
"args": [
|
|
7595
|
+
{
|
|
7596
|
+
"name": "enable",
|
|
7597
|
+
"type": "bool"
|
|
7598
|
+
}
|
|
7599
|
+
]
|
|
7579
7600
|
}
|
|
7580
7601
|
],
|
|
7581
7602
|
"accounts": [
|
|
@@ -11434,7 +11455,7 @@
|
|
|
11434
11455
|
{
|
|
11435
11456
|
"name": "openBids",
|
|
11436
11457
|
"docs": [
|
|
11437
|
-
"How many spot
|
|
11458
|
+
"How many spot non reduce only trigger orders the user has open",
|
|
11438
11459
|
"precision: token mint precision"
|
|
11439
11460
|
],
|
|
11440
11461
|
"type": "i64"
|
|
@@ -11442,7 +11463,7 @@
|
|
|
11442
11463
|
{
|
|
11443
11464
|
"name": "openAsks",
|
|
11444
11465
|
"docs": [
|
|
11445
|
-
"How many spot
|
|
11466
|
+
"How many spot non reduce only trigger orders the user has open",
|
|
11446
11467
|
"precision: token mint precision"
|
|
11447
11468
|
],
|
|
11448
11469
|
"type": "i64"
|
|
@@ -11541,7 +11562,7 @@
|
|
|
11541
11562
|
{
|
|
11542
11563
|
"name": "openBids",
|
|
11543
11564
|
"docs": [
|
|
11544
|
-
"The amount of
|
|
11565
|
+
"The amount of non reduce only trigger orders the user has open",
|
|
11545
11566
|
"precision: BASE_PRECISION"
|
|
11546
11567
|
],
|
|
11547
11568
|
"type": "i64"
|
|
@@ -11549,7 +11570,7 @@
|
|
|
11549
11570
|
{
|
|
11550
11571
|
"name": "openAsks",
|
|
11551
11572
|
"docs": [
|
|
11552
|
-
"The amount of
|
|
11573
|
+
"The amount of non reduce only trigger orders the user has open",
|
|
11553
11574
|
"precision: BASE_PRECISION"
|
|
11554
11575
|
],
|
|
11555
11576
|
"type": "i64"
|
|
@@ -12810,7 +12831,7 @@
|
|
|
12810
12831
|
"name": "MmOracleUpdate"
|
|
12811
12832
|
},
|
|
12812
12833
|
{
|
|
12813
|
-
"name": "
|
|
12834
|
+
"name": "MedianTriggerPrice"
|
|
12814
12835
|
}
|
|
12815
12836
|
]
|
|
12816
12837
|
}
|
|
@@ -12942,6 +12963,9 @@
|
|
|
12942
12963
|
},
|
|
12943
12964
|
{
|
|
12944
12965
|
"name": "SafeTriggerOrder"
|
|
12966
|
+
},
|
|
12967
|
+
{
|
|
12968
|
+
"name": "NewTriggerReduceOnly"
|
|
12945
12969
|
}
|
|
12946
12970
|
]
|
|
12947
12971
|
}
|
|
@@ -13738,6 +13762,13 @@
|
|
|
13738
13762
|
"option": "u64"
|
|
13739
13763
|
},
|
|
13740
13764
|
"index": false
|
|
13765
|
+
},
|
|
13766
|
+
{
|
|
13767
|
+
"name": "triggerPrice",
|
|
13768
|
+
"type": {
|
|
13769
|
+
"option": "u64"
|
|
13770
|
+
},
|
|
13771
|
+
"index": false
|
|
13741
13772
|
}
|
|
13742
13773
|
]
|
|
13743
13774
|
},
|
|
@@ -16046,4 +16077,4 @@
|
|
|
16046
16077
|
"metadata": {
|
|
16047
16078
|
"address": "dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH"
|
|
16048
16079
|
}
|
|
16049
|
-
}
|
|
16080
|
+
}
|