diff --git a/protocol-v2 b/protocol-v2 index 79b64f65..089d3c2c 160000 --- a/protocol-v2 +++ b/protocol-v2 @@ -1 +1 @@ -Subproject commit 79b64f65e0f420ad34f8f3b6e3330eedf403c4b3 +Subproject commit 089d3c2c039e393419101ea33204c64c85a2c3c3 diff --git a/src/driftpy/_types.py b/src/driftpy/_types.py index 48acf9ad..1e11393d 100644 --- a/src/driftpy/_types.py +++ b/src/driftpy/_types.py @@ -107,6 +107,8 @@ class OracleSource: Pyth = constructor() Switchboard = constructor() QuoteAsset = constructor() + Pyth_1K = constructor() + Pyth_1M = constructor() @_rust_enum @@ -127,6 +129,7 @@ class OrderType: LIMIT = constructor() TRIGGER_MARKET = constructor() TRIGGER_LIMIT = constructor() + ORACLE = constructor() @_rust_enum diff --git a/src/driftpy/types.py b/src/driftpy/types.py index 8acd8822..d0dd23a1 100644 --- a/src/driftpy/types.py +++ b/src/driftpy/types.py @@ -142,6 +142,9 @@ class OracleSource: PYTH = constructor() SWITCHBOARD = constructor() QUOTE_ASSET = constructor() + PYTH_1K = constructor() + PYTH_1M = constructor() + @_rust_enum class MarketStatus: