Skip to content

Commit

Permalink
Hotfix: stability fee (#669)
Browse files Browse the repository at this point in the history
* matomo race conditions (#613)

* typo fix (#618)

* Issue #606: Vaults explorer page (#611)

* explore page

* explore page more changes

* fix explore page

* more explore page fixes

* revert yarn lock

* explore table reorder, external link

* add risk status, fix bugs

* remove fuul (#620)

* bump sdk (#621)

* remove maintenance from bolts

* add credit guild block (#622)

* add credit guild block

* update earn block

* final copy

* api url hotfix

* Od-weth QA (#623)

* round stability fee

* OD_API_URL

* New "initializing" loader (#609)

* change waiting modal content

* put modal content back

* show loader if no title, text, hint, hash

* rm loader modal from account checkking

* close loader popup when vaults is fetched

* prettier

* fix loader and blinking

* rm creating modal

* prettier

* lin fix

* cleanup

* Borrow + Deposit tabs cleanup (#631)

* shape of tabs

* tabs font styles

* borders

* fix lint warning

* cleanup

* Address ENS loading skeleton (#632)

* add skeleton to vault stats

* sidemenu and wallet info navbar

* base color for skeleton in vault stats

* base color for skeleton in ean page

* prettier

* Update react, react-router (#602)

* widget at v2.10.2

* add yarn.lock

* Update react-router to v6

* Update widget to v3

* add mui packages

* fix onboarding props issue

* yarn lock

* make compatible with react router dom v6

* remove lifi widget

* remove widget

---------

Co-authored-by: jahabeebs <jahgoreds@gmail.com>

* Issue #557: View internal balances (#633)

* initial balance draft

* initial balance draft

* bump sdk version

* fix lock file

* fix lock file

* fix lock file

* fix vault block issue

* fix infinite loop when pushed from other page (#640)

* Issue #630: Explore page design improvements (#639)

* explore page improvements

* reuse function

* fix svg rendering issue

* fix navigate issue (#643)

* Add GRT (#652)

* Bump sdk to v1.7.4-rc.3

* lint

* Issue #642: Reconnect on refresh (#644)

* reconnect on refresh

* fix loading logic

* bump svg generator (#649)

Co-authored-by: Patrick Gallagher <blockchainbuddha@gmail.com>

* bump sdk

* Replace all 'any' with correct Types (#638)

* rm any from global styles: safe ones

* global style: unused, wrong and empty

* styling any

* errors types and events

* prettier and earn index strings type

* earn and bolts

* add pool data type

* rm ts-ignore

* lint fix

* QA: Tracking error, empty vault (#645)

* add error message when vault not excists

* fix Tracking error

* add error color

* lint fix

* cleanup console.log

* App meta tags (#657)

* update helmet

* meta tags to home page

* change home meta tags texts

* vaults meta tags

* create meta tags component

* add tags to earn and stats

* add bg to stats page

* stats meta

* add other meta tags to main pages

* prettier

* Issue #656 (app PR): country.is failure (#660)

* add geoblock

* no ip call

* consolidate calls

* Add PT-rETH PT-wstETH (#661)

* update sdk

* bump sdk

* update icons

* QA: Header (#646)

* side menu fixed width

* side menu display none id screen is wide

* fix account arrangement

* change camelot link  color

* fix bg (#659)

* fix gnosis safe (#664)

* fix stability fee by removing multiplication (#667) (#668)

* fix stability fee by removing multiplication

* lint cleanup

---------

Co-authored-by: Jacob Habib <47253537+jahabeebs@users.noreply.github.com>
Co-authored-by: Iana <36742189+alekseevaiana@users.noreply.github.com>
Co-authored-by: jahabeebs <jahgoreds@gmail.com>
  • Loading branch information
4 people authored Aug 1, 2024
1 parent e296dfa commit 829ca3f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/containers/Analytics/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { AddressLink } from '~/components/AddressLink'
import { contractsDescriptions } from '~/utils/contractsDescription'
import {
formatDataNumber,
multiplyRates,
multiplyWad,
transformToWadPercentage,
transformToAnnualRate,
Expand Down Expand Up @@ -299,13 +298,7 @@ const Analytics = () => {
<AddressLink address={value?.delayedOracle} chainId={chainId || 420} />,
formatDataNumber(value?.currentPrice?.toString() || '0', 18, 2, true),
formatDataNumber(value?.nextPrice?.toString() || '0', 18, 2, true),
transformToAnnualRate(
multiplyRates(
value?.stabilityFee?.toString(),
analyticsData.redemptionRate?.toString()
) || '0',
27
),
transformToAnnualRate(value?.stabilityFee?.toString(), 27),
formatDataNumber(value?.debtAmount?.toString() || '0', 18, 2, true, true),
transformToWadPercentage(value?.debtAmount?.toString(), value?.debtCeiling?.toString()),
formatDataNumber(value?.lockedAmount?.toString() || '0', 18, 2, false, true) + ' ' + key,
Expand Down

0 comments on commit 829ca3f

Please sign in to comment.