Skip to content

Add Base and USDC Support#325

Open
maxweng wants to merge 98 commits into
masterfrom
develop
Open

Add Base and USDC Support#325
maxweng wants to merge 98 commits into
masterfrom
develop

Conversation

@maxweng

@maxweng maxweng commented Apr 2, 2024

Copy link
Copy Markdown
Member

No description provided.

Gerald Host and others added 30 commits May 2, 2023 10:32
* Barbs/spruce goose/UI v2 integration (#90)

* Union V2 Goerli Merge (#91)

* stage

* feat: very much broken

* feat: working-ish

* feat: add segment

* feat: ens icon missing

* fix: network switch

* fix: profile errors

* fix: missing icon

* fixed v2 merge issues

* fix: removed duplicate constants import

---------

Co-authored-by: Gerald <gm@gerald.host>

* fix: borrow

* Second UI review changes/tweaks (#98)

* misc changes

* push mobile view changes

* feat: moved claim tokens button to first stage of get started page

* proj: bump ui lib version

* fix: connect button border radius

* feat: added working permit logic

* feat: store users gasless approval preference in local storage

* fix: removed duplicate function

* fix: added optimism permit methods

* feat: improved gasless approvals and tested various networks/methods

---------

Co-authored-by: Gerald Host <gm@gerald.host>
* feat: added cancel vouch functionality

* fix: ensure cancel vouch button is disabled in the correct conditions
* fix: added active styles to the ProgressBar when the percentage is > 0 but rounding down to 0

* feat: hide claim tokens button until 1 union has been earned

* fix: only mark the stake step as completed if the user has earned 1 UNION
* feat: added contact navigation controls to manage contact modal

* misc: remove unused console.log() calls
Updated copy in the tooltip for the "Unavailable" credit in the credit card
* fix: divide by 0 error if total vouch is 0

* feat: reworked how rewards are calculated to remove "calculateRewardsByBlock" dependency
* feat: reworked credit pages so that segmented control animates on change

* feat: reworked DAO pages so that segmented control animates on change

* fix: set initialActive for credit pages seg control

* misc: remove redundant prop
* feat: increased precision of max borrow calculation

* feat: added modal reveal animations (bump ui version)
* feat: increased precision of max borrow calculation

* feat: change "Update trust" button text if the vouch is being revoked
…vouch (#127)

* feat: increased precision of max borrow calculation

* misc: updated cancel vouch text to specify it is the received vouch only
* feat: increased precision of max borrow calculation

* feat: added eslint and fixed lint issues

* fix: eslint warning about react version

* proj: added jsx files to lint config and fixed issues

* commit latest lock

* fix: disable eslint during build
0xbarbs and others added 24 commits June 7, 2023 21:56
* fix: added link to view bytecode button

* feat: added 404 page
* feat: tweaked segmented control styles

* misc: removed redundant px
…lia-support-in-ui

* master:
  fix: move useMemberListener hook so that the data providers have been correctly initialized
  fix: made changes to wallet activity so that it spans the full width of modal
  UNI-1784 Fixed activity history fetching not updating #300
  UNI-1785 Respect the users showTestnets setting value in the share profile modal #303
  UNI-1790 Delegation status doesnt update after delegation #304
  delete "if impatient" copy (#305)
  new: Add max stake param #306
  UNI-1744 Top vouchers not sorting on all browsers #307
  new: Link leaderboard profiles to tally union delegate links (#308)
  fix: Profile Button spacing is wrong (#309)

# Conflicts:
#	src/components/dao/LeaderboardTableRow.jsx
#	src/components/dao/protocol/ProtocolLimits.jsx
#	src/components/profile/ProfileVoucherStats.jsx
…olia-support-in-ui

# Conflicts:
#	.eslintrc.json
#	package.json
#	src/App.jsx
#	src/Routes.jsx
#	src/abis/v2/userManager.json
#	src/components/connect/Banner.jsx
#	src/components/connect/NetworkSelect.jsx
#	src/components/connect/NetworkSelectOption.jsx
#	src/components/contacts/ContactList.scss
#	src/components/contacts/ContactsTable/ContactsFilterControls.jsx
#	src/components/contacts/ContactsTable/DesktopContactsTable.jsx
#	src/components/contacts/ContactsTable/MobileColumnToggle.jsx
#	src/components/contacts/ContactsTable/MobileContactsTable.jsx
#	src/components/contacts/ContactsTable/ProvidingTableRow.jsx
#	src/components/contacts/ContactsTable/ReceivingTableRow.jsx
#	src/components/contacts/FiltersPopover.jsx
#	src/components/credit/CreditStats.jsx
#	src/components/credit/CreditStats.scss
#	src/components/credit/VouchersCard.jsx
#	src/components/credit/VouchersOverview.jsx
#	src/components/credit/VouchersOverview.scss
#	src/components/dao/GovernanceStats.jsx
#	src/components/dao/LeaderboardTableRow.jsx
#	src/components/dao/MyGovernanceStats.jsx
#	src/components/dao/ProposalVotes.jsx
#	src/components/dao/ProposalsCard.jsx
#	src/components/dao/protocol/ProposalData.jsx
#	src/components/dao/protocol/ProposalStages.jsx
#	src/components/dao/protocol/ProtocolBalances.jsx
#	src/components/dao/protocol/ProtocolData.jsx
#	src/components/dao/protocol/ProtocolFees.jsx
#	src/components/dao/protocol/ProtocolLimits.jsx
#	src/components/dao/protocol/ProtocolPeriods.jsx
#	src/components/governance/NetworkNotice.jsx
#	src/components/modals/AccountModal.jsx
#	src/components/modals/BorrowModal.jsx
#	src/components/modals/DelegateModal.jsx
#	src/components/modals/EditVouch.jsx
#	src/components/modals/ManageContactModal.jsx
#	src/components/modals/ManageContactModal.scss
#	src/components/modals/ManageContactModal/ContactDetailsTab.jsx
#	src/components/modals/RepayModal.jsx
#	src/components/modals/StakeModal.jsx
#	src/components/modals/VouchLinkModal.jsx
#	src/components/modals/VouchModal.jsx
#	src/components/modals/VouchModal.scss
#	src/components/modals/WalletModal.jsx
#	src/components/modals/WelcomeModal.jsx
#	src/components/modals/WriteOffDebtModal.jsx
#	src/components/profile/ProfileGovernanceStats.jsx
#	src/components/register/RegisterButton.jsx
#	src/components/register/StakeStep.jsx
#	src/components/register/VouchersStep.jsx
#	src/components/register/VouchersStep.scss
#	src/components/shared/AddressInput.jsx
#	src/components/shared/AddressSummary.jsx
#	src/components/shared/AddressSummary.scss
#	src/components/shared/Approval.jsx
#	src/components/shared/Header.jsx
#	src/components/shared/Header.scss
#	src/components/shared/HeaderMobileMenu.scss
#	src/components/shared/PrimaryLabel.jsx
#	src/components/shared/StatusBadge.jsx
#	src/components/shared/TransactionHistory/TransactionHistory.jsx
#	src/components/shared/TransactionHistory/TransactionHistoryRow.jsx
#	src/components/stake/BorrowersCard.jsx
#	src/components/stake/RewardStats.jsx
#	src/components/stake/RewardStats.scss
#	src/components/stake/StakeStats.jsx
#	src/components/stake/StakeStats.scss
#	src/config/contracts/mainnet.js
#	src/config/networks.js
#	src/constants.js
#	src/fetchers/fetchVoteCasts.js
#	src/hooks/useBlockTime.js
#	src/hooks/useContract.js
#	src/hooks/useFirstPaymentDueDate.js
#	src/hooks/useForm.js
#	src/hooks/useLastRepayData.js
#	src/hooks/useMemberListener.js
#	src/hooks/useNetworks.js
#	src/hooks/usePollMember.js
#	src/hooks/useRelatedAddresses.js
#	src/hooks/useResponsive.js
#	src/hooks/useRewards.js
#	src/hooks/useVoters.js
#	src/index.scss
#	src/pages/Connect.jsx
#	src/pages/Profile.jsx
#	src/pages/Protocol.jsx
#	src/pages/Register.jsx
#	src/pages/Register.scss
#	src/providers/MemberData.jsx
#	src/providers/ModalManager.jsx
#	src/providers/Network.jsx
#	src/providers/ProtocolData.jsx
#	src/providers/Version.jsx
#	src/providers/VoucheesData.jsx
#	src/providers/VouchersData.jsx
#	src/utils/dueDate.js
#	src/utils/format.js
#	src/utils/numbers.js
#	src/utils/permits.js
#	yarn.lock
…-and-base-sepolia-support-in-ui

Add Base Sepolia support in UI
@vercel

vercel Bot commented Apr 2, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
union-interface ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2024 0:01am

@maxweng maxweng requested review from 0xbarbs, kingjacob and twygod April 2, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants