Skip to content

Commit 2b28099

Browse files
committed
hotfix: add missing CLOSE_ISOLATED_SUBACCOUNT event type
- Add CLOSE_ISOLATED_SUBACCOUNT to IndexerEventType enum - Remove unused MATCH_ORDER_A_M_M and SWAP_AMM legacy types - Bump version to 0.3.2 - Fixes validation error when indexer returns close_isolated_subaccount events
1 parent 3c28901 commit 2b28099

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

nado_protocol/indexer_client/types/models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@ class IndexerEventType(StrEnum):
1818
WITHDRAW_COLLATERAL = "withdraw_collateral"
1919
SETTLE_PNL = "settle_pnl"
2020
MATCH_ORDERS = "match_orders"
21-
MATCH_ORDER_A_M_M = "match_order_a_m_m"
22-
SWAP_AMM = "swap_a_m_m"
2321
MINT_NLP = "mint_nlp"
2422
BURN_NLP = "burn_nlp"
2523
MANUAL_ASSERT = "manual_assert"
2624
LINK_SIGNER = "link_signer"
2725
TRANSFER_QUOTE = "transfer_quote"
2826
CREATE_ISOLATED_SUBACCOUNT = "create_isolated_subaccount"
27+
CLOSE_ISOLATED_SUBACCOUNT = "close_isolated_subaccount"
2928

3029

3130
class IndexerCandlesticksGranularity(IntEnum):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "nado-protocol"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
description = "Nado Protocol SDK"
55
authors = ["Jeury Mejia <jeury@inkfnd.com>"]
66
homepage = "https://nado.xyz"

0 commit comments

Comments
 (0)