From 14379bf17a66673912b5e09aee7d713a7e26a9a3 Mon Sep 17 00:00:00 2001 From: Dmytro Date: Fri, 15 Nov 2024 19:58:39 +0000 Subject: [PATCH] Move staking actions to the separate module, add accept function to actions --- src/App.scss | 8 ++ src/Router.tsx | 1 + src/assets/validators/v10.png | Bin 0 -> 7829 bytes src/assets/validators/v10.webp | Bin 5078 -> 0 bytes src/assets/validators/v43.png | Bin 0 -> 7829 bytes src/assets/validators/v43.webp | Bin 5078 -> 0 bytes src/components/SkBtn.tsx | 9 +- src/components/delegation/Delegation.tsx | 14 +- src/core/delegation/stakingActions.ts | 175 +++++++++++++++++++++++ src/pages/Staking.tsx | 154 ++++++++------------ src/pages/Validator.tsx | 66 +++++++-- 11 files changed, 323 insertions(+), 104 deletions(-) create mode 100644 src/assets/validators/v10.png delete mode 100644 src/assets/validators/v10.webp create mode 100644 src/assets/validators/v43.png delete mode 100644 src/assets/validators/v43.webp create mode 100644 src/core/delegation/stakingActions.ts diff --git a/src/App.scss b/src/App.scss index a822bc3b..5abf33ef 100644 --- a/src/App.scss +++ b/src/App.scss @@ -461,6 +461,14 @@ body::-webkit-scrollbar { background: rgb(244 139 54 / 13%); } +.btnprimary { + background: rgba(147, 184, 236, 0.16); +} + +.btnDisabled { + background: #262626; +} + .btnSmLoading { padding: 0.5em 1.5em 0.5em 3em !important; } diff --git a/src/Router.tsx b/src/Router.tsx index c6aef4b0..ff2dc74c 100644 --- a/src/Router.tsx +++ b/src/Router.tsx @@ -393,6 +393,7 @@ export default function Router() { validator={validator} isXs={isXs} delegations={validatorDelegations} + getMainnetSigner={getMainnetSigner} /> } /> diff --git a/src/assets/validators/v10.png b/src/assets/validators/v10.png new file mode 100644 index 0000000000000000000000000000000000000000..9ac46d907b38f9d4dd69f2f2c8d1647ba7629683 GIT binary patch literal 7829 zcmeHM={FnN*N)EWs-lKgD=imoQB>6|r6jGfsCfv|8fvO}h@d(khV-_Snl;x zX+w#HvwsyEiNv&N`it>t>%8E9G>4uT{#Wy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s?EgUY&j diff --git a/src/assets/validators/v43.png b/src/assets/validators/v43.png new file mode 100644 index 0000000000000000000000000000000000000000..9ac46d907b38f9d4dd69f2f2c8d1647ba7629683 GIT binary patch literal 7829 zcmeHM={FnN*N)EWs-lKgD=imoQB>6|r6jGfsCfv|8fvO}h@d(khV-_Snl;x zX+w#HvwsyEiNv&N`it>t>%8E9G>4uT{#Wy1*INARzvXr`d@Zed&o@fzr~6+Ld;1?(c8H#oTD;m?3)iiPN)7;+g1rOy zM&?ul{C$-ScpIH}{NAyca{$gW{|)^2J^mxg;ZR%AR0tYjTJ6{IbfBr$Gc#yyypDBw z4xbW4C08x&Z_RT7H}A&s06mgL)yFSu`TwgL`n&d2^zA{l%@{6{r=*jQ&*zU=XM^gM zj547)X4PKq$BMYa*$(WpJrKh_;PQN$&wvKo_!C`sTVOV@YeY5F)FaP=A=tTp5sx@wJ4BqPU zOf&xsBWc>lA9clv^M)=&q zd!qxiY1;kDuM24I@Xo`J2otzZM2unE@xxYAHoJhz1Bd56>I@ z$+GFv^4nsfa*vyyw!TxEm!K-e7ZlBtC`ncrpcAo-y7Yi|`(bgpT=mfC5)r*&A&86M zx2;+Gb&kZp$yGa<>D4Le!KAR|E8O26TL7sl*JSS|zZh+#)KMrN;Q;f;LBp`eJ|Xg! zE;MD}?cH;RW@Fmy>~rRn@&}y+oVvW;*eOjNEfBWgMJlo+WSZl+xw-c+Ebv^};_~VA zjGHfg0tY`Ld7Dht#65a6af zEF_e8FL>+(f@mv#ovs*C#|6Gxj|7u*1PVcstj$4SLc`5PL7%BEf{yf@4h7tK6OwaQeU*?-Dd!wYFadd0~_{0hy~cc}VYP*~UE z0DTu2#meoGbbN`8{589`<5VitF(RbNj0B z=+L*BpJsf>0BS`%ncdvA4frJm@&NHXWmk!h>*Bt8PbRu2xmHnVOV#nE%`aJc9e(u8q$vBA-P|z$D@>~W%hYk`U55Y*b+gOi zYAVKxiOR!cVZLwkAfX{Mjj*@kzOWP^u%1|lxl#dC`R!lL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yrHSYJ~ zdIx7OUYSsn)Ijujud79q*DDJQTIxaW{Uu%0N2oePijtS?V^;`efw2e`k*t0)uV@oC8vgW<0A9;jto&4EXJ#w%v z+`B}l790O2=Tfy-6{1I(M!7!A_kL4Po!QYO%|OSRK5}G77nX6y$}=lZ%D5(p=&BcU nz@^i*&#pJ~;rNNp%o3m6o;8o3@2{AsQdCl(_YKgy41s?EgUY&j diff --git a/src/components/SkBtn.tsx b/src/components/SkBtn.tsx index b8f9cdff..17345243 100644 --- a/src/components/SkBtn.tsx +++ b/src/components/SkBtn.tsx @@ -49,6 +49,7 @@ export default function SkBtn(props: { 'btn', ['btnSm', size === 'sm'], ['btnSmLoading', size === 'sm'], + ['btnDisabled', props.loading], props.className )} > @@ -58,7 +59,13 @@ export default function SkBtn(props: {