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

Add #1

Open
wants to merge 3,947 commits into
base: staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3947 commits
Select commit Hold shift + click to select a range
fb61e88
chore: Update Uikit
ape-fede Feb 22, 2023
08fe88e
fix: Updated graphs to accept polygon error
Prof-SD Feb 23, 2023
2ae5198
Merge branch 'staging' into feat/avanger-dao
ape-fede Feb 23, 2023
a4c01a4
Increment lists pckg version
efeDaniels Feb 23, 2023
440967d
Merge pull request #1471 from ApeSwapFinance/info-fix
obiedobo Feb 23, 2023
00b21af
fix: Removed Telos graph while waiting on fix
Prof-SD Feb 23, 2023
4c55408
Merge pull request #1473 from ApeSwapFinance/info-fix
Harambe-Nakamoto Feb 23, 2023
26acb8c
Merge pull request #1472 from ApeSwapFinance/staging
obiedobo Feb 23, 2023
f072483
chore: Partial progress
ape-fede Feb 23, 2023
c33cbf3
chore: Telos farms and bills fix
ape-fede Feb 23, 2023
4532579
Merge pull request #1474 from ApeSwapFinance/staging
obiedobo Feb 23, 2023
da64056
TOKO Bill
obiedobo Feb 24, 2023
e1a5a8a
chore: Updated uikit to add madwallet
ape-fede Feb 24, 2023
c1ae252
chore: Merged latest staging
ape-fede Feb 24, 2023
da26ddc
Merge pull request #1475 from ApeSwapFinance/staging
obiedobo Feb 24, 2023
1225393
chore: Update uikit
ape-fede Feb 24, 2023
d038617
Merge pull request #1466 from ApeSwapFinance/feat/new-connect-modal
obiedobo Feb 24, 2023
518bac8
Merge pull request #1476 from ApeSwapFinance/staging
obiedobo Feb 24, 2023
0bbb359
chore: Added body to risk tooltip
ape-fede Feb 27, 2023
55fef43
chore: Fixed tooltip positioning
ape-fede Feb 27, 2023
ae407d6
chore: Fixed tag colors
ape-fede Feb 27, 2023
e58e178
chore: New default tutorial
ape-fede Feb 27, 2023
b628c81
Merge pull request #1478 from ApeSwapFinance/feat/new-default-tutorial
obiedobo Feb 27, 2023
5f856d6
chore: Removed very low and very high tags
ape-fede Feb 27, 2023
e018196
Merge pull request #1479 from ApeSwapFinance/staging
obiedobo Feb 27, 2023
1ced059
chore: Increment list and token-list repos
efeDaniels Mar 1, 2023
0c9f3bd
List Update to Revert AXN
obiedobo Mar 1, 2023
22368c7
Merge pull request #1480 from ApeSwapFinance/staging
obiedobo Mar 1, 2023
6be923a
chore: Initial configs
ape-fede Mar 2, 2023
f216a93
chore: Fixed router
ape-fede Mar 3, 2023
faa319f
chore: Created constants file
ape-fede Mar 3, 2023
f7e88e6
chore: Set grey color when call fails
ape-fede Mar 3, 2023
27dd4ea
Merge pull request #1455 from naked-nuts/feat/apestats-masterchefv2
obiedobo Mar 3, 2023
033468c
Merge pull request #1477 from ApeSwapFinance/feat/avanger-dao
obiedobo Mar 3, 2023
810cbbb
Merge pull request #1482 from ApeSwapFinance/staging
obiedobo Mar 3, 2023
3c44e0b
chore: Updated navbar to match arbitrum products
ape-fede Mar 3, 2023
e46db06
chore: Increment lists and token lists versions
efeDaniels Mar 5, 2023
81b2c9a
Merge pull request #1483 from ApeSwapFinance/staging
obiedobo Mar 5, 2023
72c92d4
Increment List for New Bill
obiedobo Mar 6, 2023
eaf2f7c
Merge pull request #1484 from ApeSwapFinance/staging
obiedobo Mar 6, 2023
d5b9cf5
chore: Update network icons
ape-fede Mar 6, 2023
f7fe0af
chore: Increment lists/tokenlists repos
efeDaniels Mar 8, 2023
ea427c8
Merge pull request #1485 from ApeSwapFinance/staging
obiedobo Mar 8, 2023
5f520ec
chore: Updated contracts and uikit
ape-fede Mar 9, 2023
eaef7b3
chore: Dummy commit to trigger deploy
ape-fede Mar 9, 2023
dd1876c
chore: Remove console log
ape-fede Mar 9, 2023
27c4d37
chore: Updated sdk
ape-fede Mar 9, 2023
bd237d6
chore: Updated token list for DAI
ape-fede Mar 9, 2023
f89416b
chore: Updated zap contract
ape-fede Mar 10, 2023
d46a485
chore: Update zap and smartrouter
ape-fede Mar 10, 2023
27629f2
chore: New token list
obiedobo Mar 10, 2023
36bfade
chore: Add final token list
obiedobo Mar 11, 2023
aeb76b5
chore: Sushi arbi prce getter
obiedobo Mar 13, 2023
686f091
chore: Tutorial modal
obiedobo Mar 13, 2023
7294280
chore: Added arbitrum to moonpay supported chains
ape-fede Mar 13, 2023
e116eca
chore: Updated zapInputList
ape-fede Mar 13, 2023
e87f1c6
chore: Bills coming soon
ape-fede Mar 13, 2023
3c3df87
chore: Final cleanup
ape-fede Mar 13, 2023
446d0ab
chore: Update BNB Pricegetter
obiedobo Mar 13, 2023
e2b2f13
chore: Final cleanup for arbitrum branch
ape-fede Mar 14, 2023
36a076e
chore: Merged latest staging
ape-fede Mar 14, 2023
d3fe134
chore: Fixed lint error
ape-fede Mar 14, 2023
17e7e51
Merge pull request #1481 from ApeSwapFinance/feat/arbitrum
obiedobo Mar 14, 2023
ff20990
Merge pull request #1486 from ApeSwapFinance/chore/bnb-pricegetter
obiedobo Mar 14, 2023
c2b1a4b
Merge pull request #1487 from ApeSwapFinance/staging
obiedobo Mar 14, 2023
5e47965
chore: Arbitrum bills banners
ape-fede Mar 14, 2023
28cb1cd
Merge pull request #1488 from ApeSwapFinance/staging
obiedobo Mar 14, 2023
f4a398d
fix: Price getter reversion
obiedobo Mar 14, 2023
e7a6b88
Merge pull request #1489 from ApeSwapFinance/staging
obiedobo Mar 14, 2023
40396f7
chore: Increment lists and swap priceGetter
efeDaniels Mar 14, 2023
8403561
Increment Lists version
efeDaniels Mar 14, 2023
56e07e6
feat: Added Arbitrum data to info page
Prof-SD Mar 15, 2023
efa3482
chore: Update lock file
obiedobo Mar 15, 2023
a8af4c9
chore: Force deploy
obiedobo Mar 15, 2023
37509d5
chore: Update lock file
obiedobo Mar 15, 2023
61b6d28
Merge pull request #1491 from ApeSwapFinance/staging
obiedobo Mar 15, 2023
b51ff1e
Increment lists and tokenlists versions
efeDaniels Mar 15, 2023
6171f8a
Stader JF
obiedobo Mar 16, 2023
228e629
Merge pull request #1493 from ApeSwapFinance/staging
obiedobo Mar 16, 2023
be4d6cc
Increment lists version
efeDaniels Mar 16, 2023
7a96ce4
Merge pull request #1494 from ApeSwapFinance/staging
obiedobo Mar 16, 2023
5effda2
feat: Updated icons to use set icon instead of native currency
Prof-SD Mar 16, 2023
b9c451c
fix: Updated to allow for data that isn't 7 days old yet
Prof-SD Mar 16, 2023
7bc5893
fix: Updated telos chain to use saved ID
Prof-SD Mar 17, 2023
aea51f3
feat: Added Arbitrum to Total Trade Volume dashboard
n0mbr3al3at0r10 Mar 17, 2023
3867725
Update package.json
obiedobo Mar 17, 2023
fb025be
Merge branch 'staging' into arbitrum-update
obiedobo Mar 17, 2023
c681587
Merge pull request #1492 from ApeSwapFinance/arbitrum-update
obiedobo Mar 17, 2023
d1991de
Merge pull request #1496 from ApeSwapFinance/staging
obiedobo Mar 17, 2023
66fc766
chore: Home view for desktop
ape-fede Mar 17, 2023
a3f9f43
Update package.json
obiedobo Mar 19, 2023
a76e0e6
Merge pull request #1498 from ApeSwapFinance/staging
obiedobo Mar 19, 2023
9b90b40
Merge pull request #1495 from ApeSwapFinance/feat/arbitrum-dashboard
n0mbr3al3at0r10 Mar 20, 2023
c211b8a
Merge pull request #1499 from ApeSwapFinance/staging
obiedobo Mar 20, 2023
cffd34d
chore: Mobile version
ape-fede Mar 20, 2023
ab850ee
chore: Fix title size
ape-fede Mar 20, 2023
530926f
Increment lists version
efeDaniels Mar 21, 2023
bc296eb
Merge pull request #1500 from ApeSwapFinance/staging
obiedobo Mar 21, 2023
bd2d730
Increment token-lists version
efeDaniels Mar 21, 2023
3b93704
Merge pull request #1501 from ApeSwapFinance/staging
obiedobo Mar 21, 2023
44b6828
chore: Final UI adjustments
ape-fede Mar 21, 2023
9b5c459
Increment lists version
efeDaniels Mar 22, 2023
911ab1e
Merge pull request #1502 from ApeSwapFinance/staging
obiedobo Mar 22, 2023
e9a7a49
chore: Increment token-lists version
efeDaniels Mar 22, 2023
6dff86d
chore: Arbi chain selector color
obiedobo Mar 23, 2023
3a77fb6
Merge pull request #1503 from ApeSwapFinance/staging
obiedobo Mar 23, 2023
3a2e137
chore: Increment to disable vaults
obiedobo Mar 23, 2023
80d91b8
Merge pull request #1504 from ApeSwapFinance/staging
obiedobo Mar 23, 2023
5b0149a
chore: Partial progress
ape-fede Mar 23, 2023
5c9c848
chore: Arbitrum styling
obiedobo Mar 23, 2023
3666c5e
chore: Added v3 slide
ape-fede Mar 23, 2023
f0fa68c
chore: Update limit orders
obiedobo Mar 23, 2023
a5c67c3
Merge pull request #1505 from ApeSwapFinance/staging
obiedobo Mar 24, 2023
e9b14ff
chore: Desktop fix
ape-fede Mar 24, 2023
0d02f2a
chore: Fix wrapped native token
ape-fede Mar 24, 2023
bb57d7b
chore: Merged latest staging
ape-fede Mar 24, 2023
7d8fa8d
chore: Fixed arbitrum icon on infopage
ape-fede Mar 24, 2023
9640b6e
chore: Fixed bills icons
ape-fede Mar 24, 2023
d3aec69
chore: Removed console log
ape-fede Mar 24, 2023
3c948d5
chore: Changed slide size
ape-fede Mar 27, 2023
a9827ba
chore: Changed slide size
ape-fede Mar 27, 2023
5219675
chore: Adjusted dark mode circles
ape-fede Mar 27, 2023
460df43
Increment lists version
efeDaniels Mar 27, 2023
19f8c94
Increment lists version
efeDaniels Mar 28, 2023
9249bdc
Merge pull request #1506 from ApeSwapFinance/staging
obiedobo Mar 28, 2023
2e476fe
chore: New Uikit, yellow shadow fix & chain Icons list
ape-fede Mar 28, 2023
8fb4f45
refactor: Improve chain selector
Mar 28, 2023
1147ae8
refactor: Use chain ids from apeswap sdk
Mar 28, 2023
e67f450
refactor: Use object to index chain icons
Mar 28, 2023
1dacc43
refactor: Use object to index chain name
Mar 28, 2023
9fdf830
chore: Renamed arg name to improve readability
Mar 28, 2023
d3f0f79
chore: Remove unnecessary brackets
Mar 29, 2023
519d33e
chore: Use test API
Mar 29, 2023
e42d8aa
chore: Fixed small bugs
ape-fede Mar 29, 2023
e6a458e
chore: Fixed dots slides
ape-fede Mar 29, 2023
86c538e
Merge pull request #1497 from ApeSwapFinance/feat/lite-homepage
obiedobo Mar 29, 2023
0de11ca
chore: Remove V3 content
obiedobo Mar 29, 2023
6ef8f44
chore: Added zIndex to single slides
ape-fede Mar 29, 2023
83326ec
feat: Add v3 toggle
Harambe-Nakamoto Mar 29, 2023
ccb06a5
Merge pull request #1508 from ApeSwapFinance/staging
obiedobo Mar 29, 2023
c7f36fe
Increment lists repo
efeDaniels Mar 29, 2023
b8a1399
Merge pull request #1510 from ApeSwapFinance/staging
obiedobo Mar 30, 2023
5967b38
chore: Squid bridge
ape-fede Mar 30, 2023
80f9e7f
chore: Toggle conditions
Harambe-Nakamoto Mar 30, 2023
42c44d4
chore: Change switch condition
Harambe-Nakamoto Mar 30, 2023
4926277
ORBS listing
obiedobo Mar 31, 2023
3c9b6af
Merge pull request #1512 from ApeSwapFinance/staging
obiedobo Mar 31, 2023
be5fed1
Update package.json
obiedobo Mar 31, 2023
5879366
Merge pull request #1513 from ApeSwapFinance/staging
obiedobo Mar 31, 2023
28f83b4
Merge pull request #1509 from ApeSwapFinance/feat/v3-toggle
obiedobo Apr 4, 2023
f6fce92
fix: Add v3 links
Prof-SD Apr 4, 2023
288a7b9
Merge pull request #1514 from ApeSwapFinance/staging
obiedobo Apr 4, 2023
9350616
fix: Add v3 links
Prof-SD Apr 4, 2023
31b3305
Merge pull request #1515 from ApeSwapFinance/v3-info-changes
obiedobo Apr 5, 2023
63cdf27
Merge pull request #1516 from ApeSwapFinance/staging
obiedobo Apr 5, 2023
66077c7
refactor: Add missing type for selected chain
Apr 5, 2023
a394311
chore: Update homepage to handle V3 component
obiedobo Apr 5, 2023
722d97a
chore: Add chains to links
obiedobo Apr 5, 2023
80cc18d
chore: Autonomy package update
obiedobo Apr 5, 2023
87d9145
chore: Changed learn more URL
ape-fede Apr 6, 2023
9614c93
Merge pull request #1517 from ApeSwapFinance/chore/v3-homepage
obiedobo Apr 6, 2023
7cebc25
chore: Delay and link
obiedobo Apr 6, 2023
c92e95a
Merge pull request #1518 from ApeSwapFinance/staging
obiedobo Apr 6, 2023
ee7116e
Merge pull request #1507 from naked-nuts/feat/arbitrum-stats-page
obiedobo Apr 6, 2023
0ba5770
chore: Url update
obiedobo Apr 6, 2023
6168bbc
chore: Remove unnecessary link
obiedobo Apr 6, 2023
0dc9a4a
chore: Fixed title size
ape-fede Apr 6, 2023
81cb280
Merge branch 'staging' of https://github.com/ApeSwapFinance/apeswap-f…
ape-fede Apr 6, 2023
2e73b49
Merge pull request #1519 from ApeSwapFinance/staging
obiedobo Apr 6, 2023
06cb3ec
chore: Update delay time
obiedobo Apr 6, 2023
b19083a
chore: Initial changes to bonds
obiedobo Apr 7, 2023
a8ca717
chore: More cleanup
obiedobo Apr 7, 2023
1c2e27b
chore: Sold out to title case
obiedobo Apr 7, 2023
2c55925
chore: Homepage bills swap
obiedobo Apr 7, 2023
11828d2
chore: Merged latest staging
ape-fede Apr 7, 2023
d3b2bfb
chore: Bond name changes
obiedobo Apr 7, 2023
ea5ba8e
chore: Wording reversion
obiedobo Apr 7, 2023
83ba47b
chore: Fixed hidden icons
ape-fede Apr 10, 2023
45f8f46
Merge pull request #1520 from ApeSwapFinance/chore/bills-to-bonds
obiedobo Apr 10, 2023
869dfa7
chore: Terms fix
obiedobo Apr 10, 2023
ec793b6
Merge pull request #1521 from ApeSwapFinance/staging
obiedobo Apr 10, 2023
3099cfc
chore: Name fix
obiedobo Apr 11, 2023
0b3c936
DIB Listing
obiedobo Apr 11, 2023
888d1aa
Merge pull request #1522 from ApeSwapFinance/staging
obiedobo Apr 11, 2023
df1af50
chore: Add 4th graphic bonds tutorial
obiedobo Apr 12, 2023
0a015b9
Merge pull request #1511 from ApeSwapFinance/feat/Squid-Bridge
Apegurus Apr 12, 2023
2958049
Merge pull request #1523 from ApeSwapFinance/staging
Apegurus Apr 12, 2023
989d254
chore: Increment token-lists PR
efeDaniels Apr 12, 2023
a96bee1
Merge pull request #1524 from ApeSwapFinance/staging
Apegurus Apr 12, 2023
11a34c0
Increment lists repo
efeDaniels Apr 13, 2023
b469572
Merge pull request #1525 from ApeSwapFinance/staging
Apegurus Apr 14, 2023
3f72547
chore: Initial work on bond types
obiedobo Apr 18, 2023
fe24b94
Update package.json
obiedobo Apr 18, 2023
d2d1925
Merge pull request #1527 from ApeSwapFinance/staging
obiedobo Apr 18, 2023
699a4f6
chore: Increment launch version
obiedobo Apr 20, 2023
900c71f
chore: Temp API hookup
obiedobo Apr 20, 2023
3debeeb
chore: Ready for review
obiedobo Apr 20, 2023
55e344d
chore: Increment ui kit
obiedobo Apr 20, 2023
d2bedcc
chore: Bond warning
obiedobo Apr 21, 2023
37642dc
chore: Terms update
obiedobo Apr 22, 2023
0a58c19
chore: Update bold
obiedobo Apr 22, 2023
b3336bf
chore: Wording tweak
obiedobo Apr 22, 2023
3e65f60
chore: Change test workflow
obiedobo Apr 22, 2023
1b5c40f
Merge pull request #1528 from ApeSwapFinance/staging
obiedobo Apr 22, 2023
09e69a7
chore: Final ui kit and types
obiedobo Apr 23, 2023
61e4a17
chore: Merged main
obiedobo Apr 23, 2023
ca03631
Increment lists version
efeDaniels Apr 24, 2023
0b01531
Increment lists version
efeDaniels Apr 24, 2023
736db34
Merge pull request #1529 from ApeSwapFinance/staging
obiedobo Apr 24, 2023
e3981ce
chore: Final bond types changes
obiedobo Apr 25, 2023
45a3b33
chore: Changed bills for bond on defiRedefined slide
ape-fede Apr 25, 2023
3db5469
Merge branch 'staging' into feat/bond-types
obiedobo Apr 25, 2023
115f165
chore: Final changes for bond type
obiedobo Apr 25, 2023
7e55ef4
Merge pull request #1526 from ApeSwapFinance/feat/bond-types
obiedobo Apr 25, 2023
60f2f54
Merge branch 'main' into staging
obiedobo Apr 25, 2023
6236b02
Increment lists repo
efeDaniels Apr 26, 2023
95d1d5d
chore: Replace homepage image
obiedobo Apr 26, 2023
b2683cd
feat: Added POL V3 compatibility
n0mbr3al3at0r10 Apr 26, 2023
885b121
fix: Added index to key to fix duplicates
n0mbr3al3at0r10 Apr 26, 2023
276e378
Increment token-lists repo
efeDaniels Apr 26, 2023
2443ebf
Increment lists repo
efeDaniels Apr 27, 2023
093ab81
Update package.json
obiedobo Apr 27, 2023
2ad07aa
Merge pull request #1532 from ApeSwapFinance/feat/dashboard-v3-positions
n0mbr3al3at0r10 Apr 27, 2023
69c1dd9
chore: Readme to trigger deploy
obiedobo Apr 27, 2023
1dd1abd
chore: KKC flag
obiedobo Apr 27, 2023
e806283
chore: KKC listing
obiedobo Apr 28, 2023
fdd42d0
chore: Dummy token staging link
obiedobo Apr 28, 2023
f97ec25
chore: Remove yalc
obiedobo Apr 28, 2023
2ede842
chore: New KKC logo
obiedobo Apr 28, 2023
0fd4389
Merge branch 'staging' of https://github.com/ApeSwapFinance/apeswap-f…
obiedobo Apr 28, 2023
73748ca
chore: Final launch bonds
obiedobo Apr 28, 2023
f8115cd
Merge pull request #1535 from ApeSwapFinance/chore/kkc-prep
obiedobo Apr 28, 2023
0f00828
chore: Fix Service card
ape-fede Apr 28, 2023
cb0ef5f
chore: Increment list and tokenlists versions
efeDaniels May 1, 2023
9e34d35
chore: Updated token-lists version
efeDaniels May 1, 2023
e2cf793
chore: Increment token-lists repo
efeDaniels May 1, 2023
35e9d7b
chore: Increment token-lists version
efeDaniels May 3, 2023
dc4dfd3
Increment token-lists repo
efeDaniels May 3, 2023
543ed57
chore: Increment token-lists/lists versions
efeDaniels May 4, 2023
61f0a48
Increment lists version
efeDaniels May 5, 2023
5916347
chore: Risk scanner change
May 6, 2023
7faac46
chore: Bond design changes
obiedobo May 9, 2023
c65472e
Merge pull request #1545 from ApeSwapFinance/chore/bond-temp-changes
obiedobo May 9, 2023
fb98fb2
chore: Bond type tracking
obiedobo May 10, 2023
68a0a87
Update tokenlists version
efeDaniels May 11, 2023
813b954
Update lists version
efeDaniels May 11, 2023
a7df941
chore: KKC modal removed
obiedobo May 13, 2023
c2951ed
Increment lists version
efeDaniels May 16, 2023
eaaee84
Increment token-lists version
efeDaniels May 17, 2023
eade8b1
Increment token-lists version
efeDaniels May 17, 2023
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
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ REACT_APP_NODE_2 = "https://data-seed-prebsc-2-s2.binance.org:8545"

# 10+ nodes balanced in each region, global
REACT_APP_NODE_3 = "https://data-seed-prebsc-2-s2.binance.org:8545"

# Unstoppable Domains Login
REACT_APP_UD_REDIRECT_URI = "http://localhost:3000"
REACT_APP_UD_CLIENT_ID = "e5ecd7a9-f5ed-481f-9a6f-d73ccb3b1f72"
4 changes: 4 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ REACT_APP_NODE_2 = "https://bsc-dataseed1.defibit.io"

# 10+ nodes balanced in each region, global
REACT_APP_NODE_3 = "https://bsc-dataseed.binance.org"

# Unstoppable Domains Login
REACT_APP_UD_REDIRECT_URI = "https://apeswap.finance"
REACT_APP_UD_CLIENT_ID = "06132eb4-eaf8-468c-8fe8-43cf6bfc85cd"
22 changes: 17 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,35 @@
"browser": true,
"jest": true
},
"extends": "@apeswapfinance/eslint-config-apeswap",
"extends": [
"react-app",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"rules": {
"no-console": ["warn", { "allow": ["info", "warn", "error"] }],
"no-console": ["warn", { "allow": ["info", "warn", "error", "debug"] }],
"no-plusplus": 0,
"prefer-destructuring": ["warn", { "object": true, "array": false }],
"camelcase": ["error", { "allow": ["trait_type", "user_id"] }],
"no-underscore-dangle": 0,
"import/prefer-default-export": 0,
// Start temporary rules
// These rules are here just to keep the lint error to 0 during the migration to the new rule set
// They need to be removed and fixed as soon as possible
"@typescript-eslint/ban-ts-comment": [1, { "ts-ignore": false, "ts-nocheck": false }],
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-interface": 0,
"radix": 0,
"import/no-extraneous-dependencies": 0,
"react/require-default-props": 0,
"react/no-unused-prop-types": 0
"react/require-default-props": 0,
"react/no-unused-prop-types": 0,
"no-param-reassign": 0,
"no-nested-ternary": 0
// End temporary rules
}
}
}
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/apeswap-task-grant.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: ApeSwap Task Grant
about: Template for ApeSwap task grants
title: 'Grant #XXX - [TITLE]'
labels: task grant
assignees: obiedobo

---

# Overview
<Provide a general overview of the requested feature, update, or improvement>

## Requirements
<Describe the scope, do's, and don'ts of this contribution>

## Implementation
<Provide any notes on implementation here>

## Compensation
<Provide specifics on compensation here>

## Notes
- Please read and adhere to the to the [contributing guidelines](https://github.com/ApeSwapFinance/apeswap-frontend/blob/staging/CONTRIBUTING.md) before making a submission.
- ApeSwap grants are first come first serve. We will review high quality submissions in the order they are provided, as long as they're high quality and meet all requirements.
- Please test locally before submitting a pull request.
- All requirements must be explicitly met before a grant is delivered.
22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''

---


19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

7 changes: 0 additions & 7 deletions .github/ISSUE_TEMPLATE/something-else.md

This file was deleted.

8 changes: 4 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[ ] Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/master/CONTRIBUTING.md) first
[ ] If your PR is work in progress, open it as `draft`
[ ] Before requesting a review, all the checks need to pass
[ ] Explain what your PR does
- [] Before opening a pull request, please read ApeSwap's [contributing guidelines](https://github.com/ApeSwapFinance/apeswap-frontend/blob/staging/CONTRIBUTING.md).
- [] Explain what your PR does & please link it to a grant/issue if applicable.
- [] If your PR is for a grant, please provide contact & fund recipient information in the PR.
- [] If your PR is work in progress, open it as a `draft`.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ on: push
jobs:
build:
runs-on: ubuntu-latest
runs:
- using: 'node16'
steps:
- uses: actions/checkout@v2
- name: Install modules
run: yarn
env:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Run Jest tests
run: yarn test
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
.eslintcache

# local env files
*.env
.env.local
.env.development.local
.env.test.local
Expand All @@ -35,4 +36,13 @@ yarn-error.log*
.vscode/launch.json
.vscode/settings.json

yalc*
yalc.lock*

src/config/abi/types

# iCloud generated
*.icloud

# yalc folder
.yalc
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn format:check:staged
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@apeswapfinance:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}
always-auth=true
always-auth=true
73 changes: 30 additions & 43 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,65 +1,52 @@
# Contributing to the ApeSwap ecosystem 🥞
# 🐵 Contributing to the ApeSwap DAO

Thanks for taking the time to contribute !
Hello fellow ape! 🍌 Thanks so much for taking the time our to consider contributing to the ever-growing ApeSwap DAO.

While all contributions are appreciated & welcome, we favor & prioritize tasks/grants on our [issues backlog](https://github.com/ApeSwapFinance/apeswap-frontend/issues). There are a range of opportunities for individuals and teams across all skill levels -- most with financial incentives attached to them!

## Setup
Additionally, if you have suggestions on contribution ideas, but don't see a grant for them, please don't hesistate to reach out to [Obie Dobo](https://t.me/obiedobo) with your ideas.

Create a `.env.development.local` file at the root of the project. Add the following lines inside :
## Contribution Details

```
REACT_APP_CROWDIN_APIKEY = ""
REACT_APP_CROWDIN_PROJECTID = ""
```
If you choose to take on a contribution (even more importantly a grant task or project), there are a few crucial considerations & rules to be aware of:

- We review in first come first serve basis, so long as the PRs are high quality, meet requirements, and are relevant.
- Please tag `obiedobo` in the reviewers of your PR.
- Ensure your code is working locally before submitting a PR.
- No debugging console logs, but error messages which do not loop may be helpful for debugging production code.
- PRs with excessive changes to files like the `package-lock.json` will be automatically reverted. Please review before you submit.
- Branch off of & submit your pull requests into the latest `staging` branch.
- Use components in the [official ApeSwap UI Kit](https://github.com/ApeSwapFinance/apeswap-uikit) for contributions.

You'll need this in order to get the i18n system to work. Contact a dev if you need these values.
## Getting Up & Running

Install the dependencies
Getting up and running with the `apeswap-frontend` repo is a super simple, 2 step process:

```shell
1. Clone the repo
2. Install dependencies

To do this, open a terminal and run the following commands:

```
git clone https://github.com/ApeSwapFinance/apeswap-frontend.git
cd apeswap-frontend
yarn
yarn start
```

Don't forget to setup your IDE with `eslint` and `prettier`.

## Projet structure
Once everything is downloaded & installed, simply run `npm run start` to run the repo locally.

and don't forget to setup your IDE with `eslint` and `prettier`!

## Project structure

- **components** contains generic components used inside the application.
- **views** contains building blocks for each page. The entry point of a view is used as the root component of each route.
- **config** contains all the config files and ABIs.
- **state** contains the redux files for the global state of the app.
- **context** contains global contexts (separated from the redux store)
- **contexst** contains global contexts (separated from the redux store)
- **hooks** contains generic hooks.
- **utils** contains generic utilities functions.

## Tests

Run tests with `yarn test`.

## Localisation

_In order for the Crowdin API queries to work - you will need `REACT_APP_CROWDIN_APIKEY` & `REACT_APP_CROWDIN_PROJECTID` env variables set in your root `.env.development.local` file_

### Adding translations

A hook expose the function you need to translate content.

```
import useI18n from 'hooks/useI18n'
...
const TranslateString = useI18n()
...
TranslateString(id, 'fallback')
```

- **id** is the crowdin id of the string you want to translate.
- **fallback** is a string fallback used if the id cannot be found.

### Variables

The translation component can handle variables being passed in from Crowdin, with no code changes.

It will only work if there is only **one** variable passed in, and if that variable within Crowdin is wrapped in **%** signs, i.e.:


38 changes: 36 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# 🍌 ApeSwap Frontend

This project contains the main features of the ApeSwap application.
The `apeswap-frontend` repo is the primary frontend repository for [ApeSwap.Finance](https://apeswap.finance), which is a multichain DeFi Hub offering an accessible, transparent, and secure experience for everyone.

If you want to contribute, please refer to the [contributing guidelines](./CONTRIBUTING.md) of this project.
## Contributions

If you want to contribute to this repo, please refer to the [contributing guidelines](./CONTRIBUTING.md).

## Getting Started

Getting up and running with the `apeswap-frontend` repo is a super simple, 2 step process:

1. Clone the repo
2. Install dependencies

To do this, open a terminal and run the following commands:

```
git clone https://github.com/ApeSwapFinance/apeswap-frontend.git
cd apeswap-frontend
yarn
```

Once everything is downloaded & installed, simply run `npm run start` to run the repo locally.

### Learn More About ApeSwap

Interested in learning more about ApeSwap.Finance? Head over to our [official documentation](https://apeswap.gitbook.io/apeswap-finance/welcome/master) to read and learn more about our features, functionality, DAO, and ecosystem! 😊

#### Socials

- 📰 Medium (Our Blog): https://ape-swap.medium.com
- 🐦 Twitter: https://twitter.com/ape_swap
- 💬 Telegram Main Group: https://t.me/ape_swap
- 💬 Telegram Announcements: https://t.me/ape_swap_news
- 🖥 GitHub: https://github.com/ApeSwapFinance
- 🤳 Instagram: https://instagram.com/apeswap.finance
- 🤩 Reddit: https://www.reddit.com/r/Apeswap/
- 👾 Discord: https://discord.gg/apeswap
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
preset: 'ts-jest',
setupFilesAfterEnv: ['jest-canvas-mock'],
moduleDirectories: ['node_modules', 'src'],
}
Loading