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

Refactor for tokenlist generation script for start getting ready for multichain #357

Open
wants to merge 249 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
249 commits
Select commit Hold shift + click to select a range
f830df8
chore: trim code which is only used for V1 data
TomAFrench Jun 23, 2021
38d9463
refactor: migrate to typescript
TomAFrench Jun 23, 2021
1e4a20f
refactor: break down script and move into separate files
TomAFrench Jun 23, 2021
4c35ae1
build: replace npm with yarn
TomAFrench Jun 23, 2021
9d1f1c2
refactor: merge eligible and ui-non-eligible into vetted
TomAFrench Jun 24, 2021
0f4b264
refactor: stronger type on tokens
TomAFrench Jun 24, 2021
b315fb9
refactor: split out networks into different files
TomAFrench Jun 24, 2021
d3de37d
feat: add Polygon
TomAFrench Jun 25, 2021
c6bb3b9
feat: add some extra tokens + validation
TomAFrench Aug 13, 2021
0934007
commit recent changes to polygon/arbitrum token lists
TomAFrench Oct 7, 2021
1fb9024
Merge branch 'master' into refactor-for-multichain
TomAFrench Oct 7, 2021
f5a6fc7
feat: add Tracer DAO
TomAFrench Oct 11, 2021
b930064
feat: add DFX token
TomAFrench Nov 6, 2021
1e44e75
update jEUR icon
TomAFrench Nov 6, 2021
e18fff4
fix: correct icon urls
TomAFrench Nov 6, 2021
b9f91b8
feat: add TUSD token
TomAFrench Nov 6, 2021
f479c83
feat: add TUSD to arbitrum list
TomAFrench Nov 10, 2021
b23653d
feat: add DHT
TomAFrench Nov 10, 2021
1f81658
feat: add DHedge DUSD
TomAFrench Dec 1, 2021
ffdc32a
feat: add INDEX, MVI and DATA
TomAFrench Dec 1, 2021
61a8c57
feat: add untrusted lists for polygon and arbitrum
TomAFrench Dec 4, 2021
6eea205
refactor: rate limit calls to CoinGecko
TomAFrench Dec 4, 2021
5198460
feat: allow selecting which network to build for from cli args
TomAFrench Dec 4, 2021
9315a5b
feat: add THX token
TomAFrench Dec 7, 2021
643fc3e
Merge branch 'master' into refactor-for-multichain
TomAFrench Dec 14, 2021
369f9c3
refactor: move tokenlist util functions to new folder
TomAFrench Jan 5, 2022
778c0f4
refactor: move ipfs code to src
TomAFrench Jan 5, 2022
cf87c19
refactor: use previous version of tokenlist to provide metadata for e…
TomAFrench Jan 5, 2022
54a2f9c
feat: avoid generating new tokenlist if no changes were made
TomAFrench Jan 5, 2022
eb77840
refactor: move metadata generation files to folder
TomAFrench Jan 5, 2022
a335b1b
feat: add BANK token to Polygon
TomAFrench Jan 6, 2022
e7268cc
fix: ensure that metadata overrides have checksum addresses
TomAFrench Jan 6, 2022
6456e6e
feat: add RAI
TomAFrench Jan 6, 2022
ca9aefb
feat: add SEED
TomAFrench Jan 6, 2022
b41ad1c
feat: add BIFI
TomAFrench Jan 6, 2022
f6f5aac
feat: add ENS to Polygon
TomAFrench Jan 6, 2022
a5026fe
feat: add GTC to polygon
TomAFrench Jan 6, 2022
b9c287f
generate tokenlists
TomAFrench Jan 6, 2022
09bc90a
Merge branch 'master' into refactor-for-multichain
TomAFrench Jan 10, 2022
8f3011f
refactor: remove unused file
TomAFrench Jan 10, 2022
63b7bdd
regenerate tokenlists
TomAFrench Jan 10, 2022
5f9062e
build: switch to using ethers subpackages directly
TomAFrench Feb 1, 2022
6c8f0a2
feat: add Vesta Finance
TomAFrench Feb 1, 2022
169b3a9
Merge branch 'master' into refactor-for-multichain
TomAFrench Feb 1, 2022
38816d2
chore: regenerate tokenlist
TomAFrench Feb 1, 2022
dfab9cd
feat: add DOPEX and DOPEX rebase tokens
TomAFrench Feb 1, 2022
29cb775
Add stMATIC on polygon
mikebmikeb Mar 3, 2022
6f1605f
Merge pull request #415 from mikebmikeb/patch-1
rabmarut Mar 3, 2022
450465b
Add logo for stMATIC
rabmarut Mar 3, 2022
24922d8
Fix ts legacy catch clause: unknown type
rabmarut Mar 3, 2022
dbd26f5
Generate config
rabmarut Mar 3, 2022
2add220
Merge pull request #416 from balancer-labs/stmatic
rabmarut Mar 3, 2022
798c6cd
Fix stMATIC name/logo
rabmarut Mar 3, 2022
a1faa5d
Merge pull request #417 from balancer-labs/stmatic
rabmarut Mar 3, 2022
2e89a8c
Add files via upload
zekraken-bot Mar 6, 2022
a5c6646
added GMX
zekraken-bot Mar 6, 2022
1c6041d
added GMX
zekraken-bot Mar 6, 2022
e374cdb
Checksum addresses
rabmarut Mar 8, 2022
09ed227
Generate config
rabmarut Mar 8, 2022
9f9eb18
Merge pull request #1 from balancer-labs/gmx
zekraken-bot Mar 8, 2022
9c9b714
Merge pull request #418 from zekraken-bot/refactor-for-multichain
rabmarut Mar 8, 2022
ef83784
Add MAGIC to arbitrum
rabmarut Mar 9, 2022
e932553
Convert webp to png
rabmarut Mar 9, 2022
121ff39
Fix ts version to ensure compatibility
rabmarut Mar 9, 2022
02c5de8
Generate config
rabmarut Mar 9, 2022
180fd36
Merge pull request #420 from balancer-labs/magic
rabmarut Mar 9, 2022
f4c196b
Fix image path for arbitrum
rabmarut Mar 9, 2022
e5a989f
Merge pull request #421 from balancer-labs/fix-image-paths
rabmarut Mar 9, 2022
f569b93
Adding MAI
zekraken-bot Mar 17, 2022
52b2c09
Generate config
rabmarut Mar 17, 2022
c276d5a
Merge pull request #427 from balancer-labs/zekraken_branch
rabmarut Mar 17, 2022
4dc11e4
Add STG arbitrum
zekraken-bot Mar 19, 2022
8b93206
add SAND
zekraken-bot Mar 21, 2022
e3683a0
add RBW token
zekraken-bot Mar 21, 2022
c78c56a
fixed URL for RBW
zekraken-bot Mar 21, 2022
84c7ecd
Fix checksums
rabmarut Mar 24, 2022
11808e0
Remove and ignore package-lock
rabmarut Mar 24, 2022
41a6416
Merge pull request #430 from balancer-labs/zk_branch_sidechain
rabmarut Mar 24, 2022
74c37ce
vst logo
zekraken-bot Apr 7, 2022
630259b
VST add
zekraken-bot Apr 7, 2022
6ea977e
VST added
zekraken-bot Apr 7, 2022
53423e1
frax and ust logo
zekraken-bot Apr 7, 2022
23cd88a
UST and FRAX add
zekraken-bot Apr 7, 2022
ce43c17
FRAX and UST add
zekraken-bot Apr 7, 2022
74c347b
add VST, FRAX, UST
zekraken-bot Apr 7, 2022
8a10d12
fixing generated for UST, FRAX, VST
zekraken-bot Apr 7, 2022
4f8684d
Merge pull request #439 from balancer-labs/zekraken_sidechain
rabmarut Apr 7, 2022
26ae41b
add MATICx
zekraken-bot May 3, 2022
f68d34b
added MATICx
zekraken-bot May 3, 2022
bc07023
add MATICx
zekraken-bot May 3, 2022
1d9416a
added MATICx
zekraken-bot May 3, 2022
00a460c
add CRE8R
zekraken-bot May 4, 2022
56321ad
Merge pull request #446 from balancer-labs/zekraken_sidechain
gerrrg May 6, 2022
43a3839
Merge pull request #451 from balancer-labs/refactor-for-multichain
zekraken-bot May 13, 2022
1a39d47
add indexcoop leverage tokens
zekraken-bot May 13, 2022
513ffc9
Merge pull request #452 from balancer-labs/zekraken_sidechain
gerrrg May 16, 2022
652aa49
add goerli to mulitchain version
mikemcdonald Jun 7, 2022
ed8b121
tabs :(
mikemcdonald Jun 7, 2022
dc28056
Merge pull request #458 from balancer-labs/mike/goerli
mikemcdonald Jun 7, 2022
0e36caf
fix broken override
mikemcdonald Jun 7, 2022
915f251
Merge pull request #459 from balancer-labs/mike/goerli
mikemcdonald Jun 7, 2022
2586dec
fix gnosis token
mikemcdonald Jun 9, 2022
fd1a8e4
Merge pull request #460 from balancer-labs/mike/goerli
mikemcdonald Jun 9, 2022
edf2597
add tetuBAL to whitelist
zekraken-bot Jun 24, 2022
f2db4c7
Merge pull request #471 from balancer-labs/zekraken_refactor
zekraken-bot Jun 24, 2022
8b7a39d
add balweth token for polygon
zekraken-bot Jun 24, 2022
a3c3fee
Merge pull request #472 from balancer-labs/zekraken_refactor
timjrobinson Jun 26, 2022
bb6caf1
add BICO to arbitrum
zekraken-bot Jul 2, 2022
86f06c7
Merge branch 'zekraken_refactor' of https://github.com/balancer-labs/…
zekraken-bot Jul 2, 2022
8c3d57a
Merge pull request #478 from balancer-labs/zekraken_refactor
timjrobinson Jul 4, 2022
d73ed48
adding stader to whitelist
zekraken-bot Jul 17, 2022
7c1a447
adding stader to whitelist
zekraken-bot Jul 17, 2022
ef9231c
Merge pull request #485 from balancer-labs/zekraken_refactor
markusbkoch Jul 17, 2022
23d8315
add miMATIC for goerli testing
mikemcdonald Aug 2, 2022
2567315
Merge pull request #497 from balancer-labs/mike/mai-testing
markusbkoch Aug 3, 2022
836b8c8
updating polygon tokens
zekraken-bot Aug 15, 2022
ed33235
Merge pull request #507 from balancer-labs/zekraken_refactor
zekraken-bot Aug 15, 2022
4426c92
add Phonon to whitelist
zekraken-bot Aug 16, 2022
440da4f
Merge pull request #508 from balancer-labs/zekraken_refactor
zekraken-bot Aug 16, 2022
43e3b2c
feat: add Lucha token
TomAFrench Aug 30, 2022
b61da69
add handle_fi tokens
zekraken-bot Sep 2, 2022
8163417
Merge pull request #517 from balancer-labs/zekraken_side
zekraken-bot Sep 2, 2022
f664ba6
add unicorn milk to whitelist
zekraken-bot Sep 16, 2022
8e870e4
Merge pull request #524 from balancer-labs/zekraken_side
zekraken-bot Sep 16, 2022
d721c90
add fitt to whitelist
zekraken-bot Sep 17, 2022
f878ccf
Merge pull request #525 from balancer-labs/zekraken_side
zekraken-bot Sep 17, 2022
89257ba
add wsteth to arbitrum
zekraken-bot Sep 18, 2022
f5673ba
Merge pull request #527 from balancer-labs/zekraken_side
zekraken-bot Sep 19, 2022
c54fb63
add DUSD to arbitrum
zekraken-bot Sep 21, 2022
5fd162f
add polygon boosted images
zekraken-bot Sep 21, 2022
85e2016
Merge pull request #531 from balancer-labs/zekraken_side
zekraken-bot Sep 21, 2022
f405a7b
add busd token to polygon
zekraken-bot Sep 23, 2022
2016cd8
Merge pull request #533 from balancer-labs/zekraken_side
zekraken-bot Sep 23, 2022
565b25a
adding amStable tokens
zekraken-bot Sep 23, 2022
57d9294
Merge pull request #534 from balancer-labs/zekraken_side
zekraken-bot Sep 23, 2022
e8cee24
add LDO to arbitrum
zekraken-bot Oct 8, 2022
ab6e72c
Merge pull request #536 from balancer-labs/zekraken_side
zekraken-bot Oct 9, 2022
7e91586
udpate for reaper optimism tokens
zekraken-bot Oct 27, 2022
db77875
add optimism, remove kovan
mikemcdonald Nov 2, 2022
3edf636
Merge pull request #545 from balancer-labs/mike/add-optimism
mikemcdonald Nov 4, 2022
5d24dfa
Merge branch 'refactor-for-multichain' into zekraken_side
mikemcdonald Nov 4, 2022
7767a69
Merge pull request #542 from balancer-labs/zekraken_side
mikemcdonald Nov 4, 2022
1c1677f
add Tetu to whitelist
zekraken-bot Nov 11, 2022
f18d892
Add BOB tokens to polygon and optimism
akolotov Nov 11, 2022
e93427d
Merge pull request #548 from balancer-labs/zekraken_side
zekraken-bot Nov 12, 2022
6d8b621
adding OP tokens to whitelist
zekraken-bot Nov 12, 2022
5a60c77
Merge pull request #550 from balancer-labs/zekraken_side
zekraken-bot Nov 13, 2022
abd44e1
Merge remote-tracking branch 'upstream/refactor-for-multichain' into …
akolotov Nov 13, 2022
9979d30
Add BOB token image
akolotov Nov 13, 2022
b7de6ea
fix issue with merge
akolotov Nov 13, 2022
691c38e
add tendie and new image for 80/20 polygon
zekraken-bot Nov 24, 2022
8f3b29f
Merge pull request #554 from balancer-labs/zekraken_side
zekraken-bot Nov 25, 2022
89e4047
add tetuQI to whitelist
zekraken-bot Nov 25, 2022
24bfc13
Merge pull request #555 from balancer-labs/zekraken_side
zekraken-bot Nov 26, 2022
9becd55
update TENDIE path
zekraken-bot Nov 28, 2022
9f5657a
Merge pull request #559 from balancer-labs/zekraken_side
zekraken-bot Nov 28, 2022
324ba81
Merge branch 'refactor-for-multichain' into refactor-for-multichain
zekraken-bot Nov 29, 2022
145b95c
Merge pull request #549 from akolotov/refactor-for-multichain
zekraken-bot Nov 29, 2022
8b0397c
add new wmatic image to polygon
zekraken-bot Dec 7, 2022
290b0c9
added csMatic
Dec 15, 2022
46bf1a9
update token whitelist
zekraken-bot Dec 21, 2022
eeb2f84
Merge pull request #566 from balancer-labs/zekraken_side
zekraken-bot Dec 21, 2022
5b1ff56
Update urls on generate files
jacob-abe Dec 23, 2022
b9a297c
Merge branch 'refactor-for-multichain' into refactor-for-multichain
jacob-abe Dec 23, 2022
2f1ab9c
Undo unwanted change
jacob-abe Dec 23, 2022
927d086
Add wUSDR logo
dkuppitz Jan 3, 2023
24e0446
updated wUSDR image path
dkuppitz Jan 3, 2023
788c1a5
Add Jarvis and associated tokens
Jan 5, 2023
1731fce
Merge pull request #578 from jarvis-network/jarvis-add-logos
zekraken-bot Jan 5, 2023
ca1dc7d
Merge branch 'refactor-for-multichain' into wusdr
zekraken-bot Jan 5, 2023
bd8dcac
Merge pull request #575 from dkuppitz/wusdr
zekraken-bot Jan 5, 2023
497e080
Merge pull request #567 from ClayStack/refactor-for-multichain
zekraken-bot Jan 5, 2023
ce64d48
Merge pull request #579 from balancer-labs/refactor-for-multichain
zekraken-bot Jan 5, 2023
c46a579
add fire tokens to whitelist
zekraken-bot Jan 5, 2023
513b196
Merge pull request #580 from balancer-labs/zekraken_side
zekraken-bot Jan 5, 2023
ad522d2
Added gnosis tokens
Matthews3301 Jan 11, 2023
c01d630
Json Format
Matthews3301 Jan 11, 2023
b0cbe84
Keywords
Matthews3301 Jan 11, 2023
beb5e6e
Merge pull request #581 from Matthews3301/refactor-for-multichain
zekraken-bot Jan 11, 2023
d039e17
add stfrx to polygon
zekraken-bot Jan 14, 2023
2d696e0
Merge pull request #582 from balancer-labs/zekraken_side
zekraken-bot Jan 18, 2023
2d95248
add 2brl to whitelist
zekraken-bot Jan 20, 2023
05076b0
Merge pull request #586 from balancer-labs/zekraken_side
zekraken-bot Jan 20, 2023
2d3d401
Added tether and usdc on gnosis
Matthews3301 Jan 27, 2023
b09cdb7
add ankr to whitelist on polygon
zekraken-bot Feb 4, 2023
9fb7f88
Merge pull request #592 from balancer-labs/zekraken_side
zekraken-bot Feb 4, 2023
de42c31
Merge pull request #587 from Matthews3301/refactor-for-multichain
Matthews3301 Feb 6, 2023
60818d0
add y2k to whitelist
zekraken-bot Feb 7, 2023
811b590
Merge pull request #597 from balancer-labs/zekraken_side
zekraken-bot Feb 7, 2023
e2416ab
Add SPHERE to whitelist on Polygon
Feb 7, 2023
bd72903
Merge pull request #595 from geometrus-crypto/sphere-token
zekraken-bot Feb 7, 2023
c9c9673
fix y2k
zekraken-bot Feb 7, 2023
eba0166
Merge pull request #600 from balancer-labs/zekraken_side
zekraken-bot Feb 7, 2023
33ca1f3
adding reaper tokens
zekraken-bot Feb 13, 2023
e583002
Merge pull request #609 from balancer-labs/zekraken_side
zekraken-bot Feb 13, 2023
938de3b
adding gains dai
zekraken-bot Feb 16, 2023
c2f75bb
Merge pull request #613 from balancer-labs/zekraken_side
zekraken-bot Feb 16, 2023
134cad8
add granary tokens
zekraken-bot Feb 18, 2023
c47aaf6
Merge pull request #624 from balancer-labs/zekraken_side
zekraken-bot Feb 18, 2023
7653413
Add WARU token (Polygon)
alpereira7 Feb 21, 2023
b5d44aa
add mimo
zekraken-bot Feb 21, 2023
f7b99a1
Merge pull request #635 from balancer-labs/zekraken_side
zekraken-bot Feb 21, 2023
ec36e06
add TNGBL
dkuppitz Feb 22, 2023
31f14c8
Merge branch 'refactor-for-multichain' into refactor-for-multichain
zekraken-bot Feb 24, 2023
474e0f8
Merge pull request #632 from alpereira7/refactor-for-multichain
zekraken-bot Feb 24, 2023
a974388
Merge remote-tracking branch 'upstream/refactor-for-multichain' into …
dkuppitz Feb 28, 2023
2d0946e
Merge pull request #638 from dkuppitz/tngbl
zekraken-bot Mar 1, 2023
2a03243
add overnight token
zekraken-bot Mar 4, 2023
7e24d21
Merge pull request #646 from balancer/zekraken_side
zekraken-bot Mar 4, 2023
52ed470
add wstETH to poly
zekraken-bot Mar 6, 2023
fc24b74
update gnosis tokens
zekraken-bot Mar 6, 2023
99ede7d
Merge pull request #647 from balancer/zekraken_side
zekraken-bot Mar 6, 2023
a47a660
add LDO to whitelist
zekraken-bot Mar 6, 2023
be16272
Merge pull request #648 from balancer/zekraken_side
zekraken-bot Mar 6, 2023
6ad5da5
updating gnosis and poly tokens
zekraken-bot Mar 10, 2023
86a5d91
Merge pull request #655 from balancer/zekraken_side
zekraken-bot Mar 10, 2023
b795bc4
add cagGNO
zekraken-bot Mar 10, 2023
b9acdad
Merge pull request #656 from balancer/zekraken_side
zekraken-bot Mar 10, 2023
528d720
add rvrs
zekraken-bot Mar 13, 2023
8034b1a
add davos to tokenlist
zekraken-bot Mar 14, 2023
2ebf317
Merge pull request #660 from balancer/zekraken_side
zekraken-bot Mar 14, 2023
e9cc5af
add ocean to tokenlist
zekraken-bot Mar 16, 2023
4f0fb7a
Merge pull request #661 from balancer/zekraken_side
zekraken-bot Mar 16, 2023
3a1a1ff
Add tetu boosted pool tokens (bb-t-USD).
AlehNat Mar 16, 2023
bb50ecf
Merge pull request #662 from AlehNat/add_tetu_boosted_pool_token_info
zekraken-bot Mar 17, 2023
1cded8a
Fix urls
AlehNat Mar 17, 2023
2fc1faf
Merge pull request #663 from AlehNat/tetu_boosted_fix_url
zekraken-bot Mar 17, 2023
eea3e23
add radiant
zekraken-bot Mar 18, 2023
7896f4e
Merge pull request #664 from balancer/zekraken_side
zekraken-bot Mar 18, 2023
35bf2b2
add 2nd radiant token
zekraken-bot Mar 18, 2023
9266507
Merge pull request #665 from balancer/zekraken_side
zekraken-bot Mar 18, 2023
5df845d
fix rdnt
zekraken-bot Mar 19, 2023
895772f
Merge pull request #666 from balancer/zekraken_side
zekraken-bot Mar 19, 2023
9da87ba
remove radiant v1
zekraken-bot Mar 19, 2023
bc36696
Merge pull request #667 from balancer/zekraken_side
zekraken-bot Mar 19, 2023
33910d6
add icons for tetu boosted pools
AlehNat Mar 21, 2023
59aa907
Merge pull request #668 from AlehNat/tetu_boosted_matic
zekraken-bot Mar 21, 2023
984c1a7
update two tokens
zekraken-bot Mar 22, 2023
3f858bb
Merge pull request #669 from balancer/zekraken_side
zekraken-bot Mar 22, 2023
61c6cb0
move icons to the proper folder
AlehNat Mar 22, 2023
7ad769d
Merge pull request #670 from AlehNat/move_icons
zekraken-bot Mar 22, 2023
9962d68
add arb to tokenllist
zekraken-bot Mar 23, 2023
9c7db60
Merge pull request #671 from balancer/zekraken_side
zekraken-bot Mar 23, 2023
b6f494e
update pool metadata after the redeployment
AlehNat Mar 24, 2023
9052a89
update Gnosis/Cow token
zekraken-bot Mar 24, 2023
9c3409c
Merge pull request #673 from balancer/zekraken_side
zekraken-bot Mar 24, 2023
51e1746
Merge pull request #672 from AlehNat/update_icons_after_redeployment
zekraken-bot Mar 25, 2023
886f523
add rmatic to tokenlist
zekraken-bot Mar 25, 2023
420b2f4
Merge pull request #676 from balancer/zekraken_side
zekraken-bot Mar 25, 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
10 changes: 10 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "prettier"],
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
rules: {
"comma-spacing": ["error", {before: false, after: true}],
"prettier/prettier": "error",
},
};
58 changes: 7 additions & 51 deletions .github/workflows/generate-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,59 +22,19 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm ci
- run: npm run generate:registry
- run: npm run generate:tokenlist
- run: npm run generate:bal-for-gas
- name: Upload DEX Kovan config
uses: actions/upload-artifact@v2
with:
name: dex-kovan-data
path: generated/dex/registry.kovan.json
- name: Upload DEX Homestead config
uses: actions/upload-artifact@v2
with:
name: pm-homestead-data
path: generated/pm/registry.homestead.json
- name: Upload PM Kovan config
uses: actions/upload-artifact@v2
with:
name: pm-kovan-data
path: generated/pm/registry.kovan.json
- name: Upload PM Homestead config
uses: actions/upload-artifact@v2
with:
name: dex-homestead-data
path: generated/dex/registry.homestead.json
- name: Upload TokenList
- name: Install
run: yarn --immutable
- name: Generate TokenLists
run: yarn generate
- name: Upload TokenLists
uses: actions/upload-artifact@v2
with:
name: tokenlist-data
path: generated/listed.tokenlist.json
path: generated/
commit:
needs: generate
runs-on: ubuntu-latest
steps:
- name: Download PM Kovan config
uses: actions/download-artifact@v2
with:
name: pm-kovan-data
path: pm
- name: Download PM Homestead config
uses: actions/download-artifact@v2
with:
name: pm-homestead-data
path: pm
- name: Download DEX Kovan config
uses: actions/download-artifact@v2
with:
name: dex-kovan-data
path: dex
- name: Download DEX Homestead config
uses: actions/download-artifact@v2
with:
name: dex-homestead-data
path: dex
- name: Download TokenList
uses: actions/download-artifact@v2
with:
Expand All @@ -97,11 +57,7 @@ jobs:
id: commit
run: |
cd branch
cp ../dex/registry.kovan.json generated/dex/registry.kovan.json
cp ../dex/registry.homestead.json generated/dex/registry.homestead.json
cp ../pm/registry.kovan.json generated/pm/registry.kovan.json
cp ../pm/registry.homestead.json generated/pm/registry.homestead.json
cp ../listed.tokenlist.json generated/listed.tokenlist.json
find .. -name "*.*.tokenlist.json" -exec cp '{}' generated/
git config --global user.email "[email protected]"
git config --global user.name "Balancer Bot"
DIFF_LINES=$(git diff | wc -l)
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/generate-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm ci
- run: npm run generate
- name: Install
run: yarn --immutable
- name: Generate TokenLists
run: yarn generate
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
node_modules
package-lock.json

# Editor directories and files
.idea
Expand Down
Loading