This repository has been archived by the owner on May 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add multi currency support (#303)
* feat: add `token` column to billing-price table adjust offer and agreement event handlers for multi currency * feat: update agreement-reference computation adjust tests * feat: update topics for storage sc * fix: event log * feat: implement nested query for aggregation of avg billing price converted to specific currency using `rates` remove old billing price avg calculation adjust `avg-price` filter in offer hook add tests * chore: few improvements * chore: remove avg-price from offer model * chore: adjust tests * chore: fix casting * chore: make query prettier * feat: add `token` column to agreement model adjust event handler * feat: implement service for avg price min max value retrieving * feat: fix offer hooks * feat: add additional field `accepted-currency` to offers after hook * feat: change avg-billing-price method from find to get * feat: fix pr comments * feat: sort the billing plans for offer in offer hook * feat: fix rebase conflicts * feat: add rate fk to billing price models adjust billing price creation in event handler simplify avg-billing-price query * feat: add fk to rates on staking models simplify stake aggregation query add virtual field accepted-currency to offer * feat: simplify min/max avg billing price query * feat: remove unused import * feat: fix to usd conversion for avg billing price and staking create storage utils * fix: to wei conversion by casting to real * feat: improve test for avg billing price calculation * feat: adjust readme small refactor * fix: avg price query string * chore: fix sonar cloud * feat: fix overwriting between sequelize scope and conditions in before hook * chore: add todos * chore: remove unused var * feat: try to resolve sonar cloud error * chore: remove todo * chore: add escape for offer custome queries * feat: fix pr comments * docs: adjust readme * chore; remove unused var * chore: fix linter
- Loading branch information
Showing
17 changed files
with
355 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,7 +118,6 @@ | |
polling: true | ||
} | ||
} | ||
|
||
}, | ||
|
||
// Settings for RNS service related function | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.