diff --git a/apps/rewards-dashboard/index.html b/apps/rewards-dashboard/index.html index 0826b2190..c66b65efc 100644 --- a/apps/rewards-dashboard/index.html +++ b/apps/rewards-dashboard/index.html @@ -8,7 +8,6 @@
diff --git a/apps/rewards-dashboard/package-lock.json b/apps/rewards-dashboard/package-lock.json index f2094b4d2..4c8d3b1c1 100644 --- a/apps/rewards-dashboard/package-lock.json +++ b/apps/rewards-dashboard/package-lock.json @@ -12,6 +12,7 @@ "@gfxlabs/oku-chains": "^0.0.19", "@lingui/macro": "^4.6.0", "@lingui/react": "^4.6.0", + "@swc/core": "1.3.105", "@tanstack/react-query": "^5.15.4", "@uidotdev/usehooks": "^2.4.1", "@web3modal/wagmi": "^3.5.0", @@ -23,7 +24,7 @@ }, "devDependencies": { "@lingui/cli": "^4.6.0", - "@lingui/swc-plugin": "^4.0.4", + "@lingui/swc-plugin": "^4.0.6", "@lingui/vite-plugin": "^4.6.0", "@tailwindcss/typography": "^0.5.10", "@types/node": "^20.10.5", @@ -1769,9 +1770,9 @@ } }, "node_modules/@lingui/swc-plugin": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@lingui/swc-plugin/-/swc-plugin-4.0.4.tgz", - "integrity": "sha512-xRnR96Mqi6zwGlVfGJMfoM8QykBbUz/sSnwmcFL9BZ8Y9YBZxzLAVf4t1BbiIQsAs+pMYu/HfujTBD4y/r1ucA==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/@lingui/swc-plugin/-/swc-plugin-4.0.6.tgz", + "integrity": "sha512-jW32d+t/faHGrgzZXzGbDmadElqHQ9FvGf2aoq7YelXBPG9cf/lAkZlpxNjAzRhbscupB0YPtBjC49XoIIzKMg==", "dev": true, "peerDependencies": { "@lingui/macro": "4" @@ -2788,10 +2789,9 @@ } }, "node_modules/@swc/core": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.101.tgz", - "integrity": "sha512-w5aQ9qYsd/IYmXADAnkXPGDMTqkQalIi+kfFf/MHRKTpaOL7DHjMXwPp/n8hJ0qNjRvchzmPtOqtPBiER50d8A==", - "dev": true, + "version": "1.3.105", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.105.tgz", + "integrity": "sha512-me2VZyr3OjqRpFrYQJJYy7x/zbFSl9nt+MAGnIcBtjDsN00iTVqEaKxBjPBFQV9BDAgPz2SRWes/DhhVm5SmMw==", "hasInstallScript": true, "dependencies": { "@swc/counter": "^0.1.1", @@ -2805,16 +2805,16 @@ "url": "https://opencollective.com/swc" }, "optionalDependencies": { - "@swc/core-darwin-arm64": "1.3.101", - "@swc/core-darwin-x64": "1.3.101", - "@swc/core-linux-arm-gnueabihf": "1.3.101", - "@swc/core-linux-arm64-gnu": "1.3.101", - "@swc/core-linux-arm64-musl": "1.3.101", - "@swc/core-linux-x64-gnu": "1.3.101", - "@swc/core-linux-x64-musl": "1.3.101", - "@swc/core-win32-arm64-msvc": "1.3.101", - "@swc/core-win32-ia32-msvc": "1.3.101", - "@swc/core-win32-x64-msvc": "1.3.101" + "@swc/core-darwin-arm64": "1.3.105", + "@swc/core-darwin-x64": "1.3.105", + "@swc/core-linux-arm-gnueabihf": "1.3.105", + "@swc/core-linux-arm64-gnu": "1.3.105", + "@swc/core-linux-arm64-musl": "1.3.105", + "@swc/core-linux-x64-gnu": "1.3.105", + "@swc/core-linux-x64-musl": "1.3.105", + "@swc/core-win32-arm64-msvc": "1.3.105", + "@swc/core-win32-ia32-msvc": "1.3.105", + "@swc/core-win32-x64-msvc": "1.3.105" }, "peerDependencies": { "@swc/helpers": "^0.5.0" @@ -2826,13 +2826,12 @@ } }, "node_modules/@swc/core-darwin-arm64": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.101.tgz", - "integrity": "sha512-mNFK+uHNPRXSnfTOG34zJOeMl2waM4hF4a2NY7dkMXrPqw9CoJn4MwTXJcyMiSz1/BnNjjTCHF3Yhj0jPxmkzQ==", + "version": "1.3.105", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.105.tgz", + "integrity": "sha512-buWeweLVDXXmcnfIemH4PGnpjwsDTUGitnPchdftb0u1FU8zSSP/lw/pUCBDG/XvWAp7c/aFxgN4CyG0j7eayA==", "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "darwin" @@ -2842,13 +2841,12 @@ } }, "node_modules/@swc/core-darwin-x64": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.3.101.tgz", - "integrity": "sha512-B085j8XOx73Fg15KsHvzYWG262bRweGr3JooO1aW5ec5pYbz5Ew9VS5JKYS03w2UBSxf2maWdbPz2UFAxg0whw==", + "version": "1.3.105", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.3.105.tgz", + "integrity": "sha512-hFmXPApqjA/8sy/9NpljHVaKi1OvL9QkJ2MbbTCCbJERuHMpMUeMBUWipHRfepGHFhU+9B9zkEup/qJaJR4XIg==", "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "darwin" @@ -2858,13 +2856,12 @@ } }, "node_modules/@swc/core-linux-arm-gnueabihf": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.101.tgz", - "integrity": "sha512-9xLKRb6zSzRGPqdz52Hy5GuB1lSjmLqa0lST6MTFads3apmx4Vgs8Y5NuGhx/h2I8QM4jXdLbpqQlifpzTlSSw==", + "version": "1.3.105", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.105.tgz", + "integrity": "sha512-mwXyMC41oMKkKrPpL8uJpOxw7fyfQoVtIw3Y5p0Blabk+espNYqix0E8VymHdRKuLmM//z5wVmMsuHdGBHvZeg==", "cpu": [ "arm" ], - "dev": true, "optional": true, "os": [ "linux" @@ -2874,13 +2871,12 @@ } }, "node_modules/@swc/core-linux-arm64-gnu": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.101.tgz", - "integrity": "sha512-oE+r1lo7g/vs96Weh2R5l971dt+ZLuhaUX+n3BfDdPxNHfObXgKMjO7E+QS5RbGjv/AwiPCxQmbdCp/xN5ICJA==", + "version": "1.3.105", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.105.tgz", + "integrity": "sha512-H7yEIVydnUtqBSUxwmO6vpIQn7j+Rr0DF6ZOORPyd/SFzQJK9cJRtmJQ3ZMzlJ1Bb+1gr3MvjgLEnmyCYEm2Hg==", "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -2890,13 +2886,12 @@ } }, "node_modules/@swc/core-linux-arm64-musl": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.101.tgz", - "integrity": "sha512-OGjYG3H4BMOTnJWJyBIovCez6KiHF30zMIu4+lGJTCrxRI2fAjGLml3PEXj8tC3FMcud7U2WUn6TdG0/te2k6g==", + "version": "1.3.105", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.105.tgz", + "integrity": "sha512-Jg7RTFT3pGFdGt5elPV6oDkinRy7q9cXpenjXnJnM2uvx3jOwnsAhexPyCDHom8SHL0j+9kaLLC66T3Gz1E4UA==", "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -2906,13 +2901,12 @@ } }, "node_modules/@swc/core-linux-x64-gnu": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.101.tgz", - "integrity": "sha512-/kBMcoF12PRO/lwa8Z7w4YyiKDcXQEiLvM+S3G9EvkoKYGgkkz4Q6PSNhF5rwg/E3+Hq5/9D2R+6nrkF287ihg==", + "version": "1.3.105", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.105.tgz", + "integrity": "sha512-DJghplpyusAmp1X5pW/y93MmS/u83Sx5GrpJxI6KLPa82+NItTgMcl8KBQmW5GYAJpVKZyaIvBanS5TdR8aN2w==", "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -2922,13 +2916,12 @@ } }, "node_modules/@swc/core-linux-x64-musl": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.101.tgz", - "integrity": "sha512-kDN8lm4Eew0u1p+h1l3JzoeGgZPQ05qDE0czngnjmfpsH2sOZxVj1hdiCwS5lArpy7ktaLu5JdRnx70MkUzhXw==", + "version": "1.3.105", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.105.tgz", + "integrity": "sha512-wD5jL2dZH/5nPNssBo6jhOvkI0lmWnVR4vnOXWjuXgjq1S0AJpO5jdre/6pYLmf26hft3M42bteDnjR4AAZ38w==", "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "linux" @@ -2938,13 +2931,12 @@ } }, "node_modules/@swc/core-win32-arm64-msvc": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.101.tgz", - "integrity": "sha512-9Wn8TTLWwJKw63K/S+jjrZb9yoJfJwCE2RV5vPCCWmlMf3U1AXj5XuWOLUX+Rp2sGKau7wZKsvywhheWm+qndQ==", + "version": "1.3.105", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.105.tgz", + "integrity": "sha512-UqJtwILUHRw2+3UTPnRkZrzM/bGdQtbR4UFdp79mZQYfryeOUVNg7aJj/bWUTkKtLiZ3o+FBNrM/x2X1mJX5bA==", "cpu": [ "arm64" ], - "dev": true, "optional": true, "os": [ "win32" @@ -2954,13 +2946,12 @@ } }, "node_modules/@swc/core-win32-ia32-msvc": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.101.tgz", - "integrity": "sha512-onO5KvICRVlu2xmr4//V2je9O2XgS1SGKpbX206KmmjcJhXN5EYLSxW9qgg+kgV5mip+sKTHTAu7IkzkAtElYA==", + "version": "1.3.105", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.105.tgz", + "integrity": "sha512-Z95C6vZgBEJ1snidYyjVKnVWiy/ZpPiIFIXGWkDr4ZyBgL3eZX12M6LzZ+NApHKffrbO4enbFyFomueBQgS2oA==", "cpu": [ "ia32" ], - "dev": true, "optional": true, "os": [ "win32" @@ -2970,13 +2961,12 @@ } }, "node_modules/@swc/core-win32-x64-msvc": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.101.tgz", - "integrity": "sha512-T3GeJtNQV00YmiVw/88/nxJ/H43CJvFnpvBHCVn17xbahiVUOPOduh3rc9LgAkKiNt/aV8vU3OJR+6PhfMR7UQ==", + "version": "1.3.105", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.105.tgz", + "integrity": "sha512-3J8fkyDPFsS3mszuYUY4Wfk7/B2oio9qXUwF3DzOs2MK+XgdyMLIptIxL7gdfitXJBH8k39uVjrIw1JGJDjyFA==", "cpu": [ "x64" ], - "dev": true, "optional": true, "os": [ "win32" @@ -2988,14 +2978,12 @@ "node_modules/@swc/counter": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.2.tgz", - "integrity": "sha512-9F4ys4C74eSTEUNndnER3VJ15oru2NumfQxS8geE+f3eB5xvfxpWyqE5XlVnxb/R14uoXi6SLbBwwiDSkv+XEw==", - "dev": true + "integrity": "sha512-9F4ys4C74eSTEUNndnER3VJ15oru2NumfQxS8geE+f3eB5xvfxpWyqE5XlVnxb/R14uoXi6SLbBwwiDSkv+XEw==" }, "node_modules/@swc/types": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.5.tgz", - "integrity": "sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw==", - "dev": true + "integrity": "sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw==" }, "node_modules/@tailwindcss/typography": { "version": "0.5.10", diff --git a/apps/rewards-dashboard/package.json b/apps/rewards-dashboard/package.json index f9f2bc156..4a8ca5def 100644 --- a/apps/rewards-dashboard/package.json +++ b/apps/rewards-dashboard/package.json @@ -18,6 +18,7 @@ "@gfxlabs/oku-chains": "^0.0.19", "@lingui/macro": "^4.6.0", "@lingui/react": "^4.6.0", + "@swc/core": "1.3.105", "@tanstack/react-query": "^5.15.4", "@uidotdev/usehooks": "^2.4.1", "@web3modal/wagmi": "^3.5.0", @@ -29,7 +30,7 @@ }, "devDependencies": { "@lingui/cli": "^4.6.0", - "@lingui/swc-plugin": "^4.0.4", + "@lingui/swc-plugin": "^4.0.6", "@lingui/vite-plugin": "^4.6.0", "@tailwindcss/typography": "^0.5.10", "@types/node": "^20.10.5", diff --git a/apps/rewards-dashboard/src/App.tsx b/apps/rewards-dashboard/src/App.tsx index c5bf3787c..e78709f40 100644 --- a/apps/rewards-dashboard/src/App.tsx +++ b/apps/rewards-dashboard/src/App.tsx @@ -1,21 +1,56 @@ +import { useState } from "react"; import "./App.css"; import { Background } from "./components/Background"; import { Footer } from "./components/Footer"; import { Header } from "./components/Header"; import { DashboardLayout } from "./layouts/DashboardLayout"; import { AppProvider } from "./providers"; +import { Trans } from "@lingui/macro"; +import { RxCross1 } from "react-icons/rx"; function App() { + const [hideModal, setHideModal] = useState(false); return ( <> + {hideModal ? ( + <> + ) : ( +
+
+
+
+
+ Program Completed +
+ +
+
+

+ Rewards Ended Information +

+
+
+
+
+ )}
{ diff --git a/apps/rewards-dashboard/src/constants.ts b/apps/rewards-dashboard/src/constants.ts index 0443a209b..40ed79de9 100644 --- a/apps/rewards-dashboard/src/constants.ts +++ b/apps/rewards-dashboard/src/constants.ts @@ -1,3 +1,3 @@ export const WAC_URL = import.meta.env.VITE_WAC_URL ? import.meta.env.VITE_WAC_URL - : "https://wac.staging.gfx.town"; + : "https://wac.gfx.xyz"; diff --git a/apps/rewards-dashboard/src/locales/en.po b/apps/rewards-dashboard/src/locales/en.po index 90fac365e..c2929b64b 100644 --- a/apps/rewards-dashboard/src/locales/en.po +++ b/apps/rewards-dashboard/src/locales/en.po @@ -13,110 +13,123 @@ msgstr "" "Language-Team: \n" "Plural-Forms: \n" -#: src/layouts/DashboardLayout.tsx:219 +#: src/layouts/DashboardLayout.tsx:217 msgid "Accrued Rewards Header" msgstr "Accruing ARB Rewards" -#: src/layouts/DashboardLayout.tsx:222 +#: src/layouts/DashboardLayout.tsx:220 msgid "Accrued Rewards Tooltip" msgstr "The estimated amount of ARB you have earned that has not been paid out." -#: src/layouts/DashboardLayout.tsx:199 +#: src/layouts/DashboardLayout.tsx:195 msgid "aUSDC Held Value Header" msgstr "aUSDC Balance" -#: src/layouts/DashboardLayout.tsx:202 +#: src/layouts/DashboardLayout.tsx:198 msgid "aUSDC Held Value Tooltip" msgstr "Aave v3 USDC account balance." -#: src/layouts/DashboardLayout.tsx:211 +#: src/layouts/DashboardLayout.tsx:207 msgid "Beefy cUSDC Balance" msgstr "Beefy Vault" -#: src/layouts/DashboardLayout.tsx:214 +#: src/layouts/DashboardLayout.tsx:211 msgid "Beefy Finance cUSDC Held Value Tooltip" msgstr "Beefy.Finance cUSDC Vault Balance." -#: src/layouts/DashboardLayout.tsx:302 +#: src/layouts/DashboardLayout.tsx:300 msgid "Bottom Banner Header" msgstr "How rewards work?" -#: src/layouts/DashboardLayout.tsx:312 +#: src/layouts/DashboardLayout.tsx:310 msgid "Bottom Banner Link" msgstr "Learn more" -#: src/layouts/DashboardLayout.tsx:185 +#: src/layouts/DashboardLayout.tsx:181 msgid "Bridged Header" msgstr "Total USDC bridged" -#: src/layouts/DashboardLayout.tsx:188 +#: src/layouts/DashboardLayout.tsx:184 msgid "Bridged Window Tooltip" msgstr "The total amount of canonical USDC you bridged in via CCTP." -#: src/quarks/WalletManager.tsx:16 +#: src/quarks/WalletManager.tsx:15 msgid "CONNECT WALLET" msgstr "Connect Wallet" -#: src/layouts/DashboardLayout.tsx:153 +#: src/layouts/DashboardLayout.tsx:149 msgid "Connected Dashboard Header" msgstr "My ARB Rewards" -#: src/layouts/DashboardLayout.tsx:139 +#: src/layouts/DashboardLayout.tsx:135 msgid "Connected Dashboard Subtitle" msgstr "Get up to 5% rewards by bridging your USDC to Arbitrum" -#: src/layouts/DashboardLayout.tsx:128 +#: src/layouts/DashboardLayout.tsx:124 msgid "Connected Dashboard Title" msgstr "ARB Rewards Dashboard" -#: src/layouts/DashboardLayout.tsx:205 +#: src/layouts/DashboardLayout.tsx:201 msgid "cUSDC Held Value" msgstr "cUSDC Balance" -#: src/layouts/DashboardLayout.tsx:208 +#: src/layouts/DashboardLayout.tsx:204 msgid "cUSDC Held Value Tooltip" msgstr "Compound v3 USDC account balance." -#: src/layouts/DashboardLayout.tsx:274 +#: src/layouts/DashboardLayout.tsx:272 msgid "Disconnect Wallet Dashboard Subtitle One" msgstr "Claim ARB rewards by bridging your USDC to Arbitrum." -#: src/layouts/DashboardLayout.tsx:277 +#: src/layouts/DashboardLayout.tsx:275 msgid "Disconnect Wallet Dashboard Subtitle Two" msgstr "Supporting Aave and Compound USDC deposits." -#: src/layouts/DashboardLayout.tsx:270 +#: src/layouts/DashboardLayout.tsx:268 msgid "Disconnect Wallet Dashboard Title" msgstr "Arbitrum USDC Rewards Dashboard" -#: src/layouts/DashboardLayout.tsx:236 +#: src/layouts/DashboardLayout.tsx:234 msgid "Estimated Rewards Header" msgstr "Total Projected Rewards" -#: src/layouts/DashboardLayout.tsx:174 +#: src/layouts/DashboardLayout.tsx:170 msgid "Hide Number Text" msgstr "Show Numbers" -#: src/layouts/DashboardLayout.tsx:242 +#: src/layouts/DashboardLayout.tsx:240 msgid "History of Rewards Earned Header" msgstr "Total ARB Earned" -#: src/layouts/DashboardLayout.tsx:246 +#: src/layouts/DashboardLayout.tsx:244 msgid "History of Rewards Earned Tooltip" msgstr "A minimum of 1 ARB will be paid out. Outstanding rewards below 1 ARB will roll over to the next week." -#: src/layouts/DashboardLayout.tsx:174 +#: src/App.tsx:25 +msgid "Program Completed" +msgstr "Program Completed" + +#: src/App.tsx:40 +msgid "Rewards Ended Information" +msgstr "" +"Thank you everyone who participated.\n" +"The Wormhole USDC Arbitrum STIP has completed.\n" +"All ARB rewards have been sent.\n" +"Please check back for future programs.\n" +"" + +#: src/layouts/DashboardLayout.tsx:170 msgid "Show Number Text" msgstr "Hide Numbers" -#: src/layouts/DashboardLayout.tsx:230 +#: src/layouts/DashboardLayout.tsx:228 msgid "Staking Power Header" msgstr "Total USDC Bridged" -#: src/layouts/DashboardLayout.tsx:191 +#: src/layouts/DashboardLayout.tsx:187 msgid "USDC Held Header" msgstr "USDC Balance" -#: src/layouts/DashboardLayout.tsx:194 +#: src/layouts/DashboardLayout.tsx:190 msgid "USDC Held Window Tooltip" msgstr "The amount of canonical USDC held in your account." diff --git a/apps/rewards-dashboard/src/providers/Web3Provider.tsx b/apps/rewards-dashboard/src/providers/Web3Provider.tsx index 226899870..1a518546c 100644 --- a/apps/rewards-dashboard/src/providers/Web3Provider.tsx +++ b/apps/rewards-dashboard/src/providers/Web3Provider.tsx @@ -7,6 +7,7 @@ import { CoinbaseWalletConnector } from "wagmi/connectors/coinbaseWallet"; import { InjectedConnector } from "wagmi/connectors/injected"; import { WalletConnectConnector } from "wagmi/connectors/walletConnect"; import { arbitrum, mainnet } from "@gfxlabs/oku-chains"; +import { PropsWithChildren } from "react"; const CHAINS_LIST = [arbitrum, mainnet]; const envProjectId = import.meta.env.VITE_APP_WALLET_CONNECT_PROJECT_ID; @@ -70,6 +71,6 @@ createWeb3Modal({ }, }); -export const Web3Provider = (props: { children: JSX.Element }) => { +export const Web3Provider = (props: PropsWithChildren<{}>) => { return {props.children}; }; diff --git a/apps/rewards-dashboard/src/providers/index.tsx b/apps/rewards-dashboard/src/providers/index.tsx index 1c8e93f2f..a2ce5d141 100644 --- a/apps/rewards-dashboard/src/providers/index.tsx +++ b/apps/rewards-dashboard/src/providers/index.tsx @@ -1,15 +1,17 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { LocaleProvider } from "./LocaleProvider"; import { Web3Provider } from "./Web3Provider"; +import { PropsWithChildren } from "react"; const queryClient = new QueryClient(); -export const AppProvider = (props: { children: JSX.Element }) => { +export const AppProvider = (props: PropsWithChildren<{}>) => { + const { children } = props; return ( <> - {props.children} + {children} diff --git a/apps/token-list/content/dest_ethereum.md b/apps/token-list/content/dest_ethereum.md index 9f70402d0..b7a4d0c59 100644 --- a/apps/token-list/content/dest_ethereum.md +++ b/apps/token-list/content/dest_ethereum.md @@ -11,7 +11,7 @@ _See [by_dest.csv](by_dest.csv) ([raw](https://raw.githubusercontent.com/xlabs/p | ![BONK](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/BONK_wh.png) | BONK | [BONK (Portal)](http://coingecko.com/en/coins/bonk) | [0x1151CB3d861920e07a38e03eEAd12C32178567F6](https://etherscan.io/token/0x1151CB3d861920e07a38e03eEAd12C32178567F6) | 5 | solana | [DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263](https://solscan.io/address/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263) | 5 | [uniswap](https://app.uniswap.org/), [curve](https://curve.fi/) | BONK | | ![BUSDbs](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/BUSDbs_wh.png) | BUSDbs | [Binance USD (Portal from BSC)](http://coingecko.com/en/coins/binance-usd) | [0x7B4B0B9b024109D182dCF3831222fbdA81369423](https://etherscan.io/token/0x7B4B0B9b024109D182dCF3831222fbdA81369423) | 18 | bsc | [0xe9e7cea3dedca5984780bafc599bd69add087d56](https://bscscan.com/address/0xe9e7cea3dedca5984780bafc599bd69add087d56) | 18 | | BUSDbs | | ![CAKE](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/CAKE_wh.png) | CAKE | [PancakeSwap Token (Portal)](http://coingecko.com/en/coins/pancakeswap) | [0x7c8161545717a334f3196e765d9713f8042EF338](https://etherscan.io/token/0x7c8161545717a334f3196e765d9713f8042EF338) | 18 | bsc | [0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82](https://bscscan.com/address/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82) | 18 | | CAKE | -| ![CELO](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/CELO_wh.png) | CELO | [Celo (Wormhole)](http://coingecko.com/en/coins/celo) | [0x3294395e62F4eB6aF3f1Fcf89f5602D90Fb3Ef69](https://etherscan.io/token/0x3294395e62F4eB6aF3f1Fcf89f5602D90Fb3Ef69) | 18 | celo | [0x471EcE3750Da237f93B8E339c536989b8978a438](https://celoscan.io/address/0x471EcE3750Da237f93B8E339c536989b8978a438) | nan | [uniswap](https://app.uniswap.org/) | CELO | +| | CELO | [Celo (Wormhole)](http://coingecko.com/en/coins/celo) | [0x3294395e62F4eB6aF3f1Fcf89f5602D90Fb3Ef69](https://etherscan.io/token/0x3294395e62F4eB6aF3f1Fcf89f5602D90Fb3Ef69) | 18 | celo | [0x471EcE3750Da237f93B8E339c536989b8978a438](https://celoscan.io/address/0x471EcE3750Da237f93B8E339c536989b8978a438) | nan | [uniswap](https://app.uniswap.org/) | CELO | | ![DUST](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/DUST_wh.png) | DUST | [DUST Protocol](http://coingecko.com/en/coins/dust-token) | [0xb5b1b659da79a2507c27aad509f15b4874edc0cc](https://etherscan.io/token/0xb5b1b659da79a2507c27aad509f15b4874edc0cc) | 9 | solana | [DUSTawucrTsGU8hcqRdHDCbuYhCPADMLM2VcCb8VnFnQ](https://solscan.io/address/DUSTawucrTsGU8hcqRdHDCbuYhCPADMLM2VcCb8VnFnQ) | 9 | | DUST | | ![KING](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/KING_wh.png) | KING | [KING (Portal)](http://coingecko.com/en/coins/king) | [0xE28027c99C7746fFb56B0113e5d9708aC86fAE8f](https://etherscan.io/token/0xE28027c99C7746fFb56B0113e5d9708aC86fAE8f) | 9 | solana | [9noXzpXnkyEcKF3AeXqUHTdR59V5uvrRBUZ9bwfQwxeq](https://solscan.io/address/9noXzpXnkyEcKF3AeXqUHTdR59V5uvrRBUZ9bwfQwxeq) | 9 | [uniswap](https://app.uniswap.org/) | KING | | ![LUNA](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/LUNA_wh.png) | LUNA | [LUNA (Portal)](http://coingecko.com/en/coins/terra-luna) | [0xbd31ea8212119f94a611fa969881cba3ea06fa3d](https://etherscan.io/token/0xbd31ea8212119f94a611fa969881cba3ea06fa3d) | 6 | terra | [uluna](https://finder.terra.money/columbus-5/address/uluna) | 6 | | LUNA | diff --git a/apps/token-list/content/source_celo.md b/apps/token-list/content/source_celo.md index c0e206567..0021c2d50 100644 --- a/apps/token-list/content/source_celo.md +++ b/apps/token-list/content/source_celo.md @@ -5,6 +5,6 @@ _See [by_source.csv](by_source.csv) ([raw](https://raw.githubusercontent.com/xla | img | symbol | name | sourceAddress | solAddress | solDecimals | solMarkets | ethAddress | ethDecimals | ethMarkets | terraAddress | terraDecimals | terraMarkets | bscAddress | bscDecimals | bscMarkets | maticAddress | maticDecimals | maticMarkets | avaxAddress | avaxDecimals | avaxMarkets | oasisAddress | oasisDecimals | oasisMarkets | algorandAddress | algorandDecimals | algorandMarkets | auroraAddress | auroraDecimals | auroraMarkets | ftmAddress | ftmDecimals | ftmMarkets | karuraAddress | karuraDecimals | karuraMarkets | acalaAddress | acalaDecimals | acalaMarkets | klaytnAddress | klaytnDecimals | klaytnMarkets | nearAddress | nearDecimals | nearMarkets | moonbeamAddress | moonbeamDecimals | moonbeamMarkets | terra2Address | terra2Decimals | terra2Markets | injectiveAddress | injectiveDecimals | injectiveMarkets | suiAddress | suiDecimals | suiMarkets | aptosAddress | aptosDecimals | aptosMarkets | arbitrumAddress | arbitrumDecimals | arbitrumMarkets | optimismAddress | optimismDecimals | optimismMarkets | xplaAddress | xplaDecimals | xplaMarkets | baseAddress | baseDecimals | baseMarkets | symbol | |:----------------------------------------------------------------------------------------------------------|:---------|:--------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------|:-------------|:--------------|:-------------|:----------------------------------------------------------------------------------------------------------------------|--------------:|:------------------------------------|:---------------|:----------------|:---------------|:-------------|:--------------|:-------------|:---------------|:----------------|:---------------|:--------------|:---------------|:--------------|:---------------|:----------------|:---------------|:------------------|:-------------------|:------------------|:----------------|:-----------------|:----------------|:-------------|:--------------|:-------------|:----------------|:-----------------|:----------------|:---------------|:----------------|:---------------|:----------------|:-----------------|:----------------|:--------------|:---------------|:--------------|:------------------|:-------------------|:------------------|:----------------|:-----------------|:----------------|:-------------------|:--------------------|:-------------------|:-------------|:--------------|:-------------|:---------------|:----------------|:---------------|:------------------|:-------------------|:------------------|:------------------|:-------------------|:------------------|:--------------|:---------------|:--------------|:--------------|:---------------|:--------------|:-----------------| -| ![CELO](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/CELO_wh.png) | CELO | [Celo (Wormhole)](http://coingecko.com/en/coins/celo) | [0x471EcE3750Da237f93B8E339c536989b8978a438](https://celoscan.io/address/0x471EcE3750Da237f93B8E339c536989b8978a438) | | | | [0x3294395e62F4eB6aF3f1Fcf89f5602D90Fb3Ef69](https://etherscan.io/address/0x3294395e62F4eB6aF3f1Fcf89f5602D90Fb3Ef69) | 18 | [uniswap](https://app.uniswap.org/) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CELO | +| | CELO | [Celo (Wormhole)](http://coingecko.com/en/coins/celo) | [0x471EcE3750Da237f93B8E339c536989b8978a438](https://celoscan.io/address/0x471EcE3750Da237f93B8E339c536989b8978a438) | | | | [0x3294395e62F4eB6aF3f1Fcf89f5602D90Fb3Ef69](https://etherscan.io/address/0x3294395e62F4eB6aF3f1Fcf89f5602D90Fb3Ef69) | 18 | [uniswap](https://app.uniswap.org/) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CELO | | ![cEUR](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/cEUR_wh.png) | cEUR | [Celo Euro (Wormhole)](http://coingecko.com/en/coins/celo-euro) | [0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73](https://celoscan.io/address/0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73) | | | | [0xEE586e7Eaad39207F0549BC65f19e336942C992f](https://etherscan.io/address/0xEE586e7Eaad39207F0549BC65f19e336942C992f) | 18 | [curve](https://curve.fi/) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cEUR | | ![cUSD](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/cUSD_wh.png) | cUSD | [Celo Dollar (Wormhole)](http://coingecko.com/en/coins/celo-dollar) | [0x765DE816845861e75A25fCA122bb6898B8B1282a](https://celoscan.io/address/0x765DE816845861e75A25fCA122bb6898B8B1282a) | | | | [0xC22956c3CFeC3Ee9A9925abeE044F05Bc47f6632](https://etherscan.io/address/0xC22956c3CFeC3Ee9A9925abeE044F05Bc47f6632) | 18 | [curve](https://curve.fi/) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cUSD | \ No newline at end of file