Skip to content

Commit

Permalink
Add thyme and fxxkfork support
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex G committed Aug 11, 2021
1 parent 6a3d195 commit 3566a57
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions forks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ xmz: ".maize"
srn: ".shamrock"
cov: ".covid"
xbr: ".beer"
xth: ".thyme"
ffk: ".fxxkfork"
2 changes: 1 addition & 1 deletion silo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3566a57

Please sign in to comment.