From e1b2ccbd21ac461b4a276920c8ff52ea51a1f76c Mon Sep 17 00:00:00 2001 From: 0xbigz Date: Wed, 1 Mar 2023 15:36:44 -0500 Subject: [PATCH] update protocol-v2 to v2.19.0 --- protocol-v2 | 2 +- src/driftpy/_types.py | 3 +++ src/driftpy/types.py | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) 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: