diff --git a/src/dexorder/gmx/_handle.py b/src/dexorder/gmx/_handle.py index 10b118b..2b15e18 100644 --- a/src/dexorder/gmx/_handle.py +++ b/src/dexorder/gmx/_handle.py @@ -78,6 +78,17 @@ event_handlers = { 'ClaimableFundingAmountPerSizeUpdated': None, 'FundingFeesClaimed': None, + 'FeesClaimed': None, + 'SetAvailableFeeAmount': None, + 'BuybackFees': None, + 'OrderSizeDeltaAutoUpdated': None, + 'SubaccountAutoTopUp': None, + 'SetSubaccountAutoTopUpAmount': None, + 'SetMaxAllowedSubaccountActionCount': None, + 'AffiliateRewardClaimed': None, + 'CollateralClaimed': None, + 'ExecutionFeeRefundCallback': None, + 'PoolAmountUpdated': None, 'VirtualSwapInventoryUpdated': None, @@ -217,6 +228,8 @@ async def fetch_price_updates(): }, """ addr = t['tokenAddress'] + if addr not in gmx_token_symbol_map: + continue # GMX prices use 30 decimal places price = (dec(t['minPrice']) + dec(t['maxPrice'])) / 2 * dec(10) ** dec(-30) time = from_timestamp(t['timestamp'])