Skip to content

Commit

Permalink
chore(workspace): map all levain supported eip155/erc20 assets (#13)
Browse files Browse the repository at this point in the history
#### What this PR does / why we need it:

As per title.
  • Loading branch information
fuxingloh authored Nov 9, 2023
1 parent a2218c0 commit 0e57be9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/sync-trustwallet-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Sync
on:
workflow_dispatch:
push:
branches:
- main
paths:
- .github/workflows/sync-trustwallet-assets.yml
- workspace/sync-trustwallet-assets/**/*
Expand Down
26 changes: 26 additions & 0 deletions workspace/sync-trustwallet-assets/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,32 @@ export async function sync(): Promise<void> {
join(cwd, 'repo/blockchains/avalanchec/assets'),
join(cwd, '../../packages/eip155-43114-erc20/frontmatter'),
).sync();
await new Eip155Erc20Sync(
join(cwd, 'repo/blockchains/smartchain/assets'),
join(cwd, '../../packages/eip155-56-erc20/frontmatter'),
).sync();
await new Eip155Erc20Sync(
join(cwd, 'repo/blockchains/arbitrum/assets'),
join(cwd, '../../packages/eip155-42161-erc20/frontmatter'),
).sync();
await new Eip155Erc20Sync(
join(cwd, 'repo/blockchains/optimism/assets'),
join(cwd, '../../packages/eip155-10-erc20/frontmatter'),
).sync();
await new Eip155Erc20Sync(
join(cwd, 'repo/blockchains/aurora/assets'),
join(cwd, '../../packages/eip155-1313161554-erc20/frontmatter'),
).sync();
await new Eip155Erc20Sync(
join(cwd, 'repo/blockchains/celo/assets'),
join(cwd, '../../packages/eip155-42220-erc20/frontmatter'),
).sync();
await new Eip155Erc20Sync(
join(cwd, 'repo/blockchains/base/assets'),
join(cwd, '../../packages/eip155-8453-erc20/frontmatter'),
).sync();

// TODO: tron -> tip474:728126428
}

void sync();

0 comments on commit 0e57be9

Please sign in to comment.