-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhancement: ethereum coin price (#2668)
* enhancement: ethereum coin price * fix types --------- Co-authored-by: Mark Nardi <[email protected]>
- Loading branch information
1 parent
ee0fa9e
commit c1fe076
Showing
8 changed files
with
21 additions
and
19 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
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
1 change: 1 addition & 0 deletions
1
packages/shared/src/lib/core/market/enums/coingecko-network-id.enum.ts
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export enum CoinGeckoNetworkId { | ||
IotaEvm = 'iota-evm', | ||
ShimmerEvm = 'shimmer_evm', | ||
Ethereum = 'ethereum', | ||
} |
1 change: 1 addition & 0 deletions
1
packages/shared/src/lib/core/market/enums/market-coin-id.enum.ts
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export enum MarketCoinId { | ||
Iota = 'iota', | ||
Shimmer = 'shimmer', | ||
Ethereum = 'ethereum', | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/shared/src/lib/core/network/constants/base-token-supply-for-network.constant.ts
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { NetworkId } from '../types' | ||
import { SupportedNetworkId } from './supported-network-id.constant' | ||
|
||
export const BASE_TOKEN_SUPPLY_FOR_NETWORK: Readonly<{ [id in NetworkId]: bigint }> = { | ||
[SupportedNetworkId.Iota]: BigInt('4600000000000000'), | ||
[SupportedNetworkId.Shimmer]: BigInt('1813620509061365'), | ||
[SupportedNetworkId.IotaTestnet]: BigInt('4600000000000000'), | ||
[SupportedNetworkId.Testnet]: BigInt('1450896407249092'), | ||
} |
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