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_coin
andSteemEngineToken.native_token
, to track the native market symbol of the network, e.g.SWAP.HIVE
/STEEMP
. -
Added new method
SteemEngineToken.place_order
which allows placing orders on the Steem/Hive Engine market, returning theSEPlacedOrder
dictclass object, which allows easily referencing the Steem/Hive Engine transaction object, and the trades which fulfilled the order. -
Rebased exceptions in
privex.steemengine.exceptions
to use base classSteemEngineException
-
Added new exceptions
NoResults
andNoSteemEngineInstance
-
Added
r_cache
caching to various methods inSteemEngineToken
for 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_history
intoquery_order_history
to simplify non-symbol queries in other methods -
Added new methods
SteemEngineToken.find_fulfilled_sells
,SteemEngineToken.find_fulfilled_buys
, andSteemEngineToken.find_fulfilled
which query using the newsellTxId
/buyTxId
keys -
Some improvements to the unit tests
-
Various other small changes