Skip to content
Snippets Groups Projects
Commit 4355fe55 authored by pharesim's avatar pharesim
Browse files

dex op symbol

parent c2f5ea87
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ author = 'pharesim@protonmail.com'
# The short X.Y version.
version = '0.9'
# The full version, including alpha/beta/rc tags.
release = '0.9.11'
release = '0.9.12'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
......
# -*- coding: utf-8 -*-
from .hive import Hive
__version__ = '0.9.11'
__version__ = '0.9.12'
......@@ -15,7 +15,7 @@ class Dex(object):
accessing a RPC
"""
assets = ["HIVE", "HBD"]
assets = ["HIVE", "HBD", "STEEM", "SBD"]
def __init__(self, hived_instance=None):
self.hived = hived_instance or shared_hived_instance()
......@@ -28,10 +28,10 @@ class Dex(object):
VESTS)
"""
if symbol == "HIVE":
return {"symbol": "HIVE", "precision": 3}
elif symbol == "HBD":
return {"symbol": "HBD", "precision": 3}
if symbol == "HIVE" or symbol == "STEEM":
return {"symbol": "STEEM", "precision": 3}
elif symbol == "HBD" or symbol == "SBD":
return {"symbol": "SBD", "precision": 3}
elif symbol == "VESTS":
return {"symbol": "VESTS", "precision": 6}
else:
......
......@@ -14,7 +14,7 @@ from setuptools.command.test import test as TestCommand
# Package meta-data.
NAME = 'hivepy'
VERSION = '0.9.11'
VERSION = '0.9.12'
DESCRIPTION = 'A python hive library.'
URL = 'https://github.com/pharesim/hive-python'
EMAIL = 'pharesim@protonmail.com'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment