Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2412 from DistributedCollective/development
* Fix/migration deployment fix (#2382) * Revert "Fix/release reversions (#2364)" This reverts commit 1db51a0. * [Margin, Spot] - fix PairNavbar selector after migration * [Margin, Spot] - update PairNavbarInfo data * Revert changes to sovrynProtocol.json (merged from #2368) Co-authored-by: soulBit <[email protected]> * Adjust warning (#2408) * Update PT-BR (#2410) * Update PT-BR Changes from: #2408 * Change * Update src/locales/pt_br/translation.json * fix: json format failing builds * FE: Use totals properties from the Graph on the rewards page (#2409) * [Reward] - replace reward endpoint * [Reward] - rm console.log * [Reward] - fix loading error * [Reward] - add number formatting to amount in history table * [Reward] - add addAmounts function * chore: update readme * [Reward] - fixes from review * [Reward] - add arrow-button in pagination, that redirect to first page * [Reward] - replace sumAmounts -> sumRewards * [Lending] - replace legacy backend endpoint usage for Lending APY his… (#2303) * [Lending] - replace legacy backend endpoint usage for Lending APY history charts * [Lending] - replace func with React.FC * fix: lend charts not loading when wallet is disconnected * [Lending] - change from 6 days to 7 days Co-authored-by: soulBit <[email protected]> * 2753851238 lend history endpoint migration (#2290) * chore: add Apollo poll interval constant * feat: replace lend history endpoint * [Reward] - update reward endpoint part 2 (#2327) * [Reward] - update reward endpoint part 2 * force rebuild * [Reward] - update useMemo hooks * [Reward] - replace toNumberFormat -> AssetValue * [Reward] - add fixes from commetns * [Reward] - add weiTo18 to feesEarnedTab Co-authored-by: soulBit <[email protected]> Co-authored-by: tiltom <[email protected]> * Feat/landing endpoint migration (#2286) * feat: migrate liquidity history endpoint * fix: remove un used useUserPoolData hook usage * fix: remove unused amm api * fix: update AmmHistory endpoint * fix: amm history amounts * chore: sort liquidity history items by timestamp * fix: uniq by date pool chart history * fix: sort pool chart data * fix: update default page size Co-authored-by: soulBit <[email protected]> Co-authored-by: Pietro Maximoff <[email protected]> * [Margin] - Replace legacy backend endpoint usage on Margin trade page… (#2275) * [Margin] - Replace legacy backend endpoint usage on Margin trade page for the Open and Closed Position history table data. * [Margin] - added adjustments * [Margin] - replaced values with <AssetValue> * [Margin] - update graphql with codegen * [Margin] - update types * [Margin] - add pollInterval + change closewithDeposits -> closeWithDeposits * chore: add +/- symbol support to AssetValue * feat: use AssetValue positive/negative symbols, use positionSize property from Loan entity (instead of trade entity) * feat: use AssetValue positive/negative symbols, use positionSize property from Loan entity (instead of trade entity) * feat: use positionSize from getLoan call * [Margin] - added fixes form review * [Margin] - fix casting issues * [Margin] - cleanups * [Margin] - create default values * [Margin] - fix from comments Co-authored-by: soulBit <[email protected]> Co-authored-by: tiltom <[email protected]> * feat: migrate trading endpoints (#2298) * feat: migrate trading endpoints * fix: checkMaintenances hook * feat: show maintenance message when margin limit locked * fix: PR comments * feat: sort landing crypto prices based on market cap * fix: resolve PR comments Co-authored-by: soulBit <[email protected]> * feat: migrate swap/spot history (#2310) * feat: migrate swap/spot history * force rebuild * fix: resolve pr comments * fix: resolve pr comments * fix: if statement cleanup * fix: show 8 decimals in swap history Co-authored-by: soulBit <[email protected]> * [Portfolio] - replace endpoint (#2329) * [Portfolio] - replace endpoint * [Portfolio] - remove toWei * [Portfolio] - fixes from comments * [Portfolio] - update contract views * [Portfolio] - cleanups * [Portfolio] - update asset image * [Portfolio] - fix dollar value * [Portfolio] - remove unnecessary imports * [Portfolio] - remove unnecessary 'return' * [Portfolio] - add date/time to contract row, remove duplicated type column in sub-table, add columns align to the contract level column * fix: add missing Reward event types/labels * chore: filter 0 amount items in reward history * chore: use default page size from classifiers * fix: total Fees Earned display formatting * fix: available Liquid rewards amount formatting * fix: total Lending rewards amount formatting * fix: available Liquid rewards amount formatting * fix: available Trading rewards formatting/display * [Reward] - fix an issues with available trading rewards that not counted in claimable amount * [Reward] - add filtering History Table by active tab * [Reward] - add fix for SOV-443 * [Rewards] - updated with current graph data format + update var. names * [Reward] - update from PR comments * [Rewards] - add fix for asset * [Reward] - remove tooltip Co-authored-by: Victor Creed <[email protected]> Co-authored-by: soulBit <[email protected]> Co-authored-by: tiltom <[email protected]> Co-authored-by: Peiman <[email protected]> * fix: bump sovryn wallet version (#2399) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: soulBit <[email protected]> Co-authored-by: tiltom <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pietro Maximoff <[email protected]> * [Spot, Margin] - Replace RPC usage for events spot & margin pages (#2294) * [Spot, Margin] - Replace RPC usage for events spot & margin pages * [Margin, Spot] - add isMainnet check * Merge branch 'development' into feat/2731931003-orders * force rebuild * [Spot] - update gpaph functions * [Spot] - fix from comment * [Spot] - build to the stage * [Spot] - replace transactionHash with hash * [Spot] - update filed price view * [Spot] - update generated graph * [Spot] - added min and max decimal values in filled price row * [Spot] - fix price for rbtc * [Spot] - update dependencies * [Spot] - fix rbtc issue * chore: remove extraneous comments Co-authored-by: soulBit <[email protected]> * SOV-427: closing limit orders with hw (#2403) * SOV-427 fix hw limit order closing * Update sovryn-network.ts force branch to redeploy * Hide perps banner on homepage (#2413) * chore: force consistent 8 decimals on Spot Limit order histort (Filled Amount) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Pietro Maximoff <[email protected]> Co-authored-by: soulBit <[email protected]> Co-authored-by: tiltom <[email protected]> Co-authored-by: bitcoinuser <[email protected]> Co-authored-by: tiltom <[email protected]> Co-authored-by: Peiman <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information