2.0.0 - Major objects overhaul, fixes, + full market support
-
Overhauled all objects in
privex.steemengine.objects- converted to dataclasses usingDictDataClass, with various dynamic properties allowing querying related data viaSteemEngineToken.Every single object was refactored, so I'm not going to go into details on each class that was refactored.
-
Added several new objects to
privex.steemengine.objects- as dataclasses usingDictDataClass. -
Added
SteemEngineToken.native_coinandSteemEngineToken.native_token, to track the native market symbol of the network, e.g.SWAP.HIVE/STEEMP. -
Added new method
SteemEngineToken.place_orderwhich allows placing orders on the Steem/Hive Engine market, returning theSEPlacedOrderdictclass object, which allows easily referencing the Steem/Hive Engine transaction object, and the trades which fulfilled the order. -
Rebased exceptions in
privex.steemengine.exceptionsto use base classSteemEngineException -
Added new exceptions
NoResultsandNoSteemEngineInstance -
Added
r_cachecaching to various methods inSteemEngineTokenfor data which doesn't change often. -
Changed default indexes to
[](empty list) for query methods in SteemEngineToken, as a lot of indexes do not work on HiveEngine. -
Refactored the base functionality of
order_historyintoquery_order_historyto simplify non-symbol queries in other methods -
Added new methods
SteemEngineToken.find_fulfilled_sells,SteemEngineToken.find_fulfilled_buys, andSteemEngineToken.find_fulfilledwhich query using the newsellTxId/buyTxIdkeys -
Some improvements to the unit tests
-
Various other small changes