Skip to content

Commit

Permalink
Update idl
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaKhalili committed Sep 24, 2024
1 parent 90cc148 commit 6653089
Showing 1 changed file with 60 additions and 8 deletions.
68 changes: 60 additions & 8 deletions src/driftpy/idl/drift.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.89.0",
"version": "2.95.0",
"name": "drift",
"instructions": [
{
Expand Down Expand Up @@ -1606,15 +1606,20 @@
{
"name": "settleExpiredMarket",
"accounts": [
{
"name": "admin",
"isMut": false,
"isSigner": true
},
{
"name": "state",
"isMut": false,
"isSigner": false
},
{
"name": "authority",
"isMut": false,
"isSigner": true
"name": "perpMarket",
"isMut": true,
"isSigner": false
}
],
"args": [
Expand Down Expand Up @@ -1881,6 +1886,27 @@
}
]
},
{
"name": "setUserStatusToBeingLiquidated",
"accounts": [
{
"name": "state",
"isMut": false,
"isSigner": false
},
{
"name": "user",
"isMut": true,
"isSigner": false
},
{
"name": "authority",
"isMut": false,
"isSigner": true
}
],
"args": []
},
{
"name": "resolvePerpPnlDeficit",
"accounts": [
Expand Down Expand Up @@ -2259,7 +2285,7 @@
},
{
"name": "spotMarket",
"isMut": false,
"isMut": true,
"isSigner": false
},
{
Expand All @@ -2273,7 +2299,7 @@
"isSigner": false
},
{
"name": "authority",
"name": "signer",
"isMut": false,
"isSigner": true
},
Expand All @@ -2295,7 +2321,7 @@
},
{
"name": "spotMarket",
"isMut": false,
"isMut": true,
"isSigner": false
},
{
Expand All @@ -2309,7 +2335,7 @@
"isSigner": false
},
{
"name": "authority",
"name": "signer",
"isMut": false,
"isSigner": true
},
Expand Down Expand Up @@ -3403,6 +3429,27 @@
}
]
},
{
"name": "initializePredictionMarket",
"accounts": [
{
"name": "admin",
"isMut": false,
"isSigner": true
},
{
"name": "state",
"isMut": false,
"isSigner": false
},
{
"name": "perpMarket",
"isMut": true,
"isSigner": false
}
],
"args": []
},
{
"name": "deleteInitializedPerpMarket",
"accounts": [
Expand Down Expand Up @@ -12906,6 +12953,11 @@
"code": 6283,
"name": "LiquidationOrderFailedToFill",
"msg": "Liquidation order failed to fill"
},
{
"code": 6284,
"name": "InvalidPredictionMarketOrder",
"msg": "Invalid prediction market order"
}
]
}

0 comments on commit 6653089

Please sign in to comment.