Skip to content

Abhinayapple/dw 539/replace matic with dollarpoly #7874

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

Open
wants to merge 381 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
381 commits
Select commit Hold shift + click to select a range
75a8ce7
Revert "no-market-callback"
Jul 25, 2022
f69a756
Revert "main UI proposal"
Jul 25, 2022
37e3052
Integrate the gasless API from the trading server
Jul 25, 2022
5f49aa3
ui-server-integration
fensa08 Jul 27, 2022
2579012
update api calls
Aug 3, 2022
d440bea
Add ipfs deployment
Aug 4, 2022
6eadaee
Bugfixes
Aug 5, 2022
c0a4aa4
loading added; swap anyway fix; payment token fix; enough buy amount …
fensa08 Aug 9, 2022
5cadfe1
error message add
fensa08 Aug 10, 2022
24250eb
update .nvmrc node version to node16.13.0
fensa08 Aug 12, 2022
4642228
payment token symbol mismatch check
fensa08 Aug 12, 2022
d288bca
currency mismatch fix
fensa08 Aug 12, 2022
885ce85
payment token undefined edge case
fensa08 Aug 15, 2022
facfcf2
lo-arbitrum-fix
fensa08 Sep 5, 2022
ccff17e
Merge pull request #40 from Kromatika-Finance/mcfred/dw-118/bug-arbit…
fensa08 Sep 5, 2022
0414941
non-gasless mode fix
fensa08 Sep 20, 2022
f1f4b49
gasless & metaswap disable
fensa08 Sep 23, 2022
bc518c1
enable gasless
fensa08 Oct 13, 2022
2e8c5c2
Merge branch 'mcfred/dw-81/add-gasless-swap-support' of https://githu…
fensa08 Oct 13, 2022
515fc4a
enable gasless
fensa08 Oct 13, 2022
f959cf4
linter fix
fensa08 Oct 14, 2022
29bbbca
change not processing message
fensa08 Oct 14, 2022
9dfb95c
beta.kromatika.finance server url add
fensa08 Nov 5, 2022
a94a01d
url replace
fensa08 Nov 9, 2022
a601d92
add modal perp, perp integration
JohnnyGoodpick Nov 10, 2022
b1445d2
add better headerr responsivity
JohnnyGoodpick Nov 14, 2022
f0722e9
fix navbar overlap on pc
JohnnyGoodpick Nov 14, 2022
a93ee51
fix mobile unconnected layout problem
JohnnyGoodpick Nov 15, 2022
07c11e2
Merge pull request #43 from Kromatika-Finance/perp_appolox
fensa08 Nov 15, 2022
f648d47
sync branch with latest main updates; perp updates
fensa08 Nov 17, 2022
cd081ca
Merge pull request #39 from Kromatika-Finance/mcfred/dw-81/add-gasles…
fensa08 Dec 9, 2022
caf2c2c
Show different error message on Polygon
ElFuerte90 Dec 13, 2022
ab67514
use map instead of hardcoded values
fensa08 Dec 13, 2022
e9afaf5
beta modal text update
fensa08 Dec 13, 2022
5205dc8
Merge pull request #46 from Kromatika-Finance/el-fuerte-dev/dw-221/da…
fensa08 Dec 13, 2022
db3c8cd
Add Google Analytics ID
ElFuerte90 Dec 14, 2022
a542e69
Test Google Analytics
ElFuerte90 Dec 14, 2022
37db873
Add Google Analytics <script>
ElFuerte90 Dec 14, 2022
de07c05
Revert index.html & App.tsx changes
ElFuerte90 Dec 14, 2022
e17d644
Change Google Analytics ID
ElFuerte90 Dec 14, 2022
f7469e1
Merge pull request #48 from Kromatika-Finance/el-fuerte-dev/dw-206/in…
ElFuerte90 Dec 15, 2022
4883e36
polygon disable updates
fensa08 Dec 28, 2022
4635025
Merge pull request #50 from Kromatika-Finance/urgent
fensa08 Dec 28, 2022
91749fd
Update index.tsx
Dec 28, 2022
9006a97
Update index.tsx
Dec 28, 2022
6d6e94b
empty space
Dec 28, 2022
295077f
typo fix
fensa08 Dec 28, 2022
dd055c6
typo fix
fensa08 Dec 28, 2022
bf7061d
Merge pull request #51 from Kromatika-Finance/bugfixes
fensa08 Dec 28, 2022
5a31033
add warning modal for polygon user
JohnnyGoodpick Dec 29, 2022
322158b
add warning modal for polygon user
JohnnyGoodpick Dec 29, 2022
3d7ca21
add warning modal for polygon user
JohnnyGoodpick Dec 29, 2022
51ee3e5
polygon modal updates
fensa08 Dec 30, 2022
77990f8
Merge pull request #52 from Kromatika-Finance/polygon-warning-modal
fensa08 Dec 30, 2022
32d7c9c
UI bug - Missing data on /pool page
ElFuerte90 Jan 3, 2023
c7667fd
Initial commit
YosemiteSamOutlaw Jan 7, 2023
7e7552f
Change limit order item bg color
YosemiteSamOutlaw Jan 7, 2023
462c09d
Change nav links background and border color
YosemiteSamOutlaw Jan 8, 2023
62f6ee4
Change header items background and border color
YosemiteSamOutlaw Jan 8, 2023
9fc8d3d
Add box-shadow to the market chart
YosemiteSamOutlaw Jan 8, 2023
5f0d4ed
Highlight navlinks
YosemiteSamOutlaw Jan 8, 2023
013c4cc
Reduce limit orders item fonts size
YosemiteSamOutlaw Jan 8, 2023
40fc612
Change collapsible arrow transition
YosemiteSamOutlaw Jan 8, 2023
f5d18ff
Add buy/sell toggler
YosemiteSamOutlaw Jan 10, 2023
dd4f6a5
remove modal
fensa08 Jan 11, 2023
f45d210
Merge pull request #55 from Kromatika-Finance/polygon-update
fensa08 Jan 11, 2023
6cc9baa
return warning modal
fensa08 Jan 13, 2023
a1014f6
Merge pull request #56 from Kromatika-Finance/return-warning-modal
fensa08 Jan 13, 2023
bcd9143
Add target price steps (increment/decrement by 1%)
YosemiteSamOutlaw Jan 15, 2023
fc41cfc
Fix digit precision issue
YosemiteSamOutlaw Jan 17, 2023
b175e50
Change invert pair price labels
YosemiteSamOutlaw Jan 17, 2023
a495e22
Update currencyInputPanel, navigation links, tradePrice components
YosemiteSamOutlaw Jan 24, 2023
3a204f1
Replace flexbox with grid, make navlinks responsive
YosemiteSamOutlaw Jan 24, 2023
208d488
Merge pull request #53 from Kromatika-Finance/el-fuerte-dev/dw-331/da…
fensa08 Jan 24, 2023
8d320fd
ud wallet integration
fensa08 Jan 24, 2023
616d985
Correct external links, adjust text
YosemiteSamOutlaw Jan 24, 2023
672c6af
add deposit button
YosemiteSamOutlaw Jan 24, 2023
9e5ff24
Reduce padding
YosemiteSamOutlaw Jan 24, 2023
f8e9b1c
Remove extra words
YosemiteSamOutlaw Jan 25, 2023
f6c45ce
Change borders
YosemiteSamOutlaw Jan 25, 2023
008ded4
update .env file
fensa08 Jan 25, 2023
5f6a9fe
Change navigation position
YosemiteSamOutlaw Jan 27, 2023
b41f2ec
Fix withdraw button issue
ElFuerte90 Jan 29, 2023
fed25f6
Change colors, correct fonts, tweak alignment
YosemiteSamOutlaw Jan 30, 2023
9cc7b28
Merge pull request #59 from Kromatika-Finance/el-fuerte-dev/dw-373/wi…
fensa08 Jan 31, 2023
755abe2
Replace HashRouter with BrowserRouter
fensa08 Jan 31, 2023
3199821
Merge pull request #58 from Kromatika-Finance/unstopabbledomains-wall…
fensa08 Feb 1, 2023
9dd876b
wallet integration
fensa08 Feb 2, 2023
32c248e
Fix code style issues with ESLint
lint-action Feb 2, 2023
62b8cff
.env update
fensa08 Feb 2, 2023
9721aca
Merge branch 'ud-wallet-integration' of https://github.com/Kromatika-…
fensa08 Feb 2, 2023
c8b1a3b
Merge pull request #60 from Kromatika-Finance/ud-wallet-integration
fensa08 Feb 2, 2023
498c82b
Change FELO modal styling and content
YosemiteSamOutlaw Feb 2, 2023
3c29585
Show fees burned percentage, add label on swap component
YosemiteSamOutlaw Feb 5, 2023
7e6b2d3
Resolve merge conflics
YosemiteSamOutlaw Feb 6, 2023
d0952dd
reduce padding
YosemiteSamOutlaw Feb 6, 2023
12e0b71
Swap component - reduce fontsize
YosemiteSamOutlaw Feb 6, 2023
0ccad8d
Fix code style issues with ESLint
lint-action Feb 8, 2023
e381839
solve merge conflicts
YosemiteSamOutlaw Feb 14, 2023
6d47112
add lo-manager polygon
fensa08 Feb 16, 2023
6904288
Merge pull request #62 from Kromatika-Finance/feat/dw-365/deploy-new-…
ElFuerte90 Feb 22, 2023
f768874
limit-warning-modal-remove
fensa08 Feb 22, 2023
0351355
Merge pull request #64 from Kromatika-Finance/limitwarning-modal-remove
fensa08 Feb 22, 2023
be1512a
remove header border bottom
YosemiteSamOutlaw Feb 23, 2023
d26d0ea
add background image
YosemiteSamOutlaw Feb 23, 2023
c0d863e
change bgs
YosemiteSamOutlaw Feb 23, 2023
979face
responsive background image
YosemiteSamOutlaw Feb 25, 2023
7018eaa
bg image align left bottom
YosemiteSamOutlaw Feb 27, 2023
c7d27ef
update translations
YosemiteSamOutlaw Mar 4, 2023
8414522
updates locales
YosemiteSamOutlaw Mar 7, 2023
e2a64d6
updates
YosemiteSamOutlaw Mar 7, 2023
aa1f173
remove page top margin and decrease padding
YosemiteSamOutlaw Mar 7, 2023
1cad207
address community feedback
YosemiteSamOutlaw Mar 12, 2023
4385eda
add FAQ
YosemiteSamOutlaw Mar 12, 2023
3136594
show fiat balance in account status
YosemiteSamOutlaw Mar 13, 2023
dfe7db9
add uniswap only text in select token modal
YosemiteSamOutlaw Mar 13, 2023
cd472da
remove auto-router tooltip from limir order modal
YosemiteSamOutlaw Mar 13, 2023
89cf19b
fix perpetual rerendering
YosemiteSamOutlaw Mar 13, 2023
c5004a7
update fiat value
YosemiteSamOutlaw Mar 13, 2023
94fc3ad
remove duplicate components
YosemiteSamOutlaw Mar 13, 2023
8081110
change label uniswap V3 pairs only
YosemiteSamOutlaw Mar 13, 2023
7554c29
add swapbox
YosemiteSamOutlaw Mar 13, 2023
a3df47a
set widget theme
YosemiteSamOutlaw Mar 13, 2023
0ea5691
correct modal responsiveness
YosemiteSamOutlaw Mar 13, 2023
3c90a5d
Correct earned fees
YosemiteSamOutlaw Mar 17, 2023
930c570
add menu divider margin
YosemiteSamOutlaw Mar 17, 2023
9b20f38
set tx popup background color
YosemiteSamOutlaw Mar 18, 2023
132b814
add powered by kromatika
YosemiteSamOutlaw Mar 18, 2023
1b8c4e1
update locales
YosemiteSamOutlaw Mar 20, 2023
a52ef32
reenable polygon, change swapbox
YosemiteSamOutlaw Mar 21, 2023
d5f0bbe
remove txn-details; enable addliq on polygon; fix min price; powered …
0xelMag0 Mar 26, 2023
fa5e260
merge conflict resolution
0xelMag0 Mar 26, 2023
fd0daa0
Merge pull request #68 from Kromatika-Finance/ui-v3
0xelMag0 Mar 26, 2023
7217e65
swapbox routing update
0xelMag0 Mar 27, 2023
7597427
Fix code style issues with ESLint
lint-action Mar 27, 2023
0983b5d
Merge pull request #72 from Kromatika-Finance/swapbox-upgrade-route
0xelMag0 Mar 27, 2023
6f45e86
refactoring
YosemiteSamOutlaw Mar 27, 2023
3b8421d
Fix code style issues with ESLint
lint-action Mar 27, 2023
9a28844
updates route
YosemiteSamOutlaw Mar 27, 2023
18c7cfa
Update App.tsx
ElFuerte90 Mar 27, 2023
b45d959
Update App.tsx
ElFuerte90 Mar 27, 2023
754a9f1
Update index.tsx
ElFuerte90 Mar 27, 2023
3848c79
Update App.tsx
ElFuerte90 Mar 27, 2023
0d11e76
conditionally render fallback
0xelMag0 Mar 27, 2023
bbac630
Fix routing
ElFuerte90 Mar 27, 2023
bbc2887
Fix conflicts
ElFuerte90 Mar 27, 2023
161765a
Fix dapp routing
ElFuerte90 Mar 28, 2023
9daf102
Merge pull request #73 from Kromatika-Finance/routes-refactoring
ElFuerte90 Mar 28, 2023
6771882
redirect to /limitorder
YosemiteSamOutlaw Mar 28, 2023
8797fde
update account status
YosemiteSamOutlaw Mar 28, 2023
99b25c8
add wallet connector for swapbox
0xelMag0 Mar 28, 2023
c9c565c
Merge pull request #77 from Kromatika-Finance/swapbox-udpate
0xelMag0 Mar 28, 2023
9e78cea
Merge pull request #74 from Kromatika-Finance/routes-refactoring
ElFuerte90 Apr 4, 2023
29df225
update locales
YosemiteSamOutlaw Apr 6, 2023
c921c4c
Merge pull request #78 from Kromatika-Finance/correct-wording
ElFuerte90 Apr 7, 2023
a4e35b9
add arbitrum gasless support
0xelMag0 Apr 16, 2023
6db9257
localhost remove
0xelMag0 Apr 16, 2023
1b954db
Merge pull request #79 from Kromatika-Finance/arbitrum-gasless
ElFuerte90 Apr 23, 2023
8105f66
swapbox-updates
YosemiteSamOutlaw May 24, 2023
d8b0c77
powered by external link
YosemiteSamOutlaw May 24, 2023
7710ab9
enable affiliate
YosemiteSamOutlaw May 24, 2023
1c5a09d
disable referral link
0xelMag0 May 29, 2023
7783118
Merge pull request #81 from Kromatika-Finance/swapbox-updates
0xelMag0 May 29, 2023
563c6f5
add support for op gasless
0xelMag0 Jun 2, 2023
f9429ae
fix gasless toggle
YosemiteSamOutlaw Jun 6, 2023
27cb1fe
handle gasless toggle and confirmation dialog
YosemiteSamOutlaw Jun 6, 2023
68ef069
Merge pull request #83 from Kromatika-Finance/fix-gasless-toggle
ElFuerte90 Jun 6, 2023
9915ee3
sync main branch changes; remove commented code
0xelMag0 Jun 9, 2023
fe3c1ed
fix gasless toggle button
0xelMag0 Jun 12, 2023
89514a0
add OP router
0xelMag0 Jun 24, 2023
c2b3c4b
Merge pull request #82 from Kromatika-Finance/op-gasless
0xelMag0 Jun 24, 2023
a45abbb
Hide approve button, from the Withdrawal page
ElFuerte90 Jul 19, 2023
8f683a8
Merge pull request #84 from Kromatika-Finance/el-fuerte-dev/dw-445/hi…
0xelMag0 Jul 20, 2023
f3263f6
add liq minig link to navbar
0xelMag0 Sep 6, 2023
5a8c8f3
Merge pull request #86 from Kromatika-Finance/add-liq-mining-link
0xelMag0 Sep 7, 2023
73d9bb5
Fix Navbar responsiveness
ElFuerte90 Sep 17, 2023
4da706e
Merge pull request #87 from Kromatika-Finance/fix-navbar-responsiveness
0xelMag0 Sep 19, 2023
ce25541
Update Liq. Mining link
ElFuerte90 Oct 10, 2023
5caa7db
Merge pull request #88 from Kromatika-Finance/update-liq-mining-link
ElFuerte90 Oct 10, 2023
2a799cf
Remove Liq. Mining link
ElFuerte90 Nov 16, 2023
761f6eb
Merge pull request #89 from Kromatika-Finance/remove-liq-mining-link
ElFuerte90 Nov 16, 2023
92ae44b
Add safary tracker
JohnnyGoodpick Nov 17, 2023
f38170c
Add proper id for safary tracker
JohnnyGoodpick Nov 17, 2023
d5fb860
add safary tracking
JohnnyGoodpick Nov 22, 2023
38ff575
Add token to wallet before swap
JohnnyGoodpick Dec 4, 2023
b768939
Merge pull request #90 from Kromatika-Finance/johnny-goodpick/dw-448/…
fensa08 Dec 11, 2023
4c3bcc2
fix style on swapbox
JohnnyGoodpick Dec 13, 2023
32f2a52
Add ToastComponent for desktop
JohnnyGoodpick Jan 1, 2024
d344938
Add ToastComponent docs
JohnnyGoodpick Jan 1, 2024
7dec5ab
Add readme
JohnnyGoodpick Jan 1, 2024
01f7f91
Fix responsive text
JohnnyGoodpick Jan 1, 2024
8a1d7a4
Merge pull request #92 from Kromatika-Finance/johnny-goodpick/dw-450/…
ElFuerte90 Jan 3, 2024
942e9dd
Change layout
JohnnyGoodpick Jan 3, 2024
e36f9df
base commit
JohnnyGoodpick Jan 3, 2024
5db438b
remove unused onclick attribute
JohnnyGoodpick Jan 3, 2024
8c25c24
unused onclick attribute
JohnnyGoodpick Jan 3, 2024
c2a1234
Merge pull request #93 from Kromatika-Finance/johnny-goodpick/dw-452/…
ElFuerte90 Jan 4, 2024
a01cc20
Fix trailing comma not rendering the page correctly
JohnnyGoodpick Jan 11, 2024
490c545
Update safary tracker
JohnnyGoodpick Jan 15, 2024
a3bd1ed
Merge pull request #95 from Kromatika-Finance/johnny-goodpick/dw-454/…
ElFuerte90 Jan 15, 2024
72d3245
Merge pull request #94 from Kromatika-Finance/johnny-goodpick/dw-453/…
ElFuerte90 Jan 15, 2024
376dd86
FIx safary script import
JohnnyGoodpick Jan 19, 2024
feb5055
Fix code style issues with ESLint
lint-action Jan 19, 2024
37b06a0
Merge pull request #96 from Kromatika-Finance/johnny-goodpick/dw-455/…
fensa08 Jan 22, 2024
1c23c09
fix quoteAPI error content
JohnnyGoodpick Jan 25, 2024
c6a271f
fix quoteAPI error content
JohnnyGoodpick Jan 25, 2024
a0d65b3
Remove Clique pop-up
ElFuerte90 Jan 29, 2024
5ed5057
return <ToastContainer />
ElFuerte90 Jan 30, 2024
e6bf522
Merge pull request #98 from Kromatika-Finance/remove-clique-logo
JohnnyGoodpick Jan 31, 2024
ad38d46
Merge pull request #91 from Kromatika-Finance/johnny-goodpick/dw-449/…
fensa08 Feb 1, 2024
9b9ba87
- Add tracking of the loading of the approvalHook (=/= pending state)
JohnnyGoodpick Feb 3, 2024
e68ec6f
Center approval button text
JohnnyGoodpick Feb 3, 2024
83ac252
Add half input amount button
JohnnyGoodpick Feb 21, 2024
3aa76e2
fix approval flow issues
JohnnyGoodpick Feb 21, 2024
9a7281a
Fix approval flow
JohnnyGoodpick Feb 21, 2024
a2f649f
Merge pull request #99 from Kromatika-Finance/johnny-goodpick/dw-457/…
0xelMag0 Feb 27, 2024
6efc809
Merge pull request #97 from Kromatika-Finance/johnny-goodpick/dw-456/…
fensa08 Feb 28, 2024
ee58ee1
Add common quantity buttons
JohnnyGoodpick Mar 10, 2024
34fddc2
Remove unnecessary comments
JohnnyGoodpick Mar 15, 2024
ea3e4e5
Merge pull request #100 from Kromatika-Finance/johnny-goodpick/dw-458…
JohnnyGoodpick Mar 15, 2024
04ae5d7
add metadex-swap to base
Apr 11, 2024
cd33089
fix chart on base; decrease minimum gas on L2s
fensa08 Apr 23, 2024
27b0ce6
Merge pull request #101 from Kromatika-Finance/add-base
fensa08 Apr 24, 2024
cbb2499
OP_RPGF_4_APPLICATION
fensa08 Jun 6, 2024
cbb06db
Merge pull request #102 from Kromatika-Finance/OP_RPGF_4_APPLICATION
fensa08 Jun 6, 2024
f3e7c84
remove graphql layer
JohnnyGoodpick Jul 27, 2024
e14fd70
replace nlark with npmmirror
fensa08 Aug 7, 2024
9ff1214
Fix code style issues with ESLint
lint-action Aug 7, 2024
1fe7519
remove comments
fensa08 Aug 7, 2024
f02e0a1
Fix code style issues with ESLint
lint-action Aug 7, 2024
8070fb8
Merge pull request #103 from Kromatika-Finance/johnny-goodpick/dw-494…
0xelMag0 Aug 8, 2024
c2f5496
Fix limit order button width
JohnnyGoodpick Aug 9, 2024
2aa91f0
Change approval amount calculation
JohnnyGoodpick Aug 9, 2024
fcd5908
Merge pull request #107 from Kromatika-Finance/johnny-goodpick/dw-499…
0xelMag0 Aug 14, 2024
a8b0525
Fix approval detection delay
JohnnyGoodpick Sep 5, 2024
3706975
Merge pull request #110 from Kromatika-Finance/johnny-goodpick/dw-505…
0xelMag0 Sep 6, 2024
266609a
Merge pull request #106 from Kromatika-Finance/johnny-goodpick/dw-498…
0xelMag0 Sep 6, 2024
e76d78c
add felo base contract adresses
apostolovskis Dec 6, 2024
ce1ced8
enable felo on base; remove redirect; add contract adddresses
apostolovskis Dec 9, 2024
33abbdd
fix dependency conflict; upgrade uniswap libraries
apostolovskis Dec 9, 2024
8f3b71c
update quoter; add new rpc; update gitignore
apostolovskis Dec 14, 2024
beaf1cf
add alchemy-rpc
apostolovskis Dec 14, 2024
0851d16
add arb & op to common base;remove krom from currency list
0xelMag0 Dec 16, 2024
8df90d9
fix confirm modal inappropriate error message
0xelMag0 Dec 16, 2024
1fd0b05
Merge pull request #114 from Kromatika-Finance/base-felo
0xelMag0 Dec 25, 2024
a32a950
Add ability to select token from ca
JohnnyGoodpick Feb 3, 2025
7cab3f6
Merge pull request #116 from Kromatika-Finance/johnny-goodpick/dw-531…
0xelMag0 Feb 16, 2025
4f9acd9
Since the polygon has migrated its token from Matic to Poly, the chan…
abhi-apple Apr 2, 2025
949c573
change all matic to poly
abhi-apple Apr 10, 2025
06836ca
change all matic to poly
abhi-apple Apr 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 9 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
REACT_APP_INFURA_KEY="4bf032f2d38a4ed6bb975b80d6340847"
REACT_APP_INFURA_KEY="9aa3d95b3bc440fa88ea12eaa4456161"
REACT_APP_SERVICE_WORKER=false
REACT_APP_GOOGLE_ANALYTICS_ID="UA-249910106-3"
REACT_APP_UD_CLIENT_ID=18a3a58d-29d8-49b4-8327-088bb9c74564
REACT_APP_UD_REDIRECT_URI=https://app.kromatika.finance
REACT_APP_UD_POST_LOGOUT_REDIRECT_URI="openid wallet email profile:optional social:optional"
REACT_APP_REFERRAL_ENABLED=false
REACT_APP_AFFILIATE_FEE='0.01'
REACT_APP_ALCHEMY_RPC_KEY=fAXeJmxrP8XSrmqu70zvEwqjXc_M3B7F
5 changes: 3 additions & 2 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
REACT_APP_INFURA_KEY="099fc58e0de9451d80b18d7c74caa7c1"
REACT_APP_INFURA_KEY="9aa3d95b3bc440fa88ea12eaa4456161"
REACT_APP_PORTIS_ID="c0e2bf01-4b08-4fd5-ac7b-8e26b58cd236"
REACT_APP_FORTMATIC_KEY="pk_live_F937DF033A1666BF"
REACT_APP_GOOGLE_ANALYTICS_ID="UA-128182339-4"
REACT_APP_GOOGLE_ANALYTICS_ID="UA-249910106-3"
REACT_APP_SERVICE_WORKER=false
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
.env.development.local
.env.test.local
.env.production.local
.env
*/.env

/.netlify

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/*
v16.13.0
73 changes: 32 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,42 @@
# Uniswap Interface
# Kromatika Dapp

[![Unit Tests](https://github.com/Uniswap/uniswap-interface/actions/workflows/unit-tests.yaml/badge.svg)](https://github.com/Uniswap/uniswap-interface/actions/workflows/unit-tests.yaml)
[![Integration Tests](https://github.com/Uniswap/uniswap-interface/actions/workflows/integration-tests.yaml/badge.svg)](https://github.com/Uniswap/uniswap-interface/actions/workflows/integration-tests.yaml)
[![Lint](https://github.com/Uniswap/uniswap-interface/actions/workflows/lint.yml/badge.svg)](https://github.com/Uniswap/uniswap-interface/actions/workflows/lint.yml)
[![Release](https://github.com/Uniswap/uniswap-interface/actions/workflows/release.yaml/badge.svg)](https://github.com/Uniswap/uniswap-interface/actions/workflows/release.yaml)
[![Crowdin](https://badges.crowdin.net/uniswap-interface/localized.svg)](https://crowdin.com/project/uniswap-interface)
Based on a fork of uniswap-interface, to include advanced features developped by Kromatika DAO.

An open source interface for Uniswap -- a protocol for decentralized exchange of Ethereum tokens.
- Website: [kromatika.finance](https://kromatika.finance/)
- Metaswap: [app.kromatika.finance/swap](https://app.kromatika.finance/swap)
- Fees Earning Limit Orders: [app.kromatika.finance/limitorder](https://app.kromatika.finance/limitorder)
- Docs: [docs.kromatika.finance](https://docs.kromatika.finance/)
- Whitepaper: [Kromatika Whitepaper](https://docs.kromatika.finance/fundamentals/white-paper)
<br/><br/>

- Website: [uniswap.org](https://uniswap.org/)
- Interface: [app.uniswap.org](https://app.uniswap.org)
- Docs: [uniswap.org/docs/](https://uniswap.org/docs/)
- Twitter: [@Uniswap](https://twitter.com/Uniswap)
- Reddit: [/r/Uniswap](https://www.reddit.com/r/Uniswap/)
- Email: [[email protected]](mailto:[email protected])
- Discord: [Uniswap](https://discord.gg/FCfyBSbCU5)
- Whitepapers:
- [V1](https://hackmd.io/C-DvwDSfSxuh-Gd4WKE_ig)
- [V2](https://uniswap.org/whitepaper.pdf)
- [V3](https://uniswap.org/whitepaper-v3.pdf)
Kromatika is developped by the Kromatika DAO, a community-driven DAO that aims to build a decentralized financial infrastructure.

## Accessing the Uniswap Interface
- DAO Manifesto: [Kromatika DAO Manifesto](https://docs.kromatika.finance/fundamentals/kromatika-dao-manifesto)
<br/>

To access the Uniswap Interface, use an IPFS gateway link from the
[latest release](https://github.com/Uniswap/uniswap-interface/releases/latest),
or visit [app.uniswap.org](https://app.uniswap.org).
Find more information about Kromatika DAO and Kromatika on our socials.

## Unsupported tokens
- Twitter: [@KromatikaFi](https://x.com/KromatikaFi)
- Discord: [Kromatika.Finance](https://discord.gg/5fWzdmkz9S)
- Telegram Discussion: [Kromatika.Finance Official](https://t.me/kromatika_finance)
- Telegram Announcements: [KromatikaNews](https://t.me/KromatikaNews)
- Medium: [Kromatika DAO](https://kromatika-finance.medium.com/)

Check out `useUnsupportedTokenList()` in [src/state/lists/hooks.ts](./src/state/lists/hooks.ts) for blocking tokens in your instance of the interface.
## About Kromatika

You can block an entire list of tokens by passing in a tokenlist like [here](./src/constants/lists.ts) or you can block specific tokens by adding them to [unsupported.tokenlist.json](./src/constants/tokenLists/unsupported.tokenlist.json).
Kromatika is an innovative MetaDEX Aggregator, developped by the Kromatika DAO.
Current working products on ETH L1, Arbitrum, Optimism, Polygon, (BNB on perps)

## Contributions
Products include:

For steps on local deployment, development, and code contribution, please see [CONTRIBUTING](./CONTRIBUTING.md).

## Accessing Uniswap V2

The Uniswap Interface supports swapping, adding liquidity, removing liquidity and migrating liquidity for Uniswap protocol V2.

- Swap on Uniswap V2: https://app.uniswap.org/#/swap?use=v2
- View V2 liquidity: https://app.uniswap.org/#/pool/v2
- Add V2 liquidity: https://app.uniswap.org/#/add/v2
- Migrate V2 liquidity to V3: https://app.uniswap.org/#/migrate/v2

## Accessing Uniswap V1

The Uniswap V1 interface for mainnet and testnets is accessible via IPFS gateways
linked from the [v1.0.0 release](https://github.com/Uniswap/uniswap-interface/releases/tag/v1.0.0).
- FELO Fees Earning Limit Orders (no else has perfected this yet)
- Place a Limit order, get your limit order filled and earn 1%-9% extra in LP rewards
- Regular and Gasless Swaps
- Aggregates from multiple aggregators
- Essentially it means you won’t need a native chain token to pay for gas fees when swap token A for token B - for example on L1 you won’t need ETH anymore. Instead your swap fees will be paid in the output-token from your swap.
- Perpetual Trading
- on ETH L1, Arbitrum and BNB
- V1: Orderbook perps with over 72 pairs
- V2: Onchain perps with degen mode up to 500x + Forex
- Swapbox
- Any Protocol can now integrate Kromatika DEX aggregator on their website with 1 line of code as a widget.
64 changes: 0 additions & 64 deletions cypress/integration/add-liquidity.test.ts

This file was deleted.

12 changes: 0 additions & 12 deletions cypress/utils/graphql-test-utils.ts

This file was deleted.

31 changes: 31 additions & 0 deletions deploy-ipfs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const minimist = require('minimist')
const process = require('process')
const { getFilesFromPath, Web3Storage } = require('web3.storage')

async function main() {
const args = minimist(process.argv.slice(2))
const token = args.token

if (!token) {
return console.error('A token is needed. You can create one on https://web3.storage')
}

if (args._.length < 1) {
return console.error('Please supply the path to a file or directory')
}

const storage = new Web3Storage({ token })
const files = []

for (const path of args._) {
const pathFiles = await getFilesFromPath(path)
files.push(...pathFiles)
}

console.log(`Uploading ${files.length} files`)
const cid = await storage.put(files)
console.log('Content added with CID:', cid)
}

main()
Binary file added docs/ToastComponent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions funding.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"opRetro": {
"projectId": "0xf3d8d5b1f6e89cef160fc8c9d75ddceb5f35e51753b56732c7ec34a4b4949bcf"
}
}
55 changes: 30 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@uniswap/interface",
"description": "Uniswap Interface",
"homepage": ".",
"description": "Kromatika Limit Order Manager",
"main": "dist/interface.js",
"module": "dist/interface.esm.js",
"types": "dist/index.d.ts",
Expand All @@ -11,21 +10,18 @@
],
"private": true,
"devDependencies": {
"@biconomy/mexa": "^2.0.28",
"@davatar/react": "1.8.1",
"@ethersproject/experimental": "^5.4.0",
"@gnosis.pm/safe-apps-web3-react": "^0.6.0",
"@graphql-codegen/cli": "1.21.5",
"@graphql-codegen/typescript": "1.22.3",
"@graphql-codegen/typescript-operations": "^1.18.2",
"@graphql-codegen/typescript-rtk-query": "^1.1.1",
"@lingui/cli": "^3.9.0",
"@lingui/macro": "^3.9.0",
"@lingui/react": "^3.9.0",
"@popperjs/core": "^2.4.4",
"@reach/dialog": "^0.10.3",
"@reach/portal": "^0.10.3",
"@react-hook/window-scroll": "^1.3.0",
"@reduxjs/toolkit": "^1.6.1",
"@reduxjs/toolkit": "^1.8.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.2",
Expand Down Expand Up @@ -55,24 +51,26 @@
"@types/wcag-contrast": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"@uniswap/default-token-list": "^2.0.0",
"@uniswap/default-token-list": "^12.15.0",
"@uniswap/governance": "^1.0.2",
"@uniswap/liquidity-staker": "^1.0.2",
"@uniswap/merkle-distributor": "1.0.1",
"@uniswap/sdk-core": "^3.0.1",
"@uniswap/token-lists": "^1.0.0-beta.26",
"@uniswap/v2-core": "1.0.0",
"@uniswap/sdk-core": "6.1.0",
"@uniswap/token-lists": "^1.0.0-beta.34",
"@uniswap/v2-core": "^1.0.1",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"@uniswap/v2-sdk": "^3.0.0-alpha.2",
"@uniswap/v3-core": "1.0.0",
"@uniswap/v3-periphery": "^1.1.1",
"@uniswap/v3-sdk": "^3.4.1",
"@uniswap/v2-sdk": "^4.4.1",
"@uniswap/v3-core": "^1.0.1",
"@uniswap/v3-periphery": "^1.4.4",
"@uniswap/v3-sdk": "^3.13.1",
"@web3-react/core": "^6.0.9",
"@web3-react/fortmatic-connector": "^6.0.9",
"@web3-react/injected-connector": "^6.0.7",
"@web3-react/metamask": "8.0.13-beta.0",
"@web3-react/portis-connector": "^6.0.9",
"@web3-react/walletconnect": "8.0.18-beta.0",
"@web3-react/walletconnect-connector": "^7.0.2-alpha.0",
"@web3-react/walletlink-connector": "^6.2.3",
"@web3-react/walletlink-connector": "^6.2.13",
"ajv": "^6.12.3",
"array.prototype.flat": "^1.2.4",
"array.prototype.flatmap": "^1.2.4",
Expand All @@ -88,8 +86,6 @@
"eslint-plugin-react-hooks": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"ethers": "^5.4.6",
"graphql": "^15.5.0",
"graphql-request": "^3.4.0",
"inter-ui": "^3.13.1",
"jest-styled-components": "^7.0.5",
"luxon": "^1.25.0",
Expand Down Expand Up @@ -134,23 +130,23 @@
"workbox-routing": "^6.1.0"
},
"resolutions": {
"@walletconnect/ethereum-provider": "1.6.5"
"@walletconnect/ethereum-provider": "1.7.1"
},
"scripts": {
"contracts:compile:abi": "typechain --target ethers-v5 --out-dir src/abis/types './src/abis/**/*.json'",
"contracts:compile:v3": "typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'",
"contracts:compile": "yarn contracts:compile:abi && yarn contracts:compile:v3",
"graphql:generate": "graphql-codegen --config codegen.yml",
"prei18n:extract": "touch src/locales/en-US.po",
"i18n:extract": "lingui extract --locale en-US",
"i18n:compile": "yarn i18n:extract && lingui compile",
"postinstall": "yarn contracts:compile && yarn graphql:generate && yarn i18n:compile",
"start": "react-scripts start",
"build": "react-scripts build",
"postinstall": "yarn contracts:compile && yarn i18n:compile",
"start": "yarn i18n:compile && react-scripts start",
"build": "yarn i18n:compile && react-scripts build",
"test": "react-scripts test --env=./custom-test-env.js",
"test:e2e": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run --record'",
"bundle": "microbundle --tsconfig tsconfig.lib.json src/lib/index.tsx --format esm,cjs",
"cosmos": "open http://localhost:5000 && cross-env FAST_REFRESH=false cosmos"
"cosmos": "open http://localhost:5000 && cross-env FAST_REFRESH=false cosmos",
"lint": "eslint ./"
},
"eslintConfig": {
"extends": "react-app",
Expand All @@ -171,5 +167,14 @@
]
},
"license": "GPL-3.0-or-later",
"dependencies": {}
"dependencies": {
"@chakra-ui/react": "^1.8.7",
"@emotion/react": "^11.8.2",
"@material-ui/core": "^4.12.3",
"@uauth/web3-react": "^2.2.0",
"framer-motion": "4.1.17",
"react-toastify": "^8.2.0",
"web3-utils": "^1.7.1",
"yarn": "^1.22.22"
}
}
Binary file modified public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon_uni.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/192x192_App_Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading