Skip to content

Commit

Permalink
Add more currency code mappings for rates conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
paullinator committed Mar 12, 2024
1 parent ae016d5 commit 8f3d3b4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# edge-reports-server

## Unreleased

- changed: Paginate caching engine to prevent timeouts
- changed: Create caching engine 'initialized' document entry for each app:partner pair

## 0.1.0

- Initial release
8 changes: 8 additions & 0 deletions src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,18 @@ import { config } from './config'
export const SIX_DAYS = 6

const CURRENCY_CONVERSION = {
AWCBEP20: 'AWC',
AWCBSC: 'AWC',
DAIMATIC: 'DAI',
ETHOP: 'ETH',
WBTCMATIC: 'WBTC',
USDCERC20: 'USDC',
USDT20: 'USDT',
USDTERC20: 'USDT',
USDTPOLYGON: 'USDT',
USDCPOLYGON: 'USDC',
USDCTRC20: 'USDC',
USDTTRC20: 'USDT',
ZADDR: 'ZEC',
BCHABC: 'BCH',
BCHSV: 'BSV',
Expand Down

0 comments on commit 8f3d3b4

Please sign in to comment.