Skip to content

Commit

Permalink
Oracle Price of DFI in DEX View Crypto pools
Browse files Browse the repository at this point in the history
  • Loading branch information
igorshelkovenkov committed Feb 9, 2022
1 parent 6dbf7b9 commit 3158371
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"email": "[email protected]",
"url": "https://www.defichain-income.com"
},
"version": "8.12.13",
"version": "8.12.14",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,8 @@ <h1 class='text-lg font-bold'>Mobile Light Wallet</h1>
/
CEX:
<app-price [fiat]='fiat' [usdPrice]='priceDFICEX'></app-price>
/ Oracle:
<app-price [fiat]='fiat' [usdPrice]='getStockPrice("DFI-USD")'></app-price>
<span
class='font-bold'> Premium: <span>{{getArb(priceDFICEX, cryptoPool?.totalLiquidityUsd / 2 / cryptoPool?.reserveB)}}</span> % </span>
</td>
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const environment = {
address_vaults: 'https://ocean.defichain.com/v0/mainnet/address/ADDRESS_VAULTS/vaults',
mamon_account: 'https://sync.defichain-masternode-monitor.com/v1/KEY/masternodes',
mamon_account_node: 'https://api.defichain-masternode-monitor.com/v1/masternodes/info/',
version: '8.12.13',
version: '8.12.14',
bittrex: 'https://api.bittrex.com/v3/currencies/DFI',
kucoin: 'https://api.kucoin.com/api/v1/currencies/DFI',
graphql: 'https://graphql.defichain-income.com/graphql',
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const environment = {
address_vaults: 'https://ocean.defichain.com/v0/mainnet/address/ADDRESS_VAULTS/vaults',
mamon_account: 'https://sync.defichain-masternode-monitor.com/v1/KEY/masternodes',
mamon_account_node: 'https://api.defichain-masternode-monitor.com/v1/masternodes/info/',
version: '8.12.13',
version: '8.12.14',
graphql: 'https://graphql.defichain-income.com/graphql',
// Matomo
// No tracking for local -> wrong id
Expand Down
5 changes: 5 additions & 0 deletions src/interface/Changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ export class Changelog {

this.logs = new Array<Log>();

this.log = new Log();
this.log.version = '8.12.14 - 9.2.2022';
this.log.comment = 'Oracle Price of DFI in DEX View Crypto pools';
this.logs.push(this.log);

this.log = new Log();
this.log.version = '8.12.13 - 8.2.2022';
this.log.comment = 'Add DFX Status Staking';
Expand Down

0 comments on commit 3158371

Please sign in to comment.