Skip to content

Commit

Permalink
Uniswap tenant + a ton of multi-tenant upgrades (#225)
Browse files Browse the repository at this point in the history
* Tenant scaffolding

* OG image previews

* More tenant config

* Contract scaffolding

* Misc

* Staking route

* Uniswap tenant db placehoder

* Misc

* Prettier

* Misc

* Generated

* Staking contract scaffolding

* Uni token and staker abis

* Uni token and staker factoris

* work in progress

* WIP

* Staking flow

* Unstake flow dialog

* Unstake flow

* feat:Added Uni Staking UI/UX components

* Uniswap UI implementation

* Total staked

* feat:uni staking select delegate ui/ux components

* Wiring in the unstaking flow

* Rewards metrics header

* Prettier

* Refactor ui components for uni staking

* Work in progress

* Merge

* Delegate more flow

* feat:staking transaction receipt ui/ux components

* Additional delegations

* Fixed dialog refresh

* Fractional withdrawals

* Work in progress

* Implementing db calls

* Replaced contract calls with db

* wip Implementing deposit management flow

* revamp:updated ui of claim reward component and transaction receipt

* wip

* Implementing ui in deposit / withdrawal flows

* Prettier

* Implemented new delegation flow

* Misc

* New deposit flow

* Implementing UI on unistaker

* Minor refactor of the delegate card component

* Fixed pool stats

* Withdraw refresh flow and component cleanup

* Work in progress on editing deposit

* Edit deposit and displayed sktaed amount per user

* Unistaker

* Unistaker flow update

* More cleanup and bug bashing

* Merge and bugfixes

* Fixed delegate voting activity and build fixes

* Alligator dependecny

* Tenant abstracted delegation flow

* Prettier

* Resolved issue with scientific notation

* Impelmenting abstract vote contract

* Displaying transaction link and simplified button code

* Prettier

* Fixed a flicker issue with the deposit list

* Deposit list padding

* Disabled uniswap prop creation

* Refactored deposits to work with static wallet paths

* Misc

* Misc refactor

* Dynamic data refresh

* Updated the FAQ page and disconnect page layout

* Staking confirmation display

* Invalidation strategy

* Receipt background

* Implemented allowance approval

* Copy correction

* QA fixes

* Don't display duplicate delegate

* Tenant svg icon

* Display allowance and delegate icons

* Tenant-based ens avatars

* Fixed decimal rounding issue.

* Fixed max amount bugs and disable deposit button when no balance

* Refactored spending allowance flow

* Minor styling fix

* Abstract naming

* Disabled proposal cancel for non-alligator tenants. Misc UI fixes

* Minor cleanup and removed alligator requirement

* Console log

* Implemented chain-specific timestamps

* Implemented tenant-specific quorum calculations

* quorum votes for Uniswap governor

* Split advanced voting from the basic voting

* Linking proposed transactions to correct URLs

* Merge

* Merge with main

* Tenant copy

* Merge

* Mainnet contracts and a small bugfix

* Code review cleanup

* staking page flag and metadata

* Code review changes

* Misc

* minor code review

* Code review fix

---------

Co-authored-by: sbvhev <[email protected]>
Co-authored-by: Andrei Taraschuk <[email protected]>
  • Loading branch information
3 people authored Jun 18, 2024
1 parent 89f37b4 commit ec325eb
Show file tree
Hide file tree
Showing 128 changed files with 11,629 additions and 745 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/sweep-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ body:
attributes:
label: Details
description: More details for Sweep
placeholder: The new endpoint should use the ... class from ... file because it contains ... logic
placeholder: The create endpoint should use the ... class from ... file because it contains ... logic
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ There is no Router.

The router is the directory structure of the `/app` directory.

Each folder contains a magical page called `page.jsx` or `page.tsx` this acts as the `index` page for the route. So for example `@/app/delegates/page.jsx` is the index page for `https://app.example.com/delegates`
Each folder contains a magical page called `page.jsx` or `page.jsx` this acts as the `index` page for the route. So for example `@/app/delegates/page.jsx` is the index page for `https://app.example.com/delegates`

`@app/lib`
Helpers and utilities, reserverd word.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@opentelemetry/sdk-trace-node": "^1.22.0",
"@opentelemetry/semantic-conventions": "^1.22.0",
"@prisma/client": "4.16.2",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-dropdown-menu": "^2.0.5",
"@radix-ui/react-hover-card": "^1.0.7",
"@radix-ui/react-label": "^2.0.2",
Expand Down
48 changes: 48 additions & 0 deletions public/images/receipt_bg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
147 changes: 147 additions & 0 deletions public/images/uni_deposit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ec325eb

Please sign in to comment.