Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: V3 #6442

Merged
merged 1,174 commits into from
Apr 3, 2023
Merged
Changes from 1 commit
Commits
Show all changes
1174 commits
Select commit Hold shift + click to select a range
f214404
fix: update price range first when apply settings
chefjackson Mar 30, 2023
29f7bfc
fix: sync pool fee tier to url
chefjackson Mar 30, 2023
886dd4f
Merge branch 'v3' into upstream-develop
chefjackson Mar 30, 2023
d008534
fix: Update change
Mar 30, 2023
dd57dfa
chore: Add v2 data updates v3 state
Mar 30, 2023
485c812
Merge pull request #436 from pancakeswap/upstream-develop
chefjackson Mar 30, 2023
81c38bc
chore: Farm ui qa
0xjojoex Mar 30, 2023
30bb041
update
0xjojoex Mar 30, 2023
061623e
no position
0xjojoex Mar 30, 2023
648dda5
fix
0xjojoex Mar 30, 2023
eb83d16
fix: roi rate and detail apr mismatch
chefjackson Mar 30, 2023
f525fbe
fix: cannot toggle fullrange in roi calculator
chefjackson Mar 30, 2023
d0b17e8
chore: update v3 contract addresses
chefjackson Mar 30, 2023
715a395
fix(farms): amount overflow
0xjojoex Mar 30, 2023
e0d5b62
fix trans
0xjojoex Mar 30, 2023
7ab4ef8
add farm
0xjojoex Mar 30, 2023
70a6637
chore: Shorten liquidity cache
0xjojoex Mar 30, 2023
10562e9
fix: add liquidity condition
0xjojoex Mar 30, 2023
5d3eadc
chore: Small ui fix
0xjojoex Mar 30, 2023
dd757aa
chore: Add cake token on eth & goerli
0xjojoex Mar 30, 2023
617262a
chore: Add goerli
0xjojoex Mar 30, 2023
2397a62
chore: Add APY Calculator in Liquidity detail
Mar 30, 2023
f0c3d89
chore: add Loading in FeeSelect
Mar 30, 2023
07a0924
chore: Add switch tokens in page list
Mar 30, 2023
16decf2
chore: Update subtitle format
Mar 30, 2023
cec29fe
fix(liquidity): Prevent showing incorrect showOptions
Mar 31, 2023
d56d90a
chore: Add Max buttons in Stable Form and v2 Form
Mar 31, 2023
84480b6
chore: Update build
Mar 31, 2023
f1f86c5
fix: farm config
0xjojoex Mar 31, 2023
613ef25
chore: Disable buttons when not owner
Mar 31, 2023
919b8e7
chore: Disable Apply Setting in Liquidity Detail
Mar 31, 2023
756edf7
feat: Migration improve
0xjojoex Mar 31, 2023
aa48ee1
feat: Add log (#6416)
ChefMomota Mar 30, 2023
6980c9d
fix: Prod cookie domain (#6418)
ChefMomota Mar 30, 2023
1249a7d
fix: User exist (#6419)
ChefMomota Mar 30, 2023
0ab7bee
feat: Trading Reward (UI only) (#6401)
ChefMomota Mar 30, 2023
01c7330
chore: Bump wagmi (#6417)
0xjojoex Mar 30, 2023
d6fbaa6
chore: Update Aptos LP APRs for Farms (#6422)
PancakeSwap-bot Mar 31, 2023
6b0281a
chore: Update LP APRs for Farms (#6423)
PancakeSwap-bot Mar 31, 2023
21f04dc
feat: Add nickname and ablePerps (#6420)
ChefMomota Mar 31, 2023
9c004ae
fix build
0xjojoex Mar 31, 2023
85cd9a7
fix build
0xjojoex Mar 31, 2023
95a9a97
fix: Nested a warnings (#6421)
memoyil Mar 31, 2023
354fd77
chore: Use pcs rpc for zap estimate (#6390)
memoyil Mar 31, 2023
9b2dd31
chore(NFT): Filter row noWarp on mobile (#6389)
Woody810 Mar 31, 2023
940e224
Merge pull request #462 from pancakeswap/upstream-develop
0xjojoex Mar 31, 2023
6e9b347
chore: Avoid poolId not number
Mar 31, 2023
2abf1dd
style: highlight percentage in route display
chefjackson Mar 31, 2023
1764571
fix: avoid failed build
Mar 31, 2023
39a78e3
feat: add routing api as PoC
chefjackson Mar 27, 2023
6811052
fix: use address zero to represent native currency
chefjackson Mar 27, 2023
9d8a3fb
feat: set as edge function
chefjackson Mar 27, 2023
57942d8
chore: temp
chefjackson Mar 28, 2023
b373be9
feat: add serializer to protocol fees
chefjackson Mar 31, 2023
527ee71
chore: remove dependencies of lodash to build edge function
chefjackson Mar 31, 2023
d0128fd
fix: edge function not working
chefjackson Mar 31, 2023
327fb99
fix: Chart text color
0xjojoex Mar 31, 2023
c36bc76
fix: invalid params with stable pool
chefjackson Mar 31, 2023
5d3a1a2
feat: add hook of use best trade from quoter api
chefjackson Mar 31, 2023
6567926
chore: wording update
chefjackson Mar 31, 2023
fc64360
fix: rounding issue of trading fee
chefjackson Mar 31, 2023
5e7249f
fix: percent parsing error
chefjackson Mar 31, 2023
e250762
style: add up down arrow when hover swap flip button
chefjackson Mar 31, 2023
61caa44
style: fix number overflow
chefjackson Mar 31, 2023
d04f212
fix: Earn sort
0xjojoex Mar 31, 2023
913dcd9
chore: info main page
Chef-Yogi Mar 30, 2023
717b096
chore: add types
Chef-Yogi Mar 30, 2023
b944a27
chore: add bar chart component
Chef-Yogi Mar 30, 2023
484f2ec
chore: v3 info shared component
Chef-Yogi Mar 30, 2023
db6a076
chore: bar chart
Chef-Yogi Mar 30, 2023
95a8257
chore: hover inline text component
Chef-Yogi Mar 30, 2023
6c64f56
chore: percent component
Chef-Yogi Mar 30, 2023
5f55544
chore: v3 transaction table
Chef-Yogi Mar 30, 2023
21f096e
chore: adjust transaction query
Chef-Yogi Mar 30, 2023
fb3e687
chore: chart hooks
Chef-Yogi Mar 30, 2023
9e372c1
chore: update data swr
Chef-Yogi Mar 30, 2023
ce5661a
chore: update utils
Chef-Yogi Mar 30, 2023
8136481
chore: nodeReal api
Chef-Yogi Mar 31, 2023
f54e7ed
chore: endpoint
Chef-Yogi Mar 31, 2023
866d1e9
chore: top tokens hook
Chef-Yogi Mar 31, 2023
bcd4d7c
chore: add token black list
Chef-Yogi Mar 31, 2023
babc2ec
chore: v3 token table
Chef-Yogi Mar 31, 2023
c8dbf12
chore: add top token table
Chef-Yogi Mar 31, 2023
a07475f
chore: remove unused comment
Chef-Yogi Mar 31, 2023
2c026cb
chore: adjustment for fetchEthPrices
Chef-Yogi Mar 31, 2023
449426f
chore: rename to fetchTopTokenAddresses
Chef-Yogi Mar 31, 2023
0a0b668
chore: top pool data
Chef-Yogi Mar 31, 2023
f4c2075
chore: tope pool hook
Chef-Yogi Mar 31, 2023
377b76b
chore: pool table
Chef-Yogi Mar 31, 2023
0dd5cdf
chore: top pool hooks
Chef-Yogi Mar 31, 2023
50e661c
chore: fix lint
Chef-Yogi Mar 31, 2023
e41c0fe
chore: update the fetch function
Chef-Yogi Mar 31, 2023
06a5ce7
chore: block routing api path
chefjackson Mar 31, 2023
1c41d23
fix: rounding issues on token balances
chefjackson Mar 31, 2023
339a72d
fix: rounding errors
chefjackson Mar 31, 2023
9f462de
chore: Sync upstream develop
github-actions[bot] Mar 31, 2023
5cbada3
chore(liquidity): fixing full range bug
Mar 31, 2023
9229b39
chore: Add APY calculator in Liquidity Page
Mar 31, 2023
66d9b89
chore: Update main address (#467)
0xjojoex Apr 1, 2023
aac6261
feat: v3 info overview
Chef-Yogi Mar 31, 2023
dd12427
feat: v3 info token page router
Chef-Yogi Mar 31, 2023
4879434
chare: add v3 info path
Chef-Yogi Mar 31, 2023
b69435c
chore: v3 info layout
Chef-Yogi Mar 31, 2023
0bbaa3b
chore: add v3 info nav
Chef-Yogi Mar 31, 2023
04964fe
chore: v3 info token top movers
Chef-Yogi Mar 31, 2023
1a9c4f6
feat: dv3 info tokens page
Chef-Yogi Mar 31, 2023
5344c0b
chore: v3 pools page router
Chef-Yogi Apr 1, 2023
ab54f53
chore: rename pairs to pools
Chef-Yogi Apr 1, 2023
e8cee4c
feat: v3 pools page
Chef-Yogi Apr 1, 2023
9acefea
chore: token details page part1
Chef-Yogi Apr 1, 2023
ed90613
test: Update test
0xjojoex Apr 1, 2023
095a79f
fix(liquidity): wrong 50% field input handler
Apr 1, 2023
8779595
fix: do not show error message if user rejected a transaction
chefjackson Apr 1, 2023
b6d8ba7
fix: pools not updated after switching currencies
chefjackson Apr 1, 2023
021a17d
fix: manually refetch after pools update
chefjackson Apr 1, 2023
1a7a226
chore: unset lock file changes
chefjackson Apr 1, 2023
b0c6304
fix(liquidity-stable): Prevent throwing error when amount is too small
Apr 1, 2023
85f3070
chore: add tips to max button in roi calculator
chefjackson Apr 1, 2023
fb46960
fix: quoter out of gas when getting mixed route quotes
chefjackson Apr 1, 2023
862379f
fix: small ui fix
0xjojoex Apr 1, 2023
ffa94e7
chore: use usdt as default stable coin
chefjackson Apr 1, 2023
02458de
chore: rename
chefjackson Apr 1, 2023
43a12a3
fix: V2 Pair crashed and pin ethers
0xjojoex Apr 1, 2023
3ce41c7
ethers version
0xjojoex Apr 1, 2023
db1dd2b
address
0xjojoex Apr 1, 2023
1b1ffff
Merge branch 'v3' into upstream-develop
chefjackson Apr 1, 2023
a7a22f9
chore: remove duplicated variable
chefjackson Apr 1, 2023
cd7a1c8
fix: only check insufficient liquidity on exact output
chefjackson Apr 1, 2023
5e31bde
chore: add missing dependency
chefjackson Apr 1, 2023
2b1a400
Merge pull request #487 from pancakeswap/upstream-develop
chefjackson Apr 1, 2023
57132d2
fix(liquidity): Round issue in detail page
Apr 1, 2023
757813e
chore: update wording of trading fee tips
chefjackson Apr 1, 2023
ea15228
feat: add placeholder to price chart
chefjackson Apr 1, 2023
ffaa153
feat: Move subgraph v3 into sr
0xjojoex Apr 1, 2023
eee9508
fix: mm trade keep loading
chefjackson Apr 1, 2023
e363eef
fix: add missing trading fee to mm trade
chefjackson Apr 1, 2023
58410b0
feat(liquidity): Position history
0xjojoex Apr 1, 2023
87b459c
fix: lint
0xjojoex Apr 1, 2023
7b56e80
fix: contract read chainId
0xjojoex Apr 1, 2023
deee8cd
fix: css
0xjojoex Apr 1, 2023
fdd8ae0
fix(modal): Prevent drag on scroll
0xjojoex Apr 1, 2023
3d51e76
fix: css
0xjojoex Apr 1, 2023
0a0d2b1
fix(liquidity): Sync rounding style
Apr 2, 2023
a379e2a
fix: missing stable coin price on eth
chefjackson Apr 2, 2023
f2f6daf
fix: unexpected price format when decimals not match between currencies
chefjackson Apr 2, 2023
65b922d
fix: remove slippage and add customize route settings to mm trade
chefjackson Apr 2, 2023
19ad26e
chore: Dedup collect and remove if the same amount in one transaction
Apr 2, 2023
2b2a46e
fix: page crash on farm roi
chefjackson Apr 2, 2023
55d4c80
perf: prevent unnecessary rerender
chefjackson Apr 2, 2023
4bbe1ae
Merge pull request #510 from pancakeswap/upstream-develop
chefjackson Apr 2, 2023
b4cd10e
chore(liquidity): autofil apr calculator in liquidity detail
Apr 2, 2023
90d42ea
perf: prevent rerender when parent components rerender
chefjackson Apr 2, 2023
d79dd1d
perf: roi calculator optimize
chefjackson Apr 2, 2023
d14d161
chore: fix lint issue
chefjackson Apr 2, 2023
cbe0195
fix(roi): Pair data
0xjojoex Apr 2, 2023
b78a906
fix: css
0xjojoex Apr 2, 2023
ccec873
fix: full range not applied to liquidity page from roi calculator
chefjackson Apr 2, 2023
fa7b051
chore: List v3 farms
0xjojoex Apr 2, 2023
5878c83
fix: v3 farms avoid pid 0 filter
0xjojoex Apr 2, 2023
d8f9933
chore: Update symbol name
0xjojoex Apr 2, 2023
ae2ba77
chore: Add supported chain
0xjojoex Apr 2, 2023
83d6061
fix: Farm logo
0xjojoex Apr 2, 2023
f4292c7
chore: Remove promo
0xjojoex Apr 2, 2023
711144f
fix: prevent volume from rounding down to zero
chefjackson Apr 2, 2023
9793c72
fix: Migration proxy user data
0xjojoex Apr 2, 2023
05269a2
chore: v3 info pair page router
Chef-Yogi Apr 2, 2023
d0be195
chore: constant
Chef-Yogi Apr 2, 2023
f072d6b
chore: add DensityChartEntry type
Chef-Yogi Apr 2, 2023
7534305
chore: add DensityChart component
Chef-Yogi Apr 2, 2023
9736a3f
chore: update token table
Chef-Yogi Apr 2, 2023
7420fb3
chore: update v3 info data hook
Chef-Yogi Apr 2, 2023
32a049f
feat: v3 info pool page
Chef-Yogi Apr 2, 2023
b3b5f8e
perf: Lazy usd value
0xjojoex Apr 2, 2023
f66a031
fix: amount type
0xjojoex Apr 2, 2023
ec1c7c2
perf: skip stalecoin or cake fetch usd
0xjojoex Apr 2, 2023
0b0c579
max hop 2 for common pair
0xjojoex Apr 2, 2023
285b90e
chore: move logic
0xjojoex Apr 2, 2023
9f061b2
fix
0xjojoex Apr 2, 2023
d69bf38
fix base currency
0xjojoex Apr 2, 2023
d9d9298
perf: usd tvl in usd to pick v2 candidate pools
chefjackson Apr 2, 2023
d6e4ed4
chore: configure the gas cost below limit
chefjackson Apr 2, 2023
60362c6
fix: usd max hop condition
0xjojoex Apr 2, 2023
17516b5
fix: Migration condition
0xjojoex Apr 2, 2023
2fe5e34
fix
0xjojoex Apr 2, 2023
6f8a7aa
fix: lint
0xjojoex Apr 2, 2023
a9a0a7a
fix: proxy staked in migration
0xjojoex Apr 2, 2023
cd100b5
fix: Position history amount
0xjojoex Apr 2, 2023
fda7e4a
fix: math compare
0xjojoex Apr 2, 2023
349851c
fix: Add back condition when only remove liquidity without fee
0xjojoex Apr 2, 2023
99a80fa
chore: remove log
0xjojoex Apr 2, 2023
24d1d4b
chore: update style
Apr 2, 2023
d0d9788
perf: Stop fetching ticks when not enabled
0xjojoex Apr 2, 2023
78f7eef
fix: pass enabled
0xjojoex Apr 2, 2023
2709199
fix(liquidity): add inverted check in apy
Apr 3, 2023
60917ff
chore: Clean up
0xjojoex Apr 3, 2023
c712dd0
chore: Update link
0xjojoex Apr 3, 2023
449150e
revert version
0xjojoex Apr 3, 2023
8dca3a0
fix: cannot get quote after switching from bsc to eth
chefjackson Apr 3, 2023
b60277a
chore: update endpoints
Chef-Yogi Apr 2, 2023
64a5e19
chore: add startblock constant
Chef-Yogi Apr 2, 2023
d707997
chore: v3info home page layout
Chef-Yogi Apr 2, 2023
ba388da
chore: add shared styled components
Chef-Yogi Apr 2, 2023
b6479b4
chore: handle start block
Chef-Yogi Apr 2, 2023
fc0eb3f
chore: update get price logic
Chef-Yogi Apr 2, 2023
d903ae1
chore: fix lint
Chef-Yogi Apr 2, 2023
9ae07da
chore: remove unused console
Chef-Yogi Apr 2, 2023
181158d
feat: add v3 search feature
Chef-Yogi Apr 2, 2023
81437bd
chore: remove unused code
Chef-Yogi Apr 2, 2023
010743b
chore: add lastValidPath for v3 info
Chef-Yogi Apr 2, 2023
ea1d5a0
chore: v3 info multiChain page
Chef-Yogi Apr 2, 2023
f6dad04
chore: update use block hook
Chef-Yogi Apr 2, 2023
be28fa9
chore: update eth subgraph start block
Chef-Yogi Apr 2, 2023
f606318
chore: use new block hook
Chef-Yogi Apr 2, 2023
c32b3a2
chore: pool page layout
Chef-Yogi Apr 2, 2023
1d695ed
chore: token page layout
Chef-Yogi Apr 2, 2023
067d90b
feat: Add launch eta warning
0xjojoex Apr 3, 2023
2af1b34
chore: Add resposive in history section
Apr 3, 2023
02c376c
Merge pull request #534 from pancakeswap/upstream-develop
chefjackson Apr 3, 2023
cb9236e
chore: Add external link
0xjojoex Apr 3, 2023
5feb35f
fix: Position manager use log index
0xjojoex Apr 3, 2023
fd29bd9
chore: Clean up test code
Apr 3, 2023
197e29a
chore: Remove sync base
Apr 3, 2023
0648952
fix: Cross chain farming migration pid
0xjojoex Apr 3, 2023
5e91fe9
fix: rounding error in roi calculator
chefjackson Apr 3, 2023
6f98561
fix(farm): adjusted quote token price
0xjojoex Apr 3, 2023
dee3229
fix(farm): Info link
0xjojoex Apr 3, 2023
a493f90
fix: missing digits for percent
chefjackson Apr 3, 2023
ded7127
chore: move router to info/v3
Chef-Yogi Apr 3, 2023
c12c0be
chore: update table style
Chef-Yogi Apr 3, 2023
fad266a
chore: update token page layout
Chef-Yogi Apr 3, 2023
b943c60
chore: hide watch list
Chef-Yogi Apr 3, 2023
743f642
chore: update pool page ui
Chef-Yogi Apr 3, 2023
09b39ca
chore: update v3 chart background
Chef-Yogi Apr 3, 2023
96e64cc
chore: update chart color
Chef-Yogi Apr 3, 2023
fc3908a
chore: fix key issue
Chef-Yogi Apr 3, 2023
5da2107
chore: fix lint
Chef-Yogi Apr 3, 2023
c005784
chore: multi chain path
Chef-Yogi Apr 3, 2023
0bc5fae
chore: add bsc tokens and pool blacklist
Chef-Yogi Apr 3, 2023
f019c25
chore: update eth black list
Chef-Yogi Apr 3, 2023
b595325
chore: multi chain logo
Chef-Yogi Apr 3, 2023
402d9d8
chore: fix transaction table sorts
Chef-Yogi Apr 3, 2023
27631c9
chore: clean up patch 2
Apr 3, 2023
02b89d0
chore: Clean up comment
Apr 3, 2023
be174d5
chore: Update page routing
Apr 3, 2023
d92d344
fix(liquidity): derive quote usd price from base and current pair
chefjackson Apr 3, 2023
f2c1ec3
fix: safe guard both ends
chefjackson Apr 3, 2023
5e1449e
feat: add warning message to roi calculator
chefjackson Apr 3, 2023
5177381
chore: Update reset icon position
Apr 3, 2023
8399a52
chore: v3 info part 11
Chef-Yogi Apr 3, 2023
ace00f6
fix: sort issue
chefjackson Apr 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: v3 info pair page router
  • Loading branch information
Chef-Yogi committed Apr 2, 2023
commit 05269a2f3c886c281fda6bfb1f8b12b558f03e7f
13 changes: 13 additions & 0 deletions apps/web/src/pages/v3Info/pools/[address].tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { useRouter } from 'next/router'
import { InfoPageLayout } from 'views/V3Info/components/Layout'
import Pool from 'views/V3Info/views/PoolPage'

const PoolPage = () => {
const router = useRouter()
return <Pool address={String(router.query.address)} />
}

PoolPage.Layout = InfoPageLayout
PoolPage.chains = [] // set all

export default PoolPage