-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: financial-statement from origin-defi
#125
Conversation
9fd56cb
to
e5c6af4
Compare
- change title - loading spinner - per-column rate conversions - hide 'PROTOCOL NET VALUE' when negative o_0 - column alignment - remove hover bold - set arrow gray - 0 decimal usd prices, unless compacted - 3 decimal eth prices, unless compacted
- reverse column order, showing now first - change column header formatting & refine dates shown
- tweak negative color
# Conflicts: # package.json # yarn.lock
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It overall LGTM, just had a couple remarks regarding migrating to wagmi v1+ and viem. Same with react-intl, might not be worthy if only a couple of labels are using it
"wagmi": "^0.12.7" | ||
"usehooks-ts": "^2.9.1", | ||
"viem": "^1.10.12", | ||
"wagmi": "^1.4.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wagmi v1 introduced quite a lot of changes, are you sure to bump version? In case of, they still maintain 0.12.x 😓
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It wasn't used in many places and I made the changes to accommodate the new bigint
types returned.
@@ -40,9 +42,13 @@ | |||
"sanitize-html": "^2.10.0", | |||
"tailwind-merge": "^1.12.0", | |||
"tailwindcss": "^3.3.1", | |||
"wagmi": "^0.12.7" | |||
"usehooks-ts": "^2.9.1", | |||
"viem": "^1.10.12", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is replacement for ethers.js
, quite a lot of breaking changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes though we already had wagmi in the project. What I did here is upgrade wagmi and it was used in very few places.
- remove `react-intl`
- add balancer aura strategy - remove some useless generated code
related to https://github.com/OriginProtocol/origin-defi/pull/54