Skip to content

Commit 30636c4

Browse files
committed
update idl
1 parent 3dd5986 commit 30636c4

File tree

1 file changed

+15
-19
lines changed

1 file changed

+15
-19
lines changed

sdk/src/idl/drift.json

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12278,7 +12278,17 @@
1227812278
"name": "InsufficientDataPoints"
1227912279
},
1228012280
{
12281-
"name": "StaleForAMM"
12281+
"name": "StaleForAMM",
12282+
"fields": [
12283+
{
12284+
"name": "immediate",
12285+
"type": "bool"
12286+
},
12287+
{
12288+
"name": "lowRisk",
12289+
"type": "bool"
12290+
}
12291+
]
1228212292
},
1228312293
{
1228412294
"name": "Valid"
@@ -12304,7 +12314,10 @@
1230412314
"name": "FillOrderMatch"
1230512315
},
1230612316
{
12307-
"name": "FillOrderAmm"
12317+
"name": "FillOrderAmmLowRisk"
12318+
},
12319+
{
12320+
"name": "FillOrderAmmImmediate"
1230812321
},
1230912322
{
1231012323
"name": "Liquidate"
@@ -12954,23 +12967,6 @@
1295412967
]
1295512968
}
1295612969
},
12957-
{
12958-
"name": "AMMAvailability",
12959-
"type": {
12960-
"kind": "enum",
12961-
"variants": [
12962-
{
12963-
"name": "Immediate"
12964-
},
12965-
{
12966-
"name": "AfterMinDuration"
12967-
},
12968-
{
12969-
"name": "Unavailable"
12970-
}
12971-
]
12972-
}
12973-
},
1297412970
{
1297512971
"name": "RevenueShareOrderBitFlag",
1297612972
"type": {

0 commit comments

Comments
 (0)