Skip to content

Commit

Permalink
Release/fleek pre/1.8.1 (#706)
Browse files Browse the repository at this point in the history
* Update wallet version (#559)

* Release 1.6.1 (#560)

* Downgrade wallet version

* Fix ETH decimals

* Fix external decimals for bridge (#563)

* Add 1.3 back-end support (#567)

* Fix swap related issues (#574)

* Fix price tools (#579)

* Fix xst fee (#582)

* Release 1.7 (#605)

* Updated main menu. (#304)

* PW-51: Pending State for Wallet Page (#252)

* Updated loader.
* Moved loader to the wallet.

* Improve types and add swap subscription (#299)

* Improve types & fix some types issues

* Subscribe to swap reserves changes

* Update wallet

* Fix

* Update package.json

* Improve types

* Update wallet & api version (#307)

* Tech/update neu components (#303)

* wip connect lib

* wip inputs

* wip input components

* wip swap page update

* update pool views

* wip bridge

* style updates

* update menu styles

* remove unused mixin

* add some fixes

* Updated main menu.

* add token address to swap input

* set secondary theme colors

* refaactoring vars

* move some overrides to components

* toggle-text-button refactoring

* css fix for toggle-text-button

* fix css calc

* fix dialog close button

* add lottie loader to rewards content

* fixes after review

* change white to var

* fix button typography size

* fix tooltip radius

* add css fixes

* input font weight fix, network fee tooltips

* tabs font-weight fix

* card & info lines css fixes

* remove some overrides

* bridge width fix

Co-authored-by: alexnatalia <alekseenko@soramitsu.co.jp>

* Unsubscribe ws event handlers after disconnect (#306)

* unsubscribe event handlers after disconnect

* change select node title

* Always show swap market algorithm (#308)

* always show swap market algorithm

* update wallet

* refactoring styles (#309)

* Add fixes for parsing and calculation total rewards amount (#310)

* add fixes for parsing and calculation total amount

* refactoring types

* fix button styles

* Improve whitelist & fix select token dialog logged out state (#313)

* Improve whitelist & fix select token dialog logged out state

* Update wallet version

* Loader Z-index Fix (#311)

* Fixed z-indexes for Loader.

* Update select custom token view (#315)

* use neu components

* fix ccs

* update wallet

* Tech/sync/master/1.2.0 (#318)

* merge c133e19d8f6897c8e01986f7db1711ea31523bbf

* add datetime to built js files (#298)

* Rename storage for settings because of polkadot-js-wallet (#301)

* fix merge conflicts

* remove space

* remove extra space

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* use connection timeout only for custom nodes (#316)

* PW-166: WEB UI: Screens Consistency and Responsive Design Updates (#319)

* Pool Screen: Fixed collapse arrows.
* Pool List: Made whole button area clickable.
* Fixed Terms and Privacy Policy responsive behaviour.
* Transaction Settings Dialog: Added content area.

* Add SORAScan links (#321)

* remove some overrides (#320)

* remove some overrides

* collapse css

* update select node css

* fix collable background

* add min-height for bridge-content

* change subscribe liquidity flow (#324)

* change subscribe liquidity flow

* fix calls order

* move padding to non scoped css (#325)

* Keep sora hash for user guide (#323)

* Keep sora hash for user guide

* Fix issues & improve styles

* Remove unused assets

* Use registered assets in bridge modal (sora -> evm) (#326)

* update select token modals

* fix return type

* fix rewards button loading icon (#327)

* load fonts from overides to render icons not transparent (#328)

* load fonts from overides to reneder icons not transparent

* add TODO

* Fix select token css (#331)

* fix overflow issue

* fix transaction copy button

* fix bridge card padding

* Add token address to bridge inputs (#332)

* add TokenAddress component

* fix font-weight

* Fix bridge registeredAssets initial fetching (#335)

* don't fetch registered assets twice

* fix select network flow

* fix double request liquidityProxy after switch tokens (#336)

* Fix typo & improve sorascan links (#334)

* Fix typo
* Update sorascan links
* Update wallet

* PW-179: Font Feature Settings Removing (#329)

* Removed font feature settings.
* Removed Lottie Loader.
* Font feature settings overriding.
* Updated font feature settings.

* Improve node connection process after disconnect (#337)

* improve node connection process after disconnect

* fix css

* fix typo

* remove lottie loader from rewards (#338)

* fix reset bridge form (#339)

* create independent subscriptions (#340)

* Create pool subscriptions at first (#341)

* create subscription at first, to not allow leak because async hook

* improve createAccountLiquiditySubscription

* refactoring add liquiddity return

* Update api version (#344)

* Update subscriptions flow, refactoring (#342)

* refactoring some components

* update subscriptions management

* add some css fixes (#346)

* Fix rewards loader (#345)

* PW-184: Bridge. Transaction shows as failed, but actually is not (#343)

* Transaction fix draft.

* Fixed transaction movement.

Co-authored-by: alexnatalia <alekseenko@soramitsu.co.jp>
Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Improve update history flow (#349)

* fix token-address color

* update wallet to 1.3.35

* fix nodeIsConnected getter

* Updated history list styles. (#351)

* Remove moment.js (#353)

* applt changes

* change registration order

* change icon font path

* Fix jest config (#354)

* Updated wallet version. (#355)

* Updated wallet version. (#356)

* use components from library directly (#358)

* update wallet (#359)

* update wallet

* remove temporary string

* Icon font updates (#357)

* Add files via upload

* updated more icons

* fixed farm icon placement

* Add tokens view (#350)

* add tokens view with simple render whitelist

* Update soramitsuUI.ts

* update according to design

* css fixes

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* tokens list ui updates (#361)

* PW-53: Migration to ether (#312)

* feat: migration to ethers.js

* chore: update yarn.lock

* chore: remove logs

* feat: improve speed up

* chore: remove console.log

* chore: remove rebase issues

* feat: added minor code improvments

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Updated wallet version and translation. (#363)

* PW-207: Design Improvements (#360)

* Updated Disclaimer.
* Refactored Disclaimer styles.
* Updated radio elements styles.
* Updated inputs border radiuses.
* Updated Screens Header, Node Control Styles.
* Updated menu styles, refactored.
* Updated tabs and action bage styles.
* Updated Pool styles.
* Updated buttons styles.
* Refactored variables names.
* Updated wallet version.

* Updated wallet version, updated translation for connection screen. (#366)

* update axios baseUrl (#365)

* [DOPS-1380] Add Push to IPFS stage for tags (#364)

* Add a Push to IPFS stage

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Add a Push to IPFS stage

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Add a Push to IPFS stage

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Add a Push to IPFS stage

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Apply changes from code review

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Apply changes from code review

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Token list: css fix & add sort by symbol (#362)

* css fix & add sort by symbol

* add sorting, filter

* revert env

* remove unnecessary v-if

* sort ui changes

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Detailed rewards screen (#367)

* update rewards ui

* fix ts errors

* improve messages

* add formatted amount component

* improve formatted-amount

* design update

* simple group rendering (external rewards)

* update rewards table styles

* fix checkbox css

* css fixes

* types fix

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* PW-190: Remove unused abi (#352)

* Reduce files size

* Update Jenkinsfile (#368)

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Fix 1.3 release issues (#370)

* Delete Master.json (#371)

* Delete Bridge.json (#372)

* Tech/remove web3 (#373)

* remove web3

* add web3-utils

* add TODO

* define Abi related interfaces & types

* add check in index.html (#375)

* fix for ipfs path (#376)

* add cache-control header (#377)

* update wallet to 1.3.47 (#379)

* update wallet to 1.3.47

* up package version to 1.4.0

* PW-207: Design Improvements Updates (#374)

* Moved Tokens menu item above About item.
* Updated header buttons.
* Updated dialog and collapse items.
* Removed button icon.
* Hide swap button in the wallet.
* Updated search fields and assets logo in Select asset dialogs.
* Fixed Slippage tolerance styles.
* Updated buttons, icons styles.
* Updated wallet version.
* Fixed header buttons styles.

* remove toggle-text-button (#381)

* fix amount table css (#382)

* tooltip bg color fix (#384)

* Update Liquidity screens (#385)

* wip share of pool

* update addLiquidity screen

* update CreatePair screen

* add slippage tolerance to create pair

* update remove liquidity screen

* remove console.log

* show message to change account, save to field in history (#388)

* Fix ethers signature creating (#391)

* fix ethers signature creating

* remove console.log

* Update metamask error handler flow (#393)

* update metamask error handle flow

* fix message

* Language switch (#387)

* Draft

* Update App.vue

* Add lang switch & russian language

* Improve set locale for numbers

* refactoring

* fix async

* split chunks

* add lang files

* add some fixes

* css fixes

* prefetch optimization

* disable source maps in production

* add fallback locale

* add chack to action

* update document title

* update language files

* fix paths & some ru translations

Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>

* fix sign with ethers (#394)

* Sync with release 1.3 (#398)

* Reduce abi files size

* PW-243: Fix async method

* PW-253: Fix swap styles

* Update translations (#402)

* use another number to detect separators (#405)

* fix parsing network using ethers (#401)

* Force connection close after disconnect event (#404)

* manually close connection after disconnect event

* fix calls order

* Change rewards vested text (#403)

* change rewards vested text

* update translations

* PW-230: Fiat Layouts (#386)

* Added fiat values functionality.
* Refactored fiat values.
* Refactored due to PR comments, updated wallet version.
* Refactored, increased wallet version.
* Added Bridge Fiat values, Refactored.
* Refactored due to PR comments.
* Added fiat styles mixin.
* Added Fiat value check.
* Increased wallet version.
* Refactored plugins names.
* Refactored due to PR comments, updated translation.
* Refactored Fiat functionality.
* Refactored.
* Refactored layouts, updated alignment for balances areas.
* Fixed input container address alignment.
* Added Rewards Fiat Values, fixed some classes.
* Improved Fiat Functionality for Select Token components.
* Showed Swap button in the wallet.
* Fixed fiat values for Rewards.
* Increased Wallet version.
* Updated UI Lib paths.
* Fixed DesignSystem path.
* Hide Swap button in the wallet.
* Updated Rewards styles.
* Update dependencies
* Fix confirm tokens pair dialog
* Fix issues in add liquidity & create pair components
* Fix pool issues
* Update TokenPairMixin.ts
* Updated Rewards styles.
* Fixed layout problems.
* Refactored Rewards.
* Updated Bridge Transaction Fiat values.
* Update BridgeTransaction.vue
* Update soramitsuUI.ts
* fix rewards fiat size & weight

* Updated Bridge Design. (#400)

* Add SOSHIBA token (#409)

* Translation updates (#411)

* Updated translation.
* Localisation fixes.

* Add dark theme first part (#412)

* Add dark theme first part

* Update wallet

* Rewards & node selection dialog dark mode (#413)

* update select node modal

* update rewards view

* fix fee border color

* fix divider background

* fix icon size

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Added numbers formatting to the header. (#414)

* Update polkaswap_icons.ttf (#396)

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* PW-248: Swap, Select Token & Pools dark mode (#415)

* Dark Theme: Updated Swap, Pool, Select Token theme.
* Updated Pool list layout.
* Updated Wallet version.

* Add icon to theme switch (#416)

* Add scrollbar to main views (#408)

* draft

* Update deps

* fix scrollbars rendering win

* simplify, fix css

* remove unused style

* fix

* Fix styles

Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>
Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>

* Updated wallet version. (#418)

* PW-246: Bridge Dark Mode (#417)

* Refactored Bridge styles due to Dark theme.

* Updated network icons styles.

* Updated Bridge Transaction styles.

* Bridge: Added connection info for EVM to Sora transaction.

* Bridge Select Asset: Updated layout and styles.

* Updated wallet version.

* Refactored due to PR comments.

* Fix bridge issues

Co-authored-by: alexnatalia <alekseenko@soramitsu.co.jp>
Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Fix select registered tokens dialog issue (#420)

* About, Main menu, Header & Tokens dark mode (#419)

* update header menu footer

* prepare about page for dark images

* app merge fix

* add loader to about page

* tokens: fix no data text color

* add about page dark mode images

* refactoring about page

* fix text-transform

* fix tokens table th align

* add max-width to account-control

* Update About.vue

* Update Tokens.vue

Co-authored-by: Stefan Popov <stefanpopov@list.ru>
Co-authored-by: Tarmo Vannas <tarmo@soramitsu.co.jp>

* PW-258: Problem with changing MetaMask network. (#407)

* fix after network switch

* return console error

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Edit custom node (#317)

* add pencil button

* fix back button position

* edit node name

* updating flow

* revert generic page header

* fix typo

* fix calls order

* update wallet

* add scrollbar to node list

* add scrollbar to select language

* update translations

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Fiat Value Layouts bug (#421)

* Fixed Fiat Value Layouts bug.
* Bridge Select Token: Fixed fiat value presence.
* Updated wallet version.
* Updated due to PR comments.
* Fixed Bridge history list bug.

* Fix evm name (#422)

* Add price impact (#380)

* add price impact calc

* price difference calculation

* colored price impact & fiat difference

* fix status color for dark mode

* update package.json version to 1.5.0

* fix ipv4 regexp (#425)

* Fix dialog scrollbars (#424)

* fix dialog scrollbars

* remove dialog fixed top offset

* move dialog scrollbar position to right

* remove override

* remove outdated overrides

* PW-156 PW-291: Fix bridge issues (#426)

* Update project version

* Add error message

* Fix types

* Fix bridge issue with error statuses

* Add condition to bridge tx page according to previous route

* PW-291: Fix bridge buttons behavior

* Refactor bridge tx component

* Fix back button behavior

* fix ui issues (#428)

* add prefer notification arg to handle error method (#430)

* Vested rewards visibility (#431)

* show vested rewards with 0 limit

* fix tooltip bg

* update wallet

* fix light theme button shadow (#433)

* Update translations (#436)

* Update translations

* Update whitelist.json

* Fix loading icon for select node dialog (#434)

* refactoring bridge unused & duplicated code (#427)

* refactoring bridge unused & duplicated code

* Update BridgeTransaction.vue

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* PW-15: Image Lazy Loading (#429)

* Added Lazy Images draft.
* Moved About page images to public folder.
* Added lazy images behaviour for About page.
* Refactored images object.
* Updated wallet version, changed styles for skeletons.
* Update About.vue
* About page: reverted license translation.

* Tooltip Styles Fix (#432)

* Removed buggy styles for tooltips.
* Updated wallet version, cosmetic fix.
* Updated translation for Wallet Send screen.

* Updated wallet version. (#438)

* Fix lokalise strings (#440) (#441)

* Fix lokalise strings

* Update pl.json

* Fix disclamer tittle

* Update ru.json

* Rewards: fix fiat values (#442) (#443)

* fix fiat values

* fix ts error

* remove import

* Fix lang switch (#445)

* PW-286: Update Account History Screen (#439)

* Refactored InfoLine component, moved it into the wallet.
* Removed TODO.
* Updated wallet version.

* add scrollbar to SelectToken & SelectRegisteredAsset (#446)

* Update whitelist (#448) (#449)

* PW-289: Update logic for getting account liquidity in Polkaswap (#444)

* Updated liquidity pools subscription and fee calls.

* Update wallet

* Updated pool screens subscriptions.

* Updated pool subscriptions and network fees.

* Fix liquidity updates

* Reverted evmNetworkFee changes.

* Add some fixes to pool pages (#450)

* add some fixes

* remove unused watch

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

Co-authored-by: alexnatalia <alekseenko@soramitsu.co.jp>
Co-authored-by: Stefan Popov <stefanpopov@list.ru>
Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>

* fix calc evm network fee (#447)

* PW-319: Search by Custom tokens is not worked (#452)

* Updated translations.
* Fixed translation issues.

* Fix share of pool calculation (Add, Remove Liquidity) (#453)

* fix share of pool calc

* up package.json version to 1.6.0

* Feature/pw 326 (#455)

* swap reserves change check pair

* add PoolContainer with subscriptions

* update subscription after disconnect

* update subscription after sync

* fix typo

* add comment

* Added StaFi tokens: rFIS, rETH, rDOT, rATOM, rKSM. (#456)

* PW-329: Add delay to tooltips and fix connected info text (#454)

* Updated account and node tooltips.
* Updated tooltip for connected node.
* Fixed missed translation pair.
* Updated wallet version, fixed Send button styles.
* Refactored icons styles.
* Refactored icons styles for the wallet.

* Fix dev stand issues (#458)

* Update package.json (#459)

* Update package.json

* Update yarn.lock

* Update whitelist.json (#460)

* Add new wallet version (#463)

* Update project for new wallet version

* Add apy to pools

* Update wallet version

* Update Pool.vue

* soraNetwork refactoring

Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>

* Add apy for pools (#464)

* change regexp to pass top level domain (#462)

* Rewards: add css fixes & change rewards header layout (#461)

* add css fixes & change rewards header layout

* fix type errors

* fix calc fiat total price

* fix type

* fix attr

* refactoring FPNumber.Zero

* Fix/bridge fee and refactor code (#465)

* Fix tx sync

* Fix sora network fee

* soraNetworkFee getter

* use networkFees from wallet

Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>

* Apy for add liquidity (#467)

* Add apy for add liquidity screen & confirm dialog

* Update implementation according to new reqs

* Update lang

* Update AmountHeader.vue

* PW-356: Update supported languages list (#468)

* Updated languages list and translations.
* Updated translations.
* Updated DE, FR laguages due to PR comments.
* Updated HY laguage due to PR comments.

* Rewards: Fixed fiat value error. (#469)

* Wallet improvements (#470)

* Update wallet integration

* Add missing types

* Update locales & env config files

* Update languages

* Update BridgeTransaction.vue

* Fix wallet issue (#474)

* Change spinner loader (#473)

* Change spinner loader

* Edit indentation

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* BridgeTransaction: Show token approval prompt (#466)

* show approve text

* update translations

* Remove liquidity: reactive updates (#476)

* remove pool reactive liquidity

* fix update after liquidity adding

* typings in remove liquidity component & store

* update ConfirmRemoveLiquidity types

* update type

* import only Asset type

* Add scroll to custom assets (#481)

* Add prettier config & update dependencies (vue cli and others) (#482)

* Update dependencies

* Update source code according to prettier config

* Fix lint issues

* use axiosInstance from sora-substrate/util

* Update vue.config.js

* Update NodeInfo.vue

Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>

* Improve locale check (#480)

* recursive check for locale

* fix filename

* Change links to sora wiki (#477)

* Change links to sora wiki

* Update localise

* polkaswap layout updates (#479)

* polkaswap layout updates

* update social.wiki translate

* sidebar menu alignment

* remove hardcoded width from dialogs

* lint fix

* add menu animation

* css fixes

* fix disclaimer

* update wallet

* add css fixes

* add el-dialog-max-width variable

* improve regexp (#483)

* Add liquidity pool route (#484)

* Add liquidity pool route

* Add typings

* Delete unused component

* Change class naming

* Hide balances functionality (#485)

* Create AppHeader.vue

* Update header component

* Fix select registered assets dialog height

* Update yarn.lock

* Update library

* Add hide balances mode

* Add dropdown menu for app header

* Update translations

* Update wallet version

* Update AmountHeader.vue

* Add SEO (#487)

* Add SEO

* Update messages.ts

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Feature/pw 197 (#437)

* wip moonpay dialog

* add moonpay logo

* get transaction id throught moonpay.html

* add MoonpayApi class

* polling functionality

* fix iframe reload

* wip detect currency

* parse erc-20 token transfer

* registered asset check

* add todo comments

* init bridge transaction

* fix network issue, add loading widget state

* improve debug info, theme language widget update

* change view to notification

* reset dialog state

* wip moonpay history

* moonpay history styles

* add moonpay history details view

* init bridge from moonpay history & show transaction

* fix bridge init from history

* handle error from moonpay history

* moonpay api init refactoring

* check auth for moonpay history page

* improve history button to start bridge

* confirmation modal

* moonpay history checks for eth account

* add some error notifications

* add links to translations

* update translations

* rework header buttons

* fix active color for tx button

* revert 73eeb1055115a4ce78e0420a851cea455f98cf3d

* rework confirm modal

* add translation

* hardcode api key

* align moonpay header buttons

* update translations

* Revert "hardcode api key"

This reverts commit 04fdf4f6a727ffa5109b0164f013bece27fe51f3.

* update view transaction button

* refactoring

* remove unnecessary imports

* fix type

* improve moonay buttons alignment

* add feature flags to env.json

* remove unused code from app.vue

* update prod env.json

* update moonpay history button & types

* refactoring confirm-bridge-transaction-dialog

* refactoring evmNetworkFee

* wip bridge data flow

* update flow & modals

* refactoring select node dialog

* fix bugs, add types

* add AccountButton component

* fix loader position

* add AppLogoButton & AppMenu components

* fix z-index

* fixes after review

* remove unnecessary call

* css fixes after review

* refactoring

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Fix/wallet translations (#486)

* first update

* update Transfer Operation translations

* Add xstusd token & fix for swap (#488)

* Update whitelist.json

* Add temporary solution for swap xst-usd

* Change SEO image (#489)

* Fix hide balances icon (#491)

* Update wallet version (#492)

* Define account type (#493)

* Define account type

* Update AppHeader.vue

* PW-412: Swap: Min Received value is NaN in browser logs (#490)

* Swap: Fixed min received init value.
* Refactored due to PR comments.

* add segment to ip regexp (#496)

* fix calc error (#497)

* update wallet version (#499)

* fix getEvmNetworkFee (#501)

* fix getEvmNetworkFee

* fix typo

* beautify code

* Add hide balances feature for Moonpay history (#502)

* fix bridge date (#500)

Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>
Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>

* Revert "fix bridge date (#500)" (#506)

This reverts commit 5e896ea49269a55136f197cae55fca5211c3c2b3.

* change font weight (#504)

* change font weight

* Upgrade wallet

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Add network check before navigation to moonpay history item (#503)

* add network check before navigation to history item

* fix loading history state

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* update typescript to 4.4.4 (#505)

* update typescript to 4.4.4

* update typescript-eslint

* update @types/node

* update eslint-plugins

* update vue-router wallet-connect

* update sass-loader

* use TransactioMixin from wallet

* refactoring for VoidFunction

* pw-433 remove fiat value from lp fee

* Add block number (#507)

* Add block number

* Fix block number link

* Change link tooltip

* History. Amounts rounding at claimed rewards event isn't work (#509)

* update wallet version to 1.6.24

* rfactoring

* remove LoadingMixin from about page

* Add templates (#510)

* update wallet (#511)

* Improve Polkaswap routing (#512)

* add info popper

* update translations from localise

* add translations

* refactoring

* add popper min-width

* style & translation fixes

* Add Market maker countdown. (#508)

* Add Countdown component

* add popover

* move node selection to dropdown

* update translations

* update wallet

* fixed version of wallet in package.json

* remove unused code

* replace XOR symbol

* remove popper arrow

* add countdown box-shadow var

* refactoring

* replace MM & info tooltips for popover

* change backend version text in info

* Fix XST icon (#513)

* Fix XST icon

* Update whitelist.json

* Disable not supported tokens for bridge (#494)

* Update About.vue (#515)

* Setup unit tests (#514)

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Implement liquidityProxy.quote on front-end side (#498)

* wip transfer code

* wip xst

* tbc quote

* wip quote

* finish quote

* wip calc fixes

* fix xyk

* wip xst fixes

* fix smart split

* fix calc mismatches

* fix tbc calc error

* add QuotePayload type

* wip refactoring

* update wallet

* refactoring swap

* refactoring swap component

* add try catch to quotes

* remove unused variable

* update wallet & refactoring

* update wallet & code

* add some types

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* add K postfix (#516)

* Feature/pw 200/add notification warning (#518)

* Update wallet

* Implement dialog popup logic

* Add translations

* Change imports & version

* TokenLogo: Added unit test. (#519)

* Updated PR template. (#522)

Co-authored-by: alexnatalia <alekseenko@soramitsu.co.jp>

* PW-481: Add SwapInfo unit test (#517)

* SwapInfo: Added unit test.

* Change subscription place (#521)

* Change subscription place

* Remove unused action

* add account button unit-test (#523)

* add account button unit-test

* Update SwapInfo.spec.ts.snap

* Update dates formatting (#527)

* change dayjs locale

* change dayjs locale

* remove months from localise

* Swap rpc requests optimization (#528)

* rpc requests optimization

* remove rpc calls for paths

* Update wallet version

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Hot fix frozen assets (#531)

* Hot fix frozen assets

* change version

* MM Countdown: fix percentage & text (#532)

* fix percentage & text

* fix ru btn translation

* Fix rewards store (#535)

* [1.6.0] Fix swap issues (#534)

* update subscription

* move unsubscriptions to beforeDestroy

* css fixs

* Return back account menu item (#536)

* Fix "swap" button (#538)

* fix swap button

* remove external link icon

* fix isInsufficientLiquidity

* Update lokalise files (#537)

* Update lokalise files

* Refactor code

* Fix styles

* Revert "Fix styles"

This reverts commit 1ed1ae6b796df9db29411e81565688373478be76.

* Update api version

* Fix disclaimer

* Fix all translations with nested variables

* Update pl.json

* Update cs.json

* Fix translations

* Update nl.json

* Fix translations

* Fix disclaimer

* Fix translations

* Update de.json

* Fix

* Update pl.json

* Update ru.json

* Update api (#539)

* [Rewards] Fix checkmark position (#542)

* fix checkmark position

* change checkmark

* fix rewards tooltip

* return condition

* Increased wallet version to 1.6.38 (#543)

Co-authored-by: alexnatalia <alekseenko@soramitsu.co.jp>

* Fix styles (#541)

* Update AppHeader.vue

* Add new translations

* Fix xorless notifications

* Update AppHeader (#544)

* Update AppHeader.vue

* Update AddLiquidity.vue

* Update wallet version

* fix for liquidity sources without market algorithm (#546)

* Add moonpay key (#547)

* Fix block number (#548)

* Fix block number

* Update locale files

* Add block number translation key

* Add noir token (#551)

* Compress noir token icon (#553)

* increase interval, remove unnecessary error log (#554)

* Remove SORA nodes (#555)

* Feature/pw 488/hide transaction details (#529)

* Add tx details dropdown

* Add create pair details

* Refactor components

* Fix empty assets

* Collapse margins

* Add translations & refactor

* Replace KnownAssets.get with XOR

* Fix life-cycle

* Fix mixins for liquidity & token pair creation

* add infoOnly prop to TransactionDetails component (#557)

Co-authored-by: Stefan Popov <stefanpopov@list.ru>
Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>

* Fix ETH decimals (#562)

* Fix external decimals for bridge (#563) (#566)

* api migration (#569)

* draft

* Update api version

* Fix swap info (#570)

* use extended ubuntu 14 dockerImage

Signed-off-by: Ahmed Elkashef <ahmedelkashef2012@gmail.com>

* Add desktop config (#572)

* Add electron config

* Update dependencies

* Fix build

* Update README.md

* Comment tests

* Add API key (#571)

* Add API key

* Trigger root dispatch

* Remove setApiKey

* move key

* Add translations

* mock nft in tests

* Update settings.ts

* Feature/pw 542 (#576)

* always show LP rewards

* update wallet to 1.7.6

* refactoring rewards calls

* revert if condition

* update rewards ru translation

* improve condition for watcher (#577)

* Updating Dockerfile

Signed-off-by: Nikita Zaporozhets <zaporozhets@soramitsu.co.jp>

* Bridge refactoring (#565)

* refactoring evm fee fetching

* remove unused store attributes

* remove duplicated code

* add isRegisteredAsset getter to bridge

* evm netfork fee update

* fix endTime bug, remove unnecessary code

* remove transactionStep from state

* refactoring computed attributes in BridgeTransaction

* refactoring BridgeTransaction flags

* transfered BridgeOutgoing logic

* add TODO comments & reduce github changes

* remove redundant code

* remove empty mutations

* transfer EthBridgeIncoming logic & remove xstate

* refactoring bridge utils

* refactoring bridge getters

* wip debugging

* wip refactoring bridge store

* refactoring bridge handlers

* wip refactoring bridge utils

* update ethereumNetworkFee during evm tx processing

* refactoring common state handlers

* fix retry

* fix issues aaprove & remove history by id

* refactoring to classes

* refactoring bridge, fix bugs

* remove unused code

* stop tx, show action needed

* update translations

* fix history align

* fix account assets subscription watcher

* change font-size:10px to variable

* refactoring after review

* PW-519: About Page Images Update (#586)

* About Page: Updated images and styles.

* Update Dockerfile

Signed-off-by: Nikita Zaporozhets <zaporozhets@soramitsu.co.jp>

* up wallet version (#588)

* PW-404: Referral system support (#533)

* Added Referral System.
* Referral System: Updated Rewards areas, bonded balance, styles and icons.

* Bridge subscriptions (#585)

* refactoring evm fee fetching

* remove unused store attributes

* remove duplicated code

* add isRegisteredAsset getter to bridge

* evm netfork fee update

* fix endTime bug, remove unnecessary code

* remove transactionStep from state

* refactoring computed attributes in BridgeTransaction

* refactoring BridgeTransaction flags

* transfered BridgeOutgoing logic

* add TODO comments & reduce github changes

* remove redundant code

* remove empty mutations

* transfer EthBridgeIncoming logic & remove xstate

* refactoring bridge utils

* refactoring bridge getters

* wip debugging

* wip refactoring bridge store

* refactoring bridge handlers

* wip refactoring bridge utils

* update ethereumNetworkFee during evm tx processing

* refactoring common state handlers

* fix retry

* fix issues aaprove & remove history by id

* refactoring to classes

* refactoring bridge, fix bugs

* remove unused code

* stop tx, show action needed

* update translations

* fix history align

* fix account assets subscription watcher

* change font-size:10px to variable

* change timeout to subscriptions

* refactoring

* set confirmation to 1, write evm block number in tx

* add blocks left

* update subscriptions

* small fixes

* show current tx network fees if they not exists

* fix network type bug

* update translations

* update to import type BridgeHistory

* get sora hash for incoming transfer

* add comment

* fix subscription promise (#590)

* fix all-liquidity updatePrice params (#591)

* assets subscription integration (#592)

* PW-555: Referral System Issues (#593)

* Referral system: Fixed unbond Max Button, Active Menu state, Added Redirect after Bond/Unbond, Updated Referrals Addresses.
* Referral System: Added message if user already has referrer.
* Fixed Set Referral Confirmation Dialog.
* Updated icon classes.

* update wallet to 1.7.16 (#597)

* Fix nft issues according to new api (#596)

* Fix nft issues according to new api

* fix remove account asset

Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>

* Restrict operations for non divisible assets (#598)

* Restrict operations for non divisible assets

* Update wallet version

* Update Navigation Bar (#594)

* show dropdown or buttons in app header menu

* fix initial render

* add type for menu item

* transafer styles

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* PW-561: Referral System Rewards Issues (#599)

* Updated wallet version.
* Referral Rewards: Fixed Referrals Rewards Values.

* Fix about page (#600)

* Bridge history restoration: improve current flow (#589)

* refactoring evm fee fetching

* remove unused store attributes

* remove duplicated code

* add isRegisteredAsset getter to bridge

* evm netfork fee update

* fix endTime bug, remove unnecessary code

* remove transactionStep from state

* refactoring computed attributes in BridgeTransaction

* refactoring BridgeTransaction flags

* transfered BridgeOutgoing logic

* add TODO comments & reduce github changes

* remove redundant code

* remove empty mutations

* transfer EthBridgeIncoming logic & remove xstate

* refactoring bridge utils

* refactoring bridge getters

* wip debugging

* wip refactoring bridge store

* refactoring bridge handlers

* wip refactoring bridge utils

* update ethereumNetworkFee during evm tx processing

* refactoring common state handlers

* fix retry

* fix issues aaprove & remove history by id

* refactoring to classes

* refactoring bridge, fix bugs

* remove unused code

* stop tx, show action needed

* update translations

* fix history align

* fix account assets subscription watcher

* change font-size:10px to variable

* change timeout to subscriptions

* refactoring

* set confirmation to 1, write evm block number in tx

* add blocks left

* update subscriptions

* small fixes

* show current tx network fees if they not exists

* fix network type bug

* update translations

* update to import type BridgeHistory

* get sora hash for incoming transfer

* wip history restoration

* restore history with more accurate data

* set timestamps to restored history

* incoming transactions restoration

* fix cancelled evm tx flow

* fix checkmark position

* fix parsing amount

* etherscan implementation

* speed up restoration

* improve filtering

* create BridgeContainer

* add ethescan api key to env.json

* change restoration executon from parallel to continious

* refactoring web3 & bridge mixin

* restore bridge history in desc order

* fix build error

* update ethescan API keys

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* update wallet to 1.7.19 (#601)

* PW-560: Referral System Translation Issues (#595)

* Referral System: Updated Localisation.
* PW-564: Fixed Bonded Balance Translation.

* Use subquery in bridge history (#602)

* refactoring evm fee fetching

* remove unused store attributes

* remove duplicated code

* add isRegisteredAsset getter to bridge

* evm netfork fee update

* fix endTime bug, remove unnecessary code

* remove transactionStep from state

* refactoring computed attributes in BridgeTransaction

* refactoring BridgeTransaction flags

* transfered BridgeOutgoing logic

* add TODO comments & reduce github changes

* remove redundant code

* remove empty mutations

* transfer EthBridgeIncoming logic & remove xstate

* refactoring bridge utils

* refactoring bridge getters

* wip debugging

* wip refactoring bridge store

* refactoring bridge handlers

* wip refactoring bridge utils

* update ethereumNetworkFee during evm tx processing

* refactoring common state handlers

* fix retry

* fix issues aaprove & remove history by id

* refactoring to classes

* refactoring bridge, fix bugs

* remove unused code

* stop tx, show action needed

* update translations

* fix history align

* fix account assets subscription watcher

* change font-size:10px to variable

* change timeout to subscriptions

* refactoring

* set confirmation to 1, write evm block number in tx

* add blocks left

* update subscriptions

* small fixes

* show current tx network fees if they not exists

* fix network type bug

* update translations

* update to import type BridgeHistory

* get sora hash for incoming transfer

* wip history restoration

* restore history with more accurate data

* set timestamps to restored history

* incoming transactions restoration

* fix cancelled evm tx flow

* fix checkmark position

* fix parsing amount

* etherscan implementation

* speed up restoration

* improve filtering

* create BridgeContainer

* add ethescan api key to env.json

* change restoration executon from parallel to continious

* refactoring web3 & bridge mixin

* restore bridge history in desc order

* fix build error

* update ethescan API keys

* rework history restoration using subquery

* fix for & tiny optimization

* fetch block number based on transactions

* fix duplicated fetch

* optimization of logs search

* remove restored flag

* add bridgeHistorySyncTimestamp

* move history restoration to class

* refactoring

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* nft adjustments (#604)

* update wallet

* update translations

* Add api key

* Update wallet version

* Update token icons

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Remove files

Co-authored-by: Alex Natalia <38787212+alexnatalia@users.noreply.github.com>
Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>
Co-authored-by: alexnatalia <alekseenko@soramitsu.co.jp>
Co-authored-by: Tarmo Vannas <tarmo@soramitsu.co.jp>
Co-authored-by: Robert Sayakhov <roobertdantes@gmail.com>
Co-authored-by: Dmitriy Creed <creed@soramitsu.co.jp>
Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>
Co-authored-by: RustemYuzlibaev <rustem.yuzlibaev@yandex.ru>
Co-authored-by: Ahmed Elkashef <ahmedelkashef2012@gmail.com>
Co-authored-by: Nikita Zaporozhets <zaporozhets@soramitsu.co.jp>
Co-authored-by: Nikita Zaporozhets <95526886+f33r0@users.noreply.github.com>

* Release/1.7 (#607)

* Update wallet & api version (#307)

* Tech/update neu components (#303)

* wip connect lib

* wip inputs

* wip input components

* wip swap page update

* update pool views

* wip bridge

* style updates

* update menu styles

* remove unused mixin

* add some fixes

* Updated main menu.

* add token address to swap input

* set secondary theme colors

* refaactoring vars

* move some overrides to components

* toggle-text-button refactoring

* css fix for toggle-text-button

* fix css calc

* fix dialog close button

* add lottie loader to rewards content

* fixes after review

* change white to var

* fix button typography size

* fix tooltip radius

* add css fixes

* input font weight fix, network fee tooltips

* tabs font-weight fix

* card & info lines css fixes

* remove some overrides

* bridge width fix

Co-authored-by: alexnatalia <alekseenko@soramitsu.co.jp>

* Unsubscribe ws event handlers after disconnect (#306)

* unsubscribe event handlers after disconnect

* change select node title

* Always show swap market algorithm (#308)

* always show swap market algorithm

* update wallet

* refactoring styles (#309)

* Add fixes for parsing and calculation total rewards amount (#310)

* add fixes for parsing and calculation total amount

* refactoring types

* fix button styles

* Improve whitelist & fix select token dialog logged out state (#313)

* Improve whitelist & fix select token dialog logged out state

* Update wallet version

* Loader Z-index Fix (#311)

* Fixed z-indexes for Loader.

* Update select custom token view (#315)

* use neu components

* fix ccs

* update wallet

* Tech/sync/master/1.2.0 (#318)

* merge c133e19d8f6897c8e01986f7db1711ea31523bbf

* add datetime to built js files (#298)

* Rename storage for settings because of polkadot-js-wallet (#301)

* fix merge conflicts

* remove space

* remove extra space

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* use connection timeout only for custom nodes (#316)

* PW-166: WEB UI: Screens Consistency and Responsive Design Updates (#319)

* Pool Screen: Fixed collapse arrows.
* Pool List: Made whole button area clickable.
* Fixed Terms and Privacy Policy responsive behaviour.
* Transaction Settings Dialog: Added content area.

* Add SORAScan links (#321)

* remove some overrides (#320)

* remove some overrides

* collapse css

* update select node css

* fix collable background

* add min-height for bridge-content

* change subscribe liquidity flow (#324)

* change subscribe liquidity flow

* fix calls order

* move padding to non scoped css (#325)

* Keep sora hash for user guide (#323)

* Keep sora hash for user guide

* Fix issues & improve styles

* Remove unused assets

* Use registered assets in bridge modal (sora -> evm) (#326)

* update select token modals

* fix return type

* fix rewards button loading icon (#327)

* load fonts from overides to render icons not transparent (#328)

* load fonts from overides to reneder icons not transparent

* add TODO

* Fix select token css (#331)

* fix overflow issue

* fix transaction copy button

* fix bridge card padding

* Add token address to bridge inputs (#332)

* add TokenAddress component

* fix font-weight

* Fix bridge registeredAssets initial fetching (#335)

* don't fetch registered assets twice

* fix select network flow

* fix double request liquidityProxy after switch tokens (#336)

* Fix typo & improve sorascan links (#334)

* Fix typo
* Update sorascan links
* Update wallet

* PW-179: Font Feature Settings Removing (#329)

* Removed font feature settings.
* Removed Lottie Loader.
* Font feature settings overriding.
* Updated font feature settings.

* Improve node connection process after disconnect (#337)

* improve node connection process after disconnect

* fix css

* fix typo

* remove lottie loader from rewards (#338)

* fix reset bridge form (#339)

* create independent subscriptions (#340)

* Create pool subscriptions at first (#341)

* create subscription at first, to not allow leak because async hook

* improve createAccountLiquiditySubscription

* refactoring add liquiddity return

* Update api version (#344)

* Update subscriptions flow, refactoring (#342)

* refactoring some components

* update subscriptions management

* add some css fixes (#346)

* Fix rewards loader (#345)

* PW-184: Bridge. Transaction shows as failed, but actually is not (#343)

* Transaction fix draft.

* Fixed transaction movement.

Co-authored-by: alexnatalia <alekseenko@soramitsu.co.jp>
Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Improve update history flow (#349)

* fix token-address color

* update wallet to 1.3.35

* fix nodeIsConnected getter

* Updated history list styles. (#351)

* Remove moment.js (#353)

* applt changes

* change registration order

* change icon font path

* Fix jest config (#354)

* Updated wallet version. (#355)

* Updated wallet version. (#356)

* use components from library directly (#358)

* update wallet (#359)

* update wallet

* remove temporary string

* Icon font updates (#357)

* Add files via upload

* updated more icons

* fixed farm icon placement

* Add tokens view (#350)

* add tokens view with simple render whitelist

* Update soramitsuUI.ts

* update according to design

* css fixes

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* tokens list ui updates (#361)

* PW-53: Migration to ether (#312)

* feat: migration to ethers.js

* chore: update yarn.lock

* chore: remove logs

* feat: improve speed up

* chore: remove console.log

* chore: remove rebase issues

* feat: added minor code improvments

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Updated wallet version and translation. (#363)

* PW-207: Design Improvements (#360)

* Updated Disclaimer.
* Refactored Disclaimer styles.
* Updated radio elements styles.
* Updated inputs border radiuses.
* Updated Screens Header, Node Control Styles.
* Updated menu styles, refactored.
* Updated tabs and action bage styles.
* Updated Pool styles.
* Updated buttons styles.
* Refactored variables names.
* Updated wallet version.

* Updated wallet version, updated translation for connection screen. (#366)

* update axios baseUrl (#365)

* [DOPS-1380] Add Push to IPFS stage for tags (#364)

* Add a Push to IPFS stage

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Add a Push to IPFS stage

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Add a Push to IPFS stage

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Add a Push to IPFS stage

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Apply changes from code review

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Apply changes from code review

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Token list: css fix & add sort by symbol (#362)

* css fix & add sort by symbol

* add sorting, filter

* revert env

* remove unnecessary v-if

* sort ui changes

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Detailed rewards screen (#367)

* update rewards ui

* fix ts errors

* improve messages

* add formatted amount component

* improve formatted-amount

* design update

* simple group rendering (external rewards)

* update rewards table styles

* fix checkbox css

* css fixes

* types fix

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* PW-190: Remove unused abi (#352)

* Reduce files size

* Update Jenkinsfile (#368)

Signed-off-by: Dmitriy Creed <creed@soramitsu.co.jp>

* Fix 1.3 release issues (#370)

* Delete Master.json (#371)

* Delete Bridge.json (#372)

* Tech/remove web3 (#373)

* remove web3

* add web3-utils

* add TODO

* define Abi related interfaces & types

* add check in index.html (#375)

* fix for ipfs path (#376)

* add cache-control header (#377)

* update wallet to 1.3.47 (#379)

* update wallet to 1.3.47

* up package version to 1.4.0

* PW-207: Design Improvements Updates (#374)

* Moved Tokens menu item above About item.
* Updated header buttons.
* Updated dialog and collapse items.
* Removed button icon.
* Hide swap button in the wallet.
* Updated search fields and assets logo in Select asset dialogs.
* Fixed Slippage tolerance styles.
* Updated buttons, icons styles.
* Updated wallet version.
* Fixed header buttons styles.

* remove toggle-text-button (#381)

* fix amount table css (#382)

* tooltip bg color fix (#384)

* Update Liquidity screens (#385)

* wip share of pool

* update addLiquidity screen

* update CreatePair screen

* add slippage tolerance to create pair

* update remove liquidity screen

* remove console.log

* show message to change account, save to field in history (#388)

* Fix ethers signature creating (#391)

* fix ethers signature creating

* remove console.log

* Update metamask error handler flow (#393)

* update metamask error handle flow

* fix message

* Language switch (#387)

* Draft

* Update App.vue

* Add lang switch & russian language

* Improve set locale for numbers

* refactoring

* fix async

* split chunks

* add lang files

* add some fixes

* css fixes

* prefetch optimization

* disable source maps in production

* add fallback locale

* add chack to action

* update document title

* update language files

* fix paths & some ru translations

Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>

* fix sign with ethers (#394)

* Sync with release 1.3 (#398)

* Reduce abi files size

* PW-243: Fix async method

* PW-253: Fix swap styles

* Update translations (#402)

* use another number to detect separators (#405)

* fix parsing network using ethers (#401)

* Force connection close after disconnect event (#404)

* manually close connection after disconnect event

* fix calls order

* Change rewards vested text (#403)

* change rewards vested text

* update translations

* PW-230: Fiat Layouts (#386)

* Added fiat values functionality.
* Refactored fiat values.
* Refactored due to PR comments, updated wallet version.
* Refactored, increased wallet version.
* Added Bridge Fiat values, Refactored.
* Refactored due to PR comments.
* Added fiat styles mixin.
* Added Fiat value check.
* Increased wallet version.
* Refactored plugins names.
* Refactored due to PR comments, updated translation.
* Refactored Fiat functionality.
* Refactored.
* Refactored layouts, updated alignment for balances areas.
* Fixed input container address alignment.
* Added Rewards Fiat Values, fixed some classes.
* Improved Fiat Functionality for Select Token components.
* Showed Swap button in the wallet.
* Fixed fiat values for Rewards.
* Increased Wallet version.
* Updated UI Lib paths.
* Fixed DesignSystem path.
* Hide Swap button in the wallet.
* Updated Rewards styles.
* Update dependencies
* Fix confirm tokens pair dialog
* Fix issues in add liquidity & create pair components
* Fix pool issues
* Update TokenPairMixin.ts
* Updated Rewards styles.
* Fixed layout problems.
* Refactored Rewards.
* Updated Bridge Transaction Fiat values.
* Update BridgeTransaction.vue
* Update soramitsuUI.ts
* fix rewards fiat size & weight

* Updated Bridge Design. (#400)

* Add SOSHIBA token (#409)

* Translation updates (#411)

* Updated translation.
* Localisation fixes.

* Add dark theme first part (#412)

* Add dark theme first part

* Update wallet

* Rewards & node selection dialog dark mode (#413)

* update select node modal

* update rewards view

* fix fee border color

* fix divider background

* fix icon size

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Added numbers formatting to the header. (#414)

* Update polkaswap_icons.ttf (#396)

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* PW-248: Swap, Select Token & Pools dark mode (#415)

* Dark Theme: Updated Swap, Pool, Select Token theme.
* Updated Pool list layout.
* Updated Wallet version.

* Add icon to theme switch (#416)

* Add scrollbar to main views (#408)

* draft

* Update deps

* fix scrollbars rendering win

* simplify, fix css

* remove unused style

* fix

* Fix styles

Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>
Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>

* Updated wallet version. (#418)

* PW-246: Bridge Dark Mode (#417)

* Refactored Bridge styles due to Dark theme.

* Updated network icons styles.

* Updated Bridge Transaction styles.

* Bridge: Added connection info for EVM to Sora transaction.

* Bridge Select Asset: Updated layout and styles.

* Updated wallet version.

* Refactored due to PR comments.

* Fix bridge issues

Co-authored-by: alexnatalia <alekseenko@soramitsu.co.jp>
Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Fix select registered tokens dialog issue (#420)

* About, Main menu, Header & Tokens dark mode (#419)

* update header menu footer

* prepare about page for dark images

* app merge fix

* add loader to about page

* tokens: fix no data text color

* add about page dark mode images

* refactoring about page

* fix text-transform

* fix tokens table th align

* add max-width to account-control

* Update About.vue

* Update Tokens.vue

Co-authored-by: Stefan Popov <stefanpopov@list.ru>
Co-authored-by: Tarmo Vannas <tarmo@soramitsu.co.jp>

* PW-258: Problem with changing MetaMask network. (#407)

* fix after network switch

* return console error

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Edit custom node (#317)

* add pencil button

* fix back button position

* edit node name

* updating flow

* revert generic page header

* fix typo

* fix calls order

* update wallet

* add scrollbar to node list

* add scrollbar to select language

* update translations

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Fiat Value Layouts bug (#421)

* Fixed Fiat Value Layouts bug.
* Bridge Select Token: Fixed fiat value presence.
* Updated wallet version.
* Updated due to PR comments.
* Fixed Bridge history list bug.

* Fix evm name (#422)

* Add price impact (#380)

* add price impact calc

* price difference calculation

* colored price impact & fiat difference

* fix status color for dark mode

* update package.json version to 1.5.0

* fix ipv4 regexp (#425)

* Fix dialog scrollbars (#424)

* fix dialog scrollbars

* remove dialog fixed top offset

* move dialog scrollbar position to right

* remove override

* remove outdated overrides

* PW-156 PW-291: Fix bridge issues (#426)

* Update project version

* Add error message

* Fix types

* Fix bridge issue with error statuses

* Add condition to bridge tx page according to previous route

* PW-291: Fix bridge buttons behavior

* Refactor bridge tx component

* Fix back button behavior

* fix ui issues (#428)

* add prefer notification arg to handle error method (#430)

* Vested rewards visibility (#431)

* show vested rewards with 0 limit

* fix tooltip bg

* update wallet

* fix light theme button shadow (#433)

* Update translations (#436)

* Update translations

* Update whitelist.json

* Fix loading icon for select node dialog (#434)

* refactoring bridge unused & duplicated code (#427)

* refactoring bridge unused & duplicated code

* Update BridgeTransaction.vue

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* PW-15: Image Lazy Loading (#429)

* Added Lazy Images draft.
* Moved About page images to public folder.
* Added lazy images behaviour for About page.
* Refactored images object.
* Updated wallet version, changed styles for skeletons.
* Update About.vue
* About page: reverted license translation.

* Tooltip Styles Fix (#432)

* Removed buggy styles for tooltips.
* Updated wallet version, cosmetic fix.
* Updated translation for Wallet Send screen.

* Updated wallet version. (#438)

* Fix lokalise strings (#440) (#441)

* Fix lokalise strings

* Update pl.json

* Fix disclamer tittle

* Update ru.json

* Rewards: fix fiat values (#442) (#443)

* fix fiat values

* fix ts error

* remove import

* Fix lang switch (#445)

* PW-286: Update Account History Screen (#439)

* Refactored InfoLine component, moved it into the wallet.
* Removed TODO.
* Updated wallet version.

* add scrollbar to SelectToken & SelectRegisteredAsset (#446)

* Update whitelist (#448) (#449)

* PW-289: Update logic for getting account liquidity in Polkaswap (#444)

* Updated liquidity pools subscription and fee calls.

* Update wallet

* Updated pool screens subscriptions.

* Updated pool subscriptions and network fees.

* Fix liquidity updates

* Reverted evmNetworkFee changes.

* Add some fixes to pool pages (#450)

* add some fixes

* remove unused watch

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

Co-authored-by: alexnatalia <alekseenko@soramitsu.co.jp>
Co-authored-by: Stefan Popov <stefanpopov@list.ru>
Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>

* fix calc evm network fee (#447)

* PW-319: Search by Custom tokens is not worked (#452)

* Updated translations.
* Fixed translation issues.

* Fix share of pool calculation (Add, Remove Liquidity) (#453)

* fix share of pool calc

* up package.json version to 1.6.0

* Feature/pw 326 (#455)

* swap reserves change check pair

* add PoolContainer with subscriptions

* update subscription after disconnect

* update subscription after sync

* fix typo

* add comment

* Added StaFi tokens: rFIS, rETH, rDOT, rATOM, rKSM. (#456)

* PW-329: Add delay to tooltips and fix connected info text (#454)

* Updated account and node tooltips.
* Updated tooltip for connected node.
* Fixed missed translation pair.
* Updated wallet version, fixed Send button styles.
* Refactored icons styles.
* Refactored icons styles for the wallet.

* Fix dev stand issues (#458)

* Update package.json (#459)

* Update package.json

* Update yarn.lock

* Update whitelist.json (#460)

* Add new wallet version (#463)

* Update project for new wallet version

* Add apy to pools

* Update wallet version

* Update Pool.vue

* soraNetwork refactoring

Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>

* Add apy for pools (#464)

* change regexp to pass top level domain (#462)

* Rewards: add css fixes & change rewards header layout (#461)

* add css fixes & change rewards header layout

* fix type errors

* fix calc fiat total price

* fix type

* fix attr

* refactoring FPNumber.Zero

* Fix/bridge fee and refactor code (#465)

* Fix tx sync

* Fix sora network fee

* soraNetworkFee getter

* use networkFees from wallet

Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>

* Apy for add liquidity (#467)

* Add apy for add liquidity screen & confirm dialog

* Update implementation according to new reqs

* Update lang

* Update AmountHeader.vue

* PW-356: Update supported languages list (#468)

* Updated languages list and translations.
* Updated translations.
* Updated DE, FR laguages due to PR comments.
* Updated HY laguage due to PR comments.

* Rewards: Fixed fiat value error. (#469)

* Wallet improvements (#470)

* Update wallet integration

* Add missing types

* Update locales & env config files

* Update languages

* Update BridgeTransaction.vue

* Fix wallet issue (#474)

* Change spinner loader (#473)

* Change spinner loader

* Edit indentation

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* BridgeTransaction: Show token approval prompt (#466)

* show approve text

* update translations

* Remove liquidity: reactive updates (#476)

* remove pool reactive liquidity

* fix update after liquidity adding

* typings in remove liquidity component & store

* update ConfirmRemoveLiquidity types

* update type

* import only Asset type

* Add scroll to custom assets (#481)

* Add prettier config & update dependencies (vue cli and others) (#482)

* Update dependencies

* Update source code according to prettier config

* Fix lint issues

* use axiosInstance from sora-substrate/util

* Update vue.config.js

* Update NodeInfo.vue

Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>

* Improve locale check (#480)

* recursive check for locale

* fix filename

* Change links to sora wiki (#477)

* Change links to sora wiki

* Update localise

* polkaswap layout updates (#479)

* polkaswap layout updates

* update social.wiki translate

* sidebar menu alignment

* remove hardcoded width from dialogs

* lint fix

* add menu animation

* css fixes

* fix disclaimer

* update wallet

* add css fixes

* add el-dialog-max-width variable

* improve regexp (#483)

* Add liquidity pool route (#484)

* Add liquidity pool route

* Add typings

* Delete unused component

* Change class naming

* Hide balances functionality (#485)

* Create AppHeader.vue

* Update header component

* Fix select registered assets dialog height

* Update yarn.lock

* Update library

* Add hide balances mode

* Add dropdown menu for app header

* Update translations

* Update wallet version

* Update AmountHeader.vue

* Add SEO (#487)

* Add SEO

* Update messages.ts

Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Feature/pw 197 (#437)

* wip moonpay dialog

* add moonpay logo

* get transaction id throught moonpay.html

* add MoonpayApi class

* polling functionality

* fix iframe reload

* wip detect currency

* parse erc-20 token transfer

* registered asset check

* add todo comments

* init bridge transaction

* fix network issue, add loading widget state

* improve debug info, theme language widget update

* change view to notification

* reset dialog state

* wip moonpay history

* moonpay history styles

* add moonpay history details view

* init bridge from moonpay history & show transaction

* fix bridge init from history

* handle error from moonpay history

* moonpay api init refactoring

* check auth for moonpay history page

* improve history button to start bridge

* confirmation modal

* moonpay history checks for eth account

* add some error notifications

* add links to translations

* update translations

* rework header buttons

* fix active color for tx button

* revert 73…
  • Loading branch information
12 people authored Jun 3, 2022
1 parent be60e07 commit efa2732
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/views/ReferralProgram.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ import last from 'lodash/fp/last';
import { Component, Mixins, Watch } from 'vue-property-decorator';
import { components, mixins, api, WALLET_TYPES } from '@soramitsu/soraneo-wallet-web';
import { XOR } from '@sora-substrate/util/build/assets/consts';
import type { CodecString, FPNumber } from '@sora-substrate/util';
import { FPNumber } from '@sora-substrate/util';
import type { CodecString } from '@sora-substrate/util';
import type { AccountAsset } from '@sora-substrate/util/build/assets/types';
import router, { lazyView } from '@/router';
Expand Down Expand Up @@ -264,7 +265,12 @@ export default class ReferralProgram extends Mixins(
}
get isInsufficientBondedAmount(): boolean {
return this.bondedXorCodecBalance ? this.networkFees.ReferralSetInvitedUser > this.bondedXorCodecBalance : false;
return this.bondedXorCodecBalance
? FPNumber.gt(
this.getFPNumberFromCodec(this.networkFees.ReferralSetInvitedUser),
this.getFPNumberFromCodec(this.bondedXorCodecBalance)
)
: false;
}
get formattedBondedXorBalance(): string {
Expand Down

0 comments on commit efa2732

Please sign in to comment.