From 9eb535a5bc92d956df198be2ac4d50fa234db5f2 Mon Sep 17 00:00:00 2001 From: stephen <991266+stxphxn@users.noreply.github.com> Date: Mon, 23 Sep 2024 13:50:42 +0100 Subject: [PATCH 1/5] update --- package-lock.json | 14 +++++----- src/assets/css/tailwind.css | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 60810870..1847f603 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "@popperjs/core": "^2.9.2", "@sentry/browser": "^7.17.4", "@sentry/tracing": "^7.17.4", - "@symmetric-v3/sdk": "^1.2.32-beta.1", + "@symmetric-v3/sdk": "^1.2.33-beta.1", "@tanstack/vue-query": "^4.22.0", "@testing-library/jest-dom": "^5.16.1", "@testing-library/vue": "^7.0.0", @@ -6833,9 +6833,9 @@ } }, "node_modules/@symmetric-v3/sdk": { - "version": "1.2.32-beta.1", - "resolved": "https://registry.npmjs.org/@symmetric-v3/sdk/-/sdk-1.2.32-beta.1.tgz", - "integrity": "sha512-7vFKUGcxUGCWotrsXA2ASwpkKMGQtyZEDxt8WYKee+krbR+TE6pNxB/dA+eIE68HGFMhd+g9ihVaztVPsAQbXg==", + "version": "1.2.33-beta.1", + "resolved": "https://registry.npmjs.org/@symmetric-v3/sdk/-/sdk-1.2.33-beta.1.tgz", + "integrity": "sha512-uICKezQXale1/3tOM06BvI16xi5s41W1CwX8EFHLJBbizAJE1XcIkVWkdYQvJNyHCu5wRbHHOGHRvV/49Igirg==", "dev": true, "license": "GPL-3.0-only", "dependencies": { @@ -34331,9 +34331,9 @@ } }, "@symmetric-v3/sdk": { - "version": "1.2.32-beta.1", - "resolved": "https://registry.npmjs.org/@symmetric-v3/sdk/-/sdk-1.2.32-beta.1.tgz", - "integrity": "sha512-7vFKUGcxUGCWotrsXA2ASwpkKMGQtyZEDxt8WYKee+krbR+TE6pNxB/dA+eIE68HGFMhd+g9ihVaztVPsAQbXg==", + "version": "1.2.33-beta.1", + "resolved": "https://registry.npmjs.org/@symmetric-v3/sdk/-/sdk-1.2.33-beta.1.tgz", + "integrity": "sha512-uICKezQXale1/3tOM06BvI16xi5s41W1CwX8EFHLJBbizAJE1XcIkVWkdYQvJNyHCu5wRbHHOGHRvV/49Igirg==", "dev": true, "requires": { "@balancer-labs/sor": "^4.1.1-beta.16", diff --git a/src/assets/css/tailwind.css b/src/assets/css/tailwind.css index 1a6cb659..fe81c777 100644 --- a/src/assets/css/tailwind.css +++ b/src/assets/css/tailwind.css @@ -606,6 +606,58 @@ html[data-theme='etherlink'] { --color-orange-700: 180, 83, 9; } +html[data-theme='telos'] { + /* Green */ + --color-blue-50: 225, 255, 239; + --color-blue-100: 199, 255, 225; + --color-blue-200: 163, 255, 205; + --color-blue-300: 112, 255, 180; + --color-blue-400: 231, 228, 233; /* New Primary Color */ + --color-blue-500: 50, 230, 140; + --color-blue-600: 42, 200, 120; + --color-blue-700: 34, 170, 102; + --color-blue-800: 28, 140, 84; + --color-blue-900: 22, 110, 66; + + /* Gray */ + + /* Gray */ + --color-gray-50: 230, 230, 230; + --color-gray-100: 208, 208, 208; /* Dark Text */ + --color-gray-200: 182, 182, 182; + --color-gray-300: 147, 147, 147; + --color-gray-400: 154, 154, 154; /* Text Secondary dark */ + --color-gray-500: 75, 75, 75; + --color-gray-600: 57, 57, 57; + --color-gray-700: 69, 69, 69; /* Select Box Background */ + --color-gray-800: 27, 27, 27; /* Box Input Background */ + --color-gray-900: 0, 0, 0; /* Background */ + --color-gray-850: 18, 18, 18; /* Box Background */ + + /* Pink */ + --color-pink-50: 255, 235, 240; + --color-pink-100: 255, 210, 220; + --color-pink-200: 255, 180, 195; + --color-pink-300: 255, 150, 175; + --color-pink-400: 0, 100, 0; /* Gradient Loading */ + --color-pink-500: 255, 226, 160; /* Stars Gradient */ + --color-pink-600: 34, 170, 102; /* Gradient Base */ + --color-pink-700: 0, 128, 128; /* Gradient Hover */ + --color-pink-800: 205, 80, 120; + --color-pink-900: 180, 65, 100; + + /* Yellow */ + --color-yellow-500: 122, 255, 189; /* Stars Gradient */ + + /* Purple */ + --color-purple-500: 255, 226, 160; /* Ve Stars Gradient */ + + /* Orange */ + --color-orange-300: 252, 211, 77; /* Stars on Add liquidity */ + --color-orange-600: 217, 119, 6; + --color-orange-700: 180, 83, 9; +} + @layer utilities { .text-primary { @apply text-gray-900 dark:text-gray-100; From 9b9c3a5f0773db3748f220700e05dd960d627cbc Mon Sep 17 00:00:00 2001 From: stephen <991266+stxphxn@users.noreply.github.com> Date: Tue, 24 Sep 2024 19:30:04 +0100 Subject: [PATCH 2/5] =?UTF-8?q?feat=20add=20Vana=20Moksha=20=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 14 +- package.json | 2 +- public/images/logos/vana-moksha-logo.svg | 11 + public/tokens/vana.png | Bin 0 -> 5407 bytes public/vana-moksha-favicon.png | Bin 0 -> 7122 bytes public/vana-moksha-favicon.svg | 7 + src/App.vue | 1 + src/assets/css/tailwind.css | 33 +- src/assets/data/contracts/vana-moksha.json | 16 + .../images/icons/networks/vana-moksha.svg | 11 + .../pool/staking/PointsIncentivesCard.vue | 284 ++++++++++++++++++ .../pages/pool/staking/StakeSummary.vue | 4 +- .../staking/composables/useStakePreview.ts | 106 ++++++- src/composables/useNetwork.ts | 5 +- src/composables/useTransactions.ts | 2 + src/lib/config/index.ts | 26 +- src/lib/config/taiko/pools.ts | 4 + src/lib/config/types.ts | 1 + src/lib/config/vana-moksha/contracts.ts | 30 ++ src/lib/config/vana-moksha/index.ts | 72 +++++ src/lib/config/vana-moksha/keys.ts | 5 + src/lib/config/vana-moksha/pools.ts | 62 ++++ src/lib/config/vana-moksha/rateProviders.ts | 9 + src/lib/config/vana-moksha/rewards.ts | 0 src/lib/config/vana-moksha/tokenlists.ts | 14 + src/lib/config/vana-moksha/tokens.ts | 36 +++ src/lib/scripts/addresses-vana-moksha.json | 98 ++++++ .../scripts/contract-addresses.generator.ts | 2 +- src/locales/default.json | 6 + src/pages/index.vue | 2 +- src/pages/pool/_id.vue | 14 + src/plugins/router/nav-guards.ts | 4 +- .../local/pool-points-staking.provider.ts | 197 ++++++++++++ src/providers/local/pool-staking.provider.ts | 49 +++ .../api/graphql/generated/api-types.ts | 3 + src/services/api/graphql/mappers.ts | 6 + src/services/web3/wallet.service.ts | 4 +- src/types/pools.ts | 1 + 38 files changed, 1085 insertions(+), 56 deletions(-) create mode 100644 public/images/logos/vana-moksha-logo.svg create mode 100644 public/tokens/vana.png create mode 100644 public/vana-moksha-favicon.png create mode 100644 public/vana-moksha-favicon.svg create mode 100644 src/assets/data/contracts/vana-moksha.json create mode 100644 src/assets/images/icons/networks/vana-moksha.svg create mode 100644 src/components/contextual/pages/pool/staking/PointsIncentivesCard.vue create mode 100644 src/lib/config/vana-moksha/contracts.ts create mode 100644 src/lib/config/vana-moksha/index.ts create mode 100644 src/lib/config/vana-moksha/keys.ts create mode 100644 src/lib/config/vana-moksha/pools.ts create mode 100644 src/lib/config/vana-moksha/rateProviders.ts create mode 100644 src/lib/config/vana-moksha/rewards.ts create mode 100644 src/lib/config/vana-moksha/tokenlists.ts create mode 100644 src/lib/config/vana-moksha/tokens.ts create mode 100644 src/lib/scripts/addresses-vana-moksha.json create mode 100644 src/providers/local/pool-points-staking.provider.ts diff --git a/package-lock.json b/package-lock.json index 1847f603..4d6609e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "@popperjs/core": "^2.9.2", "@sentry/browser": "^7.17.4", "@sentry/tracing": "^7.17.4", - "@symmetric-v3/sdk": "^1.2.33-beta.1", + "@symmetric-v3/sdk": "^1.2.34-beta.1", "@tanstack/vue-query": "^4.22.0", "@testing-library/jest-dom": "^5.16.1", "@testing-library/vue": "^7.0.0", @@ -6833,9 +6833,9 @@ } }, "node_modules/@symmetric-v3/sdk": { - "version": "1.2.33-beta.1", - "resolved": "https://registry.npmjs.org/@symmetric-v3/sdk/-/sdk-1.2.33-beta.1.tgz", - "integrity": "sha512-uICKezQXale1/3tOM06BvI16xi5s41W1CwX8EFHLJBbizAJE1XcIkVWkdYQvJNyHCu5wRbHHOGHRvV/49Igirg==", + "version": "1.2.34-beta.1", + "resolved": "https://registry.npmjs.org/@symmetric-v3/sdk/-/sdk-1.2.34-beta.1.tgz", + "integrity": "sha512-yyjOes808xmAPjRm0XVs2CTcfc6UO4b+W5hWwa35TIyT/NTy+SLT7wJYVSAE71SNcbl7UfgVTHawjJLWTDyZ4w==", "dev": true, "license": "GPL-3.0-only", "dependencies": { @@ -34331,9 +34331,9 @@ } }, "@symmetric-v3/sdk": { - "version": "1.2.33-beta.1", - "resolved": "https://registry.npmjs.org/@symmetric-v3/sdk/-/sdk-1.2.33-beta.1.tgz", - "integrity": "sha512-uICKezQXale1/3tOM06BvI16xi5s41W1CwX8EFHLJBbizAJE1XcIkVWkdYQvJNyHCu5wRbHHOGHRvV/49Igirg==", + "version": "1.2.34-beta.1", + "resolved": "https://registry.npmjs.org/@symmetric-v3/sdk/-/sdk-1.2.34-beta.1.tgz", + "integrity": "sha512-yyjOes808xmAPjRm0XVs2CTcfc6UO4b+W5hWwa35TIyT/NTy+SLT7wJYVSAE71SNcbl7UfgVTHawjJLWTDyZ4w==", "dev": true, "requires": { "@balancer-labs/sor": "^4.1.1-beta.16", diff --git a/package.json b/package.json index 1ec0b8c8..0b25d527 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "@popperjs/core": "^2.9.2", "@sentry/browser": "^7.17.4", "@sentry/tracing": "^7.17.4", - "@symmetric-v3/sdk": "^1.2.33-beta.1", + "@symmetric-v3/sdk": "^1.2.34-beta.1", "@tanstack/vue-query": "^4.22.0", "@testing-library/jest-dom": "^5.16.1", "@testing-library/vue": "^7.0.0", diff --git a/public/images/logos/vana-moksha-logo.svg b/public/images/logos/vana-moksha-logo.svg new file mode 100644 index 00000000..bc26343c --- /dev/null +++ b/public/images/logos/vana-moksha-logo.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/public/tokens/vana.png b/public/tokens/vana.png new file mode 100644 index 0000000000000000000000000000000000000000..60d1491a439a11ca76f0f9b7a79ff98f824c5f05 GIT binary patch literal 5407 zcmXw7cRU-~`;IL}XkE9qMvK<&APo&dRn=&(y+_g1j1e=4J!`aTi+QW|-Xvy=T0yN^ ztr=S@s94|J-{Zr3a@h|}Z09K7>Pjo3M`MMDTB5xz}IfffPRh64aKiOlCVbO69#^%_s$`o2`V z3!2g9(-{m0`{pfCAyht`y&m+hKm7K8su4Fke5bjA?|OCph)PApjd$&g#xn5hbs^8()F8o(S zc>2XWJas_zsLQrBR8z- zQl~>#sb*A=cIDSVAhjr%nDA^uRIIl?f9ElC-qbQRFV$?$+%JJwFKDY}neR&_~<;kg;f z!Q-Tf-P`Yw#gHSN)h(nxZfiO62TcQyw2zR9({II;PSYkNh#Aw0k4jj)#tE5FK4 zfc{~5Cx8?*doc;7LNHs7G=2XVSDvX=>fxEjNB_`3{2JsN4?c4u@e^%4n8@mWWSFvE zTROi1e5+S=!LNV1&W>U|^_Us+I}&Lt4rjWl>w{zu8a1PTjhnD^pz_cy}6#JA@4@$ z`N0gMkNCYs)20=#&gDw-gWv$jxwxTEnrL6;`1Kl45Ns%o61Wq-ED8AXRU^gtMVBP+m}0 zI9ny`k2B|f;L2MDEZg47V`y*e(wUr8m5jXlMw#!QR1kG^_J`%{fhaXDX8BAc!1JwC z8#mD3U4cc)gEk#e&VjT`7&)orPytoH(Y3R63uD0M=7p~FD#J!1V??`I;pbp1r>FP2M4Exbzg0C@nyqenIO&KLLg@f8Sf97aSRBYPAm|8b7BY+9e4$ zEk^DAf7VjmzvgWB7Im-=S)lvGbj(GdhlVj`%N?f)^N;b@&3>Mh6m@(Yqys@-vcZDR z)5(o3EgGL*T#4f@j(v#VN-#w;KO3gxG$vkDCiYcXei9(vN1gcf2kkE=ZVp2_v{hFi zi=#ouS9K8Ea@VCxumz56!DFgi<%Q&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ivp!3_0DNk0`D@6^kfz^_0#3u$w#fl7_W?SNm`sR%Xa+tG+o8cgLW7#jv+jU>W?OV&rjDAXky%ynZRurez%T2F5 zkF4N4-fp(H`qB`q$b2!Fi(Y+rrmd#z#@~)3l0Fug*Cuz^QJS%i9atlD4d^fQFjRlS&oq G(EkBO^S;Xf literal 0 HcmV?d00001 diff --git a/public/vana-moksha-favicon.png b/public/vana-moksha-favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..0eabd3e0e118b884e8577fcb498cbf97edab2ec6 GIT binary patch literal 7122 zcmV;@8!hCCP)wyVKvkSo6zEF{ib%VvfWgA-u0%y5K&nI~hVZi6eW>jxvf!lWd*@zfJf8n^f9ITg z@A*i#GbBzLkMH+>&+nY`JHHWfvPfxse7yAa*I!TJ{k3b?%KSPJzc1mHuX4lJm%IFZ zwfJ=*zG!4*q!zzl#QXSK;Q!C$*PRS8LXKHj%w-lmY21 zy2Ae*h2WG=BKK$EzsJI_e)G*YRdU2}p$h@WUS3{C82%vTTiCq-*MD^zFM|s` zAne)|cI^jQ+`FmR!tMl;d{uV))9&`+aG|G6Ebd(_?ycnF?iVEY&cW?D`Z-5VYPir- zz@0k??(`|*LLZzG--J)b&OJp=NNW69A7YoU()F6Z(+4i}K7o7l4fiC!-Aax)?DDhj z^8MpN?~M{?h__D6>R-psL-9C=s)3? zS-$>(oT4(tV&BL20&zJ19ucS4i-P(HJcj;uO=_z?Nuk>i8~i8@Ra`hu@NQU=MS(9z+>S@l`+ zP~DLOV&9h4tbFE#j?x)_&%_#3d`-~gaGsc*miPLg29 zj%{@O_)C-}@cA4)dMpyX6~~Xy-#bmlFemg_vTa=H}ip z?dF|;$niOyJoz#&b(TmQi()rbN4G3;IQaSVZ_xL?x0S}n|As>I)?2@&Lx=vAB-pp_ zpXh-H?x(DRd&(q$$kC7w@ z*(JhJxHukQS#|SP9654~L;9bSGN#t-R<@}oi8oW==AWB;TU_L?z4mLdHRt~QPv=VH z;J|^WIN$I~k>ynfOf`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^eUNz>c-{Em&MlRcmNKYz{I=&2)Xfq%nYF34ATo)5IQg|cBimp zLgc_&*1a7y>!FcTI4)Y~c=P5;-L`-C}U(!=rL8kF0t6}B10K@C)XgejzNR7ltHqRjBAG{=^P0%lXPoGme%O4 z@O8Trl!odA3v*}eTI7JTKTT!O#A-$7L7UFW*ia>TX>l$0RQFYyzQ|lUIHa zB=0BqflzMvn&g2{?(+B5n%*Np1~D( + + + + + + diff --git a/src/App.vue b/src/App.vue index 47494ef5..6011f7fd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -90,6 +90,7 @@ const themeMap = { meter: 'meter', taiko: 'taiko', etherlink: 'etherlink', + 'vana-moksha': 'vana-moksha', }; // Function to update theme based on the route slug const updateTheme = () => { diff --git a/src/assets/css/tailwind.css b/src/assets/css/tailwind.css index fe81c777..54f3990b 100644 --- a/src/assets/css/tailwind.css +++ b/src/assets/css/tailwind.css @@ -606,20 +606,18 @@ html[data-theme='etherlink'] { --color-orange-700: 180, 83, 9; } -html[data-theme='telos'] { - /* Green */ - --color-blue-50: 225, 255, 239; - --color-blue-100: 199, 255, 225; - --color-blue-200: 163, 255, 205; - --color-blue-300: 112, 255, 180; +html[data-theme='vana-moksha'] { + /* Blue */ + --color-blue-50: 243, 241, 244; + --color-blue-100: 237, 235, 240; + --color-blue-200: 230, 228, 234; + --color-blue-300: 231, 228, 233; --color-blue-400: 231, 228, 233; /* New Primary Color */ - --color-blue-500: 50, 230, 140; - --color-blue-600: 42, 200, 120; - --color-blue-700: 34, 170, 102; - --color-blue-800: 28, 140, 84; - --color-blue-900: 22, 110, 66; - - /* Gray */ + --color-blue-500: 184, 183, 187; + --color-blue-600: 138, 137, 142; + --color-blue-700: 92, 91, 96; + --color-blue-800: 46, 45, 50; + --color-blue-900: 22, 21, 25; /* Gray */ --color-gray-50: 230, 230, 230; @@ -639,15 +637,15 @@ html[data-theme='telos'] { --color-pink-100: 255, 210, 220; --color-pink-200: 255, 180, 195; --color-pink-300: 255, 150, 175; - --color-pink-400: 0, 100, 0; /* Gradient Loading */ + --color-pink-400: 27, 27, 27; /* Gradient Loading */ --color-pink-500: 255, 226, 160; /* Stars Gradient */ - --color-pink-600: 34, 170, 102; /* Gradient Base */ - --color-pink-700: 0, 128, 128; /* Gradient Hover */ + --color-pink-600: 69, 69, 69; /* Gradient Base */ + --color-pink-700: 57, 57, 57; /* Gradient Hover */ --color-pink-800: 205, 80, 120; --color-pink-900: 180, 65, 100; /* Yellow */ - --color-yellow-500: 122, 255, 189; /* Stars Gradient */ + --color-yellow-500: 255, 255, 255; /* Stars Gradient */ /* Purple */ --color-purple-500: 255, 226, 160; /* Ve Stars Gradient */ @@ -656,6 +654,7 @@ html[data-theme='telos'] { --color-orange-300: 252, 211, 77; /* Stars on Add liquidity */ --color-orange-600: 217, 119, 6; --color-orange-700: 180, 83, 9; + --bg-white: 240, 240, 234; } @layer utilities { diff --git a/src/assets/data/contracts/vana-moksha.json b/src/assets/data/contracts/vana-moksha.json new file mode 100644 index 00000000..16db824d --- /dev/null +++ b/src/assets/data/contracts/vana-moksha.json @@ -0,0 +1,16 @@ +{ + "Authorizer": "0x1Fe0eBD7B53fC434Ea0a69074406503F9Ab0e2FC", + "BalancerHelpers": "0xF4d9D664BAD7754A9292A03D0255e0b901FCE752", + "BalancerQueries": "0xc1abdF9542BB46F4a128C5c93Ee5D101E481Bd05", + "BalancerRelayer": "0xEC72775206091e6cee0e9801189aC9Ca19266dB7", + "BatchRelayerLibrary": "0x69331C1c1A93C1093d42DC951FF779eda7B3ED57", + "BatchRelayerQueryLibrary": "0xF2170C34e49D60b0A3ab5b5098C3844d5385935b", + "ComposableStablePoolFactory": "0xC7623faa9e41DaAf854F07B5b45e70Cf1d68583E", + "MockComposableStablePool": "0x8aDCD44510d0327Fd221011feb028b1CfeDDbCBa", + "MockWeightedPool": "0x25943e5758611C635b5106bB663Aa2DD4EDFcaeA", + "ProtocolFeePercentagesProvider": "0x6166DA5fde541398149BC69E4e1E9430FC78B77e", + "ProtocolFeesCollector": "0x2EC5B1C5865D88D36cA9DD724A4e2f7C8d4C6bed", + "SymmToken": "0x4e4131dC27ed9501ac5fEb76F94572fDAe9f0fD0", + "Vault": "0xBA96c3dE0d8c2AD73962ee43Ab60CE3e094453De", + "WeightedPoolFactory": "0x8670184F35F9A7b4E28269BEE0a7475ea681493D" +} diff --git a/src/assets/images/icons/networks/vana-moksha.svg b/src/assets/images/icons/networks/vana-moksha.svg new file mode 100644 index 00000000..bc26343c --- /dev/null +++ b/src/assets/images/icons/networks/vana-moksha.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/src/components/contextual/pages/pool/staking/PointsIncentivesCard.vue b/src/components/contextual/pages/pool/staking/PointsIncentivesCard.vue new file mode 100644 index 00000000..9a2b3f09 --- /dev/null +++ b/src/components/contextual/pages/pool/staking/PointsIncentivesCard.vue @@ -0,0 +1,284 @@ + + + + + diff --git a/src/components/contextual/pages/pool/staking/StakeSummary.vue b/src/components/contextual/pages/pool/staking/StakeSummary.vue index a9fd9bc0..b4d19432 100644 --- a/src/components/contextual/pages/pool/staking/StakeSummary.vue +++ b/src/components/contextual/pages/pool/staking/StakeSummary.vue @@ -25,9 +25,7 @@ const { fNum } = useNumbers();