From 3566a57d0fb84d1d3b775c672f3f3a4aaa928ea7 Mon Sep 17 00:00:00 2001 From: Alex G Date: Wed, 11 Aug 2021 16:46:21 -0400 Subject: [PATCH] Add thyme and fxxkfork support --- CHANGELOG.md | 11 ++++++++++- forks.yaml | 2 ++ silo.py | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34602e9..6dec120 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) + +## [0.1.7] - 2021-08-11 + +### Added + +- Added `thyme` and `fxxkfork` fork support via forks.yaml +- Added `fxxkfork` unit support (10**9) + ## [0.1.6] - 2021-08-06 ### Added @@ -96,7 +104,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - The initial release of the project. -[Unreleased]: https://github.com/scotopic/silo-wallet/releases/tag/v0.1.6...HEAD +[Unreleased]: https://github.com/scotopic/silo-wallet/releases/tag/v0.1.7...HEAD +[0.1.7]: https://github.com/scotopic/silo-wallet/releases/tag/v0.1.7 [0.1.6]: https://github.com/scotopic/silo-wallet/releases/tag/v0.1.6 [0.1.5]: https://github.com/scotopic/silo-wallet/releases/tag/v0.1.5 [0.1.4]: https://github.com/scotopic/silo-wallet/releases/tag/v0.1.4 diff --git a/forks.yaml b/forks.yaml index a034e9d..30befbc 100644 --- a/forks.yaml +++ b/forks.yaml @@ -35,3 +35,5 @@ xmz: ".maize" srn: ".shamrock" cov: ".covid" xbr: ".beer" +xth: ".thyme" +ffk: ".fxxkfork" diff --git a/silo.py b/silo.py index eca7109..4a4b8ad 100755 --- a/silo.py +++ b/silo.py @@ -114,7 +114,7 @@ def get_db_file_from_address(address): def units_of_measurement(fork_token_name): - if fork_token_name == "xcr": + if fork_token_name == "xcr" or fork_token_name == "ffk": UNITS_OF_MEASUREMENT = BILLION elif fork_token_name == "xcc": UNITS_OF_MEASUREMENT = HUNDRED_MILLION