Skip to content

Commit

Permalink
update to latest deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNineteen committed Nov 4, 2022
1 parent 7cfeb96 commit 88a3790
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 18 deletions.
27 changes: 12 additions & 15 deletions src/driftpy/idl/drift.json
Original file line number Diff line number Diff line change
Expand Up @@ -5285,19 +5285,6 @@
"type": {
"defined": "ValidityGuardRails"
}
},
{
"name": "useForLiquidations",
"type": "bool"
},
{
"name": "padding",
"type": {
"array": [
"u8",
7
]
}
}
]
}
Expand All @@ -5309,11 +5296,11 @@
"fields": [
{
"name": "markOracleDivergenceNumerator",
"type": "u128"
"type": "u64"
},
{
"name": "markOracleDivergenceDenominator",
"type": "u128"
"type": "u64"
}
]
}
Expand Down Expand Up @@ -8390,6 +8377,16 @@
"code": 6215,
"name": "InvalidTriggerOrderCondition",
"msg": "Invalid Trigger Order Condition"
},
{
"code": 6216,
"name": "InvalidSpotPosition",
"msg": "Invalid Spot Position"
},
{
"code": 6217,
"name": "CantTransferBetweenSameUserAccount",
"msg": "Cant transfer between same user account"
}
]
}
2 changes: 0 additions & 2 deletions src/driftpy/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,6 @@ class ValidityGuardRails:
class OracleGuardRails:
price_divergence: PriceDivergenceGuardRails
validity: ValidityGuardRails
use_for_liquidations: bool
padding: list[int]

@dataclass
class FeeTier:
Expand Down

0 comments on commit 88a3790

Please sign in to comment.