Skip to content

Commit

Permalink
v1.7.1 Release (#477)
Browse files Browse the repository at this point in the history
* wrong logo (#290)

* Issue #306: Fix and Enforce Formatting (#284)

* Fix ESLint issues + Run Formatter

* Add lint and prettier checks to CI

* Run ESLint from npx

* Test Prettier CI

* Revert "Test Prettier CI"

This reverts commit ce2c148.

* Test ESLint CI

* Revert "Test ESLint CI"

This reverts commit 89c82ad.

* Revert changes to useEffect hooks to reduce risk of PR

* Readd toast import

* Change node version to 20 in CI workflows

* Issue #277 #278: Add Themes for New Design

* Issue #286: Update Header Button Styles

* Formatting Fixes

* Bump webpack-dev-middleware from 5.3.3 to 5.3.4 (#309)

Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](webpack/webpack-dev-middleware@v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add header styles (#307)

* Issue #304: Fix Styled Components not Inheriting React Props (#305)

* Issue #308: Debt owed, input owed amount (#310)

* modify vault changes

* 2 not 3

* simplify

* revert

* new bot url (#318)

* Issue #311: OD-1 CSP Configuration (od-app PR) (#317)

* add CSP config for od app

* add main bot url

* Issue #314: OD-4 wstETH price (#325)

* Issue #313: OD-3 DoS RegEx (#319)

* simplify regex

* delete semicolon

* add unit tests and fix existing tests

* lint and prettier

* Remove deprecated check (#332)

* Bug/too-many-network-requests (#333)

* Remove deprecated check

* too many network requests

* depcheck

* prettier fix

* Enable Optimism HAI (#279)

* better network support

* fix network config issues

* undo HAI and KITE variable naming

* fix network selection issue in constants

* network fixes

* remove op goerli

* no op goerli

* update sdk

* bump

* update branch with newest sdk version and more allowed connect-src urls

---------

Co-authored-by: jahabeebs <[email protected]>

* Prevent Network Errors on switch chain (#340)

* prevent errors on network switch

* prevent errors on network switch

* Issue #330: Always show interactive element for vaults (#337)

* repay when not owner

* prettier

* Global stability fee is incorrect (#336)

* remove annual stability fee and move rest to prices

* remove borrow rate from colums and rows

* add commet

* remove console log

* remove wrapper

* removed borrow rate from fetch

* remove title borrow rate

* prettier

* lint fixes

* Issue #294: App Redesign: new footer (#342)

* close to matching

* with debank link, more responsive

* prettier

* Issue #295: App Redesign: new wallet modal (#347)

* wallet card changes

* prettier

* lint

* Issue #316. App Redesign: Cookie Consent Banner (#348)

* cookie text

* cookie btn

* clean styles

* remove lint warnings from footer

* run prettier on footer

* App Redesign: new hero section (no vaults) (#328)

* add basic of stepper

* colors and last line

* stepper colors and wrapper

* add check icon

* checking for current and completed

* text and title responsive, steps come from parent

* stepper container responsive

* layout of step content

* stepper responsive

* layout step 0

* responsice layouts

* change button primary

* move s1 picture to top

* fix styling issues

* prettier

* lint fix

* remove duplicates imgs

* error handling, conditionals (#341)

* fix error can't create vault (#358)

* 4-9-24 deployment (#360)

* update sdk to v1.6.5-rc.1

* bump version

* Issue #288: open graph image (#357)

* add og and twitter image

* duplicate description

* more twitter tags

* description

* summary large image

* test new og image path

* revert path changes

* replace with root

* try no slash

* more tags

* add og absolute url

* from app.dev to app.opendollar

* Bump sdk to v1.6.5-rc.2

* Issue #346: App Redesign: Account Modal (#364)

* new account modal

* fix account modal bugs

* Issue #344: App Redesign: Transaction failed, submitted, and confirmation modals (#362)

* modal changes

* prettier

* remove dots

* fix modal bugs

* Issue #293. App Redesign: stats component on modify vaults page (#356)

* switch to light theme

* headers colors

* rm img

* card's box shadows and borders

* data table bgs

* fonts

* contracts table styles

* prettier

* lint fix

* fix fonts on cards

* add images

* bg gradient

* set up new header (#370)

* new tx confirmation modal (#367)

* fix route & state (#365)

* fix route & state

* clean up

* Issue 297. App Redesign: Create vault page (#361)

* borders

* change layout bottom

* mobile layout change

* fonts

* right col fonts

* stats col layout

* label fonts

* change input layout

* change max btn

* input token box change

* change note style

* dropdown style

* drop down selector fonts

* input fonts

* border bottom stats

* btn

* icons

* prettier and lint

* change shadow, cleanup

* prettier

* lint fix

* button (#378)

* button

* t

* Issue 292. App Redesign: new hero section (w/vault list) (#372)

* first commit

* border and shadow

* layout

* header layout

* prettier

* add font family type

* change fonts typo

* change font

* change main font

* change fonts and container width

* change link button style

* prettier

* checkbox

* mobile layout

* risk style

* clean up

* clean lint fix

* make all smaller

* prettier

---------

Co-authored-by: Sero <[email protected]>

* Issue #300. App Redesign: Auctions page (#374)

* first commit

* border and shadow

* layout

* header layout

* prettier

* add font family type

* change fonts typo

* change font

* change main font

* change fonts and container width

* change link button style

* prettier

* checkbox

* mobile layout

* risk style

* clean up

* clean lint fix

* title font

* btn header style

* switcher box

* tabs style

* fix error from merge

* font style for tabs

* add wrapper

* change body style

* change body under links

* bg to modal

* chnage text color

* modal style

* prettier

---------

Co-authored-by: Sero <[email protected]>

* Issue #299: App Redesign: Lower part of modify vault page (#377)

* new lower part of modify vaults page

* add new error block

* Issue #345: Cleanup onboarding (#373)

* onboarding cleanup

* add back loading payload

* Issue #298: App Redesign: Upper part of modify vault page (#379)

* new upper modify vaults

* more redesign changes

* Fix UI bugs, wallet not connecting on first load, type issues, and styles (#380)

* fix bugs

* pr

* lint

* Remove gh-pages (#388)

* remove gh-pages

* add yarn.lock

* fix spinner and button (#385)

* Issue 383. QA - Web Redesign: (part 3) (#386)

* stats price cards

* remove close icon from modal

* remove second checkbox

* change link btn color to white

* go back expanded

* remove stats component

* cookie shadow

* cookie shadow one place

* add paddings to footer

* edit active links

* add tooltip icon

* align table

* fix btn link

* prettier

* changed links color to primary blue

* Remove Unused Dependencies (#391)

* remove deps

* type fix

* lint

* Issue #384: QA - Web Redesign (Part 4) (#387)

* Issue 394. App Redesign: Background Image (#395)

* stats price cards

* remove close icon from modal

* remove second checkbox

* change link btn color to white

* go back expanded

* remove stats component

* cookie shadow

* cookie shadow one place

* add paddings to footer

* edit active links

* add tooltip icon

* align table

* fix btn link

* prettier

* changed links color to primary blue

* add squares bg

* add second bg

* two bg contain and 100%

* remove imgs

* rm old img

* Issue #366: Shared Store State  (#396)

* QA - Web Redesign: (part 5) (#393)

* Add maintenance middleware (#399)

* add maintenance middleware

* Update config matcher

* match all

* match all src paths

* log issues

* all paths

* redirect appropriately

* match all routes

* exclude public files and remove console log

* recommended matcher

* more middleware testing

* rename middleware

* rename again

* test maintenance mode

* fix ts errors, push maintenance mode

* update maintenance message

---------

Co-authored-by: jahabeebs <[email protected]>

* remove next and vercel edge deps

* fix sanctions check (#402)

* fix lost wallet context (#404)

* update sdk to v1.7.0-rc.1

* Disable liquidity button temporarily in navbar (#405)

* disable liquidity button temp

* hide button

* Remove claim button

* stats page loads without connected wallet

* QA: Post Launch - fix reported bugs (#410)

* fix issues with text and memoise

* fix bunch of small issues

* remove testnet

* Issue #413:  Approval not working for Deposit and Repay on ModifyVault (#415)

* approvals working

* approvals working

* Issue #407. QA: Header, test tokens (#416)

* rm proxyFactory from list

* add tokens btn condition

* add paddings to header

* fix stepper width

* prettier

* add to geoblock (#418)

* Fix repay all debt (#425)

* Add back camelot pool in header (#417)

* Add back camelot pool in header

* add back button

---------

Co-authored-by: Sero <[email protected]>
Co-authored-by: jahabeebs <[email protected]>

* Sentry Monitoring (#422)

* set up sentry

* b

* sentry

* sentry CONTENT HTML

* sentry CONTENT HTML

* lint

* fix

* fix

* remove tesr

* lint

* lint and prettier

---------

Co-authored-by: Patrick Gallagher <[email protected]>

* Add new pufeth collateral

* force

* Issue #406. QA: Side menu (#429)

* close btn

* move connect btn

* claim tokens

* sidebar test token if

* account balance on top or connect wallet btn

* fonts medium

* add link to camelot

* hide od state when no account

* remove borders bottom on mobile

* fix add tokens popup

* bg for tokens

* prettier

* Create account if no facilitator, Error handling, precision (#432)

* move diff from dead branch

* refresh a

* Issue #414. QA: Image Loading and container (#434)

* description box in auctions

* rm faq

* fixed height

* add loader

* convert png to webp

* lint fix

* rm red border

* add fixed min width

* add border radius

* Issue #430. Stake: UI active pools (#435)

* add new path

* add stake translate

* add new page

* basic stake component

* basic pool block

* link and layout

* hardcode status

* create Pool Block component

* mobile layout

* multiple pools

* change stake to earn

* prettier

* dynamic data

---------

Co-authored-by: Patrick Gallagher <[email protected]>

* Epic: WebApp Redesign (#285)

* Issue #277 #278: Add Themes for New Design

* Issue #286: Update Header Button Styles

* Formatting Fixes

* Add header styles (#307)

* Issue #294: App Redesign: new footer (#342)

* close to matching

* with debank link, more responsive

* prettier

* Issue #295: App Redesign: new wallet modal (#347)

* wallet card changes

* prettier

* lint

* Issue #316. App Redesign: Cookie Consent Banner (#348)

* cookie text

* cookie btn

* clean styles

* remove lint warnings from footer

* run prettier on footer

* App Redesign: new hero section (no vaults) (#328)

* add basic of stepper

* colors and last line

* stepper colors and wrapper

* add check icon

* checking for current and completed

* text and title responsive, steps come from parent

* stepper container responsive

* layout of step content

* stepper responsive

* layout step 0

* responsice layouts

* change button primary

* move s1 picture to top

* fix styling issues

* prettier

* lint fix

* remove duplicates imgs

* Issue #346: App Redesign: Account Modal (#364)

* new account modal

* fix account modal bugs

* Issue #344: App Redesign: Transaction failed, submitted, and confirmation modals (#362)

* modal changes

* prettier

* remove dots

* fix modal bugs

* Issue #293. App Redesign: stats component on modify vaults page (#356)

* switch to light theme

* headers colors

* rm img

* card's box shadows and borders

* data table bgs

* fonts

* contracts table styles

* prettier

* lint fix

* fix fonts on cards

* add images

* bg gradient

* set up new header (#370)

* new tx confirmation modal (#367)

* Issue 297. App Redesign: Create vault page (#361)

* borders

* change layout bottom

* mobile layout change

* fonts

* right col fonts

* stats col layout

* label fonts

* change input layout

* change max btn

* input token box change

* change note style

* dropdown style

* drop down selector fonts

* input fonts

* border bottom stats

* btn

* icons

* prettier and lint

* change shadow, cleanup

* prettier

* lint fix

* button (#378)

* button

* t

* Issue 292. App Redesign: new hero section (w/vault list) (#372)

* first commit

* border and shadow

* layout

* header layout

* prettier

* add font family type

* change fonts typo

* change font

* change main font

* change fonts and container width

* change link button style

* prettier

* checkbox

* mobile layout

* risk style

* clean up

* clean lint fix

* make all smaller

* prettier

---------

Co-authored-by: Sero <[email protected]>

* Issue #300. App Redesign: Auctions page (#374)

* first commit

* border and shadow

* layout

* header layout

* prettier

* add font family type

* change fonts typo

* change font

* change main font

* change fonts and container width

* change link button style

* prettier

* checkbox

* mobile layout

* risk style

* clean up

* clean lint fix

* title font

* btn header style

* switcher box

* tabs style

* fix error from merge

* font style for tabs

* add wrapper

* change body style

* change body under links

* bg to modal

* chnage text color

* modal style

* prettier

---------

Co-authored-by: Sero <[email protected]>

* Issue #299: App Redesign: Lower part of modify vault page (#377)

* new lower part of modify vaults page

* add new error block

* Issue #345: Cleanup onboarding (#373)

* onboarding cleanup

* add back loading payload

* Issue #298: App Redesign: Upper part of modify vault page (#379)

* new upper modify vaults

* more redesign changes

* Fix UI bugs, wallet not connecting on first load, type issues, and styles (#380)

* fix bugs

* pr

* lint

* fix spinner and button (#385)

* Issue 383. QA - Web Redesign: (part 3) (#386)

* stats price cards

* remove close icon from modal

* remove second checkbox

* change link btn color to white

* go back expanded

* remove stats component

* cookie shadow

* cookie shadow one place

* add paddings to footer

* edit active links

* add tooltip icon

* align table

* fix btn link

* prettier

* changed links color to primary blue

* Remove Unused Dependencies (#391)

* remove deps

* type fix

* lint

* Issue #384: QA - Web Redesign (Part 4) (#387)

* Issue 394. App Redesign: Background Image (#395)

* stats price cards

* remove close icon from modal

* remove second checkbox

* change link btn color to white

* go back expanded

* remove stats component

* cookie shadow

* cookie shadow one place

* add paddings to footer

* edit active links

* add tooltip icon

* align table

* fix btn link

* prettier

* changed links color to primary blue

* add squares bg

* add second bg

* two bg contain and 100%

* remove imgs

* rm old img

* Issue #366: Shared Store State  (#396)

* QA - Web Redesign: (part 5) (#393)

* Add maintenance middleware (#399)

* add maintenance middleware

* Update config matcher

* match all

* match all src paths

* log issues

* all paths

* redirect appropriately

* match all routes

* exclude public files and remove console log

* recommended matcher

* more middleware testing

* rename middleware

* rename again

* test maintenance mode

* fix ts errors, push maintenance mode

* update maintenance message

---------

Co-authored-by: jahabeebs <[email protected]>

* remove next and vercel edge deps

* fix sanctions check (#402)

* fix lost wallet context (#404)

* update sdk to v1.7.0-rc.1

* Disable liquidity button temporarily in navbar (#405)

* disable liquidity button temp

* hide button

* Remove claim button

* stats page loads without connected wallet

* QA: Post Launch - fix reported bugs (#410)

* fix issues with text and memoise

* fix bunch of small issues

* remove testnet

* Issue #413:  Approval not working for Deposit and Repay on ModifyVault (#415)

* approvals working

* approvals working

* Issue #407. QA: Header, test tokens (#416)

* rm proxyFactory from list

* add tokens btn condition

* add paddings to header

* fix stepper width

* prettier

* add to geoblock (#418)

* Fix repay all debt (#425)

* Add back camelot pool in header (#417)

* Add back camelot pool in header

* add back button

---------

Co-authored-by: Sero <[email protected]>
Co-authored-by: jahabeebs <[email protected]>

* Sentry Monitoring (#422)

* set up sentry

* b

* sentry

* sentry CONTENT HTML

* sentry CONTENT HTML

* lint

* fix

* fix

* remove tesr

* lint

* lint and prettier

---------

Co-authored-by: Patrick Gallagher <[email protected]>

* force

* Issue #406. QA: Side menu (#429)

* close btn

* move connect btn

* claim tokens

* sidebar test token if

* account balance on top or connect wallet btn

* fonts medium

* add link to camelot

* hide od state when no account

* remove borders bottom on mobile

* fix add tokens popup

* bg for tokens

* prettier

* Create account if no facilitator, Error handling, precision (#432)

* move diff from dead branch

* refresh a

* Issue #414. QA: Image Loading and container (#434)

* description box in auctions

* rm faq

* fixed height

* add loader

* convert png to webp

* lint fix

* rm red border

* add fixed min width

* add border radius

* Issue #430. Stake: UI active pools (#435)

* add new path

* add stake translate

* add new page

* basic stake component

* basic pool block

* link and layout

* hardcode status

* create Pool Block component

* mobile layout

* multiple pools

* change stake to earn

* prettier

* dynamic data

---------

Co-authored-by: Patrick Gallagher <[email protected]>

* Add margin to footer, hide earn page

* typescript to v4.4.3

* Issue #437. Geoblock updates - separate page (#439)

* new geoblock container

* Update copy

* add geoblock route

* navigate to a new route if blocked

* add block body to header

* add icons

* cleanup

* cleanup

* Cleanup

* cleanup gitignore

---------

Co-authored-by: jahabeebs <[email protected]>
Co-authored-by: Patrick Gallagher <[email protected]>

---------

Co-authored-by: Jacob Habib <[email protected]>
Co-authored-by: Iana <[email protected]>
Co-authored-by: Sero <[email protected]>
Co-authored-by: Patrick Gallagher <[email protected]>
Co-authored-by: jahabeebs <[email protected]>

* Basic actions, svg renderer (#442)

* Show 2 decimal stability fees

* Update sdk to v1.7.0-rc.5

* Update readme, bump version

* Update readme

* Improve error reporting (#448)

* Resolved 'connect-src' contains an invalid source

* Fix button color prop

* Fix button color prop

* cleanup

* add contracts to analytics (#452)

* repay UI fixes (#453)

* fix earthfile build argument

* Remove 5% Buffer On Vault Creation with Max Balance (#454)

* remove buffer

* remove buffer

* vault creation decimals should be 1 more (#468)

* Issue #441. Vault loading skeleton (#457)

* add loader and fixed height

* fix geofence enable check

* prettier

* changed loader added color prop

* prettier

* Update rpc url process.env

* Issue #447. Show NFV Owner (#458)

* add loader and fixed height

* fix geofence enable check

* prettier

* append nfv owner lines: basic

* tooltip text

* add address link

* Issue #450. Footer column alignment (#469)

* change footer layoute

* prettier

* Issue #466: RETH deposit bug (#467)

* fix deposit bug

* revert maxinput

* fix toFixedString

* no console log

* fix rounding logic

* fix earthly craco build

---------

Co-authored-by: Patrick Gallagher <[email protected]>

* update cors

* Change quiknode to holy-damp-firefly

* Issue #461: Wallet modal improvements (#472)

* Wallet connection improvements

* fix text

* fixes

* eliminate recent transactions text

* Improve DApp Performance (#459)

* test RPC speed

* remove webp

* more webp

* fetch

* rpc

* delete unused assets

* rpc

* rpc

* image preloader

* delete unused files

* Update Shared.tsx

* fix regression

* v exp

* remove require pattern

* tokens

* liquidation penalty price (#478)

* liquidation penalty price

* clean up

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Jacob Habib <[email protected]>
Co-authored-by: kai-thompson <[email protected]>
Co-authored-by: kai-thompson <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sero <[email protected]>
Co-authored-by: jahabeebs <[email protected]>
Co-authored-by: Iana <[email protected]>
  • Loading branch information
8 people authored May 11, 2024
1 parent 2d218f7 commit 2165236
Show file tree
Hide file tree
Showing 92 changed files with 628 additions and 1,350 deletions.
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ build-app:
FROM +deps
ARG ENVIRONMENT='local'
ARG VERSION='latest'
RUN yarn build
RUN yarn craco build
275 changes: 138 additions & 137 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,140 +1,141 @@
{
"name": "od-app",
"version": "1.7.0",
"private": true,
"scripts": {
"start": "craco start",
"build": "craco build && yarn sentry:sourcemaps",
"test": "craco test",
"eject": "craco eject",
"prettier": "prettier --write \"{,**/*.{ts,tsx,json,js,md}}\"",
"prettier:fix": "prettier --write \"{,**/*.{ts,tsx,json,js,md}}\" --fix",
"prettier:check": "prettier \"{,**/*.{ts,tsx,json,js,md}}\" --list-different",
"lint": "npx eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "yarn run lint --fix",
"lint:check": "yarn run lint --max-warnings=0",
"format": "yarn run prettier:fix && yarn run lint:fix",
"format:check": "yarn run prettier && yarn run lint",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org open-dollar --project open-dollar ./build"
},
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"dependencies": {
"@apollo/client": "^3.7.17",
"@coinbase/wallet-sdk": "^3.7.1",
"@craco/craco": "7.1.0",
"@ethersproject/address": "^5.0.10",
"@ethersproject/experimental": "5.4.0",
"@ethersproject/providers": "5.4.5",
"@opendollar/sdk": "1.7.0-rc.5",
"@opendollar/svg-generator": "1.0.4",
"@react-spring/web": "^9.7.3",
"@sentry/cli": "^2.31.0",
"@sentry/integrations": "^7.112.2",
"@sentry/react": "^7.112.2",
"@sentry/webpack-plugin": "^2.16.1",
"@types/node": "^12.0.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@web3-react/coinbase-wallet": "^8.2.3",
"@web3-react/core": "^8.2.3",
"@web3-react/gnosis-safe": "^8.2.4",
"@web3-react/injected-connector": "^6.0.7",
"@web3-react/metamask": "^8.2.1",
"@web3-react/network": "^8.2.0",
"@web3-react/types": "^8.2.3",
"@web3-react/url": "^8.2.3",
"@web3-react/walletconnect-v2": "^8.5.1",
"@web3-react/walletlink-connector": "6.2.3",
"axios": "^1.6.7",
"classnames": "^2.2.6",
"dayjs": "^1.9.4",
"easy-peasy": "^5.1.0",
"ethers": "5.4.7",
"graphql": "^16.8.1",
"i18next": "^19.7.0",
"jazzicon": "^1.5.0",
"numeral": "^2.0.6",
"react": "^17.0.1",
"react-confetti": "^6.0.1",
"react-cookie-consent": "^5.2.0",
"react-copy-to-clipboard": "^5.0.2",
"react-custom-scrollbars": "^4.2.1",
"react-device-detect": "^1.13.1",
"react-dom": "^17.0.1",
"react-feather": "^2.0.9",
"react-helmet-async": "^1.0.7",
"react-i18next": "^11.7.2",
"react-number-format": "^5.2.2",
"react-paginate": "^6.5.0",
"react-router-dom": "^5.3.0",
"react-scripts": "5.0.1",
"react-toastify": "^6.0.9",
"react-tooltip": "^5.21.1",
"react-transition-group": "^4.4.1",
"styled-components": "^5.2.0",
"typescript": "^4.4.3"
},
"devDependencies": {
"@babel/preset-typescript": "^7.24.1",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
"@types/async-retry": "^1.4.2",
"@types/classnames": "^2.2.11",
"@types/cypress": "^1.1.3",
"@types/jest": "^29.5.12",
"@types/jsonp": "^0.2.0",
"@types/numeral": "^0.0.28",
"@types/react-copy-to-clipboard": "^4.3.0",
"@types/react-custom-scrollbars": "^4.0.7",
"@types/react-paginate": "^6.2.1",
"@types/react-router-dom": "^5.3.0",
"@types/react-slider": "^1.1.2",
"@types/react-transition-group": "^4.4.0",
"@types/styled-components": "^5.1.3",
"craco-alias": "^3.0.1",
"cypress": "^13.6.4",
"cypress-wait-until": "^1.7.1",
"husky": "^5.0.9",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"serve": "^14.2.3"
},
"eslintConfig": {
"extends": "react-app",
"rules": {
"@typescript-eslint/no-redeclare": "off",
"no-redeclare": "off"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"resolutions": {
"react-error-overlay": "6.0.9"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,tsx,md,json,ts}": "prettier --write"
"name": "od-app",
"version": "1.7.1",
"private": true,
"scripts": {
"start": "craco start",
"build": "craco build && yarn sentry:sourcemaps",
"test": "craco test",
"eject": "craco eject",
"prettier": "prettier --write \"{,**/*.{ts,tsx,json,js,md}}\"",
"prettier:fix": "prettier --write \"{,**/*.{ts,tsx,json,js,md}}\" --fix",
"prettier:check": "prettier \"{,**/*.{ts,tsx,json,js,md}}\" --list-different",
"lint": "npx eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "yarn run lint --fix",
"lint:check": "yarn run lint --max-warnings=0",
"format": "yarn run prettier:fix && yarn run lint:fix",
"format:check": "yarn run prettier && yarn run lint",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org open-dollar --project open-dollar ./build && sentry-cli sourcemaps upload --org open-dollar --project open-dollar ./build"
},
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"dependencies": {
"@apollo/client": "^3.7.17",
"@coinbase/wallet-sdk": "^3.7.1",
"@craco/craco": "7.1.0",
"@ethersproject/address": "^5.0.10",
"@ethersproject/experimental": "5.4.0",
"@ethersproject/providers": "5.4.5",
"@opendollar/sdk": "1.7.0-rc.5",
"@opendollar/svg-generator": "1.0.4",
"@react-spring/web": "^9.7.3",
"@sentry/cli": "^2.31.2",
"@sentry/integrations": "^7.112.2",
"@sentry/react": "^7.112.2",
"@sentry/webpack-plugin": "^2.16.1",
"@types/node": "^12.0.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@web3-react/coinbase-wallet": "^8.2.3",
"@web3-react/core": "^8.2.3",
"@web3-react/gnosis-safe": "^8.2.4",
"@web3-react/injected-connector": "^6.0.7",
"@web3-react/metamask": "^8.2.1",
"@web3-react/network": "^8.2.0",
"@web3-react/types": "^8.2.3",
"@web3-react/url": "^8.2.3",
"@web3-react/walletconnect-v2": "^8.5.1",
"@web3-react/walletlink-connector": "6.2.3",
"axios": "^1.6.7",
"classnames": "^2.2.6",
"dayjs": "^1.9.4",
"easy-peasy": "^5.1.0",
"ethers": "5.4.7",
"graphql": "^16.8.1",
"i18next": "^19.7.0",
"jazzicon": "^1.5.0",
"numeral": "^2.0.6",
"react": "^17.0.1",
"react-confetti": "^6.0.1",
"react-cookie-consent": "^5.2.0",
"react-copy-to-clipboard": "^5.0.2",
"react-custom-scrollbars": "^4.2.1",
"react-device-detect": "^1.13.1",
"react-dom": "^17.0.1",
"react-feather": "^2.0.9",
"react-helmet-async": "^1.0.7",
"react-i18next": "^11.7.2",
"react-number-format": "^5.2.2",
"react-paginate": "^6.5.0",
"react-router-dom": "^5.3.0",
"react-scripts": "5.0.1",
"react-toastify": "^6.0.9",
"react-tooltip": "^5.21.1",
"react-transition-group": "^4.4.1",
"styled-components": "^5.2.0",
"terser-webpack-plugin": "^5.3.10",
"typescript": "^4.4.3"
},
"devDependencies": {
"@babel/preset-typescript": "^7.24.1",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
"@types/async-retry": "^1.4.2",
"@types/classnames": "^2.2.11",
"@types/cypress": "^1.1.3",
"@types/jest": "^29.5.12",
"@types/jsonp": "^0.2.0",
"@types/numeral": "^0.0.28",
"@types/react-copy-to-clipboard": "^4.3.0",
"@types/react-custom-scrollbars": "^4.0.7",
"@types/react-paginate": "^6.2.1",
"@types/react-router-dom": "^5.3.0",
"@types/react-slider": "^1.1.2",
"@types/react-transition-group": "^4.4.0",
"@types/styled-components": "^5.1.3",
"craco-alias": "^3.0.1",
"cypress": "^13.6.4",
"cypress-wait-until": "^1.7.1",
"husky": "^5.0.9",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"serve": "^14.2.3"
},
"eslintConfig": {
"extends": "react-app",
"rules": {
"@typescript-eslint/no-redeclare": "off",
"no-redeclare": "off"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"resolutions": {
"react-error-overlay": "6.0.9"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,tsx,md,json,ts}": "prettier --write"
}
}
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
script-src 'self' http://cdn.matomo.cloud/usekeyp.matomo.cloud/matomo.js https://cdn.matomo.cloud/usekeyp.matomo.cloud/matomo.js https://cdn.matomo.cloud/matomo.js https://usekeyp.matomo.cloud/matomo.js;
media-src 'self';
img-src 'self' data: blob: https://explorer-api.walletconnect.com https://usekeyp.matomo.cloud https://app.opendollar.com;
connect-src 'self' blob: https://[email protected]/4507153379295232 https://arbitrum-sepolia.blockpi.network https://arbitrum-sepolia.infura.io https://arbitrum.blockpi.network https://arbitrum-mainnet.infura.io https://optimism-mainnet.infura.io https://optimism.blockpi.network wss://relay.walletconnect.com/ https://verify.walletconnect.org wss://www.walletlink.org/rpc https://explorer-api.walletconnect.com https://chain-proxy.wallet.coinbase.com https://rpc.walletconnect.com https://api.studio.thegraph.com https://od-subgraph-node-image.onrender.com https://usekeyp.matomo.cloud https://opt-mainnet.g.alchemy.com https://arb-mainnet.g.alchemy.com https://bot.opendollar.com https://bot.dev.opendollar.com https://mainnet.optimism.io/ https://subgraph.reflexer.finance/subgraphs/name/reflexer-labs/rai https://api.country.is/ https://o1016103.ingest.us.sentry.io;
connect-src 'self' blob: https://opt-mainnet.g.alchemy.com https://arb-mainnet.g.alchemy.com https://mainnet.optimism.io/ https://holy-damp-firefly.arbitrum-mainnet.quiknode.pro https://api.studio.thegraph.com https://od-subgraph-node-image.onrender.com https://usekeyp.matomo.cloud https://o1016103.ingest.us.sentry.io/api/4507153379295232/envelope/ https://o1016103.ingest.us.sentry.io/api/4507153379295232/security/ https://arbitrum-sepolia.infura.io https://arbitrum-sepolia.blockpi.network/v1/rpc/public https://arbitrum.blockpi.network/v1/rpc/public https://optimism.blockpi.network wss://relay.walletconnect.com/ https://verify.walletconnect.org wss://www.walletlink.org/rpc https://explorer-api.walletconnect.com https://chain-proxy.wallet.coinbase.com https://rpc.walletconnect.com https://bot.opendollar.com https://bot.dev.opendollar.com https://subgraph.reflexer.finance/subgraphs/name/reflexer-labs/rai https://api.country.is/ ;
object-src 'self' blob:;
form-action 'self';
font-src 'self' data: https://fonts.gstatic.com;
Expand All @@ -18,7 +18,7 @@
<link rel="shortcut icon" href="%PUBLIC_URL%/od-logo.svg" />
<meta property="og:title" content="Open Dollar | Vaults" />
<meta property="og:description" content="Open Dollar is a stablecoin protocol built on Arbitrum designed to help you yield and leverage your assets with safety and predictability." />
<meta property="og:type" content="image/png" />
<meta property="og:type" content="image/webp" />
<meta property="og:url" content="https://app.opendollar.com" />
<meta property="og:image" content="https://app.opendollar.com/og.png" />
<meta property="og:image:width" content="1280" />
Expand Down
14 changes: 7 additions & 7 deletions public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
"name": "Open Dollar",
"icons": [
{
"src": "od-logo256w.png",
"src": "od-logo256w.webp",
"sizes": "256x256",
"type": "image/png"
"type": "image/webp"
},
{
"src": "od-logo192w.png",
"type": "image/png",
"src": "od-logo192w.webp",
"type": "image/webp",
"sizes": "192x192"
},
{
"src": "od-logo.png",
"type": "image/png",
"src": "od-logo.webp",
"type": "image/webp",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff",
"iconPath": "od-logo.png",
"iconPath": "od-logo.webp",
"description": "Open Dollar is a stablecoin protocol built on Arbitrum designed to help you yield and leverage your assets with safety and predictability.",
"providedBy": {
"name": "Open Dollar",
Expand Down
1 change: 1 addition & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Sentry.init({
// Session Replay
replaysSessionSampleRate: 0.1, // This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
replaysOnErrorSampleRate: 1.0, // If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
environment: process.env.NODE_ENV,
})

const App = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/ErrorBoundary.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import styled from 'styled-components'
import splashImage from '~/assets/404.png'
import splashImage from '~/assets/404.webp'
import Brand from '~/components/Brand'

interface State {
Expand Down
2 changes: 1 addition & 1 deletion src/GlobalStyle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const GlobalStyle = createGlobalStyle`
body {
color: ${(props: any) => props.theme.colors.primary};
background-color:${(props: any) => props.theme.colors.background};
background-image: url('/squares1x.png'), url('/wavy-blue.png');
background-image: url('squares1x.png'), url('wavy-blue.png');
background-size: contain, 100%;
background-position: bottom left, top right;
background-repeat: no-repeat;
Expand Down
Binary file removed src/assets/404.png
Binary file not shown.
Binary file added src/assets/404.webp
Binary file not shown.
Binary file removed src/assets/blueish-bg.png
Binary file not shown.
Binary file added src/assets/blueish-bg.webp
Binary file not shown.
Binary file removed src/assets/caret.png
Binary file not shown.
Binary file added src/assets/caret.webp
Binary file not shown.
Binary file removed src/assets/closed-vault.png
Binary file not shown.
Binary file added src/assets/closed-vault.webp
Binary file not shown.
Binary file removed src/assets/connectors/metamask.png
Binary file not shown.
Binary file added src/assets/connectors/metamask.webp
Binary file not shown.
Binary file removed src/assets/facilitator.png
Binary file not shown.
Binary file added src/assets/facilitator.webp
Binary file not shown.
Binary file removed src/assets/greenish-bg.png
Binary file not shown.
Binary file added src/assets/greenish-bg.webp
Binary file not shown.
Binary file removed src/assets/logo192.png
Binary file not shown.
Binary file removed src/assets/logo4x.png
Binary file not shown.
Binary file added src/assets/logo4x.webp
Binary file not shown.
Binary file removed src/assets/od-colorloop.png
Binary file not shown.
Binary file added src/assets/od-colorloop.webp
Binary file not shown.
Binary file removed src/assets/od-full-logo.png
Binary file not shown.
Binary file added src/assets/od-full-logo.webp
Binary file not shown.
Binary file removed src/assets/od-land.png
Binary file not shown.
Binary file removed src/assets/od-logo.png
Binary file not shown.
Binary file added src/assets/od-logo.webp
Binary file not shown.
Binary file removed src/assets/od-logo192w.png
Binary file not shown.
Binary file added src/assets/od-logo192w.webp
Binary file not shown.
Binary file removed src/assets/od-logo256w.png
Binary file not shown.
Binary file added src/assets/od-logo256w.webp
Binary file not shown.
Binary file removed src/assets/od-vault.png
Binary file not shown.
Binary file removed src/assets/opened-vault.png
Binary file not shown.
Binary file added src/assets/opened-vault.webp
Binary file not shown.
3 changes: 0 additions & 3 deletions src/assets/splash/discord.svg

This file was deleted.

18 changes: 0 additions & 18 deletions src/assets/splash/eth.svg

This file was deleted.

Binary file removed src/assets/splash/kite.png
Binary file not shown.
12 changes: 0 additions & 12 deletions src/assets/splash/liquid-eth.svg

This file was deleted.

9 changes: 0 additions & 9 deletions src/assets/splash/optimism.svg

This file was deleted.

Binary file removed src/assets/splash/partly-cloudy.png
Binary file not shown.
9 changes: 0 additions & 9 deletions src/assets/splash/partly-cloudy.svg

This file was deleted.

Loading

0 comments on commit 2165236

Please sign in to comment.