From af30dcdf6efa800d31555978993af31ec167b273 Mon Sep 17 00:00:00 2001 From: Stefan Popov Date: Tue, 20 Feb 2024 19:12:22 +0100 Subject: [PATCH] Release 1.30.0 (#1326) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update actions.ts (#1078) * Substrate bridge incoming transaction tracking (#1081) * reset form on network change * fix network name in ui * update KAR address * wip rococo adapter * fix yarn.lock * update assets on network change * update balance method for sub * fix adapter connection wait * refactoring action name * refactoring block number usage * update external balance for selected asset * network update fixes * native balance update * update external data after sora block update * update selectedNetwork data * show sender & recepient balance * fix balance update * update env.json * update adapters endpoints * add messageHash from collator as externalHash temporary * wait for rococo message * add external links * fix adapter endpoint reset issue * refactoring sonar related issues * incoming transaction signing * incoming transaction tracking demo * remove unused update balances * fix history remove * fix BridgeTransaction asset balance & refactoring * sub history update * disconnect after bridge leave * refactoring disconnect * update wallet * revert env.json * remove console.log9 * fix (#1082) * fix * Update AlertList.vue * fix ru * Fix sub assets fetching & hashi bridge issues (#1083) * fix hashi bridge * fetch sub bridgeassets * update wallet * fix external account check * remove unnecessary codeline * remove console.log * Change jenkins lib * Update KycView.vue (#1084) * Fix bridge account link (#1085) * fix bridge account link * wait for external balances fetching * refactoring bridge fees & balances fetching * fix sonar issues * fix sub tx trancking * fix transaction link style * Fix xst & sorting on explore page (#1075) * Update Wallet.vue * Fix regexp * Refactor tokens page * Add default sorting for tokens page * Update Tokens.vue --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Fix issues 1.17 (#1086) * Hide 'show only synths' * Update CERES endpoint for status bar --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Check changes for errors * Revert * Fix notification links (#1092) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Add params * Merge fixes from release 1.17.0 (#1097) * Fix transaction view balance check (#1095) * fix ui checks * fix computed * Fix bridge external decimals (#1096) * fix ui checks * fix computed * fix check * Fix evm expected fee (#1091) * update evm gas price * improve gas fee calculation * remove mainnet from evm networks ids * update gasLimits * add external fee warning * refactoring externalBalance * update locales * update translations from localisr * fix merge conflict * Save sub bridge transaction fees in runtime tx processing (#1088) * fix hashi bridge * fetch sub bridgeassets * update wallet * fix external account check * remove unnecessary codeline * remove console.log * demo for fetching extrinsic fee * fix merge conflict * save tx fee & xcm fee * remove duplicated code from bridge reducers * improve network restoration * refactoring external native token balance * refactoring registered asset naming * update evm gas price * update evm gas price * improve gas fee calculation * remove mainnet from evm networks ids * update gasLimits * add external fee warning * refactoring externalBalance * update locales * update translations from localisr * impove outgoing tracking * wip locked balance * use locked balance in bridge calculations * refactoring * update BridgeTransaction asset locked balance check * refactoring event search * get bridge contract asset locked balance * remove Karura from config * refactoring before wallet update * update wallet 1.18.1 * calc evm fee based on asset kind * fix sonar issues * fix naming * Bridge balances refactoring (#1100) * update store balances * remove externalBalance from sort method * refactoring balance update * bridge route params * Change jenkins lib * spam reminder & bridge fee fix (#1103) * address book (#1099) * bump wallet * add lang * Update KycView.vue * bump wallet * update wallet 1.18.5 (#1106) * [SORA Card]: change camera access request (#1107) * add functionality * add translations * add css vars * Update KycView.vue * Update KycView.vue * Update SECURITY.md (#1105) * Update SECURITY.md Quick grammar fixes to security policy * Update SECURITY.md * Update SECURITY.md * Update SECURITY.md --------- Co-authored-by: Rustem * [Swap] Show loss warning dialog (#1108) * update value-status-wrapper * add loss warning dialog * update translations * fix loss translation argument * update wallet 1.18.8 (#1110) * Fix sub bridge tracking issues (#1104) * fix incoming tracking first steps * improve rococo incomplete transaction tracking * update retry button * refactoring namings in sub reducer * return env.json * parachain data tracking * add sora parachain hash to transaction ui * improve incoming failed tx tracking * refactor to pass sonar * add block height & blocks left in ui * update wallet 1.18.6 * refactoring adapter usage * wip adapters usage * try to refactor complexity * replace adapters in reducer * add beforeSign to bridge reducer * move sora sign to reducers * refactoring signExternal * try to pass sonar * refactoring complexity * refactoring duplicated code * fix incoming tracking & transfer notification modal * [Bridge UI] Use xcm fee in amount calculations (#1112) * fix incoming tracking first steps * improve rococo incomplete transaction tracking * update retry button * refactoring namings in sub reducer * return env.json * parachain data tracking * add sora parachain hash to transaction ui * improve incoming failed tx tracking * refactor to pass sonar * add block height & blocks left in ui * update wallet 1.18.6 * refactoring adapter usage * wip adapters usage * try to refactor complexity * replace adapters in reducer * add beforeSign to bridge reducer * move sora sign to reducers * refactoring signExternal * try to pass sonar * refactoring complexity * refactoring duplicated code * fix incoming tracking & transfer notification modal * add externalTransferFee to store * rename evm to external fee * get transfer fee from const * update bridge main form & logic * fix bridge formatted fee * native token decimals * revert BridgeInitMixin changes * Fix node name in status bar (#1113) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Add soramitsu node (#1114) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * update wallet 1.18.9 (#1115) * Update nodes names (#1116) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * [Tech] Testing workflow (#1111) * Update card.ts * fix sr lang * add Auth and KYC SDK creds * fix typo * use dev price oracle * Update X1Dialog.vue * Update X1Dialog.vue * Update X1Dialog.vue * Update X1Dialog.vue * check url * change images * remove mentions * Update sr.json * Update X1Dialog.vue * switch to prod endpoint * Update KycView.vue * Update X1Dialog.vue * Update card.ts * debug * Update KycView.vue * Update X1Dialog.vue * Update X1Dialog.vue * Fix todo-s comments * make silent * fix typo * debug referenceNumber * Fix soraNetwork issues * Update KycView.vue * Fix types issue --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * remove sora parachain xcm fee, update rococo event (#1120) * update wallet with google login (#1121) * Get blacklisted countries from ipfs (#1122) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * update wallet with google seed fix (#1124) * Sub history restoration update (#1127) * remove sora parachain xcm fee, update rococo event * wip history restoration * add parachain data for history restoration * show parachain block id instead of extrinsic hash * wip outgoing tx restoration * sub history incoming restoration * unify bridge history actions * refactoring sub history restoration * update wallet 1.19 * update TransactionView external hash placeholder * refactoring sub history * fix decimals in locked balance check (#1128) * Update KycView.vue (#1131) * Fix release 1.19 (#1134) * Update mainnet config * Update zh_CN.json * Improve translations * Update wallet version --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * fix decimals usage (#1136) * Use address book in sub bridge (#1133) * use address book in sub bridge * update wallet & fix BridgeTransaction vie * Fix release 1.20 (#1141) * Fix types & remove brackets for fiat difference * Set 10% as the default error status for fiat difference/price impact * Fix issues with Cyrillic character * Add synths filter --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * added wallet translations for swap transfer batch extrinsic * Vue 2.7.14 & update packages (#1145) * remove vue-svg-loader * remove cache-loader from vue-loader * rewrite vue.config.js * update wallet * css fixes * remove sass warnings * fix spacing * add alt attrs to RoadMap * remove some todo * fix calculator btn * Pools & Explore pages default sort (#1146) * remove vue-svg-loader * remove cache-loader from vue-loader * rewrite vue.config.js * update wallet * css fixes * remove sass warnings * fix spacing * add alt attrs to RoadMap * remove some todo * explore pages default sort * add pools default sort * add default sort to demeter staking * refactor tokens items * send sora card refresh token (#1140) Co-authored-by: Stefan Popov * Refactoring (#1148) * refactoring * await, fix types * unify payment systems (#1048) * refactor X1 * refactor payment system * resolve imports issues * add eth icon * debug * debug * add connect wallet buttons * debug * remove debug * debug info * improve icons * remove unused icon * add margin * fixes * adjust icons for ads * add translations * adjust pop-ups of ads * add missing translation * add delay * add other langs * update langs * adjust footer * disable x1 * Update env.json * Update env.json * show XST ad with higher probability * add const * update prod env.json * update env.json * show when logged in * make button pressed * Update X1Dialog.vue * add prod creds * improve ads * Update AppAd.vue * improve texts and remove MC icon * Update ethers library to v6 (#1147) * remove vue-svg-loader * remove cache-loader from vue-loader * rewrite vue.config.js * update wallet * css fixes * remove sass warnings * fix spacing * add alt attrs to RoadMap * remove some todo * update ethers usage * refactoring ethers utils * add type annotaions * small fixes * wip external fee * refactoring adapter to remove hardcoded networks usage * add prefix for external fee * history restoration console info * fix sub bridge max btn * remove external network fee getter * refactoring * fix sonar issues * refactoring bridge utils * update api.query usage * improve tracking * refactoring sub reducers * improve sub history restoration * sonar issue refactoring * wip external fiat values * add nativeTOken getter to bridge * fix BridgeTransaction address * refactoring balance utils * remove bridgeApi from getters * fix transaction view prefix * update wallet 1.21.2 * remove unused variable * ADAR name is const now * updated localize for adar * Update swap subscription (#1150) * remove vue-svg-loader * remove cache-loader from vue-loader * rewrite vue.config.js * update wallet * css fixes * remove sass warnings * fix spacing * add alt attrs to RoadMap * remove some todo * update ethers usage * refactoring ethers utils * add type annotaions * small fixes * wip external fee * refactoring adapter to remove hardcoded networks usage * add prefix for external fee * history restoration console info * fix sub bridge max btn * remove external network fee getter * refactoring * fix sonar issues * refactoring bridge utils * update api.query usage * improve tracking * refactoring sub reducers * improve sub history restoration * sonar issue refactoring * wip external fiat values * add nativeTOken getter to bridge * fix BridgeTransaction address * refactoring balance utils * remove bridgeApi from getters * fix transaction view prefix * update wallet 1.21.2 * remove unused variable * prepare for subscription update * update wallet 1.21.5 * Fix dev branch issues (#1152) * fix json import (#1153) Co-authored-by: Stefan Popov * bump wallet version and update yarn lock * Swap quote subscription (#1156) * initial changes * update types * update accessors * remove unused imports * add try catch to subscriptions (#1157) * update wallet 1.21.8 (#1158) * allow select node while node is connecting (#1159) * revise & dashboard (#1129) * KYC revise & dashboard * refactor code * remove test data from build * Update env.json * fix appearance bug * do not hide iban * create translations and refactor icons * add translation * notification prework * css refactoring * fix sonarCube issues * add support for kyc count * plural forms * add pools subscription to calc balance * fix fetching * update langs * fix * Update SoraCard.vue * fixes * Update Dashboard.vue * Fix release 1.21 issues (#1160) * Update address book input props * Replace toPromise * Update wallet lib * Update translations * Update referral system strings --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Remove synths blockers from Add LP (#1162) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Add synthetic switcher to select asset (#1161) * add synthetic switcher to select asset * fix check in create alert * update add liquidity select token --------- Co-authored-by: Stefan Popov * Improve ads (#1163) * Add first version of dynamic ads * Add responsive * Fix sora card progress bar styles * Add screenBreakpointClass * Make header responsive * Make FiatDeposit view responsive * Fix names & remove unused svg-s * Update AppAd.vue --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Add debounce to resize event (#1164) * Add debounce to resize event * Fix names * Fix images size --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Fix content bottom margin (#1165) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Update App.vue (#1167) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Merge master (#1168) * Release 0.1.2 (#80) * Add base project files * Add About page * Add unit tests * Remove unused files * Update library version * Moved images to img folder. * Refactored some styles, added normalize css. * Fixed article card header font weight. * Fix About snapshot * Fix styles and its imports * PSS-132: Token list store * Add env.json and readme * PSS-134 DevOps: Develop CI and CD processes for Polkaswap web project (#5) * add ci cd Signed-off-by: Bulat Saifullin * fix Dockerfile Signed-off-by: Bulat Saifullin * add pull_request_template.md Signed-off-by: Bulat Saifullin * fix template Signed-off-by: Bulat Saifullin * PSS-132: Select token screen * PSS-132: Refactoring * PSS-132: Change short name to symbol * PSS-132: Add i18n to select token * PSS-132: Add unit tests * PSS-132: Remove elements from tests * Added Swap Interface draft (#4) * Swap Interface: Added screen, Unit Tests, Updated UI Lib version. * PSS-132: Create pair * PSS-132: Fixes for select token * PSS-132: Fix title style * PSS-132: UPdate snaphots * PSS-132: Fix shadow * PSS-132: Fix variable style using * Swap Interface Confirmation Screens (#8) * Added Transaction Submit dialog. * Swap Interface: Moved some variables to store for better relations between different screens and dialogs. * Confirm Swap Dialog: Fixed dialog opening, added confirmation flag to the store. * Added token default logo image, refactored translation call for liquidity. * Added SelectToken dialog on click. * PSS-126: Confirm supply modal * Confirmation screens for create pair * Design fixes * Update ui lib * PSS-126: Logo component * Update tests * Wallet integration and styles issues (#10) * Wallet integration * Fix routing issues * Update UI library version * Refactor all styles * Fix wallet connected state * Update tests * Update test * Update Dockerfile (#12) * PSS-129: Add and remove liquidity page * Design fixes * Token logo check fixes * Refactoring and fixes * Add pair token logo for add liquidity * Settings implementation (#15) * Add settings dialog * Add tests * Update tests * Fix titles for info card * Pool Interface Start Screens (#11) * Pool Interface: Added Start Screen. * Refactored components due to UI Lib updates: set size and border-radius of elements. * Created Dialog wrapper component, refactored dialogs, added fixed top position, fixed close behaviour. * Refactored components imports. * Converted logo icon to link to the home page. * Fixed error in console for Create pair component. * Added Back link behaviour for several components. * Updated unit tests. * PSS-172: Dynamic Page Title (#14) * Added dynamic page title. * PSS-128: Add confirmation screens for pool (#16) * PSS-128: Add confirmation screens for pool Co-authored-by: alexnatalia * Mocks for pool screen * Refactoring * Update tests * Add liquidity button for pairs * Design Fixes and Refactoring (#17) * Refactored TokenLogo and PairTokenLogo components, fixed some bugs, updated unit tests. Refactored components headers. * Added Popper class for info tooltips. Fixed default prop value for Object types. Updated Unit tests. * Design Issues Fix (#19) * Updated configuration variables and Exchange tabs styles. * Updated About page images and styles, Header styles and Menu colors settings. Hid unused links and buttons in header. * Updeted typography variables and Font Styles: Updated Font Size, Line Height and Font Weight Configuration. * Updated Create Pair button styles. Updated Ui Lib version. * Fixed tokens icons for Pool screen. * Updated tooltips to one consistent style. Fixed Pool screen bug. * Refactored: Created special component for Generic Header. Fixed Back icon. * Updated some fonts and Pool screen styles. * Added Empty icon for Select token popup. * Added First Liquidity Provider message to Create a Pair screen. * Hid tooltip for Slider element on Settings screen, hid tooltips for Swap Confirmation. * Updated unit tests. * PSS-205: Remove liquidity: everything should be clickable and with recalculation * Update tests * Fix set remove part to 0 * Inpur for remove part * Fixes * Price container fixes * Update tests * PS-223: Fix remove liquidity in safari * PSS-205: Design Review Issues (#21) * Fixed titles case. Updated buttons with text and icons. Updated typography styles. * Update wallet version & add blockchain integration (#23) * Update wallet version & add blockchain integration * Commented out unit tests. Co-authored-by: alexnatalia * PSS-123: Select token integration * Fix async behavior for dexApi (#25) * Fix async behavior for dexApi * Update .eslintrc.js * PSS-247: Custom Slippage Tolerance Fix (#27) * Updated STab styles. * Updated UI Lib and Wallet versions and styles according to UI Lib fixes. * PSS-129: Add liquiditiy integration * PSS-74 Swap Interface Integration (#26) * Hid swap info for not connected wallet. * Updated SelectToken search by name, added check for translation existance. * Added Swap Integration. * Refactored formatNumber calls. * Hid swap info under buttons for zero amount. * Fixed Header Menu colors. * Fixed swap from Wallet assets. * Updated tooltips. * Updated About page text and Main menu links order. * Fixed Card title color for About page. * Updated Default token setting. * Updated Wallet version. * Hid Transaction Deadline area for Settings. * Removed unneeded tooltip from Settings dialog. * Added validation for Settings. * Added validation for Insufficient Amount error from server. * Added loading while not conencted, changed store to not strict mode, updated tokens setting in store. * Fixed focused behaviour for Swap input fields. * Fix wallet connection & select token behavior * Fixed Min Received format. Co-authored-by: Stefan Popov * Swap result calculation for non connected mode (#28) * Fixed Swap result calculation for non connected mode. * Fixed About page text and styles. * Fix i18n (#30) * Updated Swap input width and Max swap behaviour. Updated Swap Info styles. (#29) * PSS-271: Medium and GitHub links (#31) * Added Github and Medium links for About page. * Upated the Wallet version. * Fixed wallet button color on hover. * Calculate total suply * PSS-216: Design Issues Fixing (#32) * Updated content primary color. * Fixed Price and Token areas horizontal alignment. * Updated tooltips. * Updated Generic Header tooltip. * Updated Token item height for Select Token dialog. * Added Token icons. * Updated token icons names. * PSS-129: Create pair integration * Remove mocks * Refactoring * Add network fee calculation * Fixes * PSS-281: Recalculate Input Values On Select Token (#33) * Added util method to check isNumber value. Removed Max button from token To area. * Added Max sold for reversed swap. * Updated Swap Integration. * Updated UI Lib version. * Added recalc on Select Token. * Fixed Swap for Polkadot.js * Updated isExchangeB param in methods. * Hid Node Address area for Settings popup. * Added Network Fee field to Swap component. * Updated Custom slippage tolerance for Settings. * Fixed paste string value to Swap fields. * Updated Network Fee calls, updated Wallet version, fixed swap tokens balance. * Added isExchangeB parameter to swap call. * Refactoring * fix total supply * PSS-129: Share of pool * Remove share of pool mock * Fix get asset symbol * Hide add liquidity Fix slippage tolerance for add liquidity Fix share of pool Fix unsupprted assets error message * Disable max button for add liquidity Reset values after change tokens * Fixes * Updated Tokens Icons, added PAL icon. (#35) * Wallet connection issues (#38) * Fix wallet connection issues * Fix styles * Update wallet version * Update favicon.ico * PSS-297: check fee on max amount * PSS-295: Added Insufficient Balance Checking (#37) * Added Insufficient balance checking. * Updated FPNumber parameters. * Removed formatNumber usage from Swap screens. * Fixed focus and placeholders values for Swap. * Updated some styles for huge number values. * Refactored due to PR comments. * Result Dialog Styles Fix (#41) * Fixed Result Dialog button styles. * Renamed USD icon. * Update library * Fix swap, liquidity behavior * Update index.ts * TODO: Revert this commit after PSS-309 * Updated wallet version. Co-authored-by: Stefan Popov * PSS-273: WEB UI: Connect Wallet - Close button leads always on Exchange page, not to the previous page (#42) * Fix routing issue * Update wallet version * PSS-295: Confirm Swap Insufficient Balance Checking (#43) * Fixed console error on tokens switch. * Added Is Insufficient Balance checking for Confirm Swap dialog. * Updated Confirm Swap styles. * Updated Swap info after Swap, added max button to init screen. (#44) * Update ui library version (#46) * Update ui library version * Update wallet * BP-312: Fixes for pool * Fix icons position (#47) * Fix icons position * Fix logo * PSS-287: Swap Amount Fields Formatting (#45) * Added Swap fields formatter. * Fixed Slippage Tolerance editing and Swap fields formatting. * Updated wallet version. * Change toString to toFixed * Change formatNumber to toFixed * Fix remove liquidity price * Move back toFixed to toString * Fixed estimated label existence for zero values (#50) * Refactored, added some comments, fixed estimated label existence for zero values. * Modify env config file (#49) Co-authored-by: Bulat Saifullin * Add custom notifications & notification tracking service (#51) * Add custom notifications & notification tracking service * Update notifications & strings according to latest changes * Update api * Update soramitsu-variables.scss * PSS-335: Designer Feedback Fixes FE (#53) * Fixed functionality and layout bugs. * Added draft component to fix layout behaviour. * Fixed Settings behaviour. * Swap: removed Result dialog, edited Network Fee tooltip. * Fixed translation bugs. * Account info implementation & fix loading state (#54) * Add account info * Fix styles * Hide test assets (#55) * Update connection * Remove usdt mock * Add liquidity issues & update notifications (#56) * Add missing notifications * Update RemoveLiquidity * Fix add liquidity screen * Add async loading of liquidity * Fix pool issues * Updated not connected pool interface message. (#60) * PSS-300: Swap confirmation dialog message update (#61) * Updated Swap confirmation dialog message. * Confirm Swap Dialog: Updated message for max sold behaviour. * Swap screen: Fixed Min Received/Max Sold area asset symbol. (#62) * PSS-379: WEB UI. Add liquidity. Click MAX button on 0 balance of XOR (#59) * Updated wallet version. Swap, Add Liquidity, Create Pair components: Updated Max button availability, refactored. * Refactored due to PR comments. * Swap, Add Liquidity: Fixed negative amount after max. Updated wallet version. * Create pair implementation & fix liquidity issues (#63) * Add create pair implementation & fix logic for add liquidity * PSS-297: WEB UI: Restrict Adding liquidity if balance is insufficient (#64) * Add Liquidity: Refactored Insufficient Balance. * Create Pair, Remove Liquidity: Updated Max functionality. * Add insufficient liquidity message for swap (#66) * link @soramitsu/soraneo-wallet-web 0.4.6 * return network address * use wallet routes in app.vue to correctly handle wallet icon click * set changePage method as private * removed local model for inputs: createPairModel * refactoring CreatePair methods * add input maxlength check * fix inputMaxLength method * improve formatNumberField method * refactoring inputMaxLength method * refactoring AddLiquidity view * create TokenPair mixin * wip refactoring * add maxlength to removeLiquidity view inputs * create TokenInputMixin * add input handlers on removeLiquidity view * handle swap inputs * return commented line * PSS-400: WEB UI. Minimum receive/Maximum sold token not changed (#69) * Fixed min received/max sold symbol. * Update wallet & api version (#70) * fixes after review * add store state interfaces * PSS-467: On the swap screen user should be able to select all tokens excecpt pool tokens (#71) * Update wallet & api version * Fix swap with assets created by user * Update wallet & api version * add watcher for slippageTolerance in Swap.vue * remove console lgos * use state types in store mutations & getters * apply transaction mixin changes from wallet * update @soramitsu/soraneo-wallet-web dependency * navigate to wallet connection view on wallet click (#75) * PSS-419: restrict precision in inputs (#74) * add TokenInput component * use TokenInput in Swap.vue * add ConfirmDialogMixin * prepare to refactoring modals * remove comments * remove unneccessary actions * add TODO comments * fix TokenInput handler * link js-ui-library with input fix * PSS-398: WEB UI. Multiple click on Confirm - create multiple transactions. (#76) * Fix multiple confirm for operations * Fix notifications view * Update env.json * PSS-364: reuse s-float-input component (#77) * prepare TokenInput component for export * use s-float-input instead of TokenInput * refactoring Settings component * refactoring RemoveLiquidity * Update wallet (#79) Co-authored-by: alexnatalia Co-authored-by: Aleksandr Makhnev Co-authored-by: Bulat Saifullin Co-authored-by: Alex Natalia <38787212+alexnatalia@users.noreply.github.com> Co-authored-by: Dmitriy Creed Co-authored-by: alexnatalia Co-authored-by: Nikita Polyakov Co-authored-by: Nikita-Polyakov Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> * Release 0.1.3 (#97) * Add base project files * Add About page * Add unit tests * Remove unused files * Update library version * Moved images to img folder. * Refactored some styles, added normalize css. * Fixed article card header font weight. * Fix About snapshot * Fix styles and its imports * PSS-132: Token list store * Add env.json and readme * PSS-134 DevOps: Develop CI and CD processes for Polkaswap web project (#5) * add ci cd Signed-off-by: Bulat Saifullin * fix Dockerfile Signed-off-by: Bulat Saifullin * add pull_request_template.md Signed-off-by: Bulat Saifullin * fix template Signed-off-by: Bulat Saifullin * PSS-132: Select token screen * PSS-132: Refactoring * PSS-132: Change short name to symbol * PSS-132: Add i18n to select token * PSS-132: Add unit tests * PSS-132: Remove elements from tests * Added Swap Interface draft (#4) * Swap Interface: Added screen, Unit Tests, Updated UI Lib version. * PSS-132: Create pair * PSS-132: Fixes for select token * PSS-132: Fix title style * PSS-132: UPdate snaphots * PSS-132: Fix shadow * PSS-132: Fix variable style using * Swap Interface Confirmation Screens (#8) * Added Transaction Submit dialog. * Swap Interface: Moved some variables to store for better relations between different screens and dialogs. * Confirm Swap Dialog: Fixed dialog opening, added confirmation flag to the store. * Added token default logo image, refactored translation call for liquidity. * Added SelectToken dialog on click. * PSS-126: Confirm supply modal * Confirmation screens for create pair * Design fixes * Update ui lib * PSS-126: Logo component * Update tests * Wallet integration and styles issues (#10) * Wallet integration * Fix routing issues * Update UI library version * Refactor all styles * Fix wallet connected state * Update tests * Update test * Update Dockerfile (#12) * PSS-129: Add and remove liquidity page * Design fixes * Token logo check fixes * Refactoring and fixes * Add pair token logo for add liquidity * Settings implementation (#15) * Add settings dialog * Add tests * Update tests * Fix titles for info card * Pool Interface Start Screens (#11) * Pool Interface: Added Start Screen. * Refactored components due to UI Lib updates: set size and border-radius of elements. * Created Dialog wrapper component, refactored dialogs, added fixed top position, fixed close behaviour. * Refactored components imports. * Converted logo icon to link to the home page. * Fixed error in console for Create pair component. * Added Back link behaviour for several components. * Updated unit tests. * PSS-172: Dynamic Page Title (#14) * Added dynamic page title. * PSS-128: Add confirmation screens for pool (#16) * PSS-128: Add confirmation screens for pool Co-authored-by: alexnatalia * Mocks for pool screen * Refactoring * Update tests * Add liquidity button for pairs * Design Fixes and Refactoring (#17) * Refactored TokenLogo and PairTokenLogo components, fixed some bugs, updated unit tests. Refactored components headers. * Added Popper class for info tooltips. Fixed default prop value for Object types. Updated Unit tests. * Design Issues Fix (#19) * Updated configuration variables and Exchange tabs styles. * Updated About page images and styles, Header styles and Menu colors settings. Hid unused links and buttons in header. * Updeted typography variables and Font Styles: Updated Font Size, Line Height and Font Weight Configuration. * Updated Create Pair button styles. Updated Ui Lib version. * Fixed tokens icons for Pool screen. * Updated tooltips to one consistent style. Fixed Pool screen bug. * Refactored: Created special component for Generic Header. Fixed Back icon. * Updated some fonts and Pool screen styles. * Added Empty icon for Select token popup. * Added First Liquidity Provider message to Create a Pair screen. * Hid tooltip for Slider element on Settings screen, hid tooltips for Swap Confirmation. * Updated unit tests. * PSS-205: Remove liquidity: everything should be clickable and with recalculation * Update tests * Fix set remove part to 0 * Inpur for remove part * Fixes * Price container fixes * Update tests * PS-223: Fix remove liquidity in safari * PSS-205: Design Review Issues (#21) * Fixed titles case. Updated buttons with text and icons. Updated typography styles. * Update wallet version & add blockchain integration (#23) * Update wallet version & add blockchain integration * Commented out unit tests. Co-authored-by: alexnatalia * PSS-123: Select token integration * Fix async behavior for dexApi (#25) * Fix async behavior for dexApi * Update .eslintrc.js * PSS-247: Custom Slippage Tolerance Fix (#27) * Updated STab styles. * Updated UI Lib and Wallet versions and styles according to UI Lib fixes. * PSS-129: Add liquiditiy integration * PSS-74 Swap Interface Integration (#26) * Hid swap info for not connected wallet. * Updated SelectToken search by name, added check for translation existance. * Added Swap Integration. * Refactored formatNumber calls. * Hid swap info under buttons for zero amount. * Fixed Header Menu colors. * Fixed swap from Wallet assets. * Updated tooltips. * Updated About page text and Main menu links order. * Fixed Card title color for About page. * Updated Default token setting. * Updated Wallet version. * Hid Transaction Deadline area for Settings. * Removed unneeded tooltip from Settings dialog. * Added validation for Settings. * Added validation for Insufficient Amount error from server. * Added loading while not conencted, changed store to not strict mode, updated tokens setting in store. * Fixed focused behaviour for Swap input fields. * Fix wallet connection & select token behavior * Fixed Min Received format. Co-authored-by: Stefan Popov * Swap result calculation for non connected mode (#28) * Fixed Swap result calculation for non connected mode. * Fixed About page text and styles. * Fix i18n (#30) * Updated Swap input width and Max swap behaviour. Updated Swap Info styles. (#29) * PSS-271: Medium and GitHub links (#31) * Added Github and Medium links for About page. * Upated the Wallet version. * Fixed wallet button color on hover. * Calculate total suply * PSS-216: Design Issues Fixing (#32) * Updated content primary color. * Fixed Price and Token areas horizontal alignment. * Updated tooltips. * Updated Generic Header tooltip. * Updated Token item height for Select Token dialog. * Added Token icons. * Updated token icons names. * PSS-129: Create pair integration * Remove mocks * Refactoring * Add network fee calculation * Fixes * PSS-281: Recalculate Input Values On Select Token (#33) * Added util method to check isNumber value. Removed Max button from token To area. * Added Max sold for reversed swap. * Updated Swap Integration. * Updated UI Lib version. * Added recalc on Select Token. * Fixed Swap for Polkadot.js * Updated isExchangeB param in methods. * Hid Node Address area for Settings popup. * Added Network Fee field to Swap component. * Updated Custom slippage tolerance for Settings. * Fixed paste string value to Swap fields. * Updated Network Fee calls, updated Wallet version, fixed swap tokens balance. * Added isExchangeB parameter to swap call. * Refactoring * fix total supply * PSS-129: Share of pool * Remove share of pool mock * Fix get asset symbol * Hide add liquidity Fix slippage tolerance for add liquidity Fix share of pool Fix unsupprted assets error message * Disable max button for add liquidity Reset values after change tokens * Fixes * Updated Tokens Icons, added PAL icon. (#35) * Wallet connection issues (#38) * Fix wallet connection issues * Fix styles * Update wallet version * Update favicon.ico * PSS-297: check fee on max amount * PSS-295: Added Insufficient Balance Checking (#37) * Added Insufficient balance checking. * Updated FPNumber parameters. * Removed formatNumber usage from Swap screens. * Fixed focus and placeholders values for Swap. * Updated some styles for huge number values. * Refactored due to PR comments. * Result Dialog Styles Fix (#41) * Fixed Result Dialog button styles. * Renamed USD icon. * Update library * Fix swap, liquidity behavior * Update index.ts * TODO: Revert this commit after PSS-309 * Updated wallet version. Co-authored-by: Stefan Popov * PSS-273: WEB UI: Connect Wallet - Close button leads always on Exchange page, not to the previous page (#42) * Fix routing issue * Update wallet version * PSS-295: Confirm Swap Insufficient Balance Checking (#43) * Fixed console error on tokens switch. * Added Is Insufficient Balance checking for Confirm Swap dialog. * Updated Confirm Swap styles. * Updated Swap info after Swap, added max button to init screen. (#44) * Update ui library version (#46) * Update ui library version * Update wallet * BP-312: Fixes for pool * Fix icons position (#47) * Fix icons position * Fix logo * PSS-287: Swap Amount Fields Formatting (#45) * Added Swap fields formatter. * Fixed Slippage Tolerance editing and Swap fields formatting. * Updated wallet version. * Change toString to toFixed * Change formatNumber to toFixed * Fix remove liquidity price * Move back toFixed to toString * Fixed estimated label existence for zero values (#50) * Refactored, added some comments, fixed estimated label existence for zero values. * Modify env config file (#49) Co-authored-by: Bulat Saifullin * Add custom notifications & notification tracking service (#51) * Add custom notifications & notification tracking service * Update notifications & strings according to latest changes * Update api * Update soramitsu-variables.scss * PSS-335: Designer Feedback Fixes FE (#53) * Fixed functionality and layout bugs. * Added draft component to fix layout behaviour. * Fixed Settings behaviour. * Swap: removed Result dialog, edited Network Fee tooltip. * Fixed translation bugs. * Account info implementation & fix loading state (#54) * Add account info * Fix styles * Hide test assets (#55) * Update connection * Remove usdt mock * Add liquidity issues & update notifications (#56) * Add missing notifications * Update RemoveLiquidity * Fix add liquidity screen * Add async loading of liquidity * Fix pool issues * Updated not connected pool interface message. (#60) * PSS-300: Swap confirmation dialog message update (#61) * Updated Swap confirmation dialog message. * Confirm Swap Dialog: Updated message for max sold behaviour. * Swap screen: Fixed Min Received/Max Sold area asset symbol. (#62) * PSS-379: WEB UI. Add liquidity. Click MAX button on 0 balance of XOR (#59) * Updated wallet version. Swap, Add Liquidity, Create Pair components: Updated Max button availability, refactored. * Refactored due to PR comments. * Swap, Add Liquidity: Fixed negative amount after max. Updated wallet version. * Create pair implementation & fix liquidity issues (#63) * Add create pair implementation & fix logic for add liquidity * PSS-297: WEB UI: Restrict Adding liquidity if balance is insufficient (#64) * Add Liquidity: Refactored Insufficient Balance. * Create Pair, Remove Liquidity: Updated Max functionality. * Add insufficient liquidity message for swap (#66) * link @soramitsu/soraneo-wallet-web 0.4.6 * return network address * use wallet routes in app.vue to correctly handle wallet icon click * set changePage method as private * removed local model for inputs: createPairModel * refactoring CreatePair methods * add input maxlength check * fix inputMaxLength method * improve formatNumberField method * refactoring inputMaxLength method * refactoring AddLiquidity view * create TokenPair mixin * wip refactoring * add maxlength to removeLiquidity view inputs * create TokenInputMixin * add input handlers on removeLiquidity view * handle swap inputs * return commented line * PSS-400: WEB UI. Minimum receive/Maximum sold token not changed (#69) * Fixed min received/max sold symbol. * Update wallet & api version (#70) * fixes after review * add store state interfaces * PSS-467: On the swap screen user should be able to select all tokens excecpt pool tokens (#71) * Update wallet & api version * Fix swap with assets created by user * Update wallet & api version * add watcher for slippageTolerance in Swap.vue * remove console lgos * use state types in store mutations & getters * apply transaction mixin changes from wallet * update @soramitsu/soraneo-wallet-web dependency * navigate to wallet connection view on wallet click (#75) * PSS-419: restrict precision in inputs (#74) * add TokenInput component * use TokenInput in Swap.vue * add ConfirmDialogMixin * prepare to refactoring modals * remove comments * remove unneccessary actions * add TODO comments * fix TokenInput handler * link js-ui-library with input fix * PSS-398: WEB UI. Multiple click on Confirm - create multiple transactions. (#76) * Fix multiple confirm for operations * Fix notifications view * Update env.json * PSS-364: reuse s-float-input component (#77) * prepare TokenInput component for export * use s-float-input instead of TokenInput * refactoring Settings component * refactoring RemoveLiquidity * Update wallet (#79) * SFloatInput Fixes (#82) * Reseted values and tokens for Add Liquidity and Create Pair components, added placeholders for all SFloatInput elements. * PSS-378: WEB UI. Remove liquidity. Troubles with entering of amount manually (#83) * Reseted values and tokens for Add Liquidity and Create Pair components, added placeholders for all SFloatInput elements. * Remove liquidity: fixed fields editing and insufficient balance calculation. * Remove Liquidity: Fixed editing behaviour. * Updated due to PR comments. * PSS-486: reset vuex values after transaction (#81) * PSS-351: Show balance in select token dialog (#84) * wip assetList * fixes in swap * fix types * remove unused imports * Refactoring Modals: add ConfirmTokenPairDialog component (#78) * add ConfirmTokenPairDialog component * add modal props fix and throw error on create pair failure * fix openSelectTokenDialog method in Swap.vue(#86) * PSS-350: Add clear button to select token search input (#85) * add clear button * refactoring mixin * remove global style in SelectToken * use global style for input button * Update wallet (#87) * Update wallet * Change s-form-item to div in SelectToken dialog (#88) * remove s-form-item * change wrapper classname * Refactoring swap view (#89) * wip * remove formModel * add reset fields method * wip swap values * refactoring minMaxRecieved calls * wip refactoring * use exchangeB as source of truth * use isExchangeB instead of activeField * disable switch during values calculation * recounting check * use promise all for parallel calculation * update ui library * discarding env.json * fixes after revie * Hide balance in SelectToken dialog, if wallet not connected (#91) * Add license (#92) * PSS-248 Web UI: Settings - Problems with input in Custom field (#90) * allow type any value * fix error * add local model * PSS-418: Precision management (#93) * Create NumberFormatterMixin.ts * Improve precision management for pool * Improve precision management for swap operation * Improve precision management for select token dialog * Update AddLiquidity.vue * Improve precision management for remove liquidity operation * Update todo sections * Fix issues * Update wallet & api versions * Add balance updates * Add zero string const * update wallet (#94) * PSS-351 Select Token fixes (#95) * select-token fixes * show 0 balance as - Co-authored-by: alexnatalia Co-authored-by: Aleksandr Makhnev Co-authored-by: Bulat Saifullin Co-authored-by: Alex Natalia <38787212+alexnatalia@users.noreply.github.com> Co-authored-by: Dmitriy Creed Co-authored-by: alexnatalia Co-authored-by: Nikita Polyakov Co-authored-by: Nikita-Polyakov Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> * Release 0.1.3 (#100) * PSS-516: WEB UI. Can go to remove liquidity page without liquidity on account (#96) * Added Page Not Found Draft. * Fixed Add and Remove Liquidity router bags, hid some screens for unauthorized access. Added redirect to exchange for Page Not Found error. * Disabled selects for existed liquidity addition. * Update Swap.vue (#99) * Release 0.1.4 (#126) * Add base project files * Add About page * Add unit tests * Remove unused files * Update library version * Moved images to img folder. * Refactored some styles, added normalize css. * Fixed article card header font weight. * Fix About snapshot * Fix styles and its imports * PSS-132: Token list store * Add env.json and readme * PSS-134 DevOps: Develop CI and CD processes for Polkaswap web project (#5) * add ci cd Signed-off-by: Bulat Saifullin * fix Dockerfile Signed-off-by: Bulat Saifullin * add pull_request_template.md Signed-off-by: Bulat Saifullin * fix template Signed-off-by: Bulat Saifullin * PSS-132: Select token screen * PSS-132: Refactoring * PSS-132: Change short name to symbol * PSS-132: Add i18n to select token * PSS-132: Add unit tests * PSS-132: Remove elements from tests * Added Swap Interface draft (#4) * Swap Interface: Added screen, Unit Tests, Updated UI Lib version. * PSS-132: Create pair * PSS-132: Fixes for select token * PSS-132: Fix title style * PSS-132: UPdate snaphots * PSS-132: Fix shadow * PSS-132: Fix variable style using * Swap Interface Confirmation Screens (#8) * Added Transaction Submit dialog. * Swap Interface: Moved some variables to store for better relations between different screens and dialogs. * Confirm Swap Dialog: Fixed dialog opening, added confirmation flag to the store. * Added token default logo image, refactored translation call for liquidity. * Added SelectToken dialog on click. * PSS-126: Confirm supply modal * Confirmation screens for create pair * Design fixes * Update ui lib * PSS-126: Logo component * Update tests * Wallet integration and styles issues (#10) * Wallet integration * Fix routing issues * Update UI library version * Refactor all styles * Fix wallet connected state * Update tests * Update test * Update Dockerfile (#12) * PSS-129: Add and remove liquidity page * Design fixes * Token logo check fixes * Refactoring and fixes * Add pair token logo for add liquidity * Settings implementation (#15) * Add settings dialog * Add tests * Update tests * Fix titles for info card * Pool Interface Start Screens (#11) * Pool Interface: Added Start Screen. * Refactored components due to UI Lib updates: set size and border-radius of elements. * Created Dialog wrapper component, refactored dialogs, added fixed top position, fixed close behaviour. * Refactored components imports. * Converted logo icon to link to the home page. * Fixed error in console for Create pair component. * Added Back link behaviour for several components. * Updated unit tests. * PSS-172: Dynamic Page Title (#14) * Added dynamic page title. * PSS-128: Add confirmation screens for pool (#16) * PSS-128: Add confirmation screens for pool Co-authored-by: alexnatalia * Mocks for pool screen * Refactoring * Update tests * Add liquidity button for pairs * Design Fixes and Refactoring (#17) * Refactored TokenLogo and PairTokenLogo components, fixed some bugs, updated unit tests. Refactored components headers. * Added Popper class for info tooltips. Fixed default prop value for Object types. Updated Unit tests. * Design Issues Fix (#19) * Updated configuration variables and Exchange tabs styles. * Updated About page images and styles, Header styles and Menu colors settings. Hid unused links and buttons in header. * Updeted typography variables and Font Styles: Updated Font Size, Line Height and Font Weight Configuration. * Updated Create Pair button styles. Updated Ui Lib version. * Fixed tokens icons for Pool screen. * Updated tooltips to one consistent style. Fixed Pool screen bug. * Refactored: Created special component for Generic Header. Fixed Back icon. * Updated some fonts and Pool screen styles. * Added Empty icon for Select token popup. * Added First Liquidity Provider message to Create a Pair screen. * Hid tooltip for Slider element on Settings screen, hid tooltips for Swap Confirmation. * Updated unit tests. * PSS-205: Remove liquidity: everything should be clickable and with recalculation * Update tests * Fix set remove part to 0 * Inpur for remove part * Fixes * Price container fixes * Update tests * PS-223: Fix remove liquidity in safari * PSS-205: Design Review Issues (#21) * Fixed titles case. Updated buttons with text and icons. Updated typography styles. * Update wallet version & add blockchain integration (#23) * Update wallet version & add blockchain integration * Commented out unit tests. Co-authored-by: alexnatalia * PSS-123: Select token integration * Fix async behavior for dexApi (#25) * Fix async behavior for dexApi * Update .eslintrc.js * PSS-247: Custom Slippage Tolerance Fix (#27) * Updated STab styles. * Updated UI Lib and Wallet versions and styles according to UI Lib fixes. * PSS-129: Add liquiditiy integration * PSS-74 Swap Interface Integration (#26) * Hid swap info for not connected wallet. * Updated SelectToken search by name, added check for translation existance. * Added Swap Integration. * Refactored formatNumber calls. * Hid swap info under buttons for zero amount. * Fixed Header Menu colors. * Fixed swap from Wallet assets. * Updated tooltips. * Updated About page text and Main menu links order. * Fixed Card title color for About page. * Updated Default token setting. * Updated Wallet version. * Hid Transaction Deadline area for Settings. * Removed unneeded tooltip from Settings dialog. * Added validation for Settings. * Added validation for Insufficient Amount error from server. * Added loading while not conencted, changed store to not strict mode, updated tokens setting in store. * Fixed focused behaviour for Swap input fields. * Fix wallet connection & select token behavior * Fixed Min Received format. Co-authored-by: Stefan Popov * Swap result calculation for non connected mode (#28) * Fixed Swap result calculation for non connected mode. * Fixed About page text and styles. * Fix i18n (#30) * Updated Swap input width and Max swap behaviour. Updated Swap Info styles. (#29) * PSS-271: Medium and GitHub links (#31) * Added Github and Medium links for About page. * Upated the Wallet version. * Fixed wallet button color on hover. * Calculate total suply * PSS-216: Design Issues Fixing (#32) * Updated content primary color. * Fixed Price and Token areas horizontal alignment. * Updated tooltips. * Updated Generic Header tooltip. * Updated Token item height for Select Token dialog. * Added Token icons. * Updated token icons names. * PSS-129: Create pair integration * Remove mocks * Refactoring * Add network fee calculation * Fixes * PSS-281: Recalculate Input Values On Select Token (#33) * Added util method to check isNumber value. Removed Max button from token To area. * Added Max sold for reversed swap. * Updated Swap Integration. * Updated UI Lib version. * Added recalc on Select Token. * Fixed Swap for Polkadot.js * Updated isExchangeB param in methods. * Hid Node Address area for Settings popup. * Added Network Fee field to Swap component. * Updated Custom slippage tolerance for Settings. * Fixed paste string value to Swap fields. * Updated Network Fee calls, updated Wallet version, fixed swap tokens balance. * Added isExchangeB parameter to swap call. * Refactoring * fix total supply * PSS-129: Share of pool * Remove share of pool mock * Fix get asset symbol * Hide add liquidity Fix slippage tolerance for add liquidity Fix share of pool Fix unsupprted assets error message * Disable max button for add liquidity Reset values after change tokens * Fixes * Updated Tokens Icons, added PAL icon. (#35) * Wallet connection issues (#38) * Fix wallet connection issues * Fix styles * Update wallet version * Update favicon.ico * PSS-297: check fee on max amount * PSS-295: Added Insufficient Balance Checking (#37) * Added Insufficient balance checking. * Updated FPNumber parameters. * Removed formatNumber usage from Swap screens. * Fixed focus and placeholders values for Swap. * Updated some styles for huge number values. * Refactored due to PR comments. * Result Dialog Styles Fix (#41) * Fixed Result Dialog button styles. * Renamed USD icon. * Update library * Fix swap, liquidity behavior * Update index.ts * TODO: Revert this commit after PSS-309 * Updated wallet version. Co-authored-by: Stefan Popov * PSS-273: WEB UI: Connect Wallet - Close button leads always on Exchange page, not to the previous page (#42) * Fix routing issue * Update wallet version * PSS-295: Confirm Swap Insufficient Balance Checking (#43) * Fixed console error on tokens switch. * Added Is Insufficient Balance checking for Confirm Swap dialog. * Updated Confirm Swap styles. * Updated Swap info after Swap, added max button to init screen. (#44) * Update ui library version (#46) * Update ui library version * Update wallet * BP-312: Fixes for pool * Fix icons position (#47) * Fix icons position * Fix logo * PSS-287: Swap Amount Fields Formatting (#45) * Added Swap fields formatter. * Fixed Slippage Tolerance editing and Swap fields formatting. * Updated wallet version. * Change toString to toFixed * Change formatNumber to toFixed * Fix remove liquidity price * Move back toFixed to toString * Fixed estimated label existence for zero values (#50) * Refactored, added some comments, fixed estimated label existence for zero values. * Modify env config file (#49) Co-authored-by: Bulat Saifullin * Add custom notifications & notification tracking service (#51) * Add custom notifications & notification tracking service * Update notifications & strings according to latest changes * Update api * Update soramitsu-variables.scss * PSS-335: Designer Feedback Fixes FE (#53) * Fixed functionality and layout bugs. * Added draft component to fix layout behaviour. * Fixed Settings behaviour. * Swap: removed Result dialog, edited Network Fee tooltip. * Fixed translation bugs. * Account info implementation & fix loading state (#54) * Add account info * Fix styles * Hide test assets (#55) * Update connection * Remove usdt mock * Add liquidity issues & update notifications (#56) * Add missing notifications * Update RemoveLiquidity * Fix add liquidity screen * Add async loading of liquidity * Fix pool issues * Updated not connected pool interface message. (#60) * PSS-300: Swap confirmation dialog message update (#61) * Updated Swap confirmation dialog message. * Confirm Swap Dialog: Updated message for max sold behaviour. * Swap screen: Fixed Min Received/Max Sold area asset symbol. (#62) * PSS-379: WEB UI. Add liquidity. Click MAX button on 0 balance of XOR (#59) * Updated wallet version. Swap, Add Liquidity, Create Pair components: Updated Max button availability, refactored. * Refactored due to PR comments. * Swap, Add Liquidity: Fixed negative amount after max. Updated wallet version. * Create pair implementation & fix liquidity issues (#63) * Add create pair implementation & fix logic for add liquidity * PSS-297: WEB UI: Restrict Adding liquidity if balance is insufficient (#64) * Add Liquidity: Refactored Insufficient Balance. * Create Pair, Remove Liquidity: Updated Max functionality. * Add insufficient liquidity message for swap (#66) * link @soramitsu/soraneo-wallet-web 0.4.6 * return network address * use wallet routes in app.vue to correctly handle wallet icon click * set changePage method as private * removed local model for inputs: createPairModel * refactoring CreatePair methods * add input maxlength check * fix inputMaxLength method * improve formatNumberField method * refactoring inputMaxLength method * refactoring AddLiquidity view * create TokenPair mixin * wip refactoring * add maxlength to removeLiquidity view inputs * create TokenInputMixin * add input handlers on removeLiquidity view * handle swap inputs * return commented line * PSS-400: WEB UI. Minimum receive/Maximum sold token not changed (#69) * Fixed min received/max sold symbol. * Update wallet & api version (#70) * fixes after review * add store state interfaces * PSS-467: On the swap screen user should be able to select all tokens excecpt pool tokens (#71) * Update wallet & api version * Fix swap with assets created by user * Update wallet & api version * add watcher for slippageTolerance in Swap.vue * remove console lgos * use state types in store mutations & getters * apply transaction mixin changes from wallet * update @soramitsu/soraneo-wallet-web dependency * navigate to wallet connection view on wallet click (#75) * PSS-419: restrict precision in inputs (#74) * add TokenInput component * use TokenInput in Swap.vue * add ConfirmDialogMixin * prepare to refactoring modals * remove comments * remove unneccessary actions * add TODO comments * fix TokenInput handler * link js-ui-library with input fix * PSS-398: WEB UI. Multiple click on Confirm - create multiple transactions. (#76) * Fix multiple confirm for operations * Fix notifications view * Update env.json * PSS-364: reuse s-float-input component (#77) * prepare TokenInput component for export * use s-float-input instead of TokenInput * refactoring Settings component * refactoring RemoveLiquidity * Update wallet (#79) * SFloatInput Fixes (#82) * Reseted values and tokens for Add Liquidity and Create Pair components, added placeholders for all SFloatInput elements. * PSS-378: WEB UI. Remove liquidity. Troubles with entering of amount manually (#83) * Reseted values and tokens for Add Liquidity and Create Pair components, added placeholders for all SFloatInput elements. * Remove liquidity: fixed fields editing and insufficient balance calculation. * Remove Liquidity: Fixed editing behaviour. * Updated due to PR comments. * PSS-486: reset vuex values after transaction (#81) * PSS-351: Show balance in select token dialog (#84) * wip assetList * fixes in swap * fix types * remove unused imports * Refactoring Modals: add ConfirmTokenPairDialog component (#78) * add ConfirmTokenPairDialog component * add modal props fix and throw error on create pair failure * fix openSelectTokenDialog method in Swap.vue(#86) * PSS-350: Add clear button to select token search input (#85) * add clear button * refactoring mixin * remove global style in SelectToken * use global style for input button * Update wallet (#87) * Update wallet * Change s-form-item to div in SelectToken dialog (#88) * remove s-form-item * change wrapper classname * Refactoring swap view (#89) * wip * remove formModel * add reset fields method * wip swap values * refactoring minMaxRecieved calls * wip refactoring * use exchangeB as source of truth * use isExchangeB instead of activeField * disable switch during values calculation * recounting check * use promise all for parallel calculation * update ui library * discarding env.json * fixes after revie * Hide balance in SelectToken dialog, if wallet not connected (#91) * Add license (#92) * PSS-248 Web UI: Settings - Problems with input in Custom field (#90) * allow type any value * fix error * add local model * PSS-418: Precision management (#93) * Create NumberFormatterMixin.ts * Improve precision management for pool * Improve precision management for swap operation * Improve precision management for select token dialog * Update AddLiquidity.vue * Improve precision management for remove liquidity operation * Update todo sections * Fix issues * Update wallet & api versions * Add balance updates * Add zero string const * update wallet (#94) * PSS-351 Select Token fixes (#95) * select-token fixes * show 0 balance as - * PSS-516: WEB UI. Can go to remove liquidity page without liquidity on account (#96) * Added Page Not Found Draft. * Fixed Add and Remove Liquidity router bags, hid some screens for unauthorized access. Added redirect to exchange for Page Not Found error. * Disabled selects for existed liquidity addition. * Update Swap.vue (#99) * Add namespace & types for swap (#101) * Fix price and swap info (#104) * Fix price calculations * Update SwapInfo.vue * Update wallet & api (#105) * Fix swap links (#106) * Fix swap links * Update wallet * Update api (#111) * up wallet version (#112) * Updated wallet version to 0.6.3 (#113) * Updated wallet version to 0.6.4. (#114) * Polkaswap layout redesign (#98) (#102) * Polkaswap layout redesign (#98) * pss-498 header redesign * wip pss-496 * style fixes * add HelpDialog component * reexport package.json * exchange routing fix * add Rewards stub with coming soon text * refactoring SidebarItemContent * refactoring styles * add FAUCET_URL to env.json * fixes after review * fix sidebar item hover css * fix disabled item css * Move bridge functionality (#103) * pss-498 header redesign * wip pss-496 * style fixes * add HelpDialog component * reexport package.json * exchange routing fix * add Rewards stub with coming soon text * refactoring SidebarItemContent * refactoring styles * add FAUCET_URL to env.json * fixes after review * Move bridge functionality Co-authored-by: Nikita-Polyakov * Update wallet & api * PSS-524: Bridge (#107) * pss-498 header redesign * wip pss-496 * style fixes * add HelpDialog component * reexport package.json * exchange routing fix * add Rewards stub with coming soon text * refactoring SidebarItemContent * refactoring styles * add FAUCET_URL to env.json * fixes after review * Move bridge functionality * Bridge: Updated unauthorized routes. * Updated Generic Page Header, updated Bridge screens. * Fixed token icons. * Bridge: Updated styles. * Updated tooltips. * Removed unused token images. * Refactored due to PR comments. Co-authored-by: Nikita-Polyakov Co-authored-by: Stefan Popov * Fix/pss 539 metamsk lock issue (#108) * improve subscribers * add check account is connected * Fix/balance flickering (#109) * wip update balance flow * refactoring views and store modules * remove unused code * fixes after review * Update yarn.lock * Updated wallet version. * Updated wallet version to 0.6.4. * Updated wallet version to 0.6.5. * PSS-540: Add Pending Transactions to Bridge History (#115) * pss-498 header redesign * wip pss-496 * style fixes * add HelpDialog component * reexport package.json * exchange routing fix * add Rewards stub with coming soon text * refactoring SidebarItemContent * refactoring styles * add FAUCET_URL to env.json * fixes after review * Move bridge functionality * Bridge: Updated unauthorized routes. * Updated Generic Page Header, updated Bridge screens. * Fixed token icons. * Bridge: Updated styles. * Updated tooltips. * Removed btc icon. * Updated due to PR comments. * Updated due to PR comments. * Reverted formatAddress changes. * Added pending state. * Updated wallet version. * Fix bridge functionality Co-authored-by: Nikita-Polyakov Co-authored-by: Stefan Popov Co-authored-by: Alex Natalia * Select dialog updates (#118) * Modify select dialog * Remove all symbol dependencies * PSS-502: Swap And Pool Redesign (#117) * Separated Swap and Pool. * Changed assets filter from symbol to address. * Updated wallet version to 0.7.1. * Fixed assets addresses behaviour for bridge. * Reverted previous version of the wallet, fixed some places due to PR comments. Co-authored-by: Alex Natalia * Update styles and icons (#119) * Fix styles and icons * Update BrandedTooltip.vue * Update wallet & ui library versions * Update LICENSE * Update package.json * Fix issues Co-authored-by: Stefan Popov Co-authored-by: Alex Natalia <38787212+alexnatalia@users.noreply.github.com> Co-authored-by: Alex Natalia * Redesign Updates (#120) * Refactored buttons styles, changed some translation to common one. * Updated tooltips, screens info area. * Updated info blocks. * Updated info blocks in confirmation and pool screens. * Combined input area styles. * Update About.vue * GenericPageHeader: Changed default prop of tooltip placement. Signed-off-by: alexnatalia Co-authored-by: Stefan Popov * update wallet to 0.7.4 (#121) * remove getAssets from select-token dialog (#123) * PSS-573 WEB UI. MAX button for bridge work incorrect. (#124) * fix calc max value * remove console.log * update wallet 0.7.7 & hide farming in menu * refactoring (#122) * Fix issues (#125) * Remove default values from props * Fix issues Co-authored-by: alexnatalia Co-authored-by: Aleksandr Makhnev Co-authored-by: Bulat Saifullin Co-authored-by: Alex Natalia <38787212+alexnatalia@users.noreply.github.com> Co-authored-by: Dmitriy Creed Co-authored-by: alexnatalia Co-authored-by: Nikita Polyakov Co-authored-by: Nikita-Polyakov Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> Co-authored-by: Alex Natalia * Release 0.1.5 (#158) * Release 0.1.5 (#161) * Release 0.1.6 (#170) * Release 0.1.6 (#174) * Release 0.1.7 (#190) * Release 0.1.8 (#200) * Release 0.1.9 (#206) * Release 1.0.0 (#208) * Update styles * Update wallet * Fix wait message for bridge eth->sora flow * Fix page amount for bridge * Fix bridge icons * Fix swap checks for XOR output without XOR or with XOR balance < network fee * Release 1.0.0 (#212) * Release 1.0.0 (#215) * Release 1.0.0 (#219) * Release 1.0.1 (#226) * Release 1.0.2 (#234) * Release 1.1.0 (#244) * PSS-281: Recalculate Input Values On Select Token (#33) * Added util method to check isNumber value. Removed Max button from token To area. * Added Max sold for reversed swap. * Updated Swap Integration. * Updated UI Lib version. * Added recalc on Select Token. * Fixed Swap for Polkadot.js * Updated isExchangeB param in methods. * Hid Node Address area for Settings popup. * Added Network Fee field to Swap component. * Updated Custom slippage tolerance for Settings. * Fixed paste string value to Swap fields. * Updated Network Fee calls, updated Wallet version, fixed swap tokens balance. * Added isExchangeB parameter to swap call. * Refactoring * fix total supply * PSS-129: Share of pool * Remove share of pool mock * Fix get asset symbol * Hide add liquidity Fix slippage tolerance for add liquidity Fix share of pool Fix unsupprted assets error message * Disable max button for add liquidity Reset values after change tokens * Fixes * Updated Tokens Icons, added PAL icon. (#35) * Wallet connection issues (#38) * Fix wallet connection issues * Fix styles * Update wallet version * Update favicon.ico * PSS-297: check fee on max amount * PSS-295: Added Insufficient Balance Checking (#37) * Added Insufficient balance checking. * Updated FPNumber parameters. * Removed formatNumber usage from Swap screens. * Fixed focus and placeholders values for Swap. * Updated some styles for huge number values. * Refactored due to PR comments. * Result Dialog Styles Fix (#41) * Fixed Result Dialog button styles. * Renamed USD icon. * Update library * Fix swap, liquidity behavior * Update index.ts * TODO: Revert this commit after PSS-309 * Updated wallet version. Co-authored-by: Stefan Popov * PSS-273: WEB UI: Connect Wallet - Close button leads always on Exchange page, not to the previous page (#42) * Fix routing issue * Update wallet version * PSS-295: Confirm Swap Insufficient Balance Checking (#43) * Fixed console error on tokens switch. * Added Is Insufficient Balance checking for Confirm Swap dialog. * Updated Confirm Swap styles. * Updated Swap info after Swap, added max button to init screen. (#44) * Update ui library version (#46) * Update ui library version * Update wallet * BP-312: Fixes for pool * Fix icons position (#47) * Fix icons position * Fix logo * PSS-287: Swap Amount Fields Formatting (#45) * Added Swap fields formatter. * Fixed Slippage Tolerance editing and Swap fields formatting. * Updated wallet version. * Change toString to toFixed * Change formatNumber to toFixed * Fix remove liquidity price * Move back toFixed to toString * Fixed estimated label existence for zero values (#50) * Refactored, added some comments, fixed estimated label existence for zero values. * Modify env config file (#49) Co-authored-by: Bulat Saifullin * Add custom notifications & notification tracking service (#51) * Add custom notifications & notification tracking service * Update notifications & strings according to latest changes * Update api * Update soramitsu-variables.scss * PSS-335: Designer Feedback Fixes FE (#53) * Fixed functionality and layout bugs. * Added draft component to fix layout behaviour. * Fixed Settings behaviour. * Swap: removed Result dialog, edited Network Fee tooltip. * Fixed translation bugs. * Account info implementation & fix loading state (#54) * Add account info * Fix styles * Hide test assets (#55) * Update connection * Remove usdt mock * Add liquidity issues & update notifications (#56) * Add missing notifications * Update RemoveLiquidity * Fix add liquidity screen * Add async loading of liquidity * Fix pool issues * Updated not connected pool interface message. (#60) * PSS-300: Swap confirmation dialog message update (#61) * Updated Swap confirmation dialog message. * Confirm Swap Dialog: Updated message for max sold behaviour. * Swap screen: Fixed Min Received/Max Sold area asset symbol. (#62) * PSS-379: WEB UI. Add liquidity. Click MAX button on 0 balance of XOR (#59) * Updated wallet version. Swap, Add Liquidity, Create Pair components: Updated Max button availability, refactored. * Refactored due to PR comments. * Swap, Add Liquidity: Fixed negative amount after max. Updated wallet version. * Create pair implementation & fix liquidity issues (#63) * Add create pair implementation & fix logic for add liquidity * PSS-297: WEB UI: Restrict Adding liquidity if balance is insufficient (#64) * Add Liquidity: Refactored Insufficient Balance. * Create Pair, Remove Liquidity: Updated Max functionality. * Add insufficient liquidity message for swap (#66) * link @soramitsu/soraneo-wallet-web 0.4.6 * return network address * use wallet routes in app.vue to correctly handle wallet icon click * set changePage method as private * removed local model for inputs: createPairModel * refactoring CreatePair methods * add input maxlength check * fix inputMaxLength method * improve formatNumberField method * refactoring inputMaxLength method * refactoring AddLiquidity view * create TokenPair mixin * wip refactoring * add maxlength to removeLiquidity view inputs * create TokenInputMixin * add input handlers on removeLiquidity view * handle swap inputs * return commented line * PSS-400: WEB UI. Minimum receive/Maximum sold token not changed (#69) * Fixed min received/max sold symbol. * Update wallet & api version (#70) * fixes after review * add store state interfaces * PSS-467: On the swap screen user should be able to select all tokens excecpt pool tokens (#71) * Update wallet & api version * Fix swap with assets created by user * Update wallet & api version * add watcher for slippageTolerance in Swap.vue * remove console lgos * use state types in store mutations & getters * apply transaction mixin changes from wallet * update @soramitsu/soraneo-wallet-web dependency * navigate to wallet connection view on wallet click (#75) * PSS-419: restrict precision in inputs (#74) * add TokenInput component * use TokenInput in Swap.vue * add ConfirmDialogMixin * prepare to refactoring modals * remove comments * remove unneccessary actions * add TODO comments * fix TokenInput handler * link js-ui-library with input fix * PSS-398: WEB UI. Multiple click on Confirm - create multiple transactions. (#76) * Fix multiple confirm for operations * Fix notifications view * Update env.json * PSS-364: reuse s-float-input component (#77) * prepare TokenInput component for export * use s-float-input instead of TokenInput * refactoring Settings component * refactoring RemoveLiquidity * Update wallet (#79) * SFloatInput Fixes (#82) * Reseted values and tokens for Add Liquidity and Create Pair components, added placeholders for all SFloatInput elements. * PSS-378: WEB UI. Remove liquidity. Troubles with entering of amount manually (#83) * Reseted values and tokens for Add Liquidity and Create Pair components, added placeholders for all SFloatInput elements. * Remove liquidity: fixed fields editing and insufficient balance calculation. * Remove Liquidity: Fixed editing behaviour. * Updated due to PR comments. * PSS-486: reset vuex values after transaction (#81) * PSS-351: Show balance in select token dialog (#84) * wip assetList * fixes in swap * fix types * remove unused imports * Refactoring Modals: add ConfirmTokenPairDialog component (#78) * add ConfirmTokenPairDialog component * add modal props fix and throw error on create pair failure * fix openSelectTokenDialog method in Swap.vue(#86) * PSS-350: Add clear button to select token search input (#85) * add clear button * refactoring mixin * remove global style in SelectToken * use global style for input button * Update wallet (#87) * Update wallet * Change s-form-item to div in SelectToken dialog (#88) * remove s-form-item * change wrapper classname * Refactoring swap view (#89) * wip * remove formModel * add reset fields method * wip swap values * refactoring minMaxRecieved calls * wip refactoring * use exchangeB as source of truth * use isExchangeB instead of activeField * disable switch during values calculation * recounting check * use promise all for parallel calculation * update ui library * discarding env.json * fixes after revie * Hide balance in SelectToken dialog, if wallet not connected (#91) * Add license (#92) * PSS-248 Web UI: Settings - Problems with input in Custom field (#90) * allow type any value * fix error * add local model * PSS-418: Precision management (#93) * Create NumberFormatterMixin.ts * Improve precision management for pool * Improve precision management for swap operation * Improve precision management for select token dialog * Update AddLiquidity.vue * Improve precision management for remove liquidity operation * Update todo sections * Fix issues * Update wallet & api versions * Add balance updates * Add zero string const * update wallet (#94) * PSS-351 Select Token fixes (#95) * select-token fixes * show 0 balance as - * PSS-516: WEB UI. Can go to remove liquidity page without liquidity on account (#96) * Added Page Not Found Draft. * Fixed Add and Remove Liquidity router bags, hid some screens for unauthorized access. Added redirect to exchange for Page Not Found error. * Disabled selects for existed liquidity addition. * Update Swap.vue (#99) * Add namespace & types for swap (#101) * Fix price and swap info (#104) * Fix price calculations * Update SwapInfo.vue * Update wallet & api (#105) * Fix swap links (#106) * Fix swap links * Update wallet * Update api (#111) * up wallet version (#112) * Updated wallet version to 0.6.3 (#113) * Updated wallet version to 0.6.4. (#114) * Polkaswap layout redesign (#98) (#102) * Polkaswap layout redesign (#98) * pss-498 header redesign * w… * fix (#1172) * Fix release 1.21 issues (#1175) * Bump version * Demeter dialog remove extra padding * Update yarn.lock --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> Co-authored-by: shlavik * Enable supply chart for all tokens (#1170) * Enable supply chart for all tokens * Update package.json --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> * [Bridge] Add Min & Max limits (#1151) * remove vue-svg-loader * remove cache-loader from vue-loader * rewrite vue.config.js * update wallet * css fixes * remove sass warnings * fix spacing * add alt attrs to RoadMap * remove some todo * update ethers usage * refactoring ethers utils * add type annotaions * small fixes * wip external fee * refactoring adapter to remove hardcoded networks usage * add prefix for external fee * history restoration console info * fix sub bridge max btn * remove external network fee getter * refactoring * fix sonar issues * refactoring bridge utils * update api.query usage * improve tracking * refactoring sub reducers * improve sub history restoration * sonar issue refactoring * wip external fiat values * add nativeTOken getter to bridge * fix BridgeTransaction address * refactoring balance utils * remove bridgeApi from getters * fix transaction view prefix * update wallet 1.21.2 * add asset limit subscription * rework asset transfer limit update * update bridge subscription logic * bridge view computed * remove unused variable * prepare for subscription update * asset max limit subscription * update bridge transaction view * add min limit fetching * add getters to bridge views * add bridge limit card * update translations * replace relayChainBlockNumber call * bridge ui fixes * reset bridge form, fix network change * connection additional checks * await isReady promises * open sora parachain connection after select network * refactoring sub networks connector * refactoring web3 store * improve loading states & refactoring actions * fix bridge loading logix * refactoring bridge balances fetching * fix sub network fee & bridge container * update bridge quote * update bridge quote * fix bridge loading state * fix bridge actions promise.all reject * fix connection open * fix locked balance calc * rename web3 method * change CodecString to FPNumber in store balances * refactoring sonar issues * fix bridge amount decimals in form * update eth bridge locked balance * update wallet 1.22.0 * refactoring sonar issues * update filter fn * Fix sub bridge address issues (#1180) * fix address format checks * format sub bridge account address in ss58 * improve externalAccount usage * update wallet 1.22.1 * add xcm fee info * Remove ~ sign (#1179) * Remove ~ sign * Remove not used component * fix address format in hsitory restoration --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> Co-authored-by: Nikita-Polyakov * Fix assets sorting order in swap and bridge (#1181) * fix assets sorting order in swap and bridge * improve sortByBalance * Add scroll into view (#1182) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Fix sub bridge sora fee & fix eth history restoration (#1183) * update bridge sora fee & history restoration * update message, remove bad util fn * sore fee update optimization * update translations * Add XCM fee to transaction details & some fixes (#1185) * get xcm fee in history * await connection * show xcm fee transaction details * refactoring sub adapter connection * improve connection logs * fix clear history * improve api connections reuse * improve connector check * Update marketing.json (#1186) * Update marketing.json * Update package.json * Update marketing images * Fix long asset names * Improve tokens page --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Subsquid support implementation (#1049) * Subsquid support implementation * Update yarn.lock * Indexer selector * Changed indexer names * Changed icon for indexer selection * Fixes after merge * Update package,json * Fixes * Update sora2-wallet-web version * Remove graphql-ws * Update wallet version * Update wallet version * Empty commit * Updated indexer selector * Updated wallet-web * Update wallet * Status * Update wallet * Fix statistics dialog * Some fixes * Some fixes * Update wallet version * Fix queries * Update yarn.lock * fix tokens page * update dev env.json * remove unused import --------- Co-authored-by: Nikita-Polyakov * card balance appearance (#1173) * add balance fetching logic * prework * make reject reason * add fees * Update Payment.vue * add translations * Update ConfirmationInfo.vue * Update Payment.vue * referenceNumber duplcation * reference number duplication remove * Update Dashboard.vue * fix referenceNumber duplication * make explicit conversion * fix sonar issues * fix css --------- Co-authored-by: safinsaf <45899673+safinsaf@users.noreply.github.com> * UI improvements (#1189) * update SyntheticSwitcher & ExternalLink components * update wallet * update indexer translations * update address book input translation * remove incorrect price from chart * update SelectIndexer modal (#1190) * add walletconnect verification txt file (#1193) * Fix assets query (#1196) * Remove assets liquidity filter * Fix subsquid assets query * Fix assets parse * Update Jenkinsfile (#1197) * fix subquery bridge history (#1200) * Add xorless transfer history support (#1203) * add xorless transfer history support * update translations * remove misleading option (#1204) * remove misleading option * add iban missing feature * Update Dashboard.vue * add focused css * add langs (#1205) * SORA Card: Add country selector (#1206) * SORA CARD: Add country selector * Translate placeholder * Fix lokalise * show balance when iban available only * Update Dashboard.vue --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> Co-authored-by: RustemYuzlibaev * remove css and if-statement (#1207) * Sustrate bridge prod prepare (#1211) * Release 0.1.2 (#80) * Add base project files * Add About page * Add unit tests * Remove unused files * Update library version * Moved images to img folder. * Refactored some styles, added normalize css. * Fixed article card header font weight. * Fix About snapshot * Fix styles and its imports * PSS-132: Token list store * Add env.json and readme * PSS-134 DevOps: Develop CI and CD processes for Polkaswap web project (#5) * add ci cd Signed-off-by: Bulat Saifullin * fix Dockerfile Signed-off-by: Bulat Saifullin * add pull_request_template.md Signed-off-by: Bulat Saifullin * fix template Signed-off-by: Bulat Saifullin * PSS-132: Select token screen * PSS-132: Refactoring * PSS-132: Change short name to symbol * PSS-132: Add i18n to select token * PSS-132: Add unit tests * PSS-132: Remove elements from tests * Added Swap Interface draft (#4) * Swap Interface: Added screen, Unit Tests, Updated UI Lib version. * PSS-132: Create pair * PSS-132: Fixes for select token * PSS-132: Fix title style * PSS-132: UPdate snaphots * PSS-132: Fix shadow * PSS-132: Fix variable style using * Swap Interface Confirmation Screens (#8) * Added Transaction Submit dialog. * Swap Interface: Moved some variables to store for better relations between different screens and dialogs. * Confirm Swap Dialog: Fixed dialog opening, added confirmation flag to the store. * Added token default logo image, refactored translation call for liquidity. * Added SelectToken dialog on click. * PSS-126: Confirm supply modal * Confirmation screens for create pair * Design fixes * Update ui lib * PSS-126: Logo component * Update tests * Wallet integration and styles issues (#10) * Wallet integration * Fix routing issues * Update UI library version * Refactor all styles * Fix wallet connected state * Update tests * Update test * Update Dockerfile (#12) * PSS-129: Add and remove liquidity page * Design fixes * Token logo check fixes * Refactoring and fixes * Add pair token logo for add liquidity * Settings implementation (#15) * Add settings dialog * Add tests * Update tests * Fix titles for info card * Pool Interface Start Screens (#11) * Pool Interface: Added Start Screen. * Refactored components due to UI Lib updates: set size and border-radius of elements. * Created Dialog wrapper component, refactored dialogs, added fixed top position, fixed close behaviour. * Refactored components imports. * Converted logo icon to link to the home page. * Fixed error in console for Create pair component. * Added Back link behaviour for several components. * Updated unit tests. * PSS-172: Dynamic Page Title (#14) * Added dynamic page title. * PSS-128: Add confirmation screens for pool (#16) * PSS-128: Add confirmation screens for pool Co-authored-by: alexnatalia * Mocks for pool screen * Refactoring * Update tests * Add liquidity button for pairs * Design Fixes and Refactoring (#17) * Refactored TokenLogo and PairTokenLogo components, fixed some bugs, updated unit tests. Refactored components headers. * Added Popper class for info tooltips. Fixed default prop value for Object types. Updated Unit tests. * Design Issues Fix (#19) * Updated configuration variables and Exchange tabs styles. * Updated About page images and styles, Header styles and Menu colors settings. Hid unused links and buttons in header. * Updeted typography variables and Font Styles: Updated Font Size, Line Height and Font Weight Configuration. * Updated Create Pair button styles. Updated Ui Lib version. * Fixed tokens icons for Pool screen. * Updated tooltips to one consistent style. Fixed Pool screen bug. * Refactored: Created special component for Generic Header. Fixed Back icon. * Updated some fonts and Pool screen styles. * Added Empty icon for Select token popup. * Added First Liquidity Provider message to Create a Pair screen. * Hid tooltip for Slider element on Settings screen, hid tooltips for Swap Confirmation. * Updated unit tests. * PSS-205: Remove liquidity: everything should be clickable and with recalculation * Update tests * Fix set remove part to 0 * Inpur for remove part * Fixes * Price container fixes * Update tests * PS-223: Fix remove liquidity in safari * PSS-205: Design Review Issues (#21) * Fixed titles case. Updated buttons with text and icons. Updated typography styles. * Update wallet version & add blockchain integration (#23) * Update wallet version & add blockchain integration * Commented out unit tests. Co-authored-by: alexnatalia * PSS-123: Select token integration * Fix async behavior for dexApi (#25) * Fix async behavior for dexApi * Update .eslintrc.js * PSS-247: Custom Slippage Tolerance Fix (#27) * Updated STab styles. * Updated UI Lib and Wallet versions and styles according to UI Lib fixes. * PSS-129: Add liquiditiy integration * PSS-74 Swap Interface Integration (#26) * Hid swap info for not connected wallet. * Updated SelectToken search by name, added check for translation existance. * Added Swap Integration. * Refactored formatNumber calls. * Hid swap info under buttons for zero amount. * Fixed Header Menu colors. * Fixed swap from Wallet assets. * Updated tooltips. * Updated About page text and Main menu links order. * Fixed Card title color for About page. * Updated Default token setting. * Updated Wallet version. * Hid Transaction Deadline area for Settings. * Removed unneeded tooltip from Settings dialog. * Added validation for Settings. * Added validation for Insufficient Amount error from server. * Added loading while not conencted, changed store to not strict mode, updated tokens setting in store. * Fixed focused behaviour for Swap input fields. * Fix wallet connection & select token behavior * Fixed Min Received format. Co-authored-by: Stefan Popov * Swap result calculation for non connected mode (#28) * Fixed Swap result calculation for non connected mode. * Fixed About page text and styles. * Fix i18n (#30) * Updated Swap input width and Max swap behaviour. Updated Swap Info styles. (#29) * PSS-271: Medium and GitHub links (#31) * Added Github and Medium links for About page. * Upated the Wallet version. * Fixed wallet button color on hover. * Calculate total suply * PSS-216: Design Issues Fixing (#32) * Updated content primary color. * Fixed Price and Token areas horizontal alignment. * Updated tooltips. * Updated Generic Header tooltip. * Updated Token item height for Select Token dialog. * Added Token icons. * Updated token icons names. * PSS-129: Create pair integration * Remove mocks * Refactoring * Add network fee calculation * Fixes * PSS-281: Recalculate Input Values On Select Token (#33) * Added util method to check isNumber value. Removed Max button from token To area. * Added Max sold for reversed swap. * Updated Swap Integration. * Updated UI Lib version. * Added recalc on Select Token. * Fixed Swap for Polkadot.js * Updated isExchangeB param in methods. * Hid Node Address area for Settings popup. * Added Network Fee field to Swap component. * Updated Custom slippage tolerance for Settings. * Fixed paste string value to Swap fields. * Updated Network Fee calls, updated Wallet version, fixed swap tokens balance. * Added isExchangeB parameter to swap call. * Refactoring * fix total supply * PSS-129: Share of pool * Remove share of pool mock * Fix get asset symbol * Hide add liquidity Fix slippage tolerance for add liquidity Fix share of pool Fix unsupprted assets error message * Disable max button for add liquidity Reset values after change tokens * Fixes * Updated Tokens Icons, added PAL icon. (#35) * Wallet connection issues (#38) * Fix wallet connection issues * Fix styles * Update wallet version * Update favicon.ico * PSS-297: check fee on max amount * PSS-295: Added Insufficient Balance Checking (#37) * Added Insufficient balance checking. * Updated FPNumber parameters. * Removed formatNumber usage from Swap screens. * Fixed focus and placeholders values for Swap. * Updated some styles for huge number values. * Refactored due to PR comments. * Result Dialog Styles Fix (#41) * Fixed Result Dialog button styles. * Renamed USD icon. * Update library * Fix swap, liquidity behavior * Update index.ts * TODO: Revert this commit after PSS-309 * Updated wallet version. Co-authored-by: Stefan Popov * PSS-273: WEB UI: Connect Wallet - Close button leads always on Exchange page, not to the previous page (#42) * Fix routing issue * Update wallet version * PSS-295: Confirm Swap Insufficient Balance Checking (#43) * Fixed console error on tokens switch. * Added Is Insufficient Balance checking for Confirm Swap dialog. * Updated Confirm Swap styles. * Updated Swap info after Swap, added max button to init screen. (#44) * Update ui library version (#46) * Update ui library version * Update wallet * BP-312: Fixes for pool * Fix icons position (#47) * Fix icons position * Fix logo * PSS-287: Swap Amount Fields Formatting (#45) * Added Swap fields formatter. * Fixed Slippage Tolerance editing and Swap fields formatting. * Updated wallet version. * Change toString to toFixed * Change formatNumber to toFixed * Fix remove liquidity price * Move back toFixed to toString * Fixed estimated label existence for zero values (#50) * Refactored, added some comments, fixed estimated label existence for zero values. * Modify env config file (#49) Co-authored-by: Bulat Saifullin * Add custom notifications & notification tracking service (#51) * Add custom notifications & notification tracking service * Update notifications & strings according to latest changes * Update api * Update soramitsu-variables.scss * PSS-335: Designer Feedback Fixes FE (#53) * Fixed functionality and layout bugs. * Added draft component to fix layout behaviour. * Fixed Settings behaviour. * Swap: removed Result dialog, edited Network Fee tooltip. * Fixed translation bugs. * Account info implementation & fix loading state (#54) * Add account info * Fix styles * Hide test assets (#55) * Update connection * Remove usdt mock * Add liquidity issues & update notifications (#56) * Add missing notifications * Update RemoveLiquidity * Fix add liquidity screen * Add async loading of liquidity * Fix pool issues * Updated not connected pool interface message. (#60) * PSS-300: Swap confirmation dialog message update (#61) * Updated Swap confirmation dialog message. * Confirm Swap Dialog: Updated message for max sold behaviour. * Swap screen: Fixed Min Received/Max Sold area asset symbol. (#62) * PSS-379: WEB UI. Add liquidity. Click MAX button on 0 balance of XOR (#59) * Updated wallet version. Swap, Add Liquidity, Create Pair components: Updated Max button availability, refactored. * Refactored due to PR comments. * Swap, Add Liquidity: Fixed negative amount after max. Updated wallet version. * Create pair implementation & fix liquidity issues (#63) * Add create pair implementation & fix logic for add liquidity * PSS-297: WEB UI: Restrict Adding liquidity if balance is insufficient (#64) * Add Liquidity: Refactored Insufficient Balance. * Create Pair, Remove Liquidity: Updated Max functionality. * Add insufficient liquidity message for swap (#66) * link @soramitsu/soraneo-wallet-web 0.4.6 * return network address * use wallet routes in app.vue to correctly handle wallet icon click * set changePage method as private * removed local model for inputs: createPairModel * refactoring CreatePair methods * add input maxlength check * fix inputMaxLength method * improve formatNumberField method * refactoring inputMaxLength method * refactoring AddLiquidity view * create TokenPair mixin * wip refactoring * add maxlength to removeLiquidity view inputs * create TokenInputMixin * add input handlers on removeLiquidity view * handle swap inputs * return commented line * PSS-400: WEB UI. Minimum receive/Maximum sold token not changed (#69) * Fixed min received/max sold symbol. * Update wallet & api version (#70) * fixes after review * add store state interfaces * PSS-467: On the swap screen user should be able to select all tokens excecpt pool tokens (#71) * Update wallet & api version * Fix swap with assets created by user * Update wallet & api version * add watcher for slippageTolerance in Swap.vue * remove console lgos * use state types in store mutations & getters * apply transaction mixin changes from wallet * update @soramitsu/soraneo-wallet-web dependency * navigate to wallet connection view on wallet click (#75) * PSS-419: restrict precision in inputs (#74) * add TokenInput component * use TokenInput in Swap.vue * add ConfirmDialogMixin * prepare to refactoring modals * remove comments * remove unneccessary actions * add TODO comments * fix TokenInput handler * link js-ui-library with input fix * PSS-398: WEB UI. Multiple click on Confirm - create multiple transactions. (#76) * Fix multiple confirm for operations * Fix notifications view * Update env.json * PSS-364: reuse s-float-input component (#77) * prepare TokenInput component for export * use s-float-input instead of TokenInput * refactoring Settings component * refactoring RemoveLiquidity * Update wallet (#79) Co-authored-by: alexnatalia Co-authored-by: Aleksandr Makhnev Co-authored-by: Bulat Saifullin Co-authored-by: Alex Natalia <38787212+alexnatalia@users.noreply.github.com> Co-authored-by: Dmitriy Creed Co-authored-by: alexnatalia Co-authored-by: Nikita Polyakov Co-authored-by: Nikita-Polyakov Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> * Release 0.1.3 (#97) * Add base project files * Add About page * Add unit tests * Remove unused files * Update library version * Moved images to img folder. * Refactored some styles, added normalize css. * Fixed article card header font weight. * Fix About snapshot * Fix styles and its imports * PSS-132: Token list store * Add env.json and readme * PSS-134 DevOps: Develop CI and CD processes for Polkaswap web project (#5) * add ci cd Signed-off-by: Bulat Saifullin * fix Dockerfile Signed-off-by: Bulat Saifullin * add pull_request_template.md Signed-off-by: Bulat Saifullin * fix template Signed-off-by: Bulat Saifullin * PSS-132: Select token screen * PSS-132: Refactoring * PSS-132: Change short name to symbol * PSS-132: Add i18n to select token * PSS-132: Add unit tests * PSS-132: Remove elements from tests * Added Swap Interface draft (#4) * Swap Interface: Added screen, Unit Tests, Updated UI Lib version. * PSS-132: Create pair * PSS-132: Fixes for select token * PSS-132: Fix title style * PSS-132: UPdate snaphots * PSS-132: Fix shadow * PSS-132: Fix variable style using * Swap Interface Confirmation Screens (#8) * Added Transaction Submit dialog. * Swap Interface: Moved some variables to store for better relations between different screens and dialogs. * Confirm Swap Dialog: Fixed dialog opening, added confirmation flag to the store. * Added token default logo image, refactored translation call for liquidity. * Added SelectToken dialog on click. * PSS-126: Confirm supply modal * Confirmation screens for create pair * Design fixes * Update ui lib * PSS-126: Logo component * Update tests * Wallet integration and styles issues (#10) * Wallet integration * Fix routing issues * Update UI library version * Refactor all styles * Fix wallet connected state * Update tests * Update test * Update Dockerfile (#12) * PSS-129: Add and remove liquidity page * Design fixes * Token logo check fixes * Refactoring and fixes * Add pair token logo for add liquidity * Settings implementation (#15) * Add settings dialog * Add tests * Update tests * Fix titles for info card * Pool Interface Start Screens (#11) * Pool Interface: Added Start Screen. * Refactored components due to UI Lib updates: set size and border-radius of elements. * Created Dialog wrapper component, refactored dialogs, added fixed top position, fixed close behaviour. * Refactored components imports. * Converted logo icon to link to the home page. * Fixed error in console for Create pair component. * Added Back link behaviour for several components. * Updated unit tests. * PSS-172: Dynamic Page Title (#14) * Added dynamic page title. * PSS-128: Add confirmation screens for pool (#16) * PSS-128: Add confirmation screens for pool Co-authored-by: alexnatalia * Mocks for pool screen * Refactoring * Update tests * Add liquidity button for pairs * Design Fixes and Refactoring (#17) * Refactored TokenLogo and PairTokenLogo components, fixed some bugs, updated unit tests. Refactored components headers. * Added Popper class for info tooltips. Fixed default prop value for Object types. Updated Unit tests. * Design Issues Fix (#19) * Updated configuration variables and Exchange tabs styles. * Updated About page images and styles, Header styles and Menu colors settings. Hid unused links and buttons in header. * Updeted typography variables and Font Styles: Updated Font Size, Line Height and Font Weight Configuration. * Updated Create Pair button styles. Updated Ui Lib version. * Fixed tokens icons for Pool screen. * Updated tooltips to one consistent style. Fixed Pool screen bug. * Refactored: Created special component for Generic Header. Fixed Back icon. * Updated some fonts and Pool screen styles. * Added Empty icon for Select token popup. * Added First Liquidity Provider message to Create a Pair screen. * Hid tooltip for Slider element on Settings screen, hid tooltips for Swap Confirmation. * Updated unit tests. * PSS-205: Remove liquidity: everything should be clickable and with recalculation * Update tests * Fix set remove part to 0 * Inpur for remove part * Fixes * Price container fixes * Update tests * PS-223: Fix remove liquidity in safari * PSS-205: Design Review Issues (#21) * Fixed titles case. Updated buttons with text and icons. Updated typography styles. * Update wallet version & add blockchain integration (#23) * Update wallet version & add blockchain integration * Commented out unit tests. Co-authored-by: alexnatalia * PSS-123: Select token integration * Fix async behavior for dexApi (#25) * Fix async behavior for dexApi * Update .eslintrc.js * PSS-247: Custom Slippage Tolerance Fix (#27) * Updated STab styles. * Updated UI Lib and Wallet versions and styles according to UI Lib fixes. * PSS-129: Add liquiditiy integration * PSS-74 Swap Interface Integration (#26) * Hid swap info for not connected wallet. * Updated SelectToken search by name, added check for translation existance. * Added Swap Integration. * Refactored formatNumber calls. * Hid swap info under buttons for zero amount. * Fixed Header Menu colors. * Fixed swap from Wallet assets. * Updated tooltips. * Updated About page text and Main menu links order. * Fixed Card title color for About page. * Updated Default token setting. * Updated Wallet version. * Hid Transaction Deadline area for Settings. * Removed unneeded tooltip from Settings dialog. * Added validation for Settings. * Added validation for Insufficient Amount error from server. * Added loading while not conencted, changed store to not strict mode, updated tokens setting in store. * Fixed focused behaviour for Swap input fields. * Fix wallet connection & select token behavior * Fixed Min Received format. Co-authored-by: Stefan Popov * Swap result calculation for non connected mode (#28) * Fixed Swap result calculation for non connected mode. * Fixed About page text and styles. * Fix i18n (#30) * Updated Swap input width and Max swap behaviour. Updated Swap Info styles. (#29) * PSS-271: Medium and GitHub links (#31) * Added Github and Medium links for About page. * Upated the Wallet version. * Fixed wallet button color on hover. * Calculate total suply * PSS-216: Design Issues Fixing (#32) * Updated content primary color. * Fixed Price and Token areas horizontal alignment. * Updated tooltips. * Updated Generic Header tooltip. * Updated Token item height for Select Token dialog. * Added Token icons. * Updated token icons names. * PSS-129: Create pair integration * Remove mocks * Refactoring * Add network fee calculation * Fixes * PSS-281: Recalculate Input Values On Select Token (#33) * Added util method to check isNumber value. Removed Max button from token To area. * Added Max sold for reversed swap. * Updated Swap Integration. * Updated UI Lib version. * Added recalc on Select Token. * Fixed Swap for Polkadot.js * Updated isExchangeB param in methods. * Hid Node Address area for Settings popup. * Added Network Fee field to Swap component. * Updated Custom slippage tolerance for Settings. * Fixed paste string value to Swap fields. * Updated Network Fee calls, updated Wallet version, fixed swap tokens balance. * Added isExchangeB parameter to swap call. * Refactoring * fix total supply * PSS-129: Share of pool * Remove share of pool mock * Fix get asset symbol * Hide add liquidity Fix slippage tolerance for add liquidity Fix share of pool Fix unsupprted assets error message * Disable max button for add liquidity Reset values after change tokens * Fixes * Updated Tokens Icons, added PAL icon. (#35) * Wallet connection issues (#38) * Fix wallet connection issues * Fix styles * Update wallet version * Update favicon.ico * PSS-297: check fee on max amount * PSS-295: Added Insufficient Balance Checking (#37) * Added Insufficient balance checking. * Updated FPNumber parameters. * Removed formatNumber usage from Swap screens. * Fixed focus and placeholders values for Swap. * Updated some styles for huge number values. * Refactored due to PR comments. * Result Dialog Styles Fix (#41) * Fixed Result Dialog button styles. * Renamed USD icon. * Update library * Fix swap, liquidity behavior * Update index.ts * TODO: Revert this commit after PSS-309 * Updated wallet version. Co-authored-by: Stefan Popov * PSS-273: WEB UI: Connect Wallet - Close button leads always on Exchange page, not to the previous page (#42) * Fix routing issue * Update wallet version * PSS-295: Confirm Swap Insufficient Balance Checking (#43) * Fixed console error on tokens switch. * Added Is Insufficient Balance checking for Confirm Swap dialog. * Updated Confirm Swap styles. * Updated Swap info after Swap, added max button to init screen. (#44) * Update ui library version (#46) * Update ui library version * Update wallet * BP-312: Fixes for pool * Fix icons position (#47) * Fix icons position * Fix logo * PSS-287: Swap Amount Fields Formatting (#45) * Added Swap fields formatter. * Fixed Slippage Tolerance editing and Swap fields formatting. * Updated wallet version. * Change toString to toFixed * Change formatNumber to toFixed * Fix remove liquidity price * Move back toFixed to toString * Fixed estimated label existence for zero values (#50) * Refactored, added some comments, fixed estimated label existence for zero values. * Modify env config file (#49) Co-authored-by: Bulat Saifullin * Add custom notifications & notification tracking service (#51) * Add custom notifications & notification tracking service * Update notifications & strings according to latest changes * Update api * Update soramitsu-variables.scss * PSS-335: Designer Feedback Fixes FE (#53) * Fixed functionality and layout bugs. * Added draft component to fix layout behaviour. * Fixed Settings behaviour. * Swap: removed Result dialog, edited Network Fee tooltip. * Fixed translation bugs. * Account info implementation & fix loading state (#54) * Add account info * Fix styles * Hide test assets (#55) * Update connection * Remove usdt mock * Add liquidity issues & update notifications (#56) * Add missing notifications * Update RemoveLiquidity * Fix add liquidity screen * Add async loading of liquidity * Fix pool issues * Updated not connected pool interface message. (#60) * PSS-300: Swap confirmation dialog message update (#61) * Updated Swap confirmation dialog message. * Confirm Swap Dialog: Updated message for max sold behaviour. * Swap screen: Fixed Min Received/Max Sold area asset symbol. (#62) * PSS-379: WEB UI. Add liquidity. Click MAX button on 0 balance of XOR (#59) * Updated wallet version. Swap, Add Liquidity, Create Pair components: Updated Max button availability, refactored. * Refactored due to PR comments. * Swap, Add Liquidity: Fixed negative amount after max. Updated wallet version. * Create pair implementation & fix liquidity issues (#63) * Add create pair implementation & fix logic for add liquidity * PSS-297: WEB UI: Restrict Adding liquidity if balance is insufficient (#64) * Add Liquidity: Refactored Insufficient Balance. * Create Pair, Remove Liquidity: Updated Max functionality. * Add insufficient liquidity message for swap (#66) * link @soramitsu/soraneo-wallet-web 0.4.6 * return network address * use wallet routes in app.vue to correctly handle wallet icon click * set changePage method as private * removed local model for inputs: createPairModel * refactoring CreatePair methods * add input maxlength check * fix inputMaxLength method * improve formatNumberField method * refactoring inputMaxLength method * refactoring AddLiquidity view * create TokenPair mixin * wip refactoring * add maxlength to removeLiquidity view inputs * create TokenInputMixin * add input handlers on removeLiquidity view * handle swap inputs * return commented line * PSS-400: WEB UI. Minimum receive/Maximum sold token not changed (#69) * Fixed min received/max sold symbol. * Update wallet & api version (#70) * fixes after review * add store state interfaces * PSS-467: On the swap screen user should be able to select all tokens excecpt pool tokens (#71) * Update wallet & api version * Fix swap with assets created by user * Update wallet & api version * add watcher for slippageTolerance in Swap.vue * remove console lgos * use state types in store mutations & getters * apply transaction mixin changes from wallet * update @soramitsu/soraneo-wallet-web dependency * navigate to wallet connection view on wallet click (#75) * PSS-419: restrict precision in inputs (#74) * add TokenInput component * use TokenInput in Swap.vue * add ConfirmDialogMixin * prepare to refactoring modals * remove comments * remove unneccessary actions * add TODO comments * fix TokenInput handler * link js-ui-library with input fix * PSS-398: WEB UI. Multiple click on Confirm - create multiple transactions. (#76) * Fix multiple confirm for operations * Fix notifications view * Update env.json * PSS-364: reuse s-float-input component (#77) * prepare TokenInput component for export * use s-float-input instead of TokenInput * refactoring Settings component * refactoring RemoveLiquidity * Update wallet (#79) * SFloatInput Fixes (#82) * Reseted values and tokens for Add Liquidity and Create Pair components, added placeholders for all SFloatInput elements. * PSS-378: WEB UI. Remove liquidity. Troubles with entering of amount manually (#83) * Reseted values and tokens for Add Liquidity and Create Pair components, added placeholders for all SFloatInput elements. * Remove liquidity: fixed fields editing and insufficient balance calculation. * Remove Liquidity: Fixed editing behaviour. * Updated due to PR comments. * PSS-486: reset vuex values after transaction (#81) * PSS-351: Show balance in select token dialog (#84) * wip assetList * fixes in swap * fix types * remove unused imports * Refactoring Modals: add ConfirmTokenPairDialog component (#78) * add ConfirmTokenPairDialog component * add modal props fix and throw error on create pair failure * fix openSelectTokenDialog method in Swap.vue(#86) * PSS-350: Add clear button to select token search input (#85) * add clear button * refactoring mixin * remove global style in SelectToken * use global style for input button * Update wallet (#87) * Update wallet * Change s-form-item to div in SelectToken dialog (#88) * remove s-form-item * change wrapper classname * Refactoring swap view (#89) * wip * remove formModel * add reset fields method * wip swap values * refactoring minMaxRecieved calls * wip refactoring * use exchangeB as source of truth * use isExchangeB instead of activeField * disable switch during values calculation * recounting check * use promise all for parallel calculation * update ui library * discarding env.json * fixes after revie * Hide balance in SelectToken dialog, if wallet not connected (#91) * Add license (#92) * PSS-248 Web UI: Settings - Problems with input in Custom field (#90) * allow type any value * fix error * add local model * PSS-418: Precision management (#93) * Create NumberFormatterMixin.ts * Improve precision management for pool * Improve precision management for swap operation * Improve precision management for select token dialog * Update AddLiquidity.vue * Improve precision management for remove liquidity operation * Update todo sections * Fix issues * Update wallet & api versions * Add balance updates * Add zero string const * update wallet (#94) * PSS-351 Select Token fixes (#95) * select-token fixes * show 0 balance as - Co-authored-by: alexnatalia Co-authored-by: Aleksandr Makhnev Co-authored-by: Bulat Saifullin Co-authored-by: Alex Natalia <38787212+alexnatalia@users.noreply.github.com> Co-authored-by: Dmitriy Creed Co-authored-by: alexnatalia Co-authored-by: Nikita Polyakov Co-authored-by: Nikita-Polyakov Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> * Release 0.1.3 (#100) * PSS-516: WEB UI. Can go to remove liquidity page without liquidity on account (#96) * Added Page Not Found Draft. * Fixed Add and Remove Liquidity router bags, hid some screens for unauthorized access. Added redirect to exchange for Page Not Found error. * Disabled selects for existed liquidity addition. * Update Swap.vue (#99) * Release 0.1.4 (#126) * Add base project files * Add About page * Add unit tests * Remove unused files * Update library version * Moved images to img folder. * Refactored some styles, added normalize css. * Fixed article card header font weight. * Fix About snapshot * Fix styles and its imports * PSS-132: Token list store * Add env.json and readme * PSS-134 DevOps: Develop CI and CD processes for Polkaswap web project (#5) * add ci cd Signed-off-by: Bulat Saifullin * fix Dockerfile Signed-off-by: Bulat Saifullin * add pull_request_template.md Signed-off-by: Bulat Saifullin * fix template Signed-off-by: Bulat Saifullin * PSS-132: Select token screen * PSS-132: Refactoring * PSS-132: Change short name to symbol * PSS-132: Add i18n to select token * PSS-132: Add unit tests * PSS-132: Remove elements from tests * Added Swap Interface draft (#4) * Swap Interface: Added screen, Unit Tests, Updated UI Lib version. * PSS-132: Create pair * PSS-132: Fixes for select token * PSS-132: Fix title style * PSS-132: UPdate snaphots * PSS-132: Fix shadow * PSS-132: Fix variable style using * Swap Interface Confirmation Screens (#8) * Added Transaction Submit dialog. * Swap Interface: Moved some variables to store for better relations between different screens and dialogs. * Confirm Swap Dialog: Fixed dialog opening, added confirmation flag to the store. * Added token default logo image, refactored translation call for liquidity. * Added SelectToken dialog on click. * PSS-126: Confirm supply modal * Confirmation screens for create pair * Design fixes * Update ui lib * PSS-126: Logo component * Update tests * Wallet integration and styles issues (#10) * Wallet integration * Fix routing issues * Update UI library version * Refactor all styles * Fix wallet connected state * Update tests * Update test * Update Dockerfile (#12) * PSS-129: Add and remove liquidity page * Design fixes * Token logo check fixes * Refactoring and fixes * Add pair token logo for add liquidity * Settings implementation (#15) * Add settings dialog * Add tests * Update tests * Fix titles for info card * Pool Interface Start Screens (#11) * Pool Interface: Added Start Screen. * Refactored components due to UI Lib updates: set size and border-radius of elements. * Created Dialog wrapper component, refactored dialogs, added fixed top position, fixed close behaviour. * Refactored components imports. * Converted logo icon to link to the home page. * Fixed error in console for Create pair component. * Added Back link behaviour for several components. * Updated unit tests. * PSS-172: Dynamic Page Title (#14) * Added dynamic page title. * PSS-128: Add confirmation screens for pool (#16) * PSS-128: Add confirmation screens for pool Co-authored-by: alexnatalia * Mocks for pool screen * Refactoring * Update tests * Add liquidity button for pairs * Design Fixes and Refactoring (#17) * Refactored TokenLogo and PairTokenLogo components, fixed some bugs, updated unit tests. Refactored components headers. * Added Popper class for info tooltips. Fixed default prop value for Object types. Updated Unit tests. * Design Issues Fix (#19) * Updated configuration variables and Exchange tabs styles. * Updated About page images and styles, Header styles and Menu colors settings. Hid unused links and buttons in header. * Updeted typography variables and Font Styles: Updated Font Size, Line Height and Font Weight Configuration. * Updated Create Pair button styles. Updated Ui Lib version. * Fixed tokens icons for Pool screen. * Updated tooltips to one consistent style. Fixed Pool screen bug. * Refactored: Created special component for Generic Header. Fixed Back icon. * Updated some fonts and Pool screen styles. * Added Empty icon for Select token popup. * Added First Liquidity Provider message to Create a Pair screen. * Hid tooltip for Slider element on Settings screen, hid tooltips for Swap Confirmation. * Updated unit tests. * PSS-205: Remove liquidity: everything should be clickable and with recalculation * Update tests * Fix set remove part to 0 * Inpur for remove part * Fixes * Price container fixes * Update tests * PS-223: Fix remove liquidity in safari * PSS-205: Design Review Issues (#21) * Fixed titles case. Updated buttons with text and icons. Updated typography styles. * Update wallet version & add blockchain integration (#23) * Update wallet version & add blockchain integration * Commented out unit tests. Co-authored-by: alexnatalia * PSS-123: Select token integration * Fix async behavior for dexApi (#25) * Fix async behavior for dexApi * Update .eslintrc.js * PSS-247: Custom Slippage Tolerance Fix (#27) * Updated STab styles. * Updated UI Lib and Wallet versions and styles according to UI Lib fixes. * PSS-129: Add liquiditiy integration * PSS-74 Swap Interface Integration (#26) * Hid swap info for not connected wallet. * Updated SelectToken search by name, added check for translation existance. * Added Swap Integration. * Refactored formatNumber calls. * Hid swap info under buttons for zero amount. * Fixed Header Menu colors. * Fixed swap from Wallet assets. * Updated tooltips. * Updated About page text and Main menu links order. * Fixed Card title color for About page. * Updated Default token setting. * Updated Wallet version. * Hid Transaction Deadline area for Settings. * Removed unneeded tooltip from Settings dialog. * Added validation for Settings. * Added validation for Insufficient Amount error from server. * Added loading while not conencted, changed store to not strict mode, updated tokens setting in store. * Fixed focused behaviour for Swap input fields. * Fix wallet connection & select token behavior * Fixed Min Received format. Co-authored-by: Stefan Popov * Swap result calculation for non connected mode (#28) * Fixed Swap result calculation for non connected mode. * Fixed About page text and styles. * Fix i18n (#30) * Updated Swap input width and Max swap behaviour. Updated Swap Info styles. (#29) * PSS-271: Medium and GitHub links (#31) * Added Github and Medium links for About page. * Upated the Wallet version. * Fixed wallet button color on hover. * Calculate total suply * PSS-216: Design Issues Fixing (#32) * Updated content primary color. * Fixed Price and Token areas horizontal alignment. * Updated tooltips. * Updated Generic Header tooltip. * Updated Token item height for Select Token dialog. * Added Token icons. * Updated token icons names. * PSS-129: Create pair integration * Remove mocks * Refactoring * Add network fee calculation * Fixes * PSS-281: Recalculate Input Values On Select Token (#33) * Added util method to check isNumber value. Removed Max button from token To area. * Added Max sold for reversed swap. * Updated Swap Integration. * Updated UI Lib version. * Added recalc on Select Token. * Fixed Swap for Polkadot.js * Updated isExchangeB param in methods. * Hid Node Address area for Settings popup. * Added Network Fee field to Swap component. * Updated Custom slippage tolerance for Settings. * Fixed paste string value to Swap fields. * Updated Network Fee calls, updated Wallet version, fixed swap tokens balance. * Added isExchangeB parameter to swap call. * Refactoring * fix total supply * PSS-129: Share of pool * Remove share of pool mock * Fix get asset symbol * Hide add liquidity Fix slippage tolerance for add liquidity Fix share of pool Fix unsupprted assets error message * Disable max button for add liquidity Reset values after change tokens * Fixes * Updated Tokens Icons, added PAL icon. (#35) * Wallet connection issues (#38) * Fix wallet connection issues * Fix styles * Update wallet version * Update favicon.ico * PSS-297: check fee on max amount * PSS-295: Added Insufficient Balance Checking (#37) * Added Insufficient balance checking. * Updated FPNumber parameters. * Removed formatNumber usage from Swap screens. * Fixed focus and placeholders values for Swap. * Updated some styles for huge number values. * Refactored due to PR comments. * Result Dialog Styles Fix (#41) * Fixed Result Dialog button styles. * Renamed USD icon. * Update library * Fix swap, liquidity behavior * Update index.ts * TODO: Revert this commit after PSS-309 * Updated wallet version. Co-authored-by: Stefan Popov * PSS-273: WEB UI: Connect Wallet - Close button leads always on Exchange page, not to the previous page (#42) * Fix routing issue * Update wallet version * PSS-295: Confirm Swap Insufficient Balance Checking (#43) * Fixed console error on tokens switch. * Added Is Insufficient Balance checking for Confirm Swap dialog. * Updated Confirm Swap styles. * Updated Swap info after Swap, added max button to init screen. (#44) * Update ui library version (#46) * Update ui library version * Update wallet * BP-312: Fixes for pool * Fix icons position (#47) * Fix icons position * Fix logo * PSS-287: Swap Amount Fields Formatting (#45) * Added Swap fields formatter. * Fixed Slippage Tolerance editing and Swap fields formatting. * Updated wallet version. * Change toString to toFixed * Change formatNumber to toFixed * Fix remove liquidity price * Move back toFixed to toString * Fixed estimated label existence for zero values (#50) * Refactored, added some comments, fixed estimated label existence for zero values. * Modify env config file (#49) Co-authored-by: Bulat Saifullin * Add custom notifications & notification tracking service (#51) * Add custom notifications & notification tracking service * Update notifications & strings according to latest changes * Update api * Update soramitsu-variables.scss * PSS-335: Designer Feedback Fixes FE (#53) * Fixed functionality and layout bugs. * Added draft component to fix layout behaviour. * Fixed Settings behaviour. * Swap: removed Result dialog, edited Network Fee tooltip. * Fixed translation bugs. * Account info implementation & fix loading state (#54) * Add account info * Fix styles * Hide test assets (#55) * Update connection * Remove usdt mock * Add liquidity issues & update notifications (#56) * Add missing notifications * Update RemoveLiquidity * Fix add liquidity screen * Add async loading of liquidity * Fix pool issues * Updated not connected pool interface message. (#60) * PSS-300: Swap confirmation dialog message update (#61) * Updated Swap confirmation dialog message. * Confirm Swap Dialog: Updated message for max sold behaviour. * Swap screen: Fixed Min Received/Max Sold area asset symbol. (#62) * PSS-379: WEB UI. Add liquidity. Click MAX button on 0 balance of XOR (#59) * Updated wallet version. Swap, Add Liquidity, Create Pair components: Updated Max button availability, refactored. * Refactored due to PR comments. * Swap, Add Liquidity: Fixed negative amount after max. Updated wallet version. * Create pair implementation & fix liquidity issues (#63) * Add create pair implementation & fix logic for add liquidity * PSS-297: WEB UI: Restrict Adding liquidity if balance is insufficient (#64) * Add Liquidity: Refactored Insufficient Balance. * Create Pair, Remove Liquidity: Updated Max functionality. * Add insufficient liquidity message for swap (#66) * link @soramitsu/soraneo-wallet-web 0.4.6 * return network address * use wallet routes in app.vue to correctly handle wallet icon click * set changePage method as private * removed local model for inputs: createPairModel * refactoring CreatePair methods * add input maxlength check * fix inputMaxLength method * improve formatNumberField method * refactoring inputMaxLength method * refactoring AddLiquidity view * create TokenPair mixin * wip refactoring * add maxlength to removeLiquidity view inputs * create TokenInputMixin * add input handlers on removeLiquidity view * handle swap inputs * return commented line * PSS-400: WEB UI. Minimum receive/Maximum sold token not changed (#69) * Fixed min received/max sold symbol. * Update wallet & api version (#70) * fixes after review * add store state interfaces * PSS-467: On the swap screen user should be able to select all tokens excecpt pool tokens (#71) * Update wallet & api version * Fix swap with assets created by user * Update wallet & api version * add watcher for slippageTolerance in Swap.vue * remove console lgos * use state types in store mutations & getters * apply transaction mixin changes from wallet * update @soramitsu/soraneo-wallet-web dependency * navigate to wallet connection view on wallet click (#75) * PSS-419: restrict precision in inputs (#74) * add TokenInput component * use TokenInput in Swap.vue * add ConfirmDialogMixin * prepare to refactoring modals * remove comments * remove unneccessary actions * add TODO comments * fix TokenInput handler * link js-ui-library with input fix * PSS-398: WEB UI. Multiple click on Confirm - create multiple transactions. (#76) * Fix multiple confirm for operations * Fix notifications view * Update env.json * PSS-364: reuse s-float-input component (#77) * prepare TokenInput component for export * use s-float-input instead of TokenInput * refactoring Settings component * refactoring RemoveLiquidity * Update wallet (#79) * SFloatInput Fixes (#82) * Reseted values and tokens for Add Liquidity and Create Pair components, added placeholders for all SFloatInput elements. * PSS-378: WEB UI. Remove liquidity. Troubles with entering of amount manually (#83) * Reseted values and tokens for Add Liquidity and Create Pair components, added placeholders for all SFloatInput elements. * Remove liquidity: fixed fields editing and insufficient balance calculation. * Remove Liquidity: Fixed editing behaviour. * Updated due to PR comments. * PSS-486: reset vuex values after transaction (#81) * PSS-351: Show balance in select token dialog (#84) * wip assetList * fixes in swap * fix types * remove unused imports * Refactoring Modals: add ConfirmTokenPairDialog component (#78) * add ConfirmTokenPairDialog component * add modal props fix and throw error on create pair failure * fix openSelectTokenDialog method in Swap.vue(#86) * PSS-350: Add clear button to select token search input (#85) * add clear button * refactoring mixin * remove global style in SelectToken * use global style for input button * Update wallet (#87) * Update wallet * Change s-form-item to div in SelectToken dialog (#88) * remove s-form-item * change wrapper classname * Refactoring swap view (#89) * wip * remove formModel * add reset fields method * wip swap values * refactoring minMaxRecieved calls * wip refactoring * use exchangeB as source of truth * use isExchangeB instead of activeField * disable switch during values calculation * recounting check * use promise all for parallel calculation * update ui library * discarding env.json * fixes after revie * Hide balance in SelectToken dialog, if wallet not connected (#91) * Add license (#92) * PSS-248 Web UI: Settings - Problems with input in Custom field (#90) * allow type any value * fix error * add local model * PSS-418: Precision management (#93) * Create NumberFormatterMixin.ts * Improve precision management for pool * Improve precision management for swap operation * Improve precision management for select token dialog * Update AddLiquidity.vue * Improve precision management for remove liquidity operation * Update todo sections * Fix issues * Update wallet & api versions * Add balance updates * Add zero string const * update wallet (#94) * PSS-351 Select Token fixes (#95) * select-token fixes * show 0 balance as - * PSS-516: WEB UI. Can go to remove liquidity page without liquidity on account (#96) * Added Page Not Found Draft. * Fixed Add and Remove Liquidity router bags, hid some screens for unauthorized access. Added redirect to exchange for Page Not Found error. * Disabled selects for existed liquidity addition. * Update Swap.vue (#99) * Add namespace & types for swap (#101) * Fix price and swap info (#104) * Fix price calculations * Update SwapInfo.vue * Update wallet & api (#105) * Fix swap links (#106) * Fix swap links * Update wallet * Update api (#111) * up wallet version (#112) * Updated wallet version to 0.6.3 (#113) * Updated wallet version to 0.6.4. (#114) * Polkaswap layout redesign (#98) (#102) * Polkaswap layout redesign (#98) * pss-498 header redesign * wip pss-496 * style fixes * add HelpDialog component * reexport package.json * exchange routing fix * add Rewards stub with coming soon text * refactoring SidebarItemContent * refactoring styles * add FAUCET_URL to env.json * fixes after review * fix sidebar item hover css * fix disabled item css * Move bridge functionality (#103) * pss-498 header redesign * wip pss-496 * style fixes * add HelpDialog component * reexport package.json * exchange routing fix * add Rewards stub with coming soon text * refactoring SidebarItemContent * refactoring styles * add FAUCET_URL to env.json * fixes after review * Move bridge functionality Co-authored-by: Nikita-Polyakov * Update wallet & api * PSS-524: Bridge (#107) * pss-498 header redesign * wip pss-496 * style fixes * add HelpDialog component * reexport package.json * exchange routing fix * add Rewards stub with coming soon text * refactoring SidebarItemContent * refactoring styles * add FAUCET_URL to env.json * fixes after review * Move bridge functionality * Bridge: Updated unauthorized routes. * Updated Generic Page Header, updated Bridge screens. * Fixed token icons. * Bridge: Updated styles. * Updated tooltips. * Removed unused token images. * Refactored due to PR comments. Co-authored-by: Nikita-Polyakov Co-authored-by: Stefan Popov * Fix/pss 539 metamsk lock issue (#108) * improve subscribers * add check account is connected * Fix/balance flickering (#109) * wip update balance flow * refactoring views and store modules * remove unused code * fixes after review * Update yarn.lock * Updated wallet version. * Updated wallet version to 0.6.4. * Updated wallet version to 0.6.5. * PSS-540: Add Pending Transactions to Bridge History (#115) * pss-498 header redesign * wip pss-496 * style fixes * add HelpDialog component * reexport package.json * exchange routing fix * add Rewards stub with coming soon text * refactoring SidebarItemContent * refactoring styles * add FAUCET_URL to env.json * fixes after review * Move bridge functionality * Bridge: Updated unauthorized routes. * Updated Generic Page Header, updated Bridge screens. * Fixed token icons. * Bridge: Updated styles. * Updated tooltips. * Removed btc icon. * Updated due to PR comments. * Updated due to PR comments. * Reverted formatAddress changes. * Added pending state. * Updated wallet version. * Fix bridge functionality Co-authored-by: Nikita-Polyakov Co-authored-by: Stefan Popov Co-authored-by: Alex Natalia * Select dialog updates (#118) * Modify select dialog * Remove all symbol dependencies * PSS-502: Swap And Pool Redesign (#117) * Separated Swap and Pool. * Changed assets filter from symbol to address. * Updated wallet version to 0.7.1. * Fixed assets addresses behaviour for bridge. * Reverted previous version of the wallet, fixed some places due to PR comments. Co-authored-by: Alex Natalia * Update styles and icons (#119) * Fix styles and icons * Update BrandedTooltip.vue * Update wallet & ui library versions * Update LICENSE * Update package.json * Fix issues Co-authored-by: Stefan Popov Co-authored-by: Alex Natalia <38787212+alexnatalia@users.noreply.github.com> Co-authored-by: Alex Natalia * Redesign Updates (#120) * Refactored buttons styles, changed some translation to common one. * Updated tooltips, screens info area. * Updated info blocks. * Updated info blocks in confirmation and pool screens. * Combined input area styles. * Update About.vue * GenericPageHeader: Changed default prop of tooltip placement. Signed-off-by: alexnatalia Co-authored-by: Stefan Popov * update wallet to 0.7.4 (#121) * remove getAssets from select-token dialog (#123) * PSS-573 WEB UI. MAX button for bridge work incorrect. (#124) * fix calc max value * remove console.log * update wallet 0.7.7 & hide farming in menu * refactoring (#122) * Fix issues (#125) * Remove default values from props * Fix issues Co-authored-by: alexnatalia Co-authored-by: Aleksandr Makhnev Co-authored-by: Bulat Saifullin Co-authored-by: Alex Natalia <38787212+alexnatalia@users.noreply.github.com> Co-authored-by: Dmitriy Creed Co-authored-by: alexnatalia Co-authored-by: Nikita Polyakov Co-authored-by: Nikita-Polyakov Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> Co-authored-by: Alex Natalia * Release 0.1.5 (#158) * Release 0.1.5 (#161) * Release 0.1.6 (#170) * Release 0.1.6 (#174) * Release 0.1.7 (#190) * Release 0.1.8 (#200) * Release 0.1.9 (#206) * Release 1.0.0 (#208) * Update styles * Update wallet * Fix wait message for bridge eth->sora flow * Fix page amount for bridge * Fix bridge icons * Fix swap checks for XOR output without XOR or with XOR balance < network fee * Release 1.0.0 (#212) * Release 1.0.0 (#215) * Release 1.0.0 (#219) * Release 1.0.1 (#226) * Release 1.0.2 (#234) * Release 1.1.0 (#244) * PSS-281: Recalculate Input Values On Select Token (#33) * Added util method to check isNumber value. Removed Max button from token To area. * Added Max sold for reversed swap. * Updated Swap Integration. * Updated UI Lib version. * Added recalc on Select Token. * Fixed Swap for Polkadot.js * Updated isExchangeB param in methods. * Hid Node Address area for Settings popup. * Added Network Fee field to Swap component. * Updated Custom slippage tolerance for Settings. * Fixed paste string value to Swap fields. * Updated Network Fee calls, updated Wallet version, fixed swap tokens balance. * Added isExchangeB parameter to swap call. * Refactoring * fix total supply * PSS-129: Share of pool * Remove share of pool mock * Fix get asset symbol * Hide add liquidity Fix slippage tolerance for add liquidity Fix share of pool Fix unsupprted assets error message * Disable max button for add liquidity Reset values after change tokens * Fixes * Updated Tokens Icons, added PAL icon. (#35) * Wallet connection issues (#38) * Fix wallet connection issues * Fix styles * Update wallet version * Update favicon.ico * PSS-297: check fee on max amount * PSS-295: Added Insufficient Balance Checking (#37) * Added Insufficient balance checking. * Updated FPNumber parameters. * Removed formatNumber usage from Swap screens. * Fixed focus and placeholders values for Swap. * Updated some styles for huge number values. * Refactored due to PR comments. * Result Dialog Styles Fix (#41) * Fixed Result Dialog button styles. * Renamed USD icon. * Update library * Fix swap, liquidity behavior * Update index.ts * TODO: Revert this commit after PSS-309 * Updated wallet version. Co-authored-by: Stefan Popov * PSS-273: WEB UI: Connect Wallet - Close button leads always on Exchange page, not to the previous page (#42) * Fix routing issue * Update wallet version * PSS-295: Confirm Swap Insufficient Balance Checking (#43) * Fixed console error on tokens switch. * Added Is Insufficient Balance checking for Confirm Swap dialog. * Updated Confirm Swap styles. * Updated Swap info after Swap, added max button to init screen. (#44) * Update ui library version (#46) * Update ui library version * Update wallet * BP-312: Fixes for pool * Fix icons position (#47) * Fix icons position * Fix logo * PSS-287: Swap Amount Fields Formatting (#45) * Added Swap fields formatter. * Fixed Slippage Tolerance editing and Swap fields formatting. * Updated wallet version. * Change toString to toFixed * Change formatNumber to toFixed * Fix remove liquidity price * Move back toFixed to toString * Fixed estimated label existence for zero values (#50) * Refactored, added some comments, fixed estimated label existence for zero values. * Modify env config file (#49) Co-authored-by: Bulat Saifullin * Add custom notifications & notification tracking service (#51) * Add custom notifications & notification tracking service * Update notifications & strings according to latest changes * Update api * Update soramitsu-variables.scss * PSS-335: Designer Feedback Fixes FE (#53) * Fixed functionality and layout bugs. * Added draft component to fix layout behaviour. * Fixed Settings behaviour. * Swap: removed Result dialog, edited Network Fee tooltip. * Fixed translation bugs. * Account info implementation & fix loading state (#54) * Add account info * Fix styles * Hide test assets (#55) * Update connection * Remove usdt mock * Add liquidity issues & update notifications (#56) * Add missing notifications * Update RemoveLiquidity * Fix add liquidity screen * Add async loading of liquidity * Fix pool issues * Updated not connected pool interface message. (#60) * PSS-300: Swap confirmation dialog message update (#61) * Updated Swap confirmation dialog message. * Confirm Swap Dialog: Updated message for max sold behaviour. * Swap screen: Fixed Min Received/Max Sold area asset symbol. (#62) * PSS-379: WEB UI. Add liquidity. Click MAX button on 0 balance of XOR (#59) * Updated wallet version. Swap, Add Liquidity, Create Pair components: Updated Max button availability, refactored. * Refactored due to PR comments. * Swap, Add Liquidity: Fixed negative amount after max. Updated wallet version. * Create pair implementation & fix liquidity issues (#63) * Add create pair implementation & fix logic for add liquidity * PSS-297: WEB UI: Restrict Adding liquidity if balance is insufficient (#64) * Add Liquidity: Refactored Insufficient Balance. * Create Pair, Remove Liquidity: Updated Max functionality. * Add insufficient liquidity message for swap (#66) * link @soramitsu/soraneo-wallet-web 0.4.6 * return network address * use wallet routes in app.vue to correctly handle wallet icon click * set changePage method as private * removed local model for inputs: createPairModel * refactoring CreatePair methods * add input maxlength check * fix inputMaxLength method * improve formatNumberField method * refactoring inputMaxLength method * refactoring AddLiquidity view * create TokenPair mixin * wip refactoring * add maxlength to removeLiquidity view inputs * create TokenInputMixin * add input handlers on removeLiquidity view * handle swap inputs * return commented line * PSS-400: WEB UI. Minimum receive/Maximum sold token not changed (#69) * Fixed min received/max sold symbol. * Update wallet & api version (#70) * fixes after review * add store state interfaces * PSS-467: On the swap screen user should be able to select all tokens excecpt pool tokens (#71) * Update wallet & api version * Fix swap with assets created by user * Update wallet & api version * add watcher for slippageTolerance in Swap.vue * remove console lgos * use state types in store mutations & getters * apply transaction mixin changes from wallet * update @soramitsu/soraneo-wallet-web dependency * navigate to wallet connection view on wallet click (#75) * PSS-419: restrict precision in inputs (#74) * add TokenInput component * use TokenInput in Swap.vue * add ConfirmDialogMixin * prepare to refactoring modals * remove comments * remove unneccessary actions * add TODO comments * fix TokenInput handler * link js-ui-library with input fix * PSS-398: WEB UI. Multiple click on Confirm - create multiple transactions. (#76) * Fix multiple confirm for operations * Fix notifications view * Update env.json * PSS-364: reuse s-float-input component (#77) * prepare TokenInput component for export * use s-float-input instead of TokenInput * refactoring Settings component * refactoring RemoveLiquidity * Update wallet (#79) * SFloatInput Fixes (#82) * Reseted values and tokens for Add Liquidity and Create Pair components, added placeholders for all SFloatInput elements. * PSS-378: WEB UI. Remove liquidity. Troubles with entering of amount manually (#83) * Reseted values and tokens for Add Liquidity and Create Pair components, added placeholders for all SFloatInput elements. * Remove liquidity: fixed fields editing and insufficient balance calculation. * Remove Liquidity: Fixed editing behaviour. * Updated due to PR comments. * PSS-486: reset vuex values after transaction (#81) * PSS-351: Show balance in select token dialog (#84) * wip assetList * fixes in swap * fix types * remove unused imports * Refactoring Modals: add ConfirmTokenPairDialog component (#78) * add ConfirmTokenPairDialog component * add modal props fix and throw error on create pair failure * fix openSelectTokenDialog method in Swap.vue(#86) * PSS-350: Add clear button to select token search input (#85) * add clear button * refactoring mixin * remove global style in SelectToken * use global style for input button * Update wallet (#87) * Update wallet * Change s-form-item to div in SelectToken dialog (#88) * remove s-form-item * change wrapper classname * Refactoring swap view (#89) * wip * remove formModel * add reset fields method * wip swap values * refactoring minMaxRecieved calls * wip refactoring * use exchangeB as source of truth * use isExchangeB instead of activeField * disable switch during values calculation * recounting check * use promise all for parallel calculation * update ui library * discarding env.json * fixes after revie * Hide balance in SelectToken dialog, if wallet not connected (#91) * Add license (#92) * PSS-248 Web UI: Settings - Problems with input in Custom field (#90) * allow type any value * fix error * add local model * PSS-418: Precision management (#93) * Create NumberFormatterMixin.ts * Improve precision management for pool * Improve precision management for swap operation * Improve precision management for select token dialog * Update AddLiquidity.vue * Improve precision management for remove liquidity operation * Update todo sections * Fix issues * Update wallet & api versions * Add balance updates * Add zero string const * update wallet (#94) * PSS-351 Select Token fixes (#95) * select-token fixes * show 0 balance as - * PSS-516: WEB UI. Can go to remove liquidity page without liquidity on account (#96) * Added Page Not Found Draft. * Fixed Add and Remove Liquidity router bags, hid some screens for unauthorized access. Added redirect to exchange for Page Not Found error. * Disabled selects for existed liquidity addition. * Update Swap.vue (#99) * Add namespace & types for swap (#101) * Fix price and swap info (#104) * Fix price calculations * Update SwapInfo.vue * Update wallet & api (#105) * Fix swap links (#106) * Fix swap links * Update wallet * Update api (#111) * up wallet version (#112) * Updated wallet version to 0.6.3 (#113) * Updated wallet version to 0.6.4. (#114) * Polkaswap layout redesign (#98) (#102) * Polkaswap layout redesign (#98) * pss-498 header… * Ceres fiat option (#1212) * prepare code * update wallet to 1.25.0 * update types * Update Jenkinsfile * Update Jenkinsfile * Fix circulating supply for VAL & PSWAP on prod env (#1215) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * [WIP] WalletConnect support (#1195) * update libs * refactoring evm provider connect * connect through walletconnect * add WallletConnect icon * add SelectProvider simple modal * refactoring namings * update wallet * update registered assets logic * update broken assets * add logout wallet button * remove metamask hardcoded translations * remove metamask from messages & mixin * improve eth bridge actions * add provider dialog to another pages * add provider icon to connect wallet panel * add disconnect btn * update SelectProvider dialog * update Rewards page * remove duplicated translation keys * fix connect wallet butoon loading state * fix provider select * remove duplicated translations * update translations * update broken translations * add alt attrs to img * deduplicate yarn.lock * update core-js * fix confirm transaction translation * fix change provider * fix selectEvmprovider * add trust wallet for select * check walletconnect availability * refactoring * handle disconnect corner cases * prepare for hashi bridge before walletconnect * disable chart btn while chart is loading * remove console.log --------- Co-authored-by: Vladimir Shelkovnikov <99356504+C4tWithShell@users.noreply.github.com> * update wallet to 1.25.1 (#1216) * update wallet to 1.25.1 * fix formatted-amount balance * revert env.json * Add crowdloan banner (#1217) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Update Payment.vue (#1220) * Update Payment.vue * fix * Update Payment.vue * Fix x1 enable/disable option * Update Payment.vue --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Update KycView.vue (#1224) * Update KycView.vue * add method to mixin * move * Update subquery request for Tokens page (#1201) * update subquery request for Tokens page * update subsquid request for Tokens page * improve asset entity type * update wallet * [Bridge] Add max prefix to external network fee (#1227) * add max prefix to network fee * change translation to const * Sora staking implementation * [Bridge] Enable WalletConnect (#1228) * enable wallet connect * add SubWallet * improve ethereum wallet error handler * [Bridge] UI improvements (#1222) * show account name instead of address * update select network modal * change bridge title to Hashi * add AccountPanel component * add address * enable wallet connect * add SubWallet * improve ethereum wallet error handler * update account panel * remove loading state from connect button * improve SelectProvider loading state * remove duplicated code * Fixes * Fixes * add sora parachain for network selection * prepare connector for refactoring * refactoring SubNetworksConnector * wip outgoing reducer * fix network fee * parachain tx tracking * refactoring connector * add sora parachain icon example * add scrollbar to networks list * sora parachain history restoration * small fixes * sonar refactoring * update short names * improve sub bridge history restoration * restore refunded transactions * improve history restoration parachain part * [fix] clean history only for selected network * revert env.json * refactoring history restoration * update wallet 1.26.3 * up version * set detectEthereumProvider arg mustBeMetaMask to true * Fixes * Bond and nominate in one action * Fix keys * SORA parachain bridge (#1231) * add sora parachain for network selection * prepare connector for refactoring * refactoring SubNetworksConnector * wip outgoing reducer * fix network fee * parachain tx tracking * refactoring connector * add sora parachain icon example * add scrollbar to networks list * sora parachain history restoration * small fixes * sonar refactoring * update short names * improve sub bridge history restoration * restore refunded transactions * improve history restoration parachain part * [fix] clean history only for selected network * revert env.json * refactoring history restoration * update wallet 1.26.3 * up version * set detectEthereumProvider arg mustBeMetaMask to true * review update * Show swap distribution (#1191) * add Distribution component * update distribution * update distribution component * path line style * popover position * distribution fiat difference * update markup * fix css with small screen width * Fix bridge issues (#1232) * restore history for relaychain & sora parachain in one flow * refactoring sub history restoration * fix transfer min & max amounts * update add token button * dont remove walletconnect session after provider change * fix evm address check * fix loLowerCase check * Whitelist usage rationalization (#1234) * refactoring whitelist usage; fix explore demeter colums * add DataRowSkeleton component * fix price alert price change * Fixes * SORA parachain bridge (#1231) * add sora parachain for network selection * prepare connector for refactoring * refactoring SubNetworksConnector * wip outgoing reducer * fix network fee * parachain tx tracking * refactoring connector * add sora parachain icon example * add scrollbar to networks list * sora parachain history restoration * small fixes * sonar refactoring * update short names * improve sub bridge history restoration * restore refunded transactions * improve history restoration parachain part * [fix] clean history only for selected network * revert env.json * refactoring history restoration * update wallet 1.26.3 * up version * set detectEthereumProvider arg mustBeMetaMask to true * review update * Show swap distribution (#1191) * add Distribution component * update distribution * update distribution component * path line style * popover position * distribution fiat difference * update markup * fix css with small screen width * Fix bridge issues (#1232) * restore history for relaychain & sora parachain in one flow * refactoring sub history restoration * fix transfer min & max amounts * update add token button * dont remove walletconnect session after provider change * fix evm address check * fix loLowerCase check * Whitelist usage rationalization (#1234) * refactoring whitelist usage; fix explore demeter colums * add DataRowSkeleton component * fix price alert price change * tokens page fallback & wallet 1.26.5 (#1238) * fix prices precision on chart (#1240) * Fix chart Y axis for assets with very low price (#1241) * set mix & max for y axis * add hideOverlap for y axis * Fix release 1.26.0 issues (#1239) * iOS dirty hack * Recenter alert dialog + fix menu + price autofocus * Re-center select node dialog and fix header styles * Fix styles * Fix issues based on test env PR * Fix About reactivity * Fix iOS double click issues * Add auto focus for editable/new nodes from select node dialog * Increase alerts limit * Upd wallet version * Update zh_CN.json * Update zh_CN.json * Update AlertList.vue --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> * Bridge sub account & token autoselects (#1242) * update chart precision * bridge token autoselect * autoselect sub account address * transfer token-select-button styles from mixin * add object.freeze --------- Co-authored-by: Stefan Popov * fix bridge max value precision (#1244) * Fix bridge fees issues (#1246) * update soraNetworkFee always * check xcm fee in max button * Some fixes * Chart, Bridge, Wallet, ADAR fixes (#1247) * update SubNetwork usage * disable bridge switch btn on loading state, calc type chart limits * update wallet 1.27.0 * remove resolutions * Update ValidatorsDialog.vue * Fix * Xor commission fix * Add vote on survey and new banner (#1251) * Add new banner * Add vote on survey & move SORA mobile link * Add survey image --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Fixes * Fixes * Fixes * Translation fix * Editable fiat amount in input (#1250) * use token-input in bridge, remove outdates styles * add fiat input * improve fiat value calculations * fiat input fixes * Fix colors * Fix * Fixes * Fixes * Fix * Remove imports * fix chart current price (#1256) * refactoring * remove lib from resolutions * fix retry button visibility (#1254) * fix retry button visibility * Update package.json * return 1.27.0 version --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Sidebar hide button (#1249) * add collapse button to sidebar * add tooltip to icon * sidebar hover effect * update translations * update menu css * update wallet * Improve Eth bridge fees calculation (#1257) * fix retry button visibility * refactoring sign methods * calc incoming fee * transfer method to eth bridge utils * update BridgeInitMixin * add fallback calculation * update amount to calculate fee * fix sonar issues * Fix rewards destination * Fixes * Fixes * Revert env.json * Fixes * Remove tooltip * Translation fix * Remove utils * Rename function * Fix translation file * Remove all rewards info * Fix styles * Staking badge click (#1258) * Validators search input fix (#1262) * Staking badge click * Validators search input fix * Fix release issues 1.27 (#1261) * Make mx button hidden when hide balances is enabled * Fix issues --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Refactor staking (#1263) * Refactor * Fix validators list style * Fix commission format * Fix change validators disable * Fix styles * Fixes * Use stakingStakers * Fix staking lang keys * Update json files * Update messages.ts * Add comments * Update zh_CN.json * Update env.json --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> Co-authored-by: RDMStreet * Add staking routing in menu (#1265) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Correct staking balance formatting (#1267) * Correct staking balance formatting * Remove unused import * Add 6M filter for stats page (#1270) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Add sora card maintenance page (#1269) (#1271) * Add maintenance page for SORA Card * Hide crowdloan ad --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Improve zh_CN keys (#1272) * Fix zh_CN keys * Update package.json --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Update dojoProductType * [Bridge] Add Polkadot bridge support (#1277) * add polkadot consts usage * update config & icon * set network fee 0.02 DOT * subquery endpoint as in master * fix ui issue with sora hash for incomng tx * add polkadot xcm fee * update polkadot network fee * soraCard:false * [BRIDGE] check for asset valid address on bridge contract (#1283) * check for asset valid address on bridge contract * remove console.log * Prepare prod config (#1285) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * fix ss58 check (#1289) * set kusama incoming xcm fee 0.01KSM (#1290) * set kusama incoming xcm fee 0.01KSM * Update package.json --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * order book (#1089) * prework * prework * book list * prework for table popover * establish vuex store * write basic logic * create order history widget * add tables * start book widget * Update BookWidget.vue * make market widget * resolve conflicts * Update OrderBook.vue * embed charts * make api working * style table * filter books * make filters to amount and price * remove debug info * Update BuySell.vue * fix price constraints * Update Jenkinsfile * make aggregation * Update Jenkinsfile * add checks * make update * update * make sell market order * Update OpenOrders.vue * add change * fix * add market order, spread checks, confirm dialog * add confirm cancel dialog * fix dark mode * improve dark mode * hide native scrolls * add tooltips & improve UX * improve responsive * improve ux * fixes * improve mobile, tablet, desktop responsibility * fix market order * fix input/output * fix * fix errors * make huge screen usable * add missing data * Update OpenOrders.vue * add translations * upgrade lib & add translations * forbid cancelling when book is stopped * dynamic fee * enable market trades widget * hide market trades * fixes * allow whole row click * add pagination * Order book indexer requests (#1223) * wip queries * account orders request * add order book subscription * refactoring deals * update types & subscription * add orders table data & subscription to order book updates * fix order query * fix all orders table * add order books stats to popover * update stats on popover opening * add deals to market trades * fix deals * refactoring subscriptions & data architecture * add userLimitOrders type * update wallet * add last deal price * format buySell price * update table amount * order table component * fix filled * refactoring order table & mixins * add scaler * allow whitelist only * update orders request * fix cancel * fix ui issues * fix wallet version 1.26.2 * fix orders sort * fix column * improve adaptive ui * implement steps * Update OrderTable.vue * fix wiping out * fix * add checks * hide debug info * hide native scrollbar * improve adaptive design * up version * remove mixin * fix * Update index.ts * Update BookWidget.vue * fix not updating book issue * make small adjustments * align values * align book values * fixes * Update BookWidget.vue * fix input wiping out * round up styles * fixes * fixes * add margins * Update OrderBook.vue * Update package.json * fix assetsDataTable * fix scrollbar in orders table * Order book price chart (#1237) * transfer asset price query from wallet * add order book data to chart * prepare subscription * set chart subscription * fix sorting bug * fix max button fills wrong value * Update BuySell.vue * fix precision * Update BuySell.vue * warn user when error in input & aggregation logic * fill price when click on book * Update BuySell.vue * fixes * add feature flag & refactoring * hide expiry date for market * refactor * fix * [OrderBook] add volume chart (#1248) * add volume to dataset * add volume example * add color to bars * improve tooltip & labels localization * build spec depends on volume support * use filters from line chart * remove commented code * add typings * fix typings * Update orderBook.ts * add slider for amount * remove corridor checks * Update env.json * fix on slider * Update BuySell.vue * Update TokenInput.vue * resolve conflicts * Update _mixins.scss * inject slider * Update HistoryOrderWidget.vue * Revert "Merge branch 'develop' into feature/order-book" This reverts commit d02e1a65e7d2db20b07cd8055b2e171a61bee639, reversing changes made to 1f58ed6efe9c8d8d1cd54765382be1e5e26fc766. * fix chart * fix fee on place order * fix disappearance * Update BookWidget.vue * fix sonar issues * fix sonar * fix * fixes * fix issues * add slider focus * fix css values * move collapse logic to store * enable aggregation * trim when fiat is input * resolve conflicts * Spot limitations (#1255) * add consts * Update BuySell.vue * Update package.json * fix * add locked to transaction details * Update TransactionDetails.vue * customise prework * resolve typings * add limit for single price * Update package.json * bump --------- Co-authored-by: Vladimir Shelkovnikov <99356504+C4tWithShell@users.noreply.github.com> * Order book refactoring (#1281) * refactoring BookWidget * book widget methods refactoring * BuySell refactoring * HistoryOrderWidget refactoring --------- Co-authored-by: Rustem * fix * recalculate orders & remove possible overlap * Update BuySell.vue * Update BookWidget.vue * fix with precision * fix tab freeze when switching * fix * Update BookWidget.vue * fix langs switch * fix for input with different locales * turn card off * Update deps * Update yarn.lock * Bump version * Fix lint warnings * Blur fiat el during slider usage for TokenInput * Update AppMenu.vue * Fix icons * Update index.ts * Fix shadow * Remove unused styles * Fix lint issues * Update BookWidget.vue * Update BuySell.vue * Update CustomisePage.vue * Resolve linter issues * Add duration in days for ordertable * Improve tables * Fix styles * Remove empty DatePicker * Update HistoryOrderWidget.vue * Restrict autofill from orderbook for mkt * Update index.ts * Fix font * Remove duplicated methods from util --------- Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> Co-authored-by: Nikita-Polyakov Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> Co-authored-by: Vladimir Shelkovnikov <99356504+C4tWithShell@users.noreply.github.com> * Fix 1.29 release (#1292) * Update dot, ksm nodes * Improve SORA Card maintenance styles --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Update BuySell.vue (#1295) * Single chart filter (#1293) * prework * prework * book list * prework for table popover * establish vuex store * write basic logic * create order history widget * add tables * start book widget * Update BookWidget.vue * make market widget * resolve conflicts * Update OrderBook.vue * embed charts * make api working * style table * filter books * make filters to amount and price * remove debug info * Update BuySell.vue * fix price constraints * Update Jenkinsfile * make aggregation * Update Jenkinsfile * add checks * make update * update * make sell market order * Update OpenOrders.vue * add change * fix * add market order, spread checks, confirm dialog * add confirm cancel dialog * fix dark mode * improve dark mode * hide native scrolls * add tooltips & improve UX * improve responsive * improve ux * fixes * improve mobile, tablet, desktop responsibility * fix market order * fix input/output * fix * fix errors * make huge screen usable * add missing data * Update OpenOrders.vue * add translations * upgrade lib & add translations * forbid cancelling when book is stopped * dynamic fee * enable market trades widget * hide market trades * fixes * allow whole row click * add pagination * Order book indexer requests (#1223) * wip queries * account orders request * add order book subscription * refactoring deals * update types & subscription * add orders table data & subscription to order book updates * fix order query * fix all orders table * add order books stats to popover * update stats on popover opening * add deals to market trades * fix deals * refactoring subscriptions & data architecture * add userLimitOrders type * update wallet * add last deal price * format buySell price * update table amount * order table component * fix filled * refactoring order table & mixins * add scaler * allow whitelist only * update orders request * fix cancel * fix ui issues * fix wallet version 1.26.2 * fix orders sort * fix column * improve adaptive ui * implement steps * Update OrderTable.vue * fix wiping out * fix * add checks * hide debug info * hide native scrollbar * improve adaptive design * up version * remove mixin * fix * Update index.ts * Update BookWidget.vue * fix not updating book issue * make small adjustments * align values * align book values * fixes * Update BookWidget.vue * fix input wiping out * round up styles * fixes * fixes * add margins * Update OrderBook.vue * Update package.json * fix assetsDataTable * fix scrollbar in orders table * Order book price chart (#1237) * transfer asset price query from wallet * add order book data to chart * prepare subscription * set chart subscription * fix sorting bug * fix max button fills wrong value * Update BuySell.vue * fix precision * Update BuySell.vue * warn user when error in input & aggregation logic * fill price when click on book * Update BuySell.vue * fixes * add feature flag & refactoring * hide expiry date for market * refactor * fix * [OrderBook] add volume chart (#1248) * add volume to dataset * add volume example * add color to bars * improve tooltip & labels localization * build spec depends on volume support * use filters from line chart * remove commented code * add typings * fix typings * Update orderBook.ts * add slider for amount * remove corridor checks * Update env.json * fix on slider * Update BuySell.vue * Update TokenInput.vue * resolve conflicts * Update _mixins.scss * inject slider * Update HistoryOrderWidget.vue * Revert "Merge branch 'develop' into feature/order-book" This reverts commit d02e1a65e7d2db20b07cd8055b2e171a61bee639, reversing changes made to 1f58ed6efe9c8d8d1cd54765382be1e5e26fc766. * fix chart * fix fee on place order * fix disappearance * Update BookWidget.vue * fix sonar issues * fix sonar * fix * fixes * fix issues * add slider focus * fix css values * move collapse logic to store * enable aggregation * trim when fiat is input * resolve conflicts * Spot limitations (#1255) * add consts * Update BuySell.vue * Update package.json * fix * add locked to transaction details * Update TransactionDetails.vue * customise prework * resolve typings * add limit for single price * Update package.json * bump --------- Co-authored-by: Vladimir Shelkovnikov <99356504+C4tWithShell@users.noreply.github.com> * Order book refactoring (#1281) * refactoring BookWidget * book widget methods refactoring * BuySell refactoring * HistoryOrderWidget refactoring --------- Co-authored-by: Rustem * fix * recalculate orders & remove possible overlap * Update BuySell.vue * Update BookWidget.vue * fix with precision * fix tab freeze when switching * fix * Update BookWidget.vue * fix langs switch * fix for input with different locales * turn card off * set filters like in candle * set chart animation to false * remove merge conflicts * return default chart type * add order book queries for subsquid * change zoom after filter siwtch * reset zoom on filter tab * refactoring * update types & subsquid requests * update wallet to 1.29.1 --------- Co-authored-by: RustemYuzlibaev Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> Co-authored-by: Vladimir Shelkovnikov <99356504+C4tWithShell@users.noreply.github.com> Co-authored-by: NaghmeMohammadifar <45916098+Naghme98@users.noreply.github.com> * fix (#1296) * Feature/order book translations (#1284) * prework * prework * book list * prework for table popover * establish vuex store * write basic logic * create order history widget * add tables * start book widget * Update BookWidget.vue * make market widget * resolve conflicts * Update OrderBook.vue * embed charts * make api working * style table * filter books * make filters to amount and price * remove debug info * Update BuySell.vue * fix price constraints * Update Jenkinsfile * make aggregation * Update Jenkinsfile * add checks * make update * update * make sell market order * Update OpenOrders.vue * add change * fix * add market order, spread checks, confirm dialog * add confirm cancel dialog * fix dark mode * improve dark mode * hide native scrolls * add tooltips & improve UX * improve responsive * improve ux * fixes * improve mobile, tablet, desktop responsibility * fix market order * fix input/output * fix * fix errors * make huge screen usable * add missing data * Update OpenOrders.vue * add translations * upgrade lib & add translations * forbid cancelling when book is stopped * dynamic fee * enable market trades widget * hide market trades * fixes * allow whole row click * add pagination * Order book indexer requests (#1223) * wip queries * account orders request * add order book subscription * refactoring deals * update types & subscription * add orders table data & subscription to order book updates * fix order query * fix all orders table * add order books stats to popover * update stats on popover opening * add deals to market trades * fix deals * refactoring subscriptions & data architecture * add userLimitOrders type * update wallet * add last deal price * format buySell price * update table amount * order table component * fix filled * refactoring order table & mixins * add scaler * allow whitelist only * update orders request * fix cancel * fix ui issues * fix wallet version 1.26.2 * fix orders sort * fix column * improve adaptive ui * implement steps * Update OrderTable.vue * fix wiping out * fix * add checks * hide debug info * hide native scrollbar * improve adaptive design * up version * remove mixin * fix * Update index.ts * Update BookWidget.vue * fix not updating book issue * make small adjustments * align values * align book values * fixes * Update BookWidget.vue * fix input wiping out * round up styles * fixes * fixes * add margins * Update OrderBook.vue * Update package.json * fix assetsDataTable * fix scrollbar in orders table * Order book price chart (#1237) * transfer asset price query from wallet * add order book data to chart * prepare subscription * set chart subscription * fix sorting bug * fix max button fills wrong value * Update BuySell.vue * fix precision * Update BuySell.vue * warn user when error in input & aggregation logic * fill price when click on book * Update BuySell.vue * fixes * add feature flag & refactoring * hide expiry date for market * refactor * fix * [OrderBook] add volume chart (#1248) * add volume to dataset * add volume example * add color to bars * improve tooltip & labels localization * build spec depends on volume support * use filters from line chart * remove commented code * add typings * fix typings * Update orderBook.ts * add slider for amount * remove corridor checks * Update env.json * fix on slider * Update BuySell.vue * Update TokenInput.vue * resolve conflicts * Update _mixins.scss * inject slider * Update HistoryOrderWidget.vue * Revert "Merge branch 'develop' into feature/order-book" This reverts commit d02e1a65e7d2db20b07cd8055b2e171a61bee639, reversing changes made to 1f58ed6efe9c8d8d1cd54765382be1e5e26fc766. * fix chart * fix fee on place order * fix disappearance * Update BookWidget.vue * fix sonar issues * fix sonar * fix * fixes * fix issues * add slider focus * fix css values * move collapse logic to store * enable aggregation * trim when fiat is input * make translation prework * resolve conflicts * create translations * translations * fix merge issues * embed missing translations * add missing translations * fix * fix ru lang * add order status translations * make room for additional space * Update BuySell.vue * add descriptive message * add descriptive message for all langs * reset * cancel reset when market order --------- Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> Co-authored-by: Nikita-Polyakov Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Explore order books (#1276) * prepare explore books data * fix issues * update price column * refactoring explore page mixin * add filter to order books query * update wallet 1.28.0 * fix price formatting * pools from indexer * remove unused method * add pool tokens column * rename quoteAsset to targetAsset for search * refactoring queries * refactoring * update translation key & fix tokens page search * Fix explore books sorting (#1299) * fix computed property for table * refactoring * fix changeSort type * Fix release 1.29 (#1294) * Remove unused import * Add notification and loading for stake dialog during TX sign * Fix staking extrinsics notifications and loading states * Fix redeemable VAL -> XOR * Update package.json * Make orderbook open orders reactive & fix cancel orders selection algo * Remove unused staking methods * Fix issue with horizontal & vertical scroll * Update StakingMixin.ts * Update actions.ts * Update OpenOrders.vue * Update OrderTable.vue * Improve styles * Fix sync issues * Fix empty page issues * Fix styles * Add Intl percent formatter * Improve global html styles * Fix scrollbar * Refactor source code for PlaceOrder component * Refactor place order logic * Fix cancel orders logic and styles * Update HistoryOrderWidget.vue * Fix translations for MarketTradesWidget * Fix connect account styles * Fix styles * Remove unused prop * Move user orders subscription to history widget * Update PlaceOrder.vue * Fix issues * Update SelectedTokensRouteMixin.ts * Add dynamic routing for orderbook * Refactor types * Update OrderBook.vue * Improve routes (common states for Swap and Orderbook) * fix translations * fix mismatch on cancel * Update deps --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> Co-authored-by: RustemYuzlibaev * Fix orderbook notifications and orders history (#1300) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Fix 1.29 issues (#1303) * Remove marketing research & add transition * Update wallet * Fix the flickering collapsed menu when hovering on expand button over the status bar --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> Co-authored-by: shlavik * Update AppMenu.vue (#1304) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Fix 1.29.0 issues (#1306) * Fix menu styles * Update AppMenu.vue * Fix click on tooltip for mobile devices * Update PairListPopover.vue * Revert "Update AppMenu.vue" This reverts commit 5147d349b2f15829cd54fd133ab6263d7aa011e3. * Update wallet * Fix styles --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Update subquery endpoint (#1308) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * update wallet 1.29.8 (#1309) * Fix explore menu navigation (#1310) * Fix explore menu navigation * update wallet 1.29.9 --------- Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> Co-authored-by: Nikita-Polyakov * Fix cancel all orders (#1313) Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> * Replace explore tabs with dropdown * Update soramitsuUI.ts * Update Container.vue * Fix selected colors * Update BuySell.vue (#1301) * Update BuySell.vue * handle different side change * reduce watchers --------- Co-authored-by: Stefan Popov Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> * add missing balance to token (#1315) * Fix bridge tx sign with google & mint\burn translations (#1323) * add beforeSign call * update wallet & translations from localise * fix ts issues * add mint & burn translations * Add KEN distribution page (#1320) --------- Signed-off-by: Nikita Zaporozhets Signed-off-by: BAStos525 Co-authored-by: Rustem Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com> Co-authored-by: C4tWithShell Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com> Co-authored-by: Dmitriy Creed Co-authored-by: Vladimir Shelkovnikov <99356504+C4tWithShell@users.noreply.github.com> Co-authored-by: William Richter <88400283+WRRicht3r@users.noreply.github.com> Co-authored-by: Timofey Trepalin Co-authored-by: Maksim Baranov <33489381+MaksimBaranov98@users.noreply.github.com> Co-authored-by: timofeytrepalin <97504184+timofeytrepalin@users.noreply.github.com> Co-authored-by: alexnatalia Co-authored-by: Aleksandr Makhnev Co-authored-by: Bulat Saifullin Co-authored-by: Alex Natalia <38787212+alexnatalia@users.noreply.github.com> Co-authored-by: alexnatalia Co-authored-by: Nikita Polyakov Co-authored-by: Nikita-Polyakov Co-authored-by: Alex Natalia Co-authored-by: Pavel Golovkin Co-authored-by: Pavel Co-authored-by: Pobepto Co-authored-by: Tarmo Vannas Co-authored-by: 武宮誠 Co-authored-by: Denis Nikiforov <45266099+DenisNikiforov@users.noreply.github.com> Co-authored-by: Ahmed Elkashef Co-authored-by: Nikita Zaporozhets Co-authored-by: Nikita Zaporozhets <95526886+f33r0@users.noreply.github.com> Co-authored-by: sunlucky163 Co-authored-by: sunlucky163 <44086186+sunlucky163@users.noreply.github.com> Co-authored-by: Bao Tran Co-authored-by: Bao Nguyen Tran Co-authored-by: Pavel Varfolomeev Co-authored-by: wpi86 <86880521+wpi86@users.noreply.github.com> Co-authored-by: Pavel Varfolomeev Co-authored-by: German Vechtomov <89127595+ox7a59@users.noreply.github.com> Co-authored-by: frodan Co-authored-by: Daniil Fronts Co-authored-by: Viacheslav Co-authored-by: BAStos525 Co-authored-by: BAStos525 <66615487+BAStos525@users.noreply.github.com> Co-authored-by: Aleksey Kazakov Co-authored-by: Aleksandr Iakimov Co-authored-by: safinsaf <45899673+safinsaf@users.noreply.github.com> Co-authored-by: Aleksandr Iakimov Co-authored-by: NaghmeMohammadifar <45916098+Naghme98@users.noreply.github.com> Co-authored-by: marat-biriushev <49524488+marat-biriushev@users.noreply.github.com> --- package.json | 4 +- src/components/App/Footer/AppFooter.vue | 4 +- src/components/pages/Bridge/SelectNetwork.vue | 1 - src/components/pages/Kensetsu/BurnDialog.vue | 228 ++++++++++++ src/components/pages/OrderBook/BuySell.vue | 57 ++- src/consts/index.ts | 6 + src/indexer/queries/kensetsu.ts | 135 ++++++++ src/lang/cs.json | 41 ++- src/lang/de.json | 41 ++- src/lang/en.json | 51 ++- src/lang/es.json | 41 ++- src/lang/fr.json | 41 ++- src/lang/hr.json | 41 ++- src/lang/hu.json | 41 ++- src/lang/hy.json | 41 ++- src/lang/id.json | 41 ++- src/lang/it.json | 41 ++- src/lang/nl.json | 41 ++- src/lang/no.json | 41 ++- src/lang/pl.json | 41 ++- src/lang/ru.json | 41 ++- src/lang/sk.json | 41 ++- src/lang/sr.json | 41 ++- src/lang/sv.json | 41 ++- src/lang/vi.json | 41 ++- src/lang/yo.json | 41 ++- src/lang/zh_CN.json | 41 ++- src/router/index.ts | 5 + src/store/orderBook/actions.ts | 33 +- src/store/orderBook/getters.ts | 9 +- src/store/orderBook/mutations.ts | 4 + src/store/orderBook/state.ts | 1 + src/store/orderBook/types.ts | 2 + src/store/removeLiquidity/actions.ts | 20 +- src/store/removeLiquidity/getters.ts | 12 +- src/store/removeLiquidity/state.ts | 2 - src/store/removeLiquidity/types.ts | 2 - src/utils/bridge/eth/classes/reducers.ts | 2 +- src/utils/bridge/sub/classes/adapter.ts | 2 +- src/utils/bridge/sub/classes/reducers.ts | 2 + src/utils/subscriptions.ts | 9 + src/views/Bridge.vue | 2 +- src/views/Explore/Container.vue | 124 +++++-- src/views/Kensetsu.vue | 324 ++++++++++++++++++ yarn.lock | 84 ++--- 45 files changed, 1669 insertions(+), 235 deletions(-) create mode 100644 src/components/pages/Kensetsu/BurnDialog.vue create mode 100644 src/indexer/queries/kensetsu.ts create mode 100644 src/views/Kensetsu.vue diff --git a/package.json b/package.json index fc0b23bc5..beb97859c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "polkaswap-exchange-web", - "version": "1.29.2", + "version": "1.30.0", "repository": { "type": "git", "url": "https://github.com/sora-xor/polkaswap-exchange-web.git" @@ -24,7 +24,7 @@ }, "dependencies": { "@metamask/detect-provider": "^2.0.0", - "@soramitsu/soraneo-wallet-web": "1.29.10", + "@soramitsu/soraneo-wallet-web": "1.30.0", "@walletconnect/ethereum-provider": "^2.11.0", "@walletconnect/modal": "^2.6.2", "core-js": "^3.33.2", diff --git a/src/components/App/Footer/AppFooter.vue b/src/components/App/Footer/AppFooter.vue index 6f916ece8..830b779bb 100644 --- a/src/components/App/Footer/AppFooter.vue +++ b/src/components/App/Footer/AppFooter.vue @@ -101,10 +101,10 @@ export default class AppFooter extends Mixins(TranslationMixin) { @state.settings.blockNumber blockNumber!: number; @getter.libraryTheme libraryTheme!: Theme; - get blockExplorerLink(): Nullable { + get blockExplorerLink(): string | undefined { const links = getExplorerLinks(this.soraNetwork); if (!links.length) { - return null; + return undefined; } return links[0].value; } diff --git a/src/components/pages/Bridge/SelectNetwork.vue b/src/components/pages/Bridge/SelectNetwork.vue index 84c66ee74..9203d06d0 100644 --- a/src/components/pages/Bridge/SelectNetwork.vue +++ b/src/components/pages/Bridge/SelectNetwork.vue @@ -26,7 +26,6 @@ + + diff --git a/src/components/pages/OrderBook/BuySell.vue b/src/components/pages/OrderBook/BuySell.vue index 10bef3fe2..9ac9d20e5 100644 --- a/src/components/pages/OrderBook/BuySell.vue +++ b/src/components/pages/OrderBook/BuySell.vue @@ -166,6 +166,7 @@ import { asZeroValue, hasInsufficientBalance, delay, + hasInsufficientXorForFee, } from '@/utils'; import { getBookDecimals, MAX_ORDERS_PER_SIDE, MAX_ORDERS_PER_USER } from '@/utils/orderBook'; @@ -221,8 +222,9 @@ export default class BuySellWidget extends Mixins(TranslationMixin, mixins.Forma @action.swap.setTokenFromAddress private setTokenFromAddress!: (address?: string) => Promise; @action.swap.setTokenToAddress private setTokenToAddress!: (address?: string) => Promise; - + @action.orderBook.updateBalanceSubscription private updateBalanceSubscription!: (reset?: boolean) => void; @action.orderBook.updateOrderBooksStats private updateOrderBooksStats!: AsyncFnWithoutArgs; + // It previous route = PageNames.Swap, we need to save 'from' and 'to' tokens to set it during the beforeDestroy private prevSwapFromAddress = ''; private prevSwapToAddress = ''; @@ -241,8 +243,27 @@ export default class BuySellWidget extends Mixins(TranslationMixin, mixins.Forma @Watch('side') @Watch('baseAssetAddress') - private handleSideChange(): void { + private handleSideChange(oldValue: string, newValue: string): void { + this.updateBalanceSubscription(); this.handleTabClick(); + + // Checks for slider reset + if (oldValue.startsWith('0x') && oldValue !== newValue) { + // if base changed, reset slider + this.setAmountSliderValue(0); + } else if (['Buy', 'Sell'].includes(oldValue) && oldValue !== newValue) { + // if side changed, check for need to reset slider + if (!this.currentOrderBook) return; + const maxLotSize: FPNumber = this.currentOrderBook.maxLotSize; + const maxBalance = getMaxValue(this.baseAsset, this.networkFee); + + const hasLessBalance = maxLotSize.gt(new FPNumber(maxBalance)); + + if (hasLessBalance) { + this.handleInputFieldBase(''); + this.setAmountSliderValue(0); + } + } } @Watch('baseAsset') @@ -273,11 +294,6 @@ export default class BuySellWidget extends Mixins(TranslationMixin, mixins.Forma this.checkInputValidation(); } - @Watch('baseAssetAddress') - private resetSlider(): void { - this.setAmountSliderValue(0); - } - get limitOrderType(): LimitOrderType { return this._limitOrderType; } @@ -325,9 +341,7 @@ export default class BuySellWidget extends Mixins(TranslationMixin, mixins.Forma if (this.bookStopped) return this.t('orderBook.stop'); - if (this.userReachedSpotLimit || this.userReachedOwnLimit) return this.t('orderBook.setPrice'); - - if (this.isInsufficientBalance) return this.t('insufficientBalanceText', { tokenSymbol: this.tokenFrom?.symbol }); + if (this.userReachedSpotLimit || this.userReachedOwnLimit) return this.t('orderBook.cantPlaceOrder'); if (this.limitOrderType === LimitOrderType.limit) { if (!this.quoteValue) return this.t('orderBook.setPrice'); @@ -354,6 +368,10 @@ export default class BuySellWidget extends Mixins(TranslationMixin, mixins.Forma if (this.isOutOfAmountBounds) return this.t('orderBook.cantPlaceOrder'); + if (this.isInsufficientXorForFee) return this.t('insufficientBalanceText', { tokenSymbol: this.xor?.symbol }); + + if (this.isInsufficientBalance) return this.t('insufficientBalanceText', { tokenSymbol: this.tokenFrom?.symbol }); + if (this.side === PriceVariant.Buy) return this.t('orderBook.Buy', { asset: this.baseAsset.symbol }); else return this.t('orderBook.Sell', { asset: this.baseAsset.symbol }); } @@ -371,6 +389,8 @@ export default class BuySellWidget extends Mixins(TranslationMixin, mixins.Forma if (!this.isLoggedIn) return false; + if (this.isInsufficientXorForFee) return true; + if (this.isInsufficientBalance) return true; if (this.limitOrderType === LimitOrderType.limit) { @@ -408,7 +428,7 @@ export default class BuySellWidget extends Mixins(TranslationMixin, mixins.Forma reading: this.t('orderBook.error.accountLimit.reading'), }); - if (this.isInsufficientBalance) return; + if (this.isInsufficientBalance || this.isInsufficientXorForFee) return; // NOTE: corridor check could be enabled on blockchain later on; uncomment to return // if (this.isPriceTooHigh && this.quoteValue && this.baseValue) @@ -567,12 +587,14 @@ export default class BuySellWidget extends Mixins(TranslationMixin, mixins.Forma } get bookPrecision(): number { - return this.currentOrderBook?.tickSize?.toLocaleString()?.split(FPNumber.DELIMITERS_CONFIG.decimal)[1].length ?? 2; + return ( + this.currentOrderBook?.tickSize?.toLocaleString()?.split(FPNumber.DELIMITERS_CONFIG.decimal)?.[1]?.length ?? 0 + ); } get amountPrecision(): number { return ( - this.currentOrderBook?.stepLotSize?.toLocaleString()?.split(FPNumber.DELIMITERS_CONFIG.decimal)[1].length ?? 2 + this.currentOrderBook?.stepLotSize?.toLocaleString()?.split(FPNumber.DELIMITERS_CONFIG.decimal)?.[1]?.length ?? 0 ); } @@ -663,6 +685,8 @@ export default class BuySellWidget extends Mixins(TranslationMixin, mixins.Forma const [_, decimal] = value.split('.'); + if (value.endsWith('.') && precision === 0) return value.slice(0, -1); + return value.endsWith('.') || decimal?.length <= precision ? value : new FPNumber(value).dp(precision).toString(); } @@ -670,6 +694,10 @@ export default class BuySellWidget extends Mixins(TranslationMixin, mixins.Forma return this.isLoggedIn && this.areTokensSelected; } + get isInsufficientXorForFee(): boolean { + return hasInsufficientXorForFee(this.xor, this.networkFee); + } + get isInsufficientBalance(): boolean { if (!this.tokenFrom) return false; @@ -782,6 +810,7 @@ export default class BuySellWidget extends Mixins(TranslationMixin, mixins.Forma beforeDestroy(): void { this.resetQuoteSubscription(); + this.updateBalanceSubscription(true); if (this.prevSwapFromAddress && this.prevSwapToAddress) { this.setTokenFromAddress(this.prevSwapFromAddress); this.setTokenToAddress(this.prevSwapToAddress); @@ -820,6 +849,8 @@ export default class BuySellWidget extends Mixins(TranslationMixin, mixins.Forma const maxPossible = FPNumber.fromNatural(max, this.bookPrecision); + if (this.isBuySide) return maxLotSize; + return FPNumber.lte(maxPossible, maxLotSize) ? maxPossible : maxLotSize; } diff --git a/src/consts/index.ts b/src/consts/index.ts index 53ef35cb3..09149fec1 100644 --- a/src/consts/index.ts +++ b/src/consts/index.ts @@ -144,6 +144,7 @@ export enum PageNames { LimitOrderBuy = 'OrderBook/LimitOrderBuy', LimitOrderSell = 'OrderBook/LimitOrderSell', SoraCard = 'SoraCard', + Kensetsu = 'Kensetsu', } export enum Components { @@ -360,6 +361,11 @@ const OtherPagesMenu: Array = [ title: PageNames.Stats, href: '/#/stats', }, + { + icon: 'basic-flame-24', + title: PageNames.Kensetsu, + href: '/#/kensetsu', + }, { icon: 'music-eject-24', title: PageNames.SoraCard, diff --git a/src/indexer/queries/kensetsu.ts b/src/indexer/queries/kensetsu.ts new file mode 100644 index 000000000..627e95806 --- /dev/null +++ b/src/indexer/queries/kensetsu.ts @@ -0,0 +1,135 @@ +import { FPNumber } from '@sora-substrate/util'; +import { getCurrentIndexer, WALLET_CONSTS } from '@soramitsu/soraneo-wallet-web'; +import { SubqueryIndexer, SubsquidIndexer } from '@soramitsu/soraneo-wallet-web/lib/services/indexer'; +import { gql } from '@urql/core'; + +import type { SubqueryHistoryElement } from '@soramitsu/soraneo-wallet-web/lib/services/indexer/subquery/types'; +import type { + ConnectionQueryResponse, + HistoryElementAssetBurn, +} from '@soramitsu/soraneo-wallet-web/lib/services/indexer/types'; + +const { IndexerType } = WALLET_CONSTS; + +type KensetsuBurn = { + address: string; + amount: FPNumber; +}; + +/** + * 1) https://sora.subscan.io/extrinsic/0x626147716deb3059bfb4d0f3f564cb8d336e7d99dbf1d6a99125d852cb449046 + * 2) https://sora.subscan.io/extrinsic/0xc3319a9bfd7ea92d19b2910d16df189f8cbd81aa7809e8febc2c10a376996ec9 + * 3) https://sora.subscan.io/extrinsic/0xf1caed8923c9412f682a0181073358c1d0559219831693d9bf37ef6c77f33b6c + * 4) https://sora.subscan.io/extrinsic/0xa0fd341cbdb2c6de2873dd3edb2e59a5fbb3e6cdcd056a2f4f8f3ba4663cf68f + * 5) https://sora.subscan.io/extrinsic/0xc51f24899e5d89765647bef5663a58db873bffbd4af26b9a6e39787e762bbeb7 + * 6) https://sora.subscan.io/extrinsic/0x733da9635badd2692ff9c76b4ad761e7460fd88b72f04edb5f7e844dc6ce188e + * 7) https://sora.subscan.io/extrinsic/0x580f85275b21e43a2923d4a0e3af9d92832bb8f63c2a9f0b2fa17dd9e97d1533 + * 8) https://sora.subscan.io/extrinsic/0x6290185892566e17fdc70e29ac0227819d67e9ac85da6981c2036724ffa15dcd + * 9) https://sora.subscan.io/extrinsic/0x2db91f8192e84d38956f4335acc3e98a6085be5d3d1ec645e3588854ac6970a0 + * 10) https://sora.subscan.io/extrinsic/0xb90cb95d71bc43d7c4212b1aa7b97b199436e706cd6ff1a73a9cd81ed8842df9 + * 11) https://sora.subscan.io/extrinsic/0x2727e182d531ad890f9937beded0527d4a6d68018977b484658391fdd1e80880 + * 12) https://sora.subscan.io/extrinsic/0xa072a5c6c0d847cef807e57c303fd60fdde67d8e10b1c080de428ba15b78bdb6 + */ +const dataBeforeIndexing: KensetsuBurn[] = [ + { + address: 'cnV21a8zn14wUTuxUK6wy5Fmus8PXaGrsBUchz33MqavYqxHE', + amount: FPNumber.fromCodecValue('2000000000000000000000000'), + }, + { + address: 'cnXES5tPEMkhLmhG57v55aYW4x1DtqHFM9Ft8rBcLNyHHFVSm', + amount: FPNumber.fromCodecValue('1000000000000000000000000'), + }, + { + address: 'cnTkiF9YpNT8uzwQvJFJHf7Vr3KtFppF2VGxE22C1MTMbHEmN', + amount: FPNumber.fromCodecValue('25000000000000000000000000'), + }, + { + address: 'cnRdTJwjwpn67KgnWGcbBJpMipryNNos15NEFWV4sEfSnNnM6', + amount: FPNumber.fromCodecValue('4000000000000000000000000'), + }, + { + address: 'cnW4cSTA6CB3zDw2kLknDwZRqPPwPDdFURN2nhHVg8C2SnrNX', + amount: FPNumber.fromCodecValue('1000000000000000000000000'), + }, + { + address: 'cnTmBrrR4CFs3GDA1DjWhAMsXXAJQJwUCkFtbsRsXhXJWTB3J', + amount: FPNumber.fromCodecValue('1000000000000000000000000'), + }, + { + address: 'cnTYLL7UNk9tak7gRZnZXxfor5UvMSEebBUsSLwwhyZvDdKWB', + amount: FPNumber.fromCodecValue('1500000000000000000000000'), + }, + { + address: 'cnVA8S2CNn2h4CjW2vTnqnSRqEL4P2ShvPWYA46TYEdTtao3S', + amount: FPNumber.fromCodecValue('1000000000000000000000000'), + }, + { + address: 'cnTdA96vs4okPqpfSaPwSCPunkEn6AYTLek6rBvP9LbXbinAh', + amount: FPNumber.fromCodecValue('10000000000000000000000000'), + }, + { + address: 'cnV5d93J89p5kC4dRqF5WWtDNCk1XZ3HQo9dEhGUxBQnohxEB', + amount: FPNumber.fromCodecValue('1500000000000000000000000'), + }, + { + address: 'cnV5d93J89p5kC4dRqF5WWtDNCk1XZ3HQo9dEhGUxBQnohxEB', + amount: FPNumber.fromCodecValue('10000000000000000000000000'), + }, + { + address: 'cnTkiF9YpNT8uzwQvJFJHf7Vr3KtFppF2VGxE22C1MTMbHEmN', + amount: FPNumber.fromCodecValue('1000000000000000000000000'), + }, +]; + +const KensetsuQuery = gql>` + query ($start: Int = 0, $end: Int = 0, $after: Cursor = "", $first: Int = 100) { + data: historyElements( + first: $first + after: $after + filter: { + and: [ + { blockHeight: { greaterThanOrEqualTo: $start } } + { blockHeight: { lessThanOrEqualTo: $end } } + { module: { equalTo: "assets" } } + { method: { equalTo: "burn" } } + { data: { contains: { assetId: "0x0200000000000000000000000000000000000000000000000000000000000000" } } } + ] + } + ) { + pageInfo { + hasNextPage + endCursor + } + edges { + node { + address + data + } + } + } + } +`; + +const parse = (item: SubqueryHistoryElement): KensetsuBurn => { + const data = item.data as HistoryElementAssetBurn; + + return { + address: item.address, + amount: new FPNumber(data.amount), + }; +}; + +export async function fetchData(start: number, end: number): Promise { + const indexer = getCurrentIndexer(); + + switch (indexer.type) { + case IndexerType.SUBQUERY: { + const variables = { start, end }; + const subqueryIndexer = indexer as SubqueryIndexer; + const items = await subqueryIndexer.services.explorer.fetchAllEntities(KensetsuQuery, variables, parse); + return [...(items ?? []), ...dataBeforeIndexing]; + } + } + + return []; +} diff --git a/src/lang/cs.json b/src/lang/cs.json index c4f23a7d7..7ace45b00 100644 --- a/src/lang/cs.json +++ b/src/lang/cs.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Nastavit příjemce platby {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} za {price} {symbol2} umístěno", "OrderBookCancelLimitOrder": "Limitní objednávka zrušena", - "OrderBookCancelLimitOrders": "Limitní objednávky zrušeny" + "OrderBookCancelLimitOrders": "Limitní objednávky zrušeny", + "Burn": "Spáleno {amount} {symbol}", + "Mint": "Vyraženo {amount} {symbol} na {address}" }, "error": { "Transfer": "{action} {amount} {symbol} {direction} {address} se nezdařilo.", @@ -98,7 +100,9 @@ "StakingSetPayee": "Nepodařilo se nastavit příjemce platby {address}", "OrderBookPlaceLimitOrder": "Nepodařilo se zadat limitní objednávku ve výši {amount} {symbol} za {price} {symbol2}", "OrderBookCancelLimitOrders": "Limitní objednávky se nepodařilo zrušit", - "OrderBookCancelLimitOrder": "Limitní příkaz se nepodařilo zrušit" + "OrderBookCancelLimitOrder": "Limitní příkaz se nepodařilo zrušit", + "Burn": "Nepodařilo se vypálit {amount} {symbol}", + "Mint": "Nepodařilo se vytěžit {amount} {symbol} na {address}" }, "ReferralReserveXor": "Vázat XOR", "ReferralUnreserveXor": "Zrušit vazbu XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Nastavit příjemce platby", "OrderBookPlaceLimitOrder": "Objednejte si", "OrderBookCancelLimitOrder": "Zrušit objednávku", - "OrderBookCancelLimitOrders": "Zrušit objednávky" + "OrderBookCancelLimitOrders": "Zrušit objednávky", + "Burn": "Hořet", + "Mint": "Máta" }, "polkadotjs": { "noExtensions": "Nebylo nalezeno žádné rozšíření {PolkadotJs}. Nainstalujte si jej prosím a znovu načtěte tuto stránku\n https:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Nárokujte si odměny", "remove": "Odstraňte sázku", - "more": "Vsaďte více" + "more": "Vsaďte více", + "confirm": "Potvrďte vytyčování", + "payout": "Výplata", + "withdraw": "Vybrat" }, "overview": { "title": "{Sora} Staking", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Nemáte žádné nominované validátory", "noValidators": "Neexistují žádné validátory splňující zadaný filtr", "commission": "Komise", - "commissionTooltip": "Provize odkazuje na poplatek, který si validátoři účtují za své služby v procesu sázek. Tento poplatek, vyjádřený v procentech, se odečítá z odměn za sázky, které nominátoři získali před rozdělením. Je důležité si uvědomit, že validátoři mohou své provize kdykoli upravit" + "commissionTooltip": "Provize odkazuje na poplatek, který si validátoři účtují za své služby v procesu sázek. Tento poplatek, vyjádřený v procentech, se odečítá z odměn za sázky, které nominátoři získali před rozdělením. Je důležité si uvědomit, že validátoři mohou své provize kdykoli upravit", + "return": "Vrátit se" }, "info": { - "redeemable": "Splatný", "unstaking": "Nestanovení", "stakingBalance": "Vyrovnání rovnováhy", "rewarded": "Odměněno", @@ -1394,6 +1403,26 @@ "title": "Nárokujte si odměny", "checkRewards": "Zkontrolujte odměny za éru a validátor", "rewardsDestination": "Cílová adresa odměn" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Vyjímatelné", + "beingWithdrawn": "Být stažen", + "seeAll": "Vidět vše", + "nextWithdrawal": "Další stažení", + "countdownLeft": "vlevo, odjet" + }, + "stakeDialog": { + "toStake": "Vsadit", + "toRemove": "Odebrat" + }, + "withdrawDialog": { + "title": "Vyberte nevložené prostředky", + "showAllWithdraws": "Zobrazit všechny výběry" + }, + "allWithdrawsDialog": { + "title": "Neustálá aktivita", + "information": "Jakmile vyjmete tokeny, nastává povinná 7denní lhůta pro odsazení. Po uplynutí této doby nebudou vaše tokeny automaticky vráceny do vaší peněženky. Proces musíte dokončit ručním stažením svých tokenů." } }, "collapseText": "Skrýt", diff --git a/src/lang/de.json b/src/lang/de.json index ad3f15692..83788a6db 100644 --- a/src/lang/de.json +++ b/src/lang/de.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Zahlungsempfänger {address} festlegen", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} zu {price} {symbol2} platziert", "OrderBookCancelLimitOrder": "Limit-Order storniert", - "OrderBookCancelLimitOrders": "Limitaufträge storniert" + "OrderBookCancelLimitOrders": "Limitaufträge storniert", + "Burn": "Verbrannt {amount} {symbol}", + "Mint": "Geprägt {amount} {symbol} an {address}" }, "error": { "Transfer": "Fehler bei {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Zahlungsempfänger {address} konnte nicht festgelegt werden", "OrderBookPlaceLimitOrder": "Limitbestellung von {amount} {symbol} zu {price} {symbol2} konnte nicht aufgegeben werden", "OrderBookCancelLimitOrders": "Limitaufträge konnten nicht storniert werden", - "OrderBookCancelLimitOrder": "Limitauftrag konnte nicht storniert werden" + "OrderBookCancelLimitOrder": "Limitauftrag konnte nicht storniert werden", + "Burn": "{amount} {symbol} konnte nicht gebrannt werden", + "Mint": "{amount} {symbol} konnte nicht an {address} geprägt werden" }, "ReferralReserveXor": "Bonde XOR", "ReferralUnreserveXor": "Unbonde XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Zahlungsempfänger festlegen", "OrderBookPlaceLimitOrder": "Bestellung aufgeben", "OrderBookCancelLimitOrder": "Bestellung stornieren", - "OrderBookCancelLimitOrders": "Bestellungen stornieren" + "OrderBookCancelLimitOrders": "Bestellungen stornieren", + "Burn": "Brennen", + "Mint": "Minze" }, "polkadotjs": { "noExtensions": "Es wurde keine {PolkadotJs} Erweiterung gefunden. Bitte, installiere sie und lade diese Seite erneut\nhttps:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Belohnung entgegennehmen", "remove": "Pfahl entfernen", - "more": "Setzen Sie mehr ein" + "more": "Setzen Sie mehr ein", + "confirm": "Bestätigen Sie das Abstecken", + "payout": "Ausschüttung", + "withdraw": "Zurückziehen" }, "overview": { "title": "{Sora} Wettend", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Sie haben keine nominierten Validatoren", "noValidators": "Es gibt keine Validatoren, die den angegebenen Filter erfüllen", "commission": "Kommission", - "commissionTooltip": "Unter Provision versteht man die Gebühr, die Validatoren für ihre Dienste im Staking-Prozess erheben. Diese als Prozentsatz ausgedrückte Gebühr wird vor der Verteilung von den Einsatzprämien abgezogen, die die Nominatoren erhalten. Es ist wichtig zu beachten, dass Prüfer ihre Provisionssätze jederzeit anpassen können" + "commissionTooltip": "Unter Provision versteht man die Gebühr, die Validatoren für ihre Dienste im Staking-Prozess erheben. Diese als Prozentsatz ausgedrückte Gebühr wird vor der Verteilung von den Einsatzprämien abgezogen, die die Nominatoren erhalten. Es ist wichtig zu beachten, dass Prüfer ihre Provisionssätze jederzeit anpassen können", + "return": "Zurückkehren" }, "info": { - "redeemable": "Einlösbar", "unstaking": "Abstecken", "stakingBalance": "Absteckguthaben", "rewarded": "Belohnt", @@ -1394,6 +1403,26 @@ "title": "Belohnung entgegennehmen", "checkRewards": "Überprüfen Sie die Belohnungen pro Ära und Validator", "rewardsDestination": "Zieladresse für Prämien" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Ausziehbar", + "beingWithdrawn": "Zurückgezogen werden", + "seeAll": "Alles sehen", + "nextWithdrawal": "Nächste Auszahlung", + "countdownLeft": "links" + }, + "stakeDialog": { + "toStake": "Zum Abstecken", + "toRemove": "Zu entfernen" + }, + "withdrawDialog": { + "title": "Nicht eingesetzte Gelder abheben", + "showAllWithdraws": "Alle Auszahlungen anzeigen" + }, + "allWithdrawsDialog": { + "title": "Nicht absteckende Aktivität", + "information": "Sobald Sie Tokens abheben, gibt es eine obligatorische 7-tägige Aufhebungsfrist. Nach diesem Zeitraum werden Ihre Token nicht automatisch wieder Ihrem Wallet gutgeschrieben. Sie müssen den Vorgang abschließen, indem Sie Ihre Token manuell abheben." } }, "collapseText": "Zusammenbruch", diff --git a/src/lang/en.json b/src/lang/en.json index 7853be9fa..d174625d9 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Set payee {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} at {price} {symbol2} placed", "OrderBookCancelLimitOrder": "Limit order cancelled", - "OrderBookCancelLimitOrders": "Limit orders cancelled" + "OrderBookCancelLimitOrders": "Limit orders cancelled", + "Burn": "Burned {amount} {symbol}", + "Mint": "Minted {amount} {symbol} to {address}" }, "error": { "Transfer": "Failed to {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Failed to set payee {address}", "OrderBookPlaceLimitOrder": "Failed to place limit order of {amount} {symbol} at {price} {symbol2}", "OrderBookCancelLimitOrders": "Failed to cancel limit orders", - "OrderBookCancelLimitOrder": "Failed to cancel limit order" + "OrderBookCancelLimitOrder": "Failed to cancel limit order", + "Burn": "Failed to burn {amount} {symbol}", + "Mint": "Failed to mint {amount} {symbol} to {address}" }, "ReferralReserveXor": "Bond XOR", "ReferralUnreserveXor": "Unbond XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Set Payee", "OrderBookPlaceLimitOrder": "Place Order", "OrderBookCancelLimitOrder": "Cancel Order", - "OrderBookCancelLimitOrders": "Cancel Orders" + "OrderBookCancelLimitOrders": "Cancel Orders", + "Burn": "Burn", + "Mint": "Mint" }, "polkadotjs": { "noExtensions": "No {PolkadotJs} extension was found. Please install it and reload this page\nhttps:\/\/polkadot.js.org\/extension\/", @@ -390,7 +396,8 @@ "Explore\/Farming": "Farming", "Staking": "Staking", "OrderBook": "Trade", - "Explore\/Books": "@:pageTitle.OrderBook" + "Explore\/Books": "@:pageTitle.OrderBook", + "Kensetsu": "Kensetsu" }, "mainMenu": { "Swap": "Swap", @@ -405,7 +412,8 @@ "StakingContainer": "Staking", "Explore\/Container": "Explore", "SoraCard": "{Sora} Card", - "OrderBook": "Trade" + "OrderBook": "Trade", + "Kensetsu": "Kensetsu" }, "social": { "twitter": "Twitter", @@ -1287,7 +1295,10 @@ "actions": { "claim": "Claim rewards", "remove": "Remove stake", - "more": "Stake more" + "more": "Stake more", + "confirm": "Confirm Staking", + "payout": "Payout", + "withdraw": "Withdraw" }, "overview": { "title": "{Sora} Staking", @@ -1312,10 +1323,10 @@ "noNominatedValidators": "You don't have any nominated validators", "noValidators": "There are no validators satisfying the specified filter", "commission": "Commission", - "commissionTooltip": "Commission refers to the fee charged by validators for their services in the staking process. This fee, expressed as a percentage, is deducted from the staking rewards earned by nominators before distribution. It's important to note that validators can adjust their commission rates at any time" + "commissionTooltip": "Commission refers to the fee charged by validators for their services in the staking process. This fee, expressed as a percentage, is deducted from the staking rewards earned by nominators before distribution. It's important to note that validators can adjust their commission rates at any time", + "return": "Return" }, "info": { - "redeemable": "Redeemable", "unstaking": "Unstaking", "stakingBalance": "Staking balance", "rewarded": "Rewarded", @@ -1355,8 +1366,8 @@ "edit": "Edit My Validators" }, "tabs": { - "user": "Your validators", - "all": "All validators" + "user": "Yours", + "all": "All" } }, "validatorsAttentionDialog": { @@ -1394,6 +1405,26 @@ "title": "Claim rewards", "checkRewards": "Check rewards per era and validator", "rewardsDestination": "Rewards destination address" + }, + "selectedValidators": "{count} ({Max} {max})", + "withdraw": { + "withdrawable": "Withdrawable", + "beingWithdrawn": "Being withdrawn", + "seeAll": "See all", + "nextWithdrawal": "Next withdrawal", + "countdownLeft": "left" + }, + "stakeDialog": { + "toStake": "To stake", + "toRemove": "To remove" + }, + "withdrawDialog": { + "title": "Withdraw unstaked funds", + "showAllWithdraws": "Show all withdraws" + }, + "allWithdrawsDialog": { + "title": "Unstaking activity", + "information": "Once you unstake tokens, there is a mandatory 7-day unstaking period. After this period, your tokens will not be automatically returned to your wallet. You must complete the process by manually withdrawing your tokens." } }, "collapseText": "Collapse", diff --git a/src/lang/es.json b/src/lang/es.json index 56f96f735..c89c765cb 100644 --- a/src/lang/es.json +++ b/src/lang/es.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Establecer beneficiario {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} a {price} {symbol2} colocado", "OrderBookCancelLimitOrder": "Orden límite cancelada", - "OrderBookCancelLimitOrders": "Limitar órdenes canceladas" + "OrderBookCancelLimitOrders": "Limitar órdenes canceladas", + "Burn": "Quemado {amount} {symbol}", + "Mint": "Acuñado {amount} {symbol} a {address}" }, "error": { "Transfer": "Fallo en {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "No se pudo establecer el beneficiario {address}", "OrderBookPlaceLimitOrder": "No se pudo realizar la orden limitada de {amount} {symbol} a {price} {symbol2}", "OrderBookCancelLimitOrders": "No se pudieron cancelar las órdenes limitadas", - "OrderBookCancelLimitOrder": "No se pudo cancelar la orden límite" + "OrderBookCancelLimitOrder": "No se pudo cancelar la orden límite", + "Burn": "No se pudo grabar {amount} {symbol}", + "Mint": "No se pudo acuñar {amount} {symbol} en {address}" }, "ReferralReserveXor": "Vincular XOR", "ReferralUnreserveXor": "Desvincular XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Establecer beneficiario", "OrderBookPlaceLimitOrder": "Realizar pedido", "OrderBookCancelLimitOrder": "Cancelar orden", - "OrderBookCancelLimitOrders": "Cancelar pedidos" + "OrderBookCancelLimitOrders": "Cancelar pedidos", + "Burn": "Quemar", + "Mint": "menta" }, "polkadotjs": { "noExtensions": "No se encontró la extensión {PolkadotJs}. Por favor instálela y vuelva a cargar esta página.\n https:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Reclamar premios", "remove": "Quitar estaca", - "more": "Apuesta más" + "more": "Apuesta más", + "confirm": "Confirmar apuesta", + "payout": "Pago", + "withdraw": "Retirar" }, "overview": { "title": "{Sora} Staking", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "No tienes ningún validador nominado.", "noValidators": "No hay validadores que cumplan el filtro especificado.", "commission": "Comisión", - "commissionTooltip": "La comisión se refiere a la tarifa que cobran los validadores por sus servicios en el proceso de apuesta. Esta tarifa, expresada como porcentaje, se deduce de las recompensas obtenidas por los nominadores antes de la distribución. Es importante tener en cuenta que los validadores pueden ajustar sus tasas de comisión en cualquier momento." + "commissionTooltip": "La comisión se refiere a la tarifa que cobran los validadores por sus servicios en el proceso de apuesta. Esta tarifa, expresada como porcentaje, se deduce de las recompensas obtenidas por los nominadores antes de la distribución. Es importante tener en cuenta que los validadores pueden ajustar sus tasas de comisión en cualquier momento.", + "return": "Devolver" }, "info": { - "redeemable": "Redimible", "unstaking": "Desestacar", "stakingBalance": "Equilibrio de apuesta", "rewarded": "Recompensado", @@ -1394,6 +1403,26 @@ "title": "Reclamar premios", "checkRewards": "Consultar recompensas por era y validador.", "rewardsDestination": "Dirección de destino de recompensas" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Retirable", + "beingWithdrawn": "siendo retirado", + "seeAll": "Ver todo", + "nextWithdrawal": "Próximo retiro", + "countdownLeft": "izquierda" + }, + "stakeDialog": { + "toStake": "Apostar", + "toRemove": "Para eliminar" + }, + "withdrawDialog": { + "title": "Retirar fondos no apostados", + "showAllWithdraws": "Mostrar todos los retiros" + }, + "allWithdrawsDialog": { + "title": "Actividad desestacada", + "information": "Una vez que retiras los tokens, existe un período obligatorio de retirada de tokens de 7 días. Después de este período, sus tokens no se devolverán automáticamente a su billetera. Debes completar el proceso retirando manualmente tus tokens." } }, "collapseText": "Colapso", diff --git a/src/lang/fr.json b/src/lang/fr.json index b7df29f08..92777096e 100644 --- a/src/lang/fr.json +++ b/src/lang/fr.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Définir le bénéficiaire {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} à {price} {symbol2} placé", "OrderBookCancelLimitOrder": "Ordre limité annulé", - "OrderBookCancelLimitOrders": "Ordres limités annulés" + "OrderBookCancelLimitOrders": "Ordres limités annulés", + "Burn": "Brûlé {amount} {symbol}", + "Mint": "Frappé {amount} {symbol} à {address}" }, "error": { "Transfer": "Échec de {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Échec de la définition du bénéficiaire {address}", "OrderBookPlaceLimitOrder": "Échec de la passation d'une commande limitée de {amount} {symbol} à {price} {symbol2}", "OrderBookCancelLimitOrders": "Échec de l'annulation des ordres limités", - "OrderBookCancelLimitOrder": "Échec de l'annulation de l'ordre limité" + "OrderBookCancelLimitOrder": "Échec de l'annulation de l'ordre limité", + "Burn": "Échec de la gravure {amount} {symbol}", + "Mint": "Échec de la création {amount} {symbol} à {address}" }, "ReferralReserveXor": "Lier XOR", "ReferralUnreserveXor": "Délier XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Définir le bénéficiaire", "OrderBookPlaceLimitOrder": "Passer la commande", "OrderBookCancelLimitOrder": "annuler la commande", - "OrderBookCancelLimitOrders": "Annuler les commandes" + "OrderBookCancelLimitOrders": "Annuler les commandes", + "Burn": "Brûler", + "Mint": "menthe" }, "polkadotjs": { "noExtensions": "Aucune extension {PolkadotJs} n'a été trouvée. Veuillez l'installer et recharger cette page\n https:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Réclamez des récompenses", "remove": "Supprimer la mise", - "more": "Miser davantage" + "more": "Miser davantage", + "confirm": "Confirmer le jalonnement", + "payout": "Paiement", + "withdraw": "Virement" }, "overview": { "title": "{Sora} Jalonnement", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Vous n'avez aucun validateur nommé", "noValidators": "Il n'y a aucun validateur satisfaisant au filtre spécifié", "commission": "Commission", - "commissionTooltip": "La commission fait référence aux frais facturés par les validateurs pour leurs services dans le processus de jalonnement. Ces frais, exprimés en pourcentage, sont déduits des récompenses de mise gagnées par les proposants avant distribution. Il est important de noter que les validateurs peuvent ajuster leurs taux de commission à tout moment." + "commissionTooltip": "La commission fait référence aux frais facturés par les validateurs pour leurs services dans le processus de jalonnement. Ces frais, exprimés en pourcentage, sont déduits des récompenses de mise gagnées par les proposants avant distribution. Il est important de noter que les validateurs peuvent ajuster leurs taux de commission à tout moment.", + "return": "Retour" }, "info": { - "redeemable": "Rachetable", "unstaking": "Détachement", "stakingBalance": "Solde de jalonnement", "rewarded": "Récompensé", @@ -1394,6 +1403,26 @@ "title": "Réclamez des récompenses", "checkRewards": "Vérifiez les récompenses par époque et validateur", "rewardsDestination": "Adresse de destination des récompenses" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Retirable", + "beingWithdrawn": "Être retiré", + "seeAll": "Voir tout", + "nextWithdrawal": "Prochain retrait", + "countdownLeft": "gauche" + }, + "stakeDialog": { + "toStake": "Miser", + "toRemove": "Retirer" + }, + "withdrawDialog": { + "title": "Retirer des fonds non mis en gage", + "showAllWithdraws": "Afficher tous les retraits" + }, + "allWithdrawsDialog": { + "title": "Activité sans enjeu", + "information": "Une fois que vous avez retiré les jetons, il y a une période de retrait obligatoire de 7 jours. Passé ce délai, vos tokens ne seront pas automatiquement restitués dans votre portefeuille. Vous devez terminer le processus en retirant manuellement vos jetons." } }, "collapseText": "Réduire", diff --git a/src/lang/hr.json b/src/lang/hr.json index e8d9ae4ed..94d467c0e 100644 --- a/src/lang/hr.json +++ b/src/lang/hr.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Postavi primatelja {address}", "OrderBookPlaceLimitOrder": "Postavljeno {side} {amount} {symbol} po {price} {symbol2}", "OrderBookCancelLimitOrder": "Ograničeni nalog je otkazan", - "OrderBookCancelLimitOrders": "Ograničene narudžbe su otkazane" + "OrderBookCancelLimitOrders": "Ograničene narudžbe su otkazane", + "Burn": "Spaljeno {amount} {symbol}", + "Mint": "Kovano {amount} {symbol} na {address}" }, "error": { "Transfer": "{action} {amount} {symbol} {direction} {address} nije uspio", @@ -98,7 +100,9 @@ "StakingSetPayee": "Nije uspjelo postavljanje primatelja {address}", "OrderBookPlaceLimitOrder": "Nije uspjelo postavljanje ograničene narudžbe od {amount} {symbol} po {price} {symbol2}", "OrderBookCancelLimitOrders": "Otkazivanje ograničenih naloga nije uspjelo", - "OrderBookCancelLimitOrder": "Otkazivanje ograničenog naloga nije uspjelo" + "OrderBookCancelLimitOrder": "Otkazivanje ograničenog naloga nije uspjelo", + "Burn": "Nije uspjelo spaljivanje {amount} {symbol}", + "Mint": "Nije uspjelo kovati {amount} {symbol} na {address}" }, "ReferralReserveXor": "Bond XOR", "ReferralUnreserveXor": "Unbond XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Postavite primatelja uplate", "OrderBookPlaceLimitOrder": "Naručiti", "OrderBookCancelLimitOrder": "Otkazati narudžbu", - "OrderBookCancelLimitOrders": "Otkaži narudžbe" + "OrderBookCancelLimitOrders": "Otkaži narudžbe", + "Burn": "Spaliti", + "Mint": "Kovnica" }, "polkadotjs": { "noExtensions": "Nije pronađeno proširenje {PolkadotJs}. Molimo instalirajte ga i ponovno učitajte ovu stranicu\nhttps:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Zatražite nagrade", "remove": "Uklonite ulog", - "more": "Uložite više" + "more": "Uložite više", + "confirm": "Potvrdite iskolčenje", + "payout": "Isplata", + "withdraw": "Povući" }, "overview": { "title": "{Sora} Staking", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Nemate nijednog imenovanog validatora", "noValidators": "Nema validatora koji zadovoljavaju navedeni filter", "commission": "Komisija", - "commissionTooltip": "Provizija se odnosi na naknadu koju naplaćuju validatori za svoje usluge u procesu isplate. Ova naknada, izražena kao postotak, oduzima se od nagrada za ulog koje zarade nominatori prije distribucije. Važno je napomenuti da validatori mogu prilagoditi svoje stope provizije u bilo kojem trenutku" + "commissionTooltip": "Provizija se odnosi na naknadu koju naplaćuju validatori za svoje usluge u procesu isplate. Ova naknada, izražena kao postotak, oduzima se od nagrada za ulog koje zarade nominatori prije distribucije. Važno je napomenuti da validatori mogu prilagoditi svoje stope provizije u bilo kojem trenutku", + "return": "Povratak" }, "info": { - "redeemable": "Iskupivo", "unstaking": "Unstaking", "stakingBalance": "Staking bilanca", "rewarded": "Nagrađeni", @@ -1394,6 +1403,26 @@ "title": "Zatražite nagrade", "checkRewards": "Provjerite nagrade po razdoblju i validatoru", "rewardsDestination": "Odredišna adresa nagrada" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Može se povući", + "beingWithdrawn": "Biti povučen", + "seeAll": "Vidi sve", + "nextWithdrawal": "Sljedeće povlačenje", + "countdownLeft": "lijevo" + }, + "stakeDialog": { + "toStake": "Uložiti ulog", + "toRemove": "Ukloniti" + }, + "withdrawDialog": { + "title": "Povucite neuložena sredstva", + "showAllWithdraws": "Prikaži sva povlačenja" + }, + "allWithdrawsDialog": { + "title": "Neuvjetna aktivnost", + "information": "Nakon što poništite ulog tokena, postoji obvezno razdoblje od 7 dana. Nakon tog razdoblja, vaši tokeni neće biti automatski vraćeni u vaš novčanik. Morate dovršiti postupak ručnim povlačenjem tokena." } }, "collapseText": "Kolaps", diff --git a/src/lang/hu.json b/src/lang/hu.json index 24fa32162..7fd4f7e5b 100644 --- a/src/lang/hu.json +++ b/src/lang/hu.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Kedvezményezett {address} beállítása", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} áron {price} {symbol2} elhelyezve", "OrderBookCancelLimitOrder": "Limit megbízás törölve", - "OrderBookCancelLimitOrders": "Limit megrendelések törölve" + "OrderBookCancelLimitOrders": "Limit megrendelések törölve", + "Burn": "Égetett {amount} {symbol}", + "Mint": "Verte {amount} {symbol} erre: {address}" }, "error": { "Transfer": "Nem sikerült {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Nem sikerült beállítani a kedvezményezettet {address}", "OrderBookPlaceLimitOrder": "Nem sikerült elhelyezni {amount} {symbol} összegű limitrendelést {price} {symbol2} áron", "OrderBookCancelLimitOrders": "Nem sikerült törölni a limitált rendeléseket", - "OrderBookCancelLimitOrder": "Nem sikerült törölni a limitált rendelést" + "OrderBookCancelLimitOrder": "Nem sikerült törölni a limitált rendelést", + "Burn": "Nem sikerült égetni {amount} {symbol}", + "Mint": "Nem sikerült menteni {amount} {symbol} címet a következő címre {address}" }, "ReferralReserveXor": "XOR lekötése", "ReferralUnreserveXor": "XOR feloldása", @@ -125,7 +129,9 @@ "StakingSetPayee": "Kedvezményezett beállítása", "OrderBookPlaceLimitOrder": "Rendelés leadása", "OrderBookCancelLimitOrder": "Megrendelés törlése", - "OrderBookCancelLimitOrders": "Megrendelések törlése" + "OrderBookCancelLimitOrders": "Megrendelések törlése", + "Burn": "Éget", + "Mint": "Menta" }, "polkadotjs": { "noExtensions": "Nem találtunk {PolkadotJs} kiterjesztést. Kérjük, telepítsd és töltse be újra ezt az oldalt\nhttps:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Kérjen jutalmakat", "remove": "Távolítsa el a tétet", - "more": "Tételj többet" + "more": "Tételj többet", + "confirm": "Erősítse meg Staking-et", + "payout": "Kifizetés", + "withdraw": "Kivét" }, "overview": { "title": "{Sora} Staking", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Nincsenek kijelölt érvényesítői", "noValidators": "Nincsenek a megadott szűrőt kielégítő érvényesítők", "commission": "jutalék", - "commissionTooltip": "A jutalék arra a díjra vonatkozik, amelyet az érvényesítők felszámítanak a licitálási folyamat során nyújtott szolgáltatásaikért. Ezt a százalékban kifejezett díjat levonják a jelölők által a kiosztás előtt szerzett tét jutalmakból. Fontos megjegyezni, hogy az érvényesítők bármikor módosíthatják a jutalék mértékét" + "commissionTooltip": "A jutalék arra a díjra vonatkozik, amelyet az érvényesítők felszámítanak a licitálási folyamat során nyújtott szolgáltatásaikért. Ezt a százalékban kifejezett díjat levonják a jelölők által a kiosztás előtt szerzett tét jutalmakból. Fontos megjegyezni, hogy az érvényesítők bármikor módosíthatják a jutalék mértékét", + "return": "Visszatérés" }, "info": { - "redeemable": "Beváltható", "unstaking": "Unstaking", "stakingBalance": "Egyensúly kockáztatása", "rewarded": "Jutalmazott", @@ -1394,6 +1403,26 @@ "title": "Kérjen jutalmakat", "checkRewards": "Ellenőrizze a jutalmakat korszakonként és érvényesítőnként", "rewardsDestination": "Jutalmak célcíme" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Kivonható", + "beingWithdrawn": "Visszahúzódó", + "seeAll": "Az összes megtekintése", + "nextWithdrawal": "Következő visszavonás", + "countdownLeft": "bal" + }, + "stakeDialog": { + "toStake": "A téthez", + "toRemove": "Eltávolítani" + }, + "withdrawDialog": { + "title": "Vonja ki a nem tét nélküli alapokat", + "showAllWithdraws": "Az összes visszavonás megjelenítése" + }, + "allWithdrawsDialog": { + "title": "Könnyű tevékenység", + "information": "Miután visszavonta a tokeneket, van egy kötelező 7 napos tétbevonási időszak. Ezen időszak után a tokenek nem kerülnek automatikusan vissza a pénztárcájába. A folyamatot be kell fejeznie a tokenek manuális visszavonásával." } }, "collapseText": "Összeomlás", diff --git a/src/lang/hy.json b/src/lang/hy.json index 58fa27afa..1915c68ac 100644 --- a/src/lang/hy.json +++ b/src/lang/hy.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Սահմանել վճարողի {address}", "OrderBookPlaceLimitOrder": "Տեղադրված է {side} {amount} {symbol} {price} {symbol2} ով", "OrderBookCancelLimitOrder": "Սահմանափակման պատվերը չեղարկվել է", - "OrderBookCancelLimitOrders": "Սահմանափակ պատվերները չեղարկվել են" + "OrderBookCancelLimitOrders": "Սահմանափակ պատվերները չեղարկվել են", + "Burn": "Այրված {amount} {symbol}", + "Mint": "Նշված է {amount} {symbol} {address} -ին" }, "error": { "Transfer": "Չհաջողվեց {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Չհաջողվեց սահմանել վճարողի {address}", "OrderBookPlaceLimitOrder": "Չհաջողվեց սահմանել {amount} {symbol} ի սահմանային պատվեր {price} {symbol2} ով", "OrderBookCancelLimitOrders": "Չհաջողվեց չեղարկել սահմանափակ պատվերները", - "OrderBookCancelLimitOrder": "Չհաջողվեց չեղարկել սահմանաչափի պատվերը" + "OrderBookCancelLimitOrder": "Չհաջողվեց չեղարկել սահմանաչափի պատվերը", + "Burn": "Չհաջողվեց այրել {amount} {symbol}", + "Mint": "Չհաջողվեց հատել {amount} {symbol} {address} -ին" }, "ReferralReserveXor": "Բոնդ XOR", "ReferralUnreserveXor": "Ունբոնդ XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Սահմանել վճարողին", "OrderBookPlaceLimitOrder": "Պատվիրել", "OrderBookCancelLimitOrder": "Չեղարկել պատվերը", - "OrderBookCancelLimitOrders": "Չեղարկել պատվերները" + "OrderBookCancelLimitOrders": "Չեղարկել պատվերները", + "Burn": "Այրվել", + "Mint": "անանուխ" }, "polkadotjs": { "noExtensions": "{PolkadotJs} ի ոչ մի ընդլայնում չի գտնվել: Տեղադրեք և վերաբեռնեք այս էջը\n https:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Պահանջեք պարգևներ", "remove": "Հեռացնել ցցը", - "more": "Ավելի շատ խաղադրույք կատարեք" + "more": "Ավելի շատ խաղադրույք կատարեք", + "confirm": "Հաստատեք խաղադրույքը", + "payout": "Վճարել", + "withdraw": "Հանել" }, "overview": { "title": "{Sora} Սաթ", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Դուք առաջադրված վավերացնողներ չունեք", "noValidators": "Նշված ֆիլտրը բավարարող վավերացնողներ չկան", "commission": "հանձնաժողով", - "commissionTooltip": "Հանձնաժողովը վերաբերում է այն վճարին, որը գանձվում է վավերացնողների կողմից խաղադրույքի գործընթացում իրենց ծառայությունների համար: Այս վճարը, արտահայտված որպես տոկոս, հանվում է խաղադրույքի պարգևներից, որոնք վաստակել են առաջադրողները մինչև բաշխումը: Կարևոր է նշել, որ վավերացնողները ցանկացած պահի կարող են հարմարեցնել իրենց միջնորդավճարները" + "commissionTooltip": "Հանձնաժողովը վերաբերում է այն վճարին, որը գանձվում է վավերացնողների կողմից խաղադրույքի գործընթացում իրենց ծառայությունների համար: Այս վճարը, արտահայտված որպես տոկոս, հանվում է խաղադրույքի պարգևներից, որոնք վաստակել են առաջադրողները մինչև բաշխումը: Կարևոր է նշել, որ վավերացնողները ցանկացած պահի կարող են հարմարեցնել իրենց միջնորդավճարները", + "return": "Վերադարձ" }, "info": { - "redeemable": "Հետգնելի", "unstaking": "Անցանկալի", "stakingBalance": "Խաղադրույքի մնացորդը", "rewarded": "Պարգևատրվել է", @@ -1394,6 +1403,26 @@ "title": "Պահանջեք պարգևներ", "checkRewards": "Ստուգեք պարգեւատրումը մեկ դարաշրջանում եւ վավերական", "rewardsDestination": "Պարգևատրման նպատակակետ հասցե" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Հետ կանչելի", + "beingWithdrawn": "Հեռացված լինելը", + "seeAll": "Տեսնել բոլորը", + "nextWithdrawal": "Հաջորդ դուրսբերումը", + "countdownLeft": "ձախ" + }, + "stakeDialog": { + "toStake": "Խաղադրույք կատարել", + "toRemove": "Հեռացնելու համար" + }, + "withdrawDialog": { + "title": "Հանեք չստացված միջոցները", + "showAllWithdraws": "Ցուցադրել բոլոր դուրսբերումները" + }, + "allWithdrawsDialog": { + "title": "Բացասական գործունեություն", + "information": "Նշանները հանելուց հետո կա պարտադիր 7-օրյա ժամկետ: Այս ժամանակահատվածից հետո ձեր նշանները ավտոմատ կերպով չեն վերադարձվի ձեր դրամապանակ: Դուք պետք է ավարտեք գործընթացը՝ ձեռքով հանելով ձեր նշանները:" } }, "collapseText": "Փլուզվել", diff --git a/src/lang/id.json b/src/lang/id.json index 6e07696cc..cf9e4ad17 100644 --- a/src/lang/id.json +++ b/src/lang/id.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Tetapkan penerima pembayaran {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} pada {price} {symbol2} ditempatkan", "OrderBookCancelLimitOrder": "Batas pesanan dibatalkan", - "OrderBookCancelLimitOrders": "Batasi pesanan dibatalkan" + "OrderBookCancelLimitOrders": "Batasi pesanan dibatalkan", + "Burn": "Terbakar {amount} {symbol}", + "Mint": "Dicetak {amount} {symbol} ke {address}" }, "error": { "Transfer": "Gagal {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Gagal menetapkan penerima pembayaran {address}", "OrderBookPlaceLimitOrder": "Gagal menempatkan limit order {amount} {symbol} pada {price} {symbol2}", "OrderBookCancelLimitOrders": "Gagal membatalkan pesanan batas", - "OrderBookCancelLimitOrder": "Gagal membatalkan pesanan batas" + "OrderBookCancelLimitOrder": "Gagal membatalkan pesanan batas", + "Burn": "Gagal membakar {amount} {symbol}", + "Mint": "Gagal mencetak {amount} {symbol} ke {address}" }, "ReferralReserveXor": "Ikatan XOR", "ReferralUnreserveXor": "Lepaskan ikatan XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Tetapkan Penerima Pembayaran", "OrderBookPlaceLimitOrder": "Tempatkan Pesanan", "OrderBookCancelLimitOrder": "Batalkan pesanan", - "OrderBookCancelLimitOrders": "Batalkan Pesanan" + "OrderBookCancelLimitOrders": "Batalkan Pesanan", + "Burn": "Membakar", + "Mint": "daun mint" }, "polkadotjs": { "noExtensions": "Tidak ada ekstensi {PolkadotJs} yang ditemukan. Silakan instal dan muat ulang halaman ini\n https:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Klaim hadiah", "remove": "Hapus taruhan", - "more": "Taruhan lebih banyak" + "more": "Taruhan lebih banyak", + "confirm": "Konfirmasikan Taruhan", + "payout": "Pembayaran", + "withdraw": "Withdraw" }, "overview": { "title": "{Sora} Mempertaruhkan", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Anda tidak memiliki validator yang dinominasikan", "noValidators": "Tidak ada validator yang memenuhi filter yang ditentukan", "commission": "Komisi", - "commissionTooltip": "Komisi mengacu pada biaya yang dibebankan oleh validator atas layanan mereka dalam proses staking. Biaya ini, yang dinyatakan dalam persentase, dipotong dari imbalan staking yang diperoleh nominator sebelum didistribusikan. Penting untuk diperhatikan bahwa validator dapat menyesuaikan tarif komisinya kapan saja" + "commissionTooltip": "Komisi mengacu pada biaya yang dibebankan oleh validator atas layanan mereka dalam proses staking. Biaya ini, yang dinyatakan dalam persentase, dipotong dari imbalan staking yang diperoleh nominator sebelum didistribusikan. Penting untuk diperhatikan bahwa validator dapat menyesuaikan tarif komisinya kapan saja", + "return": "Kembali" }, "info": { - "redeemable": "Dapat ditukarkan", "unstaking": "Tidak mempertaruhkan", "stakingBalance": "Saldo taruhan", "rewarded": "Dihargai", @@ -1394,6 +1403,26 @@ "title": "Klaim hadiah", "checkRewards": "Periksa hadiah per era dan validator", "rewardsDestination": "Alamat tujuan hadiah" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Dapat ditarik", + "beingWithdrawn": "Ditarik", + "seeAll": "Lihat semua", + "nextWithdrawal": "Penarikan berikutnya", + "countdownLeft": "kiri" + }, + "stakeDialog": { + "toStake": "Untuk mempertaruhkan", + "toRemove": "Untuk menghapus" + }, + "withdrawDialog": { + "title": "Tarik dana yang belum dipertaruhkan", + "showAllWithdraws": "Tampilkan semua penarikan" + }, + "allWithdrawsDialog": { + "title": "Aktivitas yang tidak mempertaruhkan", + "information": "Setelah Anda membatalkan staking token, ada periode wajib unstaking selama 7 hari. Setelah periode ini, token Anda tidak akan otomatis dikembalikan ke dompet Anda. Anda harus menyelesaikan prosesnya dengan menarik token Anda secara manual." } }, "collapseText": "Runtuh", diff --git a/src/lang/it.json b/src/lang/it.json index 5add68dc2..8b63f2884 100644 --- a/src/lang/it.json +++ b/src/lang/it.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Imposta beneficiario {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} a {price} {symbol2} piazzato", "OrderBookCancelLimitOrder": "Ordine limite annullato", - "OrderBookCancelLimitOrders": "Ordini limite annullati" + "OrderBookCancelLimitOrders": "Ordini limite annullati", + "Burn": "{amount} {symbol} bruciato", + "Mint": "Coniato {amount} {symbol} a {address}" }, "error": { "Transfer": "Impossibile {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Impossibile impostare il beneficiario {address}", "OrderBookPlaceLimitOrder": "Impossibile effettuare un ordine limite di {amount} {symbol} a {price} {symbol2}", "OrderBookCancelLimitOrders": "Impossibile annullare gli ordini limite", - "OrderBookCancelLimitOrder": "Impossibile annullare l'ordine limite" + "OrderBookCancelLimitOrder": "Impossibile annullare l'ordine limite", + "Burn": "Impossibile masterizzare {amount} {symbol}", + "Mint": "Impossibile coniare {amount} {symbol} su {address}" }, "ReferralReserveXor": "Legame XOR", "ReferralUnreserveXor": "Svincola XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Imposta beneficiario", "OrderBookPlaceLimitOrder": "Invia ordine", "OrderBookCancelLimitOrder": "Annulla Ordine", - "OrderBookCancelLimitOrders": "Annulla ordini" + "OrderBookCancelLimitOrders": "Annulla ordini", + "Burn": "Bruciare", + "Mint": "menta" }, "polkadotjs": { "noExtensions": "Nessuna estensione {PolkadotJs} trovata. Si prega di installarla e ricaricare questa pagina\nhttps:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Richiedi premi", "remove": "Rimuovi il paletto", - "more": "Punta di più" + "more": "Punta di più", + "confirm": "Conferma puntata", + "payout": "Payout", + "withdraw": "Ritirare" }, "overview": { "title": "{Sora} Picchettamento", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Non hai validatori nominati", "noValidators": "Non sono presenti validatori che soddisfano il filtro specificato", "commission": "Commissione", - "commissionTooltip": "La commissione si riferisce alla commissione addebitata dai validatori per i loro servizi nel processo di staking. Questa commissione, espressa in percentuale, viene detratta dai premi di staking guadagnati dai nominatori prima della distribuzione. È importante notare che i validatori possono modificare le loro tariffe di commissione in qualsiasi momento" + "commissionTooltip": "La commissione si riferisce alla commissione addebitata dai validatori per i loro servizi nel processo di staking. Questa commissione, espressa in percentuale, viene detratta dai premi di staking guadagnati dai nominatori prima della distribuzione. È importante notare che i validatori possono modificare le loro tariffe di commissione in qualsiasi momento", + "return": "Ritorno" }, "info": { - "redeemable": "Riscattabile", "unstaking": "Instabile", "stakingBalance": "Saldo della puntata", "rewarded": "Premiato", @@ -1394,6 +1403,26 @@ "title": "Richiedi premi", "checkRewards": "Controlla i premi per epoca e validatore", "rewardsDestination": "Indirizzo di destinazione del premio" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Estraibile", + "beingWithdrawn": "Essere ritirato", + "seeAll": "Vedi tutto", + "nextWithdrawal": "Prossimo ritiro", + "countdownLeft": "Sinistra" + }, + "stakeDialog": { + "toStake": "Puntare", + "toRemove": "Rimuovere" + }, + "withdrawDialog": { + "title": "Prelevare i fondi non prelevati", + "showAllWithdraws": "Mostra tutti i prelievi" + }, + "allWithdrawsDialog": { + "title": "Attività non impegnativa", + "information": "Una volta annullati i token, è previsto un periodo obbligatorio di annullamento dello staking di 7 giorni. Dopo questo periodo, i tuoi token non verranno automaticamente restituiti al tuo portafoglio. È necessario completare il processo ritirando manualmente i token." } }, "collapseText": "Crollo", diff --git a/src/lang/nl.json b/src/lang/nl.json index 49589fbe9..f50c2cada 100644 --- a/src/lang/nl.json +++ b/src/lang/nl.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Begunstigde {address} instellen", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} voor {price} {symbol2} geplaatst", "OrderBookCancelLimitOrder": "Limietorder geannuleerd", - "OrderBookCancelLimitOrders": "Limietorders geannuleerd" + "OrderBookCancelLimitOrders": "Limietorders geannuleerd", + "Burn": "Verbrand {amount} {symbol}", + "Mint": "Geslagen {amount} {symbol} naar {address}" }, "error": { "Transfer": "Kon {amount} {symbol} {action} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Kan begunstigde {address} niet instellen", "OrderBookPlaceLimitOrder": "Het plaatsen van een limietorder van {amount} {symbol} bij {price} {symbol2} is niet gelukt", "OrderBookCancelLimitOrders": "Kan limietorders niet annuleren", - "OrderBookCancelLimitOrder": "Kan limietorder niet annuleren" + "OrderBookCancelLimitOrder": "Kan limietorder niet annuleren", + "Burn": "Kan {amount} {symbol} niet verbranden", + "Mint": "Kan {amount} {symbol} niet aan {address} toevoegen" }, "ReferralReserveXor": "Bond XOR", "ReferralUnreserveXor": "Ontbonden XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Begunstigde instellen", "OrderBookPlaceLimitOrder": "Plaats bestelling", "OrderBookCancelLimitOrder": "Annuleer bestelling", - "OrderBookCancelLimitOrders": "Bestellingen annuleren" + "OrderBookCancelLimitOrders": "Bestellingen annuleren", + "Burn": "Brandwond", + "Mint": "Munt" }, "polkadotjs": { "noExtensions": "Er is geen {PolkadotJs} extensie gevonden. Installeer het en laad deze pagina opnieuw\n https:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Claim beloningen", "remove": "Staak verwijderen", - "more": "Zet meer in" + "more": "Zet meer in", + "confirm": "Bevestig het uitzetten", + "payout": "Uitbetaling", + "withdraw": "Opnemen" }, "overview": { "title": "{Sora} Uitzetten", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "U heeft geen genomineerde validators", "noValidators": "Er zijn geen validators die aan het opgegeven filter voldoen", "commission": "Commissie", - "commissionTooltip": "Commissie verwijst naar de vergoeding die validators in rekening brengen voor hun diensten in het stakingproces. Deze vergoeding, uitgedrukt als een percentage, wordt afgetrokken van de inzetoefeningen die de nominatoren vóór distributie hebben verdiend. Het is belangrijk op te merken dat validators hun commissietarieven op elk moment kunnen aanpassen" + "commissionTooltip": "Commissie verwijst naar de vergoeding die validators in rekening brengen voor hun diensten in het stakingproces. Deze vergoeding, uitgedrukt als een percentage, wordt afgetrokken van de inzetoefeningen die de nominatoren vóór distributie hebben verdiend. Het is belangrijk op te merken dat validators hun commissietarieven op elk moment kunnen aanpassen", + "return": "Opbrengst" }, "info": { - "redeemable": "Inwisselbaar", "unstaking": "Niet uitzetten", "stakingBalance": "Balans uitzetten", "rewarded": "Beloond", @@ -1394,6 +1403,26 @@ "title": "Claim beloningen", "checkRewards": "Controleer beloningen per tijdperk en validator", "rewardsDestination": "Bestemmingsadres van beloningen" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Opneembaar", + "beingWithdrawn": "Teruggetrokken zijn", + "seeAll": "Alles zien", + "nextWithdrawal": "Volgende terugtrekking", + "countdownLeft": "links" + }, + "stakeDialog": { + "toStake": "Om in te zetten", + "toRemove": "Verwijderen" + }, + "withdrawDialog": { + "title": "Niet-uitgezette gelden opnemen", + "showAllWithdraws": "Toon alle opnames" + }, + "allWithdrawsDialog": { + "title": "Niet-uitzettende activiteit", + "information": "Zodra u tokens ongedaan maakt, is er een verplichte periode van zeven dagen. Na deze periode worden uw tokens niet automatisch teruggestuurd naar uw portemonnee. U moet het proces voltooien door uw tokens handmatig in te trekken." } }, "collapseText": "Instorten", diff --git a/src/lang/no.json b/src/lang/no.json index 5baa19aae..8a239c246 100644 --- a/src/lang/no.json +++ b/src/lang/no.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Angi betalingsmottaker {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} til {price} {symbol2} plassert", "OrderBookCancelLimitOrder": "Begrensningsbestilling kansellert", - "OrderBookCancelLimitOrders": "Limit bestillinger kansellert" + "OrderBookCancelLimitOrders": "Limit bestillinger kansellert", + "Burn": "Brent {amount} {symbol}", + "Mint": "Preget {amount} {symbol} til {address}" }, "error": { "Transfer": "Kunne ikke {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Kunne ikke angi betalingsmottaker {address}", "OrderBookPlaceLimitOrder": "Kunne ikke legge inn grensebestilling på {amount} {symbol} til {price} {symbol2}", "OrderBookCancelLimitOrders": "Kunne ikke kansellere begrensede bestillinger", - "OrderBookCancelLimitOrder": "Kunne ikke kansellere begrenset ordre" + "OrderBookCancelLimitOrder": "Kunne ikke kansellere begrenset ordre", + "Burn": "Kunne ikke brenne {amount} {symbol}", + "Mint": "Kunne ikke prege {amount} {symbol} til {address}" }, "ReferralReserveXor": "Knytte bånd XOR", "ReferralUnreserveXor": "Koble ut XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Angi betalingsmottaker", "OrderBookPlaceLimitOrder": "Legg inn bestilling", "OrderBookCancelLimitOrder": "Avbryt bestillingen", - "OrderBookCancelLimitOrders": "Kanseller bestillinger" + "OrderBookCancelLimitOrders": "Kanseller bestillinger", + "Burn": "Brenne", + "Mint": "Mynte" }, "polkadotjs": { "noExtensions": "Finner ingen {PolkadotJs} utvidelse. Installer den og last inn denne siden på nytt\nhttps:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Gjør krav på belønninger", "remove": "Fjern innsatsen", - "more": "Sats mer" + "more": "Sats mer", + "confirm": "Bekreft staking", + "payout": "Utbetaling", + "withdraw": "Ta ut" }, "overview": { "title": "{Sora} Staking", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Du har ingen nominerte validatorer", "noValidators": "Det er ingen validatorer som tilfredsstiller det angitte filteret", "commission": "Kommisjon", - "commissionTooltip": "Provisjon refererer til gebyret som kreves av validatorer for deres tjenester i innsatsprosessen. Denne avgiften, uttrykt som en prosentandel, trekkes fra innsatsbelønningene opptjent av nominatorer før utdeling. Det er viktig å merke seg at validatorer kan justere sine provisjonssatser når som helst" + "commissionTooltip": "Provisjon refererer til gebyret som kreves av validatorer for deres tjenester i innsatsprosessen. Denne avgiften, uttrykt som en prosentandel, trekkes fra innsatsbelønningene opptjent av nominatorer før utdeling. Det er viktig å merke seg at validatorer kan justere sine provisjonssatser når som helst", + "return": "Komme tilbake" }, "info": { - "redeemable": "Innløselig", "unstaking": "Unstaking", "stakingBalance": "Staking balanse", "rewarded": "Belønnet", @@ -1394,6 +1403,26 @@ "title": "Gjør krav på belønninger", "checkRewards": "Sjekk belønninger per epoke og validator", "rewardsDestination": "Destinasjonsadresse for belønninger" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Uttrekkbar", + "beingWithdrawn": "Blir trukket tilbake", + "seeAll": "Se alt", + "nextWithdrawal": "Neste uttak", + "countdownLeft": "venstre" + }, + "stakeDialog": { + "toStake": "Å satse", + "toRemove": "Å fjerne" + }, + "withdrawDialog": { + "title": "Ta ut uinnsatte midler", + "showAllWithdraws": "Vis alle uttak" + }, + "allWithdrawsDialog": { + "title": "Ustabil aktivitet", + "information": "Når du har trukket ut tokens, er det en obligatorisk 7-dagers utsettingsperiode. Etter denne perioden vil ikke tokens automatisk bli returnert til lommeboken din. Du må fullføre prosessen ved å trekke ut tokens manuelt." } }, "collapseText": "Kollapse", diff --git a/src/lang/pl.json b/src/lang/pl.json index 84d019f13..75fecc5b0 100644 --- a/src/lang/pl.json +++ b/src/lang/pl.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Ustaw odbiorcę płatności {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} po {price} {symbol2}", "OrderBookCancelLimitOrder": "Zlecenie limitowane anulowane", - "OrderBookCancelLimitOrders": "Zamówienia z limitem anulowane" + "OrderBookCancelLimitOrders": "Zamówienia z limitem anulowane", + "Burn": "Spalony {amount} {symbol}", + "Mint": "Wybito {amount} {symbol} na {address}" }, "error": { "Transfer": "Nie udało się {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Nie udało się ustawić odbiorcy płatności {address}", "OrderBookPlaceLimitOrder": "Nie udało się złożyć zamówienia z limitem {amount} {symbol} po {price} {symbol2}", "OrderBookCancelLimitOrders": "Nie udało się anulować zleceń z limitem", - "OrderBookCancelLimitOrder": "Nie udało się anulować zamówienia z limitem" + "OrderBookCancelLimitOrder": "Nie udało się anulować zamówienia z limitem", + "Burn": "Nie udało się nagrać {amount} {symbol}", + "Mint": "Nie udało się wybić {amount} {symbol} na {address}" }, "ReferralReserveXor": "Utwórz rezerwy XOR", "ReferralUnreserveXor": "Uwolnij rezerwy XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Ustaw odbiorcę", "OrderBookPlaceLimitOrder": "Złożyć zamówienie", "OrderBookCancelLimitOrder": "Anuluj zamówienie", - "OrderBookCancelLimitOrders": "Anuluj zamówienia" + "OrderBookCancelLimitOrders": "Anuluj zamówienia", + "Burn": "Oparzenie", + "Mint": "Mennica" }, "polkadotjs": { "noExtensions": "Nie znaleziono rozszerzenia {PolkadotJs}. Zainstaluj je i odśwież tę stronę\nhttps:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Odbieraj nagrody", "remove": "Usuń stawkę", - "more": "Stawiaj więcej" + "more": "Stawiaj więcej", + "confirm": "Potwierdź stakowanie", + "payout": "Wypłaty", + "withdraw": "Wypłacanie" }, "overview": { "title": "{Sora} Wytyczania", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Nie masz żadnych wyznaczonych walidatorów", "noValidators": "Brak walidatorów spełniających określony filtr", "commission": "Zamawiać", - "commissionTooltip": "Prowizja odnosi się do opłaty pobieranej przez walidatorów za ich usługi w procesie obstawiania. Opłata ta, wyrażona procentowo, jest odejmowana od nagród za obstawianie zdobytych przez nominatorów przed dystrybucją. Należy pamiętać, że walidatorzy mogą w dowolnym momencie dostosować stawki prowizji" + "commissionTooltip": "Prowizja odnosi się do opłaty pobieranej przez walidatorów za ich usługi w procesie obstawiania. Opłata ta, wyrażona procentowo, jest odejmowana od nagród za obstawianie zdobytych przez nominatorów przed dystrybucją. Należy pamiętać, że walidatorzy mogą w dowolnym momencie dostosować stawki prowizji", + "return": "Powrót" }, "info": { - "redeemable": "Odkupny", "unstaking": "Odstawienie", "stakingBalance": "Bilans stawek", "rewarded": "Wynagrodzony", @@ -1394,6 +1403,26 @@ "title": "Odbieraj nagrody", "checkRewards": "Sprawdź nagrody według epoki i walidatora", "rewardsDestination": "Adres docelowy nagród" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Możliwość wypłaty", + "beingWithdrawn": "Będąc wycofanym", + "seeAll": "Widzieć wszystko", + "nextWithdrawal": "Następne wycofanie", + "countdownLeft": "lewy" + }, + "stakeDialog": { + "toStake": "Stawiać", + "toRemove": "Usuwać" + }, + "withdrawDialog": { + "title": "Wypłać niepostawione środki", + "showAllWithdraws": "Pokaż wszystkie wypłaty" + }, + "allWithdrawsDialog": { + "title": "Bezinteresowna aktywność", + "information": "Po odstawieniu tokenów następuje obowiązkowy 7-dniowy okres odstawiania. Po tym okresie Twoje tokeny nie zostaną automatycznie zwrócone do Twojego portfela. Musisz zakończyć proces, ręcznie wycofując swoje tokeny." } }, "collapseText": "Zawalić się", diff --git a/src/lang/ru.json b/src/lang/ru.json index 687d6835b..207878378 100644 --- a/src/lang/ru.json +++ b/src/lang/ru.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Установить получателя платежа {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} по {price} {symbol2} размещено", "OrderBookCancelLimitOrder": "Лимитный ордер отменен", - "OrderBookCancelLimitOrders": "Лимитные ордера отменены" + "OrderBookCancelLimitOrders": "Лимитные ордера отменены", + "Burn": "Сожжено {amount} {symbol}", + "Mint": "Отчеканено {amount} {symbol} на {address}" }, "error": { "Transfer": "Не удалось {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Не удалось установить получателя платежа {address}", "OrderBookPlaceLimitOrder": "Не удалось разместить лимитный ордер на {amount} {symbol} по {price} {symbol2}", "OrderBookCancelLimitOrders": "Не удалось отменить лимитные ордера", - "OrderBookCancelLimitOrder": "Не удалось отменить лимитный ордер" + "OrderBookCancelLimitOrder": "Не удалось отменить лимитный ордер", + "Burn": "Не удалось сжечь {amount} {symbol}", + "Mint": "Не удалось отчеканить {amount} {symbol} на {address}" }, "ReferralReserveXor": "Зарезервировать XOR", "ReferralUnreserveXor": "Вывести XOR из резерва", @@ -125,7 +129,9 @@ "StakingSetPayee": "Установить получателя платежа", "OrderBookPlaceLimitOrder": "Разместить заказ", "OrderBookCancelLimitOrder": "Отменить заказ", - "OrderBookCancelLimitOrders": "Отменить заказы" + "OrderBookCancelLimitOrders": "Отменить заказы", + "Burn": "Сжигание", + "Mint": "Чеканка" }, "polkadotjs": { "noExtensions": "Расширение {PolkadotJs} не найдено. Пожалуйста, установите его и перезагрузите эту страницу\n https:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Получите награды", "remove": "Удалить стейкинг", - "more": "Застейкать ещё" + "more": "Застейкать ещё", + "confirm": "Подтвердить ставку", + "payout": "Выплаты", + "withdraw": "Вывод" }, "overview": { "title": "{Sora} Стейкинг", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "У вас нет номинированных валидаторов", "noValidators": "Нет валидаторов, удовлетворяющих указанному фильтру", "commission": "Комиссия", - "commissionTooltip": "Комиссия — это плата, взимаемая валидаторами за свои услуги в процессе размещения стейкинга. Эта комиссия, выраженная в процентах, вычитается из вознаграждений за стейкинг, полученных номинаторами перед распределением. Важно отметить, что валидаторы могут корректировать стейкинг комиссии в любое время." + "commissionTooltip": "Комиссия — это плата, взимаемая валидаторами за свои услуги в процессе размещения стейкинга. Эта комиссия, выраженная в процентах, вычитается из вознаграждений за стейкинг, полученных номинаторами перед распределением. Важно отметить, что валидаторы могут корректировать стейкинг комиссии в любое время.", + "return": "Возвращаться" }, "info": { - "redeemable": "Можно забрать", "unstaking": "В процессе вывода", "stakingBalance": "Баланс стейкинга", "rewarded": "Заработано", @@ -1394,6 +1403,26 @@ "title": "Получите награды", "checkRewards": "Проверьте награды за эпоху и валидаторов", "rewardsDestination": "Адрес для получения наград" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Выкатной", + "beingWithdrawn": "Будучи отозванным", + "seeAll": "Увидеть все", + "nextWithdrawal": "Следующий вывод", + "countdownLeft": "левый" + }, + "stakeDialog": { + "toStake": "Ставить", + "toRemove": "Удалять" + }, + "withdrawDialog": { + "title": "Вывод анстейкнутых средств", + "showAllWithdraws": "Показать все выплаты" + }, + "allWithdrawsDialog": { + "title": "Незакрепленная деятельность", + "information": "После анстейкинга токенов наступает обязательный 7-дневный период анстейкинга. По истечении этого периода ваши токены не будут автоматически возвращены на ваш кошелек. Вы должны завершить процесс, выведя свои токены вручную." } }, "collapseText": "Свернуть", diff --git a/src/lang/sk.json b/src/lang/sk.json index 5d9184fdb..b93d75173 100644 --- a/src/lang/sk.json +++ b/src/lang/sk.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Nastaviť príjemcu platby {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} za {price} {symbol2} umiestnený", "OrderBookCancelLimitOrder": "Limitovaná objednávka bola zrušená", - "OrderBookCancelLimitOrders": "Limitné objednávky boli zrušené" + "OrderBookCancelLimitOrders": "Limitné objednávky boli zrušené", + "Burn": "Spálené {amount} {symbol}", + "Mint": "Vyrazené {amount} {symbol} na {address}" }, "error": { "Transfer": "Nepodarilo sa {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Nepodarilo sa nastaviť príjemcu platby {address}", "OrderBookPlaceLimitOrder": "Nepodarilo sa zadať limitnú objednávku {amount} {symbol} za {price} {symbol2}", "OrderBookCancelLimitOrders": "Limitné objednávky sa nepodarilo zrušiť", - "OrderBookCancelLimitOrder": "Limitovanú objednávku sa nepodarilo zrušiť" + "OrderBookCancelLimitOrder": "Limitovanú objednávku sa nepodarilo zrušiť", + "Burn": "Nepodarilo sa napáliť {amount} {symbol}", + "Mint": "Nepodarilo sa vyraziť {amount} {symbol} na {address}" }, "ReferralReserveXor": "Bond XOR", "ReferralUnreserveXor": "Unbond XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Nastaviť príjemcu platby", "OrderBookPlaceLimitOrder": "Zadať objednávku", "OrderBookCancelLimitOrder": "Zrušiť objednávku", - "OrderBookCancelLimitOrders": "Zrušte objednávky" + "OrderBookCancelLimitOrders": "Zrušte objednávky", + "Burn": "Spáliť", + "Mint": "mäta" }, "polkadotjs": { "noExtensions": "Rozšírenie {PolkadotJs} nebolo nájdené. Nainštalujte ho a znova načítajte túto stránku https:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Nárokujte si odmeny", "remove": "Odstráňte kolík", - "more": "Stavte viac" + "more": "Stavte viac", + "confirm": "Potvrďte Staking", + "payout": "Výplata", + "withdraw": "Výber" }, "overview": { "title": "{Sora} Staking", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Nemáte žiadnych nominovaných overovateľov", "noValidators": "Neexistujú žiadne validátory, ktoré by vyhovovali zadanému filtru", "commission": "Komisia", - "commissionTooltip": "Provízia sa vzťahuje na poplatok, ktorý účtujú validátori za svoje služby v procese stávkovania. Tento poplatok, vyjadrený v percentách, sa odpočítava od odmien za stávky, ktoré získali nominanti pred distribúciou. Je dôležité poznamenať, že overovatelia môžu svoje sadzby provízií kedykoľvek upraviť" + "commissionTooltip": "Provízia sa vzťahuje na poplatok, ktorý účtujú validátori za svoje služby v procese stávkovania. Tento poplatok, vyjadrený v percentách, sa odpočítava od odmien za stávky, ktoré získali nominanti pred distribúciou. Je dôležité poznamenať, že overovatelia môžu svoje sadzby provízií kedykoľvek upraviť", + "return": "Návrat" }, "info": { - "redeemable": "Splatný", "unstaking": "Neurčenie", "stakingBalance": "Stavať rovnováhu", "rewarded": "Odmenený", @@ -1394,6 +1403,26 @@ "title": "Nárokujte si odmeny", "checkRewards": "Skontrolujte odmeny za éru a validátor", "rewardsDestination": "Cieľová adresa odmien" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Stiahnuteľné", + "beingWithdrawn": "Byť stiahnutý", + "seeAll": "Vidieť všetko", + "nextWithdrawal": "Ďalší odber", + "countdownLeft": "vľavo" + }, + "stakeDialog": { + "toStake": "Vsadiť", + "toRemove": "Odobrať" + }, + "withdrawDialog": { + "title": "Vyberte nevložené prostriedky", + "showAllWithdraws": "Zobraziť všetky výbery" + }, + "allWithdrawsDialog": { + "title": "Neúnavná aktivita", + "information": "Po odstavení tokenov nasleduje povinné 7-dňové obdobie na vyradenie. Po uplynutí tejto doby sa vaše žetóny automaticky nevrátia do vašej peňaženky. Proces musíte dokončiť ručným výberom svojich tokenov." } }, "collapseText": "Kolaps", diff --git a/src/lang/sr.json b/src/lang/sr.json index 799c49362..76c37c648 100644 --- a/src/lang/sr.json +++ b/src/lang/sr.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Подесите примаоца уплате {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} по {price} {symbol2} постављено", "OrderBookCancelLimitOrder": "Лимит налог је отказан", - "OrderBookCancelLimitOrders": "Ограничени налози су отказани" + "OrderBookCancelLimitOrders": "Ограничени налози су отказани", + "Burn": "Спаљено {amount} {symbol}", + "Mint": "Исковано {amount} {symbol} на {address}" }, "error": { "Transfer": "Није успело {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Подешавање примаоца уплате {address} није успело", "OrderBookPlaceLimitOrder": "Постављање ограничене поруџбине од {amount} {symbol} по {price} {symbol2} није успело", "OrderBookCancelLimitOrders": "Отказивање ограничених налога није успело", - "OrderBookCancelLimitOrder": "Отказивање ограничене поруџбине није успело" + "OrderBookCancelLimitOrder": "Отказивање ограничене поруџбине није успело", + "Burn": "{amount} {symbol} није успело", + "Mint": "Није успело испоручивање {amount} {symbol} на {address}" }, "ReferralReserveXor": "Veži XOR", "ReferralUnreserveXor": "Razveži XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Подесите примаоца уплате", "OrderBookPlaceLimitOrder": "Наручите", "OrderBookCancelLimitOrder": "Откажи наруџбу", - "OrderBookCancelLimitOrders": "Откажите поруџбине" + "OrderBookCancelLimitOrders": "Откажите поруџбине", + "Burn": "Горети", + "Mint": "Нана" }, "polkadotjs": { "noExtensions": "Није пронађена ниједна екстензија {PolkadotJs}. Инсталирајте га и поново учитајте ову страницу\nhttps:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Захтевајте награде", "remove": "Уклоните улог", - "more": "Уложите више" + "more": "Уложите више", + "confirm": "Цонфирм Стакинг", + "payout": "Isplata", + "withdraw": "Podizanje" }, "overview": { "title": "{Sora} Staking", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Nemaš nominovane validatore", "noValidators": "Nema validatora koji zadovoljavaju navedeni filter", "commission": "Комисија", - "commissionTooltip": "Провизија се односи на накнаду коју наплаћују валидатори за своје услуге у процесу стекинга. Ова накнада, изражена у процентима, одбија се од награда за улагање које су номинатори зарадили пре дистрибуције. Важно је напоменути да валидатори могу прилагодити своје стопе провизије у било ком тренутку" + "commissionTooltip": "Провизија се односи на накнаду коју наплаћују валидатори за своје услуге у процесу стекинга. Ова накнада, изражена у процентима, одбија се од награда за улагање које су номинатори зарадили пре дистрибуције. Важно је напоменути да валидатори могу прилагодити своје стопе провизије у било ком тренутку", + "return": "Повратак" }, "info": { - "redeemable": "Откупљив", "unstaking": "Унстакинг", "stakingBalance": "Стакинг баланце", "rewarded": "Награђени", @@ -1394,6 +1403,26 @@ "title": "Захтевајте награде", "checkRewards": "Proverite nagrade po eri i validatoru", "rewardsDestination": "Nagradna odredišna adresa" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Извлачење", + "beingWithdrawn": "Бити повучен", + "seeAll": "Видети све", + "nextWithdrawal": "Следеће повлачење", + "countdownLeft": "лево" + }, + "stakeDialog": { + "toStake": "Заложити", + "toRemove": "Уклонити" + }, + "withdrawDialog": { + "title": "Повуците неуложена средства", + "showAllWithdraws": "Прикажи све повлачења" + }, + "allWithdrawsDialog": { + "title": "Унстакинг ацтивити", + "information": "Када поништите токене, постоји обавезан период од 7 дана. Након овог периода, ваши токени неће бити аутоматски враћени у ваш новчаник. Морате да завршите процес ручним повлачењем ваших токена." } }, "collapseText": "Skupi", diff --git a/src/lang/sv.json b/src/lang/sv.json index ba1f800fa..d52d6d552 100644 --- a/src/lang/sv.json +++ b/src/lang/sv.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Ange betalningsmottagare {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} till {price} {symbol2} placerad", "OrderBookCancelLimitOrder": "Limit order annullerad", - "OrderBookCancelLimitOrders": "Limit order annullerade" + "OrderBookCancelLimitOrders": "Limit order annullerade", + "Burn": "Brände {amount} {symbol}", + "Mint": "Minskade {amount} {symbol} till {address}" }, "error": { "Transfer": "Det gick inte att {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Det gick inte att ange betalningsmottagaren {address}", "OrderBookPlaceLimitOrder": "Det gick inte att lägga en gränsbeställning på {amount} {symbol} till {price} {symbol2}", "OrderBookCancelLimitOrders": "Det gick inte att avbryta limiterade beställningar", - "OrderBookCancelLimitOrder": "Det gick inte att avbryta begränsningsordern" + "OrderBookCancelLimitOrder": "Det gick inte att avbryta begränsningsordern", + "Burn": "Det gick inte att bränna {amount} {symbol}", + "Mint": "Det gick inte att prägla {amount} {symbol} till {address}" }, "ReferralReserveXor": "Bond XOR", "ReferralUnreserveXor": "Unbond XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Ange betalningsmottagare", "OrderBookPlaceLimitOrder": "Beställa", "OrderBookCancelLimitOrder": "Avbryt beställning", - "OrderBookCancelLimitOrders": "Avbryt beställningar" + "OrderBookCancelLimitOrders": "Avbryt beställningar", + "Burn": "Bränna", + "Mint": "Mynta" }, "polkadotjs": { "noExtensions": "Inget {PolkadotJs} tillägg hittades. Vänligen installera det och ladda om den här sidan.\nhttps:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Gör anspråk på belöningar", "remove": "Ta bort insatsen", - "more": "Satsa mer" + "more": "Satsa mer", + "confirm": "Bekräfta utsättning", + "payout": "Utbetalning", + "withdraw": "Dra tillbaka" }, "overview": { "title": "{Sora} Staking", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Du har inga nominerade validerare", "noValidators": "Det finns inga validerare som uppfyller det angivna filtret", "commission": "Provision", - "commissionTooltip": "Kommissionen hänvisar till den avgift som tas ut av validerare för sina tjänster i insatsprocessen. Denna avgift, uttryckt i procent, dras av från insatsbelöningarna som intjänats av nominatorer före utdelning. Det är viktigt att notera att validerare kan justera sina provisionssatser när som helst" + "commissionTooltip": "Kommissionen hänvisar till den avgift som tas ut av validerare för sina tjänster i insatsprocessen. Denna avgift, uttryckt i procent, dras av från insatsbelöningarna som intjänats av nominatorer före utdelning. Det är viktigt att notera att validerare kan justera sina provisionssatser när som helst", + "return": "Lämna tillbaka" }, "info": { - "redeemable": "Inlösbar", "unstaking": "Unstaking", "stakingBalance": "Satsa balans", "rewarded": "Belönad", @@ -1394,6 +1403,26 @@ "title": "Gör anspråk på belöningar", "checkRewards": "Kontrollera belöningar per era och validator", "rewardsDestination": "Destinationsadress för belöningar" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Uttagbar", + "beingWithdrawn": "Att bli tillbakadragen", + "seeAll": "Se allt", + "nextWithdrawal": "Nästa uttag", + "countdownLeft": "vänster" + }, + "stakeDialog": { + "toStake": "Att satsa", + "toRemove": "Att ta bort" + }, + "withdrawDialog": { + "title": "Ta ut oinsatta medel", + "showAllWithdraws": "Visa alla uttag" + }, + "allWithdrawsDialog": { + "title": "Enastående aktivitet", + "information": "När du har avsatt tokens finns det en obligatorisk 7-dagars utsättningsperiod. Efter denna period kommer dina tokens inte automatiskt att returneras till din plånbok. Du måste slutföra processen genom att manuellt dra ut dina tokens." } }, "collapseText": "Kollaps", diff --git a/src/lang/vi.json b/src/lang/vi.json index 4a111a9fc..92f3f8bf7 100644 --- a/src/lang/vi.json +++ b/src/lang/vi.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Đặt người nhận thanh toán {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} ở mức {price} {symbol2} đã đặt", "OrderBookCancelLimitOrder": "Lệnh giới hạn bị hủy", - "OrderBookCancelLimitOrders": "Lệnh giới hạn bị hủy" + "OrderBookCancelLimitOrders": "Lệnh giới hạn bị hủy", + "Burn": "Đã đốt {amount} {symbol}", + "Mint": "Đã đúc {amount} {symbol} thành {address}" }, "error": { "Transfer": "Không gửi được {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Không thể đặt người nhận thanh toán {address}", "OrderBookPlaceLimitOrder": "Không đặt được lệnh giới hạn {amount} {symbol} ở {price} {symbol2}", "OrderBookCancelLimitOrders": "Không thể hủy lệnh giới hạn", - "OrderBookCancelLimitOrder": "Không hủy được lệnh giới hạn" + "OrderBookCancelLimitOrder": "Không hủy được lệnh giới hạn", + "Burn": "Không ghi được {amount} {symbol}", + "Mint": "Không đúc được {amount} {symbol} cho {address}" }, "ReferralReserveXor": "Bond XOR", "ReferralUnreserveXor": "Unbond XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "Đặt người nhận thanh toán", "OrderBookPlaceLimitOrder": "Đặt hàng", "OrderBookCancelLimitOrder": "Hủy đơn hàng", - "OrderBookCancelLimitOrders": "Hủy đơn hàng" + "OrderBookCancelLimitOrders": "Hủy đơn hàng", + "Burn": "Đốt cháy", + "Mint": "cây bạc hà" }, "polkadotjs": { "noExtensions": "Không tìm thấy tiện ích (extension) {PolkadotJs}. Vui lòng cài đặt và tải lại trang này\nhttps:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Yêu cầu phần thưởng", "remove": "Xóa cổ phần", - "more": "Đặt cược nhiều hơn" + "more": "Đặt cược nhiều hơn", + "confirm": "Xác nhận đặt cược", + "payout": "Thanh toán", + "withdraw": "Rút tiền" }, "overview": { "title": "{Sora} Staking", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "Bạn không có bất kỳ người xác thực nào được chỉ định", "noValidators": "Không có trình xác thực nào đáp ứng bộ lọc được chỉ định", "commission": "Nhiệm vụ", - "commissionTooltip": "Hoa hồng đề cập đến khoản phí mà người xác nhận tính cho các dịch vụ của họ trong quá trình đặt cược. Khoản phí này, được biểu thị bằng phần trăm, được khấu trừ từ phần thưởng đặt cược mà người đề cử kiếm được trước khi phân phối. Điều quan trọng cần lưu ý là người xác thực có thể điều chỉnh tỷ lệ hoa hồng của họ bất cứ lúc nào" + "commissionTooltip": "Hoa hồng đề cập đến khoản phí mà người xác nhận tính cho các dịch vụ của họ trong quá trình đặt cược. Khoản phí này, được biểu thị bằng phần trăm, được khấu trừ từ phần thưởng đặt cược mà người đề cử kiếm được trước khi phân phối. Điều quan trọng cần lưu ý là người xác thực có thể điều chỉnh tỷ lệ hoa hồng của họ bất cứ lúc nào", + "return": "Trở lại" }, "info": { - "redeemable": "Có thể đổi được", "unstaking": "Hủy đặt cược", "stakingBalance": "Số dư đặt cược", "rewarded": "Được khen thưởng", @@ -1394,6 +1403,26 @@ "title": "Yêu cầu phần thưởng", "checkRewards": "Kiểm tra phần thưởng theo thời đại và trình xác nhận", "rewardsDestination": "Địa chỉ đích thưởng" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Có thể rút", + "beingWithdrawn": "Bị rút tiền", + "seeAll": "Nhìn thấy tất cả", + "nextWithdrawal": "Lần rút tiền tiếp theo", + "countdownLeft": "bên trái" + }, + "stakeDialog": { + "toStake": "Để cổ phần", + "toRemove": "Để loại bỏ" + }, + "withdrawDialog": { + "title": "Rút tiền chưa đặt cọc", + "showAllWithdraws": "Hiển thị tất cả các lần rút tiền" + }, + "allWithdrawsDialog": { + "title": "Hoạt động unstake", + "information": "Khi bạn hủy đặt cược mã thông báo, sẽ có khoảng thời gian hủy đặt cược bắt buộc là 7 ngày. Sau khoảng thời gian này, token của bạn sẽ không được tự động trả về ví của bạn. Bạn phải hoàn tất quy trình bằng cách rút token theo cách thủ công." } }, "collapseText": "Sụp đổ", diff --git a/src/lang/yo.json b/src/lang/yo.json index 094b79230..24d2ed606 100644 --- a/src/lang/yo.json +++ b/src/lang/yo.json @@ -63,7 +63,9 @@ "StakingSetPayee": "Ṣeto payee {address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol} ni {price} {symbol2} gbe", "OrderBookCancelLimitOrder": "Ti fagile aṣẹ opin", - "OrderBookCancelLimitOrders": "Awọn aṣẹ aropin parẹ" + "OrderBookCancelLimitOrders": "Awọn aṣẹ aropin parẹ", + "Burn": "jona {amount} {symbol}", + "Mint": "Minted {amount} {symbol} si {address}" }, "error": { "Transfer": "Kuna lati {action} {amount} {symbol} {direction} {address}", @@ -98,7 +100,9 @@ "StakingSetPayee": "Kuna lati ṣeto payee {address}", "OrderBookPlaceLimitOrder": "O kuna lati gbe aṣẹ iye to fun {symbol} {amount} {price} {symbol2}", "OrderBookCancelLimitOrders": "Kuna lati fagilee awọn ibere opin", - "OrderBookCancelLimitOrder": "Kuna lati fagilee aṣẹ opin" + "OrderBookCancelLimitOrder": "Kuna lati fagilee aṣẹ opin", + "Burn": "Kuna lati sun {amount} {symbol}", + "Mint": "Kuna lati mint {amount} {symbol} si {address}" }, "ReferralReserveXor": "Iwe adehun XOR", "ReferralUnreserveXor": "Yọ XOR kuro", @@ -125,7 +129,9 @@ "StakingSetPayee": "Ṣeto Payee", "OrderBookPlaceLimitOrder": "Ibi Bere fun", "OrderBookCancelLimitOrder": "Fagilee Bere fun", - "OrderBookCancelLimitOrders": "Fagilee Awọn aṣẹ" + "OrderBookCancelLimitOrders": "Fagilee Awọn aṣẹ", + "Burn": "Iná", + "Mint": "Mint" }, "polkadotjs": { "noExtensions": "A ko rii itẹsiwaju {PolkadotJs}. Jọwọ fi sii ki o tun gbe oju-iwe yii pada\n https:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "Awọn ere ẹtọ", "remove": "Yọ igi kuro", - "more": "Gbero diẹ sii" + "more": "Gbero diẹ sii", + "confirm": "Jẹrisi Staking", + "payout": "Owó ìsanwó", + "withdraw": "Yiyọ kuro" }, "overview": { "title": "{Sora} Staking", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "O ko ni eyikeyi ti yan afọwọsi", "noValidators": "Ko si awọn olufọwọsi ti o ni itẹlọrun àlẹmọ pàtó kan", "commission": "Igbimọ", - "commissionTooltip": "Igbimọ tọka si ọya ti o gba agbara nipasẹ awọn afọwọsi fun awọn iṣẹ wọn ni ilana isamisi. Ọya yii, ti a ṣalaye bi ipin kan, ni a yọkuro lati awọn ere isinmọ ti o jẹ nipasẹ awọn yiyan ṣaaju pinpin. O ṣe pataki lati ṣe akiyesi pe awọn olufọwọsi le ṣatunṣe awọn oṣuwọn igbimọ wọn nigbakugba" + "commissionTooltip": "Igbimọ tọka si ọya ti o gba agbara nipasẹ awọn afọwọsi fun awọn iṣẹ wọn ni ilana isamisi. Ọya yii, ti a ṣalaye bi ipin kan, ni a yọkuro lati awọn ere isinmọ ti o jẹ nipasẹ awọn yiyan ṣaaju pinpin. O ṣe pataki lati ṣe akiyesi pe awọn olufọwọsi le ṣatunṣe awọn oṣuwọn igbimọ wọn nigbakugba", + "return": "Pada" }, "info": { - "redeemable": "O le rapada", "unstaking": "Unstaking", "stakingBalance": "Staking iwontunwonsi", "rewarded": "Esan", @@ -1394,6 +1403,26 @@ "title": "Awọn ere ẹtọ", "checkRewards": "Ṣayẹwo awọn ere fun akoko ati afọwọsi", "rewardsDestination": "Èrè àdírẹ́sì ibi tí wọ́n ń lọ" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "Yiyọ kuro", + "beingWithdrawn": "Ti yọkuro", + "seeAll": "Wo gbogbo e", + "nextWithdrawal": "Iyọkuro ti o tẹle", + "countdownLeft": "osi" + }, + "stakeDialog": { + "toStake": "Si igi", + "toRemove": "Lati yọ kuro" + }, + "withdrawDialog": { + "title": "Yiyọ awọn owo ti a ko pin kuro", + "showAllWithdraws": "Ṣe afihan gbogbo awọn yiyọ kuro" + }, + "allWithdrawsDialog": { + "title": "Iṣẹ ṣiṣe aiṣedeede", + "information": "Ni kete ti o ba yọ awọn ami-ami kuro, akoko aiṣiṣẹ ọjọ meje ti o jẹ dandan wa. Lẹhin asiko yii, awọn ami rẹ kii yoo da pada laifọwọyi si apamọwọ rẹ. O gbọdọ pari ilana naa nipa yiyọ awọn ami rẹ kuro pẹlu ọwọ." } }, "collapseText": "Subu", diff --git a/src/lang/zh_CN.json b/src/lang/zh_CN.json index 21e20d174..878af7764 100644 --- a/src/lang/zh_CN.json +++ b/src/lang/zh_CN.json @@ -63,7 +63,9 @@ "StakingSetPayee": "设置收款人{address}", "OrderBookPlaceLimitOrder": "{side} {amount} {symbol}以{price} {symbol2}放置", "OrderBookCancelLimitOrder": "限价订单已取消", - "OrderBookCancelLimitOrders": "限价订单已取消" + "OrderBookCancelLimitOrders": "限价订单已取消", + "Burn": "烧毁{amount} {symbol}", + "Mint": "铸造了{amount} {symbol}到{address}" }, "error": { "Transfer": "{action} {amount} {symbol} {direction} {address}失败", @@ -98,7 +100,9 @@ "StakingSetPayee": "无法设置收款人{address}", "OrderBookPlaceLimitOrder": "未能以{price} } {symbol2}下达{amount} {symbol}限价单", "OrderBookCancelLimitOrders": "取消限价单失败", - "OrderBookCancelLimitOrder": "取消限价单失败" + "OrderBookCancelLimitOrder": "取消限价单失败", + "Burn": "刻录{amount} {symbol}失败", + "Mint": "无法将{amount} {symbol}铸造到{address}" }, "ReferralReserveXor": "绑定XOR", "ReferralUnreserveXor": "解绑XOR", @@ -125,7 +129,9 @@ "StakingSetPayee": "设置收款人", "OrderBookPlaceLimitOrder": "下订单", "OrderBookCancelLimitOrder": "取消订单", - "OrderBookCancelLimitOrders": "取消订单" + "OrderBookCancelLimitOrders": "取消订单", + "Burn": "烧伤", + "Mint": "薄荷" }, "polkadotjs": { "noExtensions": "没有找到 {PolkadotJs} 的扩展。请安装它并重新加载此页面\nhttps:\/\/polkadot.js.org\/extension\/", @@ -1287,7 +1293,10 @@ "actions": { "claim": "领取奖励", "remove": "移除桩", - "more": "质押更多" + "more": "质押更多", + "confirm": "确认质押", + "payout": "支付", + "withdraw": "提现" }, "overview": { "title": "{Sora}质押", @@ -1312,10 +1321,10 @@ "noNominatedValidators": "您没有任何指定的验证人", "noValidators": "没有满足指定过滤器的验证器", "commission": "委员会", - "commissionTooltip": "佣金是指验证者在质押过程中为其提供的服务收取的费用。该费用以百分比表示,在分配前从提名人获得的质押奖励中扣除。需要注意的是,验证者可以随时调整佣金率" + "commissionTooltip": "佣金是指验证者在质押过程中为其提供的服务收取的费用。该费用以百分比表示,在分配前从提名人获得的质押奖励中扣除。需要注意的是,验证者可以随时调整佣金率", + "return": "返回" }, "info": { - "redeemable": "可赎回", "unstaking": "取消质押", "stakingBalance": "质押余额", "rewarded": "奖励", @@ -1394,6 +1403,26 @@ "title": "领取奖励", "checkRewards": "检查每个时代和验证者的奖励", "rewardsDestination": "奖励目标地址" + }, + "selectedValidators": "{count} ( {Max} {max} )", + "withdraw": { + "withdrawable": "可抽出式", + "beingWithdrawn": "被撤回", + "seeAll": "查看全部", + "nextWithdrawal": "下次提款", + "countdownLeft": "左边" + }, + "stakeDialog": { + "toStake": "质押", + "toRemove": "去除" + }, + "withdrawDialog": { + "title": "提取未抵押的资金", + "showAllWithdraws": "显示所有提款" + }, + "allWithdrawsDialog": { + "title": "取消质押活动", + "information": "一旦您取消质押代币,就有一个强制性的 7 天取消质押期。在此期限之后,您的代币将不会自动返回您的钱包。您必须通过手动提取代币来完成该过程。" } }, "collapseText": "崩溃", diff --git a/src/router/index.ts b/src/router/index.ts index 91895841f..b4b12eaec 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -275,6 +275,11 @@ const routes: Array = [ name: PageNames.OrderBook, component: lazyView(PageNames.OrderBook), }, + { + path: '/kensetsu', + name: PageNames.Kensetsu, + component: lazyView(PageNames.Kensetsu), + }, { path: '*', redirect: '/swap', diff --git a/src/store/orderBook/actions.ts b/src/store/orderBook/actions.ts index 5fa5fdf14..2b8a34dc4 100644 --- a/src/store/orderBook/actions.ts +++ b/src/store/orderBook/actions.ts @@ -3,14 +3,43 @@ import { defineActions } from 'direct-vuex'; import { combineLatest } from 'rxjs'; import { subscribeOnOrderBookUpdates, fetchOrderBooks } from '@/indexer/queries/orderBook'; +import { TokenBalanceSubscriptions } from '@/utils/subscriptions'; import { orderBookActionContext } from '.'; import type { OrderBook } from '@sora-substrate/liquidity-proxy'; +import type { AccountBalance } from '@sora-substrate/util/build/assets/types'; import type { LimitOrder } from '@sora-substrate/util/build/orderBook/types'; import type { Subscription } from 'rxjs'; +const balanceSubscriptions = new TokenBalanceSubscriptions(); + const actions = defineActions({ + updateBalanceSubscription(context, reset: boolean): void { + const { commit, getters, rootGetters } = orderBookActionContext(context); + + const { baseAsset: token } = getters; + const { setBaseAssetBalance } = commit; + const field = token?.address as string; + + if (reset) { + balanceSubscriptions.resetSubscriptions(); + return; + } + + const updateBalance = (balance: Nullable) => setBaseAssetBalance(balance); + + balanceSubscriptions.remove(field); + + if ( + rootGetters.wallet.account.isLoggedIn && + token?.address && + !(token.address in rootGetters.wallet.account.accountAssetsAddressTable) + ) { + balanceSubscriptions.add(field, { updateBalance, token }); + } + }, + async getOrderBooksInfo(context): Promise { const { commit, rootGetters } = orderBookActionContext(context); const { whitelist } = rootGetters.wallet.account; @@ -37,7 +66,7 @@ const actions = defineActions({ stats, } = item; - const key = api.orderBook.serializedKey(base, quote); + const key = api.orderBook.serializeKey(base, quote); buffer[key] = stats; return buffer; }, {}); @@ -105,7 +134,7 @@ const actions = defineActions({ stats, deals, } = data; - const key = api.orderBook.serializedKey(base, quote); + const key = api.orderBook.serializeKey(base, quote); commit.setDeals(deals); commit.setStats({ [key]: stats }); }, diff --git a/src/store/orderBook/getters.ts b/src/store/orderBook/getters.ts index 0344e7b45..4c87a3286 100644 --- a/src/store/orderBook/getters.ts +++ b/src/store/orderBook/getters.ts @@ -15,7 +15,12 @@ const getters = defineGetters()({ baseAsset(...args): Nullable { const { state, rootGetters } = orderBookGetterContext(args); if (!state.baseAssetAddress) return null; - return rootGetters.assets.assetDataByAddress(state.baseAssetAddress); + const token = rootGetters.assets.assetDataByAddress(state.baseAssetAddress); + const balance = state.baseAssetBalance; + if (balance) { + return { ...token, balance } as RegisteredAccountAsset; + } + return token; }, quoteAsset(...args): Nullable { const { state, rootGetters } = orderBookGetterContext(args); @@ -28,7 +33,7 @@ const getters = defineGetters()({ if (!(baseAsset && quoteAsset)) return ''; - return api.orderBook.serializedKey(baseAsset.address, quoteAsset.address); + return api.orderBook.serializeKey(baseAsset.address, quoteAsset.address); }, currentOrderBook(...args): Nullable { const { getters, state } = orderBookGetterContext(args); diff --git a/src/store/orderBook/mutations.ts b/src/store/orderBook/mutations.ts index b36673708..12f2c6c83 100644 --- a/src/store/orderBook/mutations.ts +++ b/src/store/orderBook/mutations.ts @@ -6,6 +6,7 @@ import type { OrderBookDealData, OrderBookStats } from '@/types/orderBook'; import type { OrderBookState } from './types'; import type { OrderBookId, OrderBookPriceVolume, OrderBook } from '@sora-substrate/liquidity-proxy'; +import type { AccountBalance } from '@sora-substrate/util/build/assets/types'; import type { LimitOrder } from '@sora-substrate/util/build/orderBook/types'; import type { Subscription } from 'rxjs'; @@ -79,6 +80,9 @@ const mutations = defineMutations()({ setAmountSliderValue(state, percent: number) { state.amountSliderValue = percent; }, + setBaseAssetBalance(state, balance: Nullable) { + state.baseAssetBalance = balance; + }, }); export default mutations; diff --git a/src/store/orderBook/state.ts b/src/store/orderBook/state.ts index 8cfea5703..e7d0078a1 100644 --- a/src/store/orderBook/state.ts +++ b/src/store/orderBook/state.ts @@ -26,6 +26,7 @@ function initialState(): OrderBookState { pagedUserLimitOrdersSubscription: null, ordersToBeCancelled: [], amountSliderValue: 0, + baseAssetBalance: null, }; } diff --git a/src/store/orderBook/types.ts b/src/store/orderBook/types.ts index 765bfcb6d..30e137bca 100644 --- a/src/store/orderBook/types.ts +++ b/src/store/orderBook/types.ts @@ -2,6 +2,7 @@ import type { LimitOrderType } from '@/consts'; import type { OrderBookStats, OrderBookDealData } from '@/types/orderBook'; import type { PriceVariant, OrderBookPriceVolume, OrderBook } from '@sora-substrate/liquidity-proxy'; +import type { AccountBalance } from '@sora-substrate/util/build/assets/types'; import type { DexId } from '@sora-substrate/util/build/dex/consts'; import type { LimitOrder } from '@sora-substrate/util/build/orderBook/types'; import type { Subscription } from 'rxjs'; @@ -26,4 +27,5 @@ export type OrderBookState = { pagedUserLimitOrdersSubscription: Nullable; ordersToBeCancelled: Array; amountSliderValue: number; + baseAssetBalance: Nullable; }; diff --git a/src/store/removeLiquidity/actions.ts b/src/store/removeLiquidity/actions.ts index ca8153856..dedddf47a 100644 --- a/src/store/removeLiquidity/actions.ts +++ b/src/store/removeLiquidity/actions.ts @@ -14,11 +14,11 @@ function updateFirstTokenAmount(context: ActionContext): void { const value = state.secondTokenAmount; if (value && Number.isFinite(+value)) { - const part = new FPNumber(value).div(getters.secondTokenBalance); + const part = new FPNumber(value).div(getters.secondTokenBalance as FPNumber); commit.setRemovePart(Math.round(part.mul(FPNumber.HUNDRED).toNumber()).toString()); - commit.setLiquidityAmount(part.mul(getters.liquidityBalance).toString()); - commit.setFirstTokenAmount(part.mul(getters.firstTokenBalance).toString()); + commit.setLiquidityAmount(part.mul(getters.liquidityBalance as FPNumber).toString()); + commit.setFirstTokenAmount(part.mul(getters.firstTokenBalance as FPNumber).toString()); } else { commit.setRemovePart(); commit.setLiquidityAmount(); @@ -32,11 +32,13 @@ function updateSecondTokenAmount(context: ActionContext): void { const value = state.firstTokenAmount; if (value && Number.isFinite(+value)) { - const part = Number.isFinite(+value) ? new FPNumber(value).div(getters.firstTokenBalance) : FPNumber.ZERO; + const part = Number.isFinite(+value) + ? new FPNumber(value).div(getters.firstTokenBalance as FPNumber) + : FPNumber.ZERO; commit.setRemovePart(Math.round(part.mul(FPNumber.HUNDRED).toNumber()).toString()); - commit.setLiquidityAmount(part.mul(getters.liquidityBalance).toString()); - commit.setSecondTokenAmount(part.mul(getters.secondTokenBalance).toString()); + commit.setLiquidityAmount(part.mul(getters.liquidityBalance as FPNumber).toString()); + commit.setSecondTokenAmount(part.mul(getters.secondTokenBalance as FPNumber).toString()); } else { commit.setRemovePart(); commit.setLiquidityAmount(); @@ -50,9 +52,9 @@ function updateRemovePart(context: ActionContext): void { const part = new FPNumber(state.removePart).div(FPNumber.HUNDRED); if (!part.isZero()) { - commit.setLiquidityAmount(part.mul(getters.liquidityBalance).toString()); - commit.setFirstTokenAmount(part.mul(getters.firstTokenBalance).toString()); - commit.setSecondTokenAmount(part.mul(getters.secondTokenBalance).toString()); + commit.setLiquidityAmount(part.mul(getters.liquidityBalance as FPNumber).toString()); + commit.setFirstTokenAmount(part.mul(getters.firstTokenBalance as FPNumber).toString()); + commit.setSecondTokenAmount(part.mul(getters.secondTokenBalance as FPNumber).toString()); } else { commit.setLiquidityAmount(); commit.setFirstTokenAmount(); diff --git a/src/store/removeLiquidity/getters.ts b/src/store/removeLiquidity/getters.ts index 2fae226d6..67a70d316 100644 --- a/src/store/removeLiquidity/getters.ts +++ b/src/store/removeLiquidity/getters.ts @@ -51,7 +51,7 @@ const getters = defineGetters()({ const baseAsset = getters.liquidity.firstAddress; const poolAsset = getters.liquidity.secondAddress; - const balance = getters.liquidityBalanceFull; + const balance = getters.liquidityBalanceFull as FPNumber; const lockedBalance = rootGetters.demeterFarming.getLockedAmount(baseAsset, poolAsset, true); const maxLocked = FPNumber.min(balance, lockedBalance) as FPNumber; @@ -66,7 +66,7 @@ const getters = defineGetters()({ const baseAsset = getters.liquidity.firstAddress; const poolAsset = getters.liquidity.secondAddress; - const balance = getters.liquidityBalanceFull; + const balance = getters.liquidityBalanceFull as FPNumber; const lockedBalance = rootGetters.pool.getLockedAmount(baseAsset, poolAsset); const maxLocked = FPNumber.min(balance, lockedBalance) as FPNumber; @@ -78,8 +78,8 @@ const getters = defineGetters()({ const { getters } = removeLiquidityGetterContext(args); const balance = getters.liquidityBalanceFull; - const demeterLockedBalance = getters.demeterLockedBalance; - const ceresLockedBalance = getters.ceresLockedBalance; + const demeterLockedBalance = getters.demeterLockedBalance as FPNumber; + const ceresLockedBalance = getters.ceresLockedBalance as FPNumber; const maxLocked = FPNumber.max(demeterLockedBalance, ceresLockedBalance) as FPNumber; return balance.sub(maxLocked); @@ -108,7 +108,7 @@ const getters = defineGetters()({ const tokenBalance = FPNumber.fromCodecValue(getters.liquidity.firstBalance, getters.firstToken?.decimals); - return tokenBalance.mul(getters.liquidityBalance).div(getters.liquidityBalanceFull); + return tokenBalance.mul(getters.liquidityBalance as FPNumber).div(getters.liquidityBalanceFull as FPNumber); }, // Second token free balance secondTokenBalance(...args): FPNumber { @@ -118,7 +118,7 @@ const getters = defineGetters()({ const tokenBalance = FPNumber.fromCodecValue(getters.liquidity.secondBalance, getters.secondToken?.decimals); - return tokenBalance.mul(getters.liquidityBalance).div(getters.liquidityBalanceFull); + return tokenBalance.mul(getters.liquidityBalance as FPNumber).div(getters.liquidityBalanceFull as FPNumber); }, shareOfPool(...args): string { const { state, getters } = removeLiquidityGetterContext(args); diff --git a/src/store/removeLiquidity/state.ts b/src/store/removeLiquidity/state.ts index 1675f8b4a..7cd70fbfa 100644 --- a/src/store/removeLiquidity/state.ts +++ b/src/store/removeLiquidity/state.ts @@ -1,5 +1,3 @@ -import { ZeroStringValue } from '@/consts'; - import type { RemoveLiquidityState } from './types'; function initialState(): RemoveLiquidityState { diff --git a/src/store/removeLiquidity/types.ts b/src/store/removeLiquidity/types.ts index ac4715816..b7895511d 100644 --- a/src/store/removeLiquidity/types.ts +++ b/src/store/removeLiquidity/types.ts @@ -1,5 +1,3 @@ -import type { CodecString } from '@sora-substrate/util'; - export enum FocusedField { First = 'firstTokenAmount', Second = 'secondTokenAmount', diff --git a/src/utils/bridge/eth/classes/reducers.ts b/src/utils/bridge/eth/classes/reducers.ts index 935a0565c..6367f6011 100644 --- a/src/utils/bridge/eth/classes/reducers.ts +++ b/src/utils/bridge/eth/classes/reducers.ts @@ -128,7 +128,7 @@ export class EthBridgeOutgoingReducer extends EthBridgeReducer { // signed sora transaction has to be parsed by subquery if (tx.txId && !tx.blockId) { // format account address to sora format - const address = ethBridgeApi.formatAddress(ethBridgeApi.account.pair.address); + const address = ethBridgeApi.formatAddress(ethBridgeApi.account!.pair.address); const bridgeHistory = await this.getBridgeHistoryInstance(); const historyItem = first(await bridgeHistory.fetchHistoryElements(address, 0, [tx.txId])); diff --git a/src/utils/bridge/sub/classes/adapter.ts b/src/utils/bridge/sub/classes/adapter.ts index 3a9fb4393..20afcbff0 100644 --- a/src/utils/bridge/sub/classes/adapter.ts +++ b/src/utils/bridge/sub/classes/adapter.ts @@ -106,7 +106,7 @@ export class SubAdapter { const extrinsic = this.getTransferExtrinsic(asset, recipient, amount); - await subBridgeApi.submitApiExtrinsic(this.api, extrinsic, subBridgeApi.account.pair, historyItem); + await subBridgeApi.submitApiExtrinsic(this.api, extrinsic, subBridgeApi.account!.pair, historyItem); } /* [Substrate 5] Runtime call transactionPaymentApi */ diff --git a/src/utils/bridge/sub/classes/reducers.ts b/src/utils/bridge/sub/classes/reducers.ts index da4a9f281..af272fd8a 100644 --- a/src/utils/bridge/sub/classes/reducers.ts +++ b/src/utils/bridge/sub/classes/reducers.ts @@ -404,6 +404,8 @@ export class SubBridgeOutgoingReducer extends SubBridgeReducer { this.asset = { ...asset }; if (tx.txId) return; + // transaction not signed + await this.beforeSign(id); // open connections await this.connector.start(); // sign transaction diff --git a/src/utils/subscriptions.ts b/src/utils/subscriptions.ts index cdce42cd4..71672c55a 100644 --- a/src/utils/subscriptions.ts +++ b/src/utils/subscriptions.ts @@ -36,4 +36,13 @@ export class TokenBalanceSubscriptions { this.subscriptions.delete(key); } + + resetSubscriptions(): void { + for (const [key, item] of this.subscriptions.entries()) { + item?.subscription?.unsubscribe(); + item?.updateBalance?.(null); + + this.subscriptions.delete(key); + } + } } diff --git a/src/views/Bridge.vue b/src/views/Bridge.vue index 9f69c557a..490123692 100644 --- a/src/views/Bridge.vue +++ b/src/views/Bridge.vue @@ -293,7 +293,7 @@ import { } from '@/utils'; import type { IBridgeTransaction, CodecString } from '@sora-substrate/util'; -import type { AccountAsset, RegisteredAccountAsset } from '@sora-substrate/util/build/assets/types'; +import type { RegisteredAccountAsset } from '@sora-substrate/util/build/assets/types'; @Component({ components: { diff --git a/src/views/Explore/Container.vue b/src/views/Explore/Container.vue index 7c8747dec..8ebd9270c 100644 --- a/src/views/Explore/Container.vue +++ b/src/views/Explore/Container.vue @@ -1,13 +1,29 @@