Skip to content

Commit

Permalink
Release 1.7.0 rc3 (test) (#1068)
Browse files Browse the repository at this point in the history
* PW-855: Charts Enable Button (#812)

* Added Charts Enable Switch.

* Updated translations.

* Updated translations.

* Charts Switch: Updated design.

* Charts Switch: Cosmetic Fix.

* Improve storage validation

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

* Removed focus for tooltip. (#816)

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

* Fix max input value (#817)

* Fix max input value

* Update Swap.vue

* match contract addresses in lower case (#818)

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

* Updated translation. (#821)

* Fix 1.10 issues (#823)

* Fix wallet send paddings

* Fix zero fiat values when subquery is down

* Fix zero fiat when subquery is down for rewards header

* Update yarn.lock

* Tokens page fixes (#822)

* tokens page fixes

* fix app menu on tokens page

* refactoring tokens container class

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

* Add Sepolia support (#799) (#824)

* Hide Charts Switch Settings By Env Flag. (#825)

* fix chart y label (#826)

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

* Enabling Settings For Undefined Second Asset Or Only One Market Algorithm (#827)

* Turned On Market Algorithms Settings.

* Enabled Settings For Undefined Second Asset Or Only One Market Algorithm.

* Fixed Custom Slippage Tolerance Outline.

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

* Fixed Referral Page Tabs. (#828)

* update swap route (#830)

* Fixed Rewards Tabs Underline. (#832)

* update reserves subscription (#833)

* Update extensions links & translations (#834)

* remove unused translations

* update wallet

* update translations

* fix swap token switch (#835)

* [Swap chart] Fix X-axis labels css (#836)

* swap chart fix x axis labels css

* remove unused option

* update wallet & add translations (#837)

* [Demeter Farming] dont show APR& TVL if no prices from subquery (#839)

* dont show apr & tvl if no prices from subquery'

* fix roi

* revert env.json

* Optimize swap subscription (#842)

* freeze subscription payload

* update wallet to 1.10.36

* update swap subscriptions (#843)

* update swap subscriptions

* update wallet to 1.10.37

* Fix max btn visibility for remove liquidity & farming (#844)

* fix max btn visibility for remove liquidity & farming

* add MAX_PART

* Use consts in translations (#845)

* use translation consts

* update wallet to 1.10.38

* reimport from localise

* revert change in ReferalProgram

* PW-626: Refactor Languages (#756)

* Refactored Translation.

* Updated translation.

* remove unused vars

* fix sora in translations

* translation fixes

* fix whitespaces

* remove @:appName

* reimport from localise

* add AppName const

* remove unused import

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

* fix balance check for adding liqudity & messages (#846)

* Update project dependencies (#847)

* add @types/jsdom

* replace file-loader for asset resource

* replace node-sass to sass

* update types packages

* upgrade babel & @typescript-eslint

* try to add logs to webpack

* update ethers

* update vue-template-compiler

* update sass loader

* update node-polyfill

* update dependency tree using yarn-deduplicate

* Fix bridge thischain & fiat when subquery is down (#848)

* Enable USDT for HASHI bridge

* Hide marketing section

* Update lib version with bridge fix

* Update lib

* Fix issues (#850)

* Fix block explorer links

* Fix local config

* Fix issue with infinite loader because of subquery

* Update BridgeTransactionsHistory.vue

* test image updater

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* Fix release issues (#851)

* Fix moonpay behavior during log in

* Update translation strings

* Update wallet

* Hide balances fields for not connected accounts

* Update languages

* Fix low XOR value dialog behavior

* Fix type checking issue

* Fix connect account text

* Fix block number on swap with chart & tokens pages

* Update bridge contract

* Remove evm network type from local storage & fix network checks (#854)

* Remove it cuz assets were removed from the whitelist

* update wallet (#856)

* Create Jenkinsfile-DAST

* Update Jenkinsfile-DAST

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* fix available pools farming (#860)

* Fix crowdloan rewards amount (#862)

* fix crowdloan amount

* fix crowdloan total amount

* fix crowdloan amount precision (#863)

* Fix remove xstusd liquidity (#864)

* fix remove xstusd liquidity

* fix apr formatting

* update demeter subscriptions (#866)

* Sora Card (#841)

* draft

* add observer and logic

* prework #2

* prework #3

* up wallet

* refactoring

* remove console.logs

* clear sessionStorage

* Update env.json

* improve btn state & add comments & unload script

* move to separate module (#871)

* move to separate module

* add enabling flag

* Update getters.ts

* remove route

* Update types.ts

* Update Dockerfile

* Update Dockerfile

* Add reserves subscription to addLiquidity (#870)

* add reserves subscription to addLiquidity

* check pool properties subscription

* refactoring liquidities vies

* fix imports

* fix addLiquidity confirm

* fix remove liquidity

* fix liquidity provider message

* fix slider input

* removeLiquidity totalSupply updates

* fix addLiquidity input field reset

* addLiquidity update subscriptions after disconnect

* refactoring token balance subscriptions

* remove unnecessary code from swap

* refactoring liquidity stores

* fix slider

* return env

* update demeter farming

* computed property for optimization

* update staking page

* update wallet to 1.11.5

* return env

* fix getLockedAmount getter

* update prod env.json (#878)

* Fix page document title for the first load (#880)

* Fix page title for the first load

* Refactor router logic

* update wallet

* update wallet & override tokens table css

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

* Fix confirm buttons loading state (#881)

* fix confirm buttons loading state

* fix tabs

* Remove console logs

* Fix styles

* Fix styles

* Update subquery endpoint

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

* Update ReferralProgram.vue (#884)

* From master to develop (#885)

* fix calculator fields (#888)

* fix calculator fields

* remove rewards crowdloan hardfix

* fix token row css

* Fix bridge loader styles (#886)

* Reduce assets size (#887)

* Reduce png & svg size using minimizer

* Remove not used svg

* Replace svg with icon font for referrer error

* Reduce png size using minimizer

* Remove unused styles for About page

* Explore page (#857)

* add route for explore & tokens pages

* add routes for explore pages & tabs

* refactoring explore container, add search field

* change config to stage, use demeter mixin

* explore-table styles to mixin

* refactoring explore pages

* show user token balances

* table fixes

* add calculator

* add some columns to explore pools page

* refactoring tables

* update titles

* fix loader on demeter faming staking

* refactoring demeter page mixin

* fix ts issues

* update translations

* refactoring explore pages & fix issues

* revert pools & tokens subscriptions

* update default sort tokens page

* fix demeter explore

* add keys for rendering

* refactoring types

* change tabs order & fix en translations

* fixes after review

* Add desktop support (#891)

* Add desktop support

* Add delay to ConfirmInviteUser dialog

* Add desktop settings

* improve connection process (#892)

* Fix css for swap fiat values (#893)

* fix css on swap fiat value

* update wallet 1.12.6

* fix PW-811 node adress check

* pw-913 tokens page prices

* Refactoring pools rendering (#890)

* refactoring pool page

* refactoring mixins

* change v-if to v-show badges

* refactoring apr calc & assetsTable getter

* transfer some computed properties

* refactoring mixins

* prepare data in parent'

* fix staking page

* refactoring usages

* remove unused properties

* update demeter explore calculator

* return env.json

* remove unnecessary code

* chart refactoring & fix demeter farming page list

* fix multiple chart requests after switching tokens

* fix types

* Update for new subquery (#894)

* update charts & tokens

* refactoring normalize function

* update pool apy

* pool apy subscription

* update wallet

* dedup yarn.lock & fix env.json

* update yarn.lock

* fix getPoolApy arg types

* charts button on swap view (#895)

* Swap Chart: Invert tokens (#896)

* update switch token logic, optimize chart rendering

* fix chart algorithm

* improve types & fix chart data calc

* render filter count

* refactoring fetchData

* add chart reverse button & update technic

* update comments

* rename investment to balance (#899)

* use reactive  instead of router (#897)

* fix staking page title (#898)

* add restore history button (#900)

* Fix rewards screen flashing (#901)

* change default gradient & tokens on rewards screen

* refactoring rewards tabs

* update formattedAmount component & add prefix to explore balance (#902)

* Update referral system messages (#903)

* update messages for referral system locally

* update wallet

* Fix candlestick chart empty space (#907)

* fill empty space between last snapshot & current timestamp

* refactoring

* update wallet to 1.12.11

* revert env.json

* Fix referral system delay (#906)

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

* Fix custom token logic (#905)

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

* Add switch to explore (#908)

* add switch to explore

* sync switcher with storage

* Fix fee warning dialog behavior (#910)

* Fix fee warning dialog behavior

* Update deps

* Update yarn.lock

* Fix table overrides

* Fix Demeter explore active positions (#909)

* css fixes & demeter

* update wallet

* Update deps

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

* fix address css (#911)

* Fix asset-asset search in pools on explore page (#913)

* Add tooltips to TVL & ROI (#912)

* add tooltips

* add translations

* up version to 1.13.0

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

* XST tokenomics & remove market maker countdown (#917)

* update views

* update wallet & remove market maker countdown

* update wallet 1.13.1 (#918)

* deploy trigger removal

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

* Liiquidity proxy 1.6 (#923)

* update wallet with liqudity proxy

* update swap view

* improve btn loading state (#924)

* up wallet version 1.13.4 (#925)

* up wallet version

* update wallet

* up wallet version to 1.13.5 (#926)

* up wallet version

* update wallet to 1.13.5

* fix ts issues

* Feature/x1-widget (#876)

* move to separate module

* add enabling flag

* Update getters.ts

* remove route

* Update types.ts

* x1 widget

* redesign

* refactor & add X1

* Update RoadMap.vue

* improvements in flow & KYC status

* remove logs

* fixes

* take into account different statuses matches

* settings & stub

* fixes & x1 enabling

* add prod settings

* wip

* organize credentials

* change css

* Update env.json

* css refactoring

* Update env.json

* fixes

* roll out prod widget X1

* remove console.log

* refactor & fixes

* handle no record response

* Update SoraCardIntroPage.vue

* Fix/chart precision (#928)

* fix precision while loop

* improve precision calc

* optional fee popup (#919)

* add checks

* up wallet

* use exact version

* Update wallet

* Update localise files

* Update translation files

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* [Remove Liquidity] Show ceres locked liquidity (#922)

* show ceres locked liquidity percent

* change translation of locked

* refactoring rendering

* Update translations

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>
Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Use settingsStorage from wallet (#929)

* Use settingsStorage from wallet

* Update wallet version

* Hide switch on Explore page for !isLoggedIn

* Update lokalise

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix search focus behavior (#932)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Add fearless (#934)

* Update package.json

* Update yarn.lock

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix fearless integration (#936)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix Fearless wallet (#937)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix Fearless link for Mozilla (#938)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* update wallet to TBCD (#940)

* Update wallet (#943)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Upgrade PW SDK  (#930)

* add phone input

* Update Phone.vue

* implement logic

* Update ConfirmationInfo.vue

* add disclaimer for X1

* Update ToSDialog.vue

* fixes

* update wallet 1.15.0 (#945)

* fixes (#946)

* fixes

* typo

* Fix styles issues related to card (#948)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* [Explore Page] Hide tokens & pools with zero tvl (#941)

* change tokens page data handling

* update explore pools

* remove console

* tokens min liquidity 1

---------

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

* improve routing (#947)

* Add loading state for router

* Add setLoading mutation for router

* Add comment

* Modify goto logic of router

* Add links

* Add page loader

* Improve goTo with additional checks pages by default

* Update vue router

* Update generateLocaleJson.ts

* Fix page loading

* Use goTo for separate moonpay page

* Update comment

* Add Sonar

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>
Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>

* fix (#949)

* Fix lokalise and SORA Card issues (#950)

* Remove sora, evm, pageNotFound

* Add polkadot apps link to bridge txs

* Update lokalise keys

* Improve images

* Improve card routing

* Update ConfirmationInfo.vue

* Fix texts

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix phone and styles for card (#951)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix sora card phone and route (#952)

* Fix phone inputs (#953)

* Fix phone inputs

* Update Email.vue

* add const

* Update Phone.vue

* Update Phone.vue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>
Co-authored-by: RustemYuzlibaev <rustem.yuzlibaev@yandex.ru>

* Fix email, first, last name length (#954)

* Fix email, first, last name length

* Add loader for euro calculations

* Update SoraCardIntroPage.vue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* git (#955)

* test push

* refactor

* tmp disable sonar

* fix cred name

* update wallet to 1.15.2 (#957)

* update wallet to 1.15.2

* fix issues after wallet update

* update wallet to 1.15.3

* change value

* fix json error (#958)

* fix path

* fix path

* switch to tachi

* test

* revert lib

* test values check

* fix lib

* DAST pipeline update

* Update Jenkinsfile-dast

* revert lib

* fix (#961)

* Fix connection disconnected event (#960)

* fix disconnected event

* update wallet to 1.15.4

* update translations

---------

Co-authored-by: Rustem <rustem.yuzlibaev@yandex.ru>

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Update Jenkinsfile-dast

* Otp resend try fix (#964)

* add event

* fix OTP resend issue

* wipe email before start

* low limit

* SORA Card translation (#959)

* prework

* add lang keys

* update translations

* todo rejection translation

* update translations

* update translations

* Update Jenkinsfile-dast

* Free KYC attempts counter (#962)

* prework

* add lang keys

* prework

* update translations

* todo rejection translation

* add flow with new KYC attempt

* improve price request

* fix

* Revert "fix"

This reverts commit 18af1f3.

* show pending status when finished KYC

* remove price calculation stub

* update translations

* merge translation PR

* show reject reasons

* email fix resend (#967)

* Update Email.vue

* add missing words

* Hide LP fee (#968)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix liqudity proxy route and args (#969)

* update liquidity-proxy calls

* update wallet 1.15.7

* multiple otp send fix (#970)

* fix

* cancel changes

* fixes

* update wallet 1.15.9 (#973)

* update wallet to 1.15.10 (#974)

* Status bar & SORA Card fixes (#882)

* Draft

* Add subquery & node connection checks

* Add node location

* Fix imports for App component

* Add no internet dialog

* Fix location in node model

* Add footer popper

* Draft

* Fix margin

* Remove node selection from header

* Move all common logic to footer popper

* Add interaction with tab

* Fix outline

* Update SwapTransactionDetails.vue

* Use Notification mixin

* Fix colors

* Fix colors

* 2nd Draft

* Replace node selection dialog

* Remove unused deps

* Move SelectNodeDialog

* Fix styles for slippage tolerance

* Add new const

* Update SlippageTolerance.vue

* Refactor AppFooter & NoInternetDialog

* Update statistics dialog

* Finilize colors for Statistics statuses

* Update library

* Update yarn.lock

* Update StatisticsDialog.vue

* Add scss/css variables

* Update en.json

* Update translations

* Update en.json

* Update translations

* Fix displayRegions

* Fix styles in StatisticsDialog

* Keep selected node details up to date

* Add TODO

* Fix imports

* Fix SORA Card issues

* Translate blacklisted countries

* Fix SORA Card translations

* Handle case when `navigator.connection` isn't supported

* Update StatisticsDialog.vue

* Update App.vue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Update Jenkinsfile

* Reduce bundle size (#942)

* Reduce bundle size

* Update vue.config.js

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Feature/network stats (#931)

* refactoring styles

* refactoring letter-spacing

* network-stats-row

* improve network stats adaptive

* refactoring columns data

* change group data logic

* tvl chart wip

* add ChartSkeleton component

* handle chart error & update tooltip

* add volume chart example

* refactoring specs

* refactoring components folder structure

* wip refactoring folders structure

* refactoring components folders

* wip fees chart

* fix charts fetching

* data fetching for supply chart

* add token-dropdown to supply chart

* skeleton fixes

* fixes

* fix error

* refactoring

* fix imports

* update network stats components

* refactoring charts data fetching

* update translations

* test

* revert lib

* refactoring imports

* refactoring MarketAlgorithm paths

* fix weekly stats, legend, x axis overlap

* SimpleNotification from wallet

* update according qa

* update translations

* network stats chart fixes

* supply bar chart

* update supply color, explore method

---------

Co-authored-by: Stefan Popov <stefanpopov@list.ru>
Co-authored-by: Pavel Varfolomeev <wpi86@yandex.ru>

* Update Jenkinsfile-dast

* Move disclaimer to front page (#965)

* Update SoraCardIntroPage.vue

* add to front page & fix translations

* add flow with not found number

* add missing translations

* remove debug actions

* remove unused css

* Fix/bridge select asset (#976)

* fix bridge select asset

* fix bridge history request

* fix transaction-details arrow

* upfate wallet 1.15.11 (#977)

* move disclaimer (#914)

* Update AppHeaderMenu.vue

* add popover

* store value

* remove old disclaimer

* add translation keys

* fix type

* use css variables

* add defined box-shadow

* update translation

* force user to make decision

* Update storage.ts

* show disclaimer if no approve

* set disclaimer

* fix

* wait until loading

* add translations

* fix margins

* fix width

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* fix (#980)

* Fix max limit speed for internet connection (#975)

* Fix max limit speed for internet connection

* Fix issues

* Fix tab issues

* Fix issue with negative left values

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Add Token Velocity column to Tokens Page (#979)

* add velocity columns

* add en translation

* update translations

* fix css

* remove symbol column from tokens page

---------

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

* remove keys (#981)

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

* Demeter dialogs bottom padding adding (#982)

Co-authored-by: Rustem <rustem.yuzlibaev@yandex.ru>
Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* update wallet 1.15.12 (#983)

* Add routing for pairs (#971)

* Add routing for pairs

* Fix

* Update index.ts

* Finilise routing flow

* Update SelectedTokensRouteMixin.ts

* Update SubscriptionsMixin.ts

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix release issues (#984)

* Fix action button styles in status bar

* Fix z-index

* Fix outline styles

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Move disclaimer to App Header (#986)

* Move disclaimer to App Header

* Update AppHeaderMenu.vue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Move disclaimer to App Header (#986)

* Move disclaimer to App Header

* Update AppHeaderMenu.vue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* fix swap container and chart align (#987)

* fix supply chart axis label (#989)

* Fix release issues (#990)

* Fix SWAP route issue

* Fix outline styles

* Add online/offline consts

* Remove translation keys for online/offline

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Update Jenkinsfile to use PR-generator SecretStore bot secret

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* Fix flag (#992)

* Fix flag

* Update AppFooter.vue

* Update countryFlagEmoji.ts

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix styles (#994)

* Update card.ts (#997)

* add formula to velocity tooltip (#996)

Co-authored-by: Rustem <rustem.yuzlibaev@yandex.ru>

* apply suggestions

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* Reuse subscriptions in SubscriptionsMixin (#998)

* reuse subscriptions in SUbscriptionsMixin

* change variable name

* update router config (#999)

* Improve sora card styles (#1000)

* Improve sora card styles

* Remove logs

* Update Widget.vue

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Fix seo logo (#1001)

* fix camera translation (#1002)

* fix (#1003)

* fix subscription hooks (#1004)

* add DialogTitle component (#1005)

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

* Add nodes location for prod (#1006)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* change text from accounts to new accounts (#1010)

* try fix

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* try fix

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* try fix

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* try fix

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* try fix

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* update polkadot deps and fix account length (#1014)

* Update polkadot js deps

* Fix wallet

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Explore page improvements (#1012)

* change pagination of explore page

* simplify query & change velocity calc

* freeze components external data

* remove unused code

* refactoring demeter pages

* up version

* refactoring token approve (#1008)

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

* update wallet to 1.16.2 (#1017)

* Refactoring getters (#1018)

* move some getters to components

* refactoring select-token component

* remove getter

* Update crowdloans (#1022)

* update crowdloan rewards

* update wallet

* css fixes

* change request

* update private modifiers

* use rw bot

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

---------

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>
Co-authored-by: BAStos525 <jungle.vas@yandex.ru>

* up wallet (#1024)

* update wallet for crowdloans fixes (#1025)

* update crowdloans in actions

* ypdate yarn.lock

* fix type

* Update xst swaps (#1027)

* update swap view

* update wallet init

* update genesis hash check (#1028)

* Update env.json (#1029)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Update env.json (#1030)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* Google wallet (#978)

* wip integration

* remove isDesktop flag

* add en translation keys

* update dialogs paddings

* update wallet 1.16.0-beta.2

* experiment with secretScannerExclusion

* secretScannerExclusion regex experiment

* add empty keys to prod env.json

* fix bridge tx signing

* update wallet 1.16.0-beta.4

* small css fixes

* update wallet to 1.16.0-beta.5

* update wallet

* update translations

* update wallet

* filter zero tvl snapshots (#1033)

* remove unused contracts (#1034)

* fix Jenkinsfile PR-generator part

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* add downstreamJob (#1042)

* Add fearless (#1038)

* Add fearless for SORA card

* Fix route params

* Update SoraCard.vue

* Add message

* Update KycView.vue
---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* price alerts (#1013)

* prework

* use wallet store

* add translations

* add translation & update wallet & fix

* Update en.json

* fix double dialog overlay

* add delta percent calculation

* adjust

* use rw bot for PR-generation

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* fix PR-generation var

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* add typings

* update PR-generation vars

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>

* write logic for display of low cost assets

* switch to false when not granted

* annotate params

* take into account abnormal setup

* up wallet

* add translations

* add translations from localise

* fix wiped translations

* fixes

* fixes

* format

---------

Signed-off-by: BAStos525 <jungle.vas@yandex.ru>
Co-authored-by: BAStos525 <jungle.vas@yandex.ru>

* Trustless EVM Bridge support (#792)

* refactoring utils bridge folder structure & exports

* update wallet integration

* import EthBridgeStates from wallet

* add eth hashi bridge translations

* transfer updateEthBridgeHistory function to settings

* wip web3 refactoring

* wip update registered assets

* change network in metamask

* wip network select & change

* select network dialog refactoring

* evmAddress evmNetwork in storage

* update bridge confirm dialog

* wip update bridge view

* prepare history item creation

* wip BridgeTransaction view

* wip Bridge class

* wip evm bridge transaction handler

* wip outgoing reducer

* subscribe on tx details

* update BridgeHistory view

* add evm hash container

* update TransferNotification

* update network selection

* update select network dialog for history usage

* add select network to bridge history

* show history from network

* update transfer flow

* update history sync logic

* refactoring sync

* wip bug fixes

* refactoring state

* improve removing local history

* update Moonpay integration

* mock incoming reducer

* change selected evm network on moonpay history

* fix async process

* refactoring BridgeContainer

* add some chains to list

* refactoring chain names

* fix hashi bridge history restoration

* update network changing for hashi bridge restoration

* resolve SelectToken conflicts

* remove merge conflicts

* fix merge conflicts

* add sepolia to config

* update with library imports

* remove merge conflicts

* fix messages file

* fix merge conflicts

* fix components names

* wip select network

* resolve ts issues

* return eth bridge settings

* update registered assets for network types

* update history params

* refactoring bridge classes

* refactoring bridge interfaces

* return eth bridge sign actions

* fix select asset mixin

* wip update bridge history

* update history actions

* start up bridge transaction

* update bridge getters

* fix network switch

* update history states

* refactoring bridge types

* refactoring eth reducers

* return approve from dev

* return blocks left message

* refactoring translations

* update external history

* update select network dialog & icons

* history refactoring

* networks disabled state

* improve bridge transaction view

* change eth bridge storage key

* update wallet, remove unused translations

* refactoring bridge types

* update translations from localise

* update translations

* remove some todo

* refactoring eth history class

* dont restore evm address

* reduce method complexity

* reduce complexity

* fetch balances right after account connec

* remove unnecessary code from bridge reducers

* fix bug when restored transaction overrides in process

* fix history restoration

* revert transactions fetching logic

* refactoring tx date

* update prod config

* refactoring getRegisteredAssets

* improve getRegisteredAssets update

* fix bug with lost balance

* remove console.log

* refactoring block production time usage

* update wallet

* refactoring network icon

* fixes after review

* remove unused method

* fix network change detection

* improve evm network switch

* refactoring smart contracts usage

* remove unused imports

* fix allowance check

* fix approve btn message

* refactoring getRegisteredAssets

* update external balances

* update translations (#1047)

* remove tilda sign  (#1045)

* Update AppDisclaimer.vue

* add translations

* add missing

* fix pw sdk & add countries (#1044)

* fix pw sdk & add countries

* extend interval

* remove camera access when applied

* add more countries

* add css var

* switch branche of jenkins library

* switch to master branch for jenkins library

* handle X1 unavailability

* Update X1Dialog.vue

* cancel remove camera access

* refactor

* remove unused package

---------

Co-authored-by: Aleksey Kazakov <kazakov@soramitsu.co.jp>
Co-authored-by: Stefan Popov <stefanpopov@list.ru>

* Create hideFromSearchEngine.sh (#1046)

* Create hideFromSearchEngine.sh

* Update hideFromSearchEngine.sh

* add noindex

* revert lib

* delete script

---------

Co-authored-by: Pavel Varfolomeev <wpi86@yandex.ru>

* Improve ext connection and linting (#1053)

* Improve extensions connection

* Improve linting

* Update deps

* Update yarn.lock

* Improve config

* Exec lint

---------

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

* fix trailing char (#1056)

* Fix synths (#1057)

* Substrate bridge outgoing (#1059)

* update imports

* add substrate networks to select

* fix available sub networks

* wip list assets

* update bridge view

* add sub reducer

* update bridge transaction view

* update external history

* fix history reset

* add bridge select account dialog

* refactoring bridge select account

* update SelectAccount ui

* wip select account directions

* update bridge change direction

* update env.json

* update sub reducer

* update sub history

* update translations & wallet

* use lint config from dev

* set outgoung direction for sub bridge

* Fix/disclaimer btn show (#1058)

* fix trailing char

* Update AppDisclaimer.vue

* Update AppDisclaimer.vue

* make button out of scroll area

* adjust timeouts

* add error case

* remove duplicates

* remove class

* Fix Sub bridge issues (#1060)

* reset form on network change

* fix network name in ui

* update KAR address

* update wallet

* add text for scroll (#1064)

* Fix bridge network update from metamask (#1065)

* fix bridge network change detection

* fix polkadot.js link

* Add fee multiplier support (#1066)

Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>

---------

Signed-off-by: Nikita Zaporozhets <zaporozhets@soramitsu.co.jp>
Signed-off-by: BAStos525 <jungle.vas@yandex.ru>
Co-authored-by: Alex Natalia <38787212+alexnatalia@users.noreply.github.com>
Co-authored-by: alexnatalia <alekseenko@soramitsu.co.jp>
Co-authored-by: Nikita Polyakov <53777036+Nikita-Polyakov@users.noreply.github.com>
Co-authored-by: Nikita-Polyakov <polyakov@soramitsu.co.jp>
Co-authored-by: Pavel Varfolomeev <wpi86@yandex.ru>
Co-authored-by: frodan <daniil.fronc@mail.ru>
Co-authored-by: wpi86 <86880521+wpi86@users.noreply.github.com>
Co-authored-by: Rustem <rustem.yuzlibaev@yandex.ru>
Co-authored-by: German Vechtomov <89127595+ox7a59@users.noreply.github.com>
Co-authored-by: Nikita Zaporozhets <zaporozhets@soramitsu.co.jp>
Co-authored-by: Nikita Zaporozhets <95526886+f33r0@users.noreply.github.com>
Co-authored-by: Stefan Popov <17688105+stefashkaa@users.noreply.github.com>
Co-authored-by: Daniil Fronts <Frodan@users.noreply.github.com>
Co-authored-by: Viacheslav <shlavik@gmail.com>
Co-authored-by: BAStos525 <jungle.vas@yandex.ru>
Co-authored-by: BAStos525 <66615487+BAStos525@users.noreply.github.com>
Co-authored-by: Aleksey Kazakov <kazakov@soramitsu.co.jp>
  • Loading branch information
18 people authored Jun 21, 2023
1 parent 01ac7d0 commit ca31e3b
Show file tree
Hide file tree
Showing 90 changed files with 2,216 additions and 1,479 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"dependencies": {
"@metamask/detect-provider": "^2.0.0",
"@soramitsu/soraneo-wallet-web": "1.17.8",
"@soramitsu/soraneo-wallet-web": "1.17.15",
"@walletconnect/web3-provider": "^1.8.0",
"base-64": "^1.0.0",
"core-js": "^3.26.0",
Expand Down Expand Up @@ -95,7 +95,7 @@
"resolutions": {
"@polkadot/extension-dapp": "^0.44.7",
"@polkadot/extension-inject": "^0.44.7",
"@polkadot/util": "^10.2.1",
"@polkadot/util": "^10.4.2",
"ipfs-unixfs": "6.0.6",
"ipfs-unixfs-exporter": "7.0.6",
"ipfs-unixfs-importer": "9.0.6"
Expand Down
20 changes: 19 additions & 1 deletion public/env.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,25 @@
],
"NETWORK_TYPE": "Dev",
"CHAIN_GENESIS_HASH": "",
"EVM_NETWORKS_IDS": [63, 97, 1001, 8001, 43113, 11155111],
"EVM_NETWORKS_IDS": [97, 1001],
"SUB_NETWORKS": {
"Rococo": {
"addresses": [
"wss://ws.relaychain-node-1.r1.dev.sora2.soramitsu.co.jp",
"wss://ws.relaychain-node-2.r1.dev.sora2.soramitsu.co.jp"
]
},
"Karura": {
"addresses": [
"wss://ws.karura-node-1.c2.dev.sora2.soramitsu.co.jp",
"wss://ws.karura-node-2.c2.dev.sora2.soramitsu.co.jp"
]
}
},
"PARACHAIN_IDS": {
"Karura": 2000,
"Mainnet": 2000
},
"ETH_BRIDGE": {
"evmNetwork": 11155111,
"address": {
Expand Down
15 changes: 10 additions & 5 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
</template>

<script lang="ts">
import { connection } from '@sora-substrate/util';
import { components, mixins, settingsStorage } from '@soramitsu/soraneo-wallet-web';
import { api, connection, components, mixins, settingsStorage } from '@soramitsu/soraneo-wallet-web';
import { Component, Mixins, Watch } from 'vue-property-decorator';
import axiosInstance, { updateBaseUrl } from '@/api';
Expand All @@ -58,13 +57,13 @@ import { getLocale } from '@/lang';
import router, { goTo, lazyComponent } from '@/router';
import { action, getter, mutation, state } from '@/store/decorators';
import type { FeatureFlags } from '@/store/settings/types';
import type { EthBridgeSettings } from '@/store/web3/types';
import type { EthBridgeSettings, SubNetworkApps } from '@/store/web3/types';
import type { ConnectToNodeOptions, Node } from '@/types/nodes';
import { preloadFontFace, updateDocumentTitle } from '@/utils';
import type { History, HistoryItem } from '@sora-substrate/util';
import type { WhitelistArrayItem } from '@sora-substrate/util/build/assets/types';
import type { EvmNetwork } from '@sora-substrate/util/build/evm/types';
import type { EvmNetwork } from '@sora-substrate/util/build/bridgeProxy/evm/types';
import type DesignSystem from '@soramitsu/soramitsu-js-ui/lib/types/DesignSystem';
import type Theme from '@soramitsu/soramitsu-js-ui/lib/types/Theme';
import type { WALLET_CONSTS, WALLET_TYPES } from '@soramitsu/soraneo-wallet-web';
Expand Down Expand Up @@ -118,6 +117,7 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
@mutation.settings.resetBlockNumberSubscription private resetBlockNumberSubscription!: FnWithoutArgs;
@mutation.referrals.unsubscribeFromInvitedUsers private unsubscribeFromInvitedUsers!: FnWithoutArgs;
@mutation.web3.setEvmNetworksApp private setEvmNetworksApp!: (data: EvmNetwork[]) => void;
@mutation.web3.setSubNetworkApps private setSubNetworkApps!: (data: SubNetworkApps) => void;
@mutation.web3.setEthBridgeSettings private setEthBridgeSettings!: (settings: EthBridgeSettings) => Promise<void>;
@mutation.referrals.resetStorageReferrer private resetStorageReferrer!: FnWithoutArgs;
Expand Down Expand Up @@ -212,6 +212,11 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
this.setSubqueryEndpoint(data.SUBQUERY_ENDPOINT);
this.setDefaultNodes(data?.DEFAULT_NETWORKS);
this.setEvmNetworksApp(data.EVM_NETWORKS_IDS);
this.setSubNetworkApps(data.SUB_NETWORKS);
if (data.PARACHAIN_IDS) {
api.bridgeProxy.sub.parachainIds = data.PARACHAIN_IDS;
}
if (data.FAUCET_URL) {
this.setFaucetUrl(data.FAUCET_URL);
Expand Down Expand Up @@ -292,7 +297,7 @@ export default class App extends Mixins(mixins.TransactionMixin, NodeErrorMixin)
const disclaimerApprove = settingsStorage.get('disclaimerApprove');
if (!disclaimerApprove) {
setTimeout(() => this.toggleDisclaimerDialogVisibility(), 3_000);
setTimeout(() => this.toggleDisclaimerDialogVisibility(), 5_000);
}
}
Expand Down
15 changes: 15 additions & 0 deletions src/assets/img/networks/karura.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/assets/img/networks/polkadot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ca31e3b

Please sign in to comment.