Skip to content

Commit c0071cc

Browse files
committed
sdk: updated idl
1 parent 53ea43a commit c0071cc

File tree

1 file changed

+37
-6
lines changed

1 file changed

+37
-6
lines changed

sdk/src/idl/drift.json

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7576,6 +7576,27 @@
75767576
}
75777577
],
75787578
"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+
]
75797600
}
75807601
],
75817602
"accounts": [
@@ -11434,15 +11455,15 @@
1143411455
{
1143511456
"name": "openBids",
1143611457
"docs": [
11437-
"How many spot bids the user has open",
11458+
"How many spot non reduce only trigger orders the user has open",
1143811459
"precision: token mint precision"
1143911460
],
1144011461
"type": "i64"
1144111462
},
1144211463
{
1144311464
"name": "openAsks",
1144411465
"docs": [
11445-
"How many spot asks the user has open",
11466+
"How many spot non reduce only trigger orders the user has open",
1144611467
"precision: token mint precision"
1144711468
],
1144811469
"type": "i64"
@@ -11541,15 +11562,15 @@
1154111562
{
1154211563
"name": "openBids",
1154311564
"docs": [
11544-
"The amount of open bids the user has in this perp market",
11565+
"The amount of non reduce only trigger orders the user has open",
1154511566
"precision: BASE_PRECISION"
1154611567
],
1154711568
"type": "i64"
1154811569
},
1154911570
{
1155011571
"name": "openAsks",
1155111572
"docs": [
11552-
"The amount of open asks the user has in this perp market",
11573+
"The amount of non reduce only trigger orders the user has open",
1155311574
"precision: BASE_PRECISION"
1155411575
],
1155511576
"type": "i64"
@@ -12810,7 +12831,7 @@
1281012831
"name": "MmOracleUpdate"
1281112832
},
1281212833
{
12813-
"name": "EnableMedianTriggerPrice"
12834+
"name": "MedianTriggerPrice"
1281412835
}
1281512836
]
1281612837
}
@@ -12942,6 +12963,9 @@
1294212963
},
1294312964
{
1294412965
"name": "SafeTriggerOrder"
12966+
},
12967+
{
12968+
"name": "NewTriggerReduceOnly"
1294512969
}
1294612970
]
1294712971
}
@@ -13738,6 +13762,13 @@
1373813762
"option": "u64"
1373913763
},
1374013764
"index": false
13765+
},
13766+
{
13767+
"name": "triggerPrice",
13768+
"type": {
13769+
"option": "u64"
13770+
},
13771+
"index": false
1374113772
}
1374213773
]
1374313774
},
@@ -16046,4 +16077,4 @@
1604616077
"metadata": {
1604716078
"address": "dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH"
1604816079
}
16049-
}
16080+
}

0 commit comments

Comments
 (0)