Skip to content

Commit

Permalink
Merge branch 'DefiLlama:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
nova577metaverse authored Nov 25, 2024
2 parents fa6796e + f6ec934 commit 8e4267c
Show file tree
Hide file tree
Showing 63 changed files with 5,646 additions and 4,100 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
with:
node-version: '16'
- run: npm ci
- name: Type Check
run: npm run ts
- name: Deploy infrastructure stack
run: npm run deploy:prod
env:
Expand All @@ -29,5 +31,5 @@ jobs:
AURORA_RPC: ${{ secrets.AURORA_RPC }}
ARBITRUM_RPC: ${{ secrets.ARBITRUM_RPC }}
SOLANA_RPC: ${{ secrets.SOLANA_RPC }}
RSK_RPC: ${{ secrets.RSK_RPC }}
RSK_ARCHIVAL_RPC: ${{ secrets.RSK_ARCHIVAL_RPC }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ src/utils/runall.ts
src/utils/filljobs.ts
src/utils/filljobs2.ts

.esbuild

.env

.idea
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

`npm i`


## Adding new adapter
### Adapter output
Array of
Expand Down Expand Up @@ -64,7 +65,7 @@ abi: ["event ETHWithdrawalFinalized(address indexed _from, address indexed _to,
isDeposit: false, // event type
logKeys: {
blockNumber: "blockNumber",
txHash: "transactionHash",// if event log data key != adapter ouptup key
txHash: "transactionHash",// if event log data key != adapter output key
},
argKeys: {
to: "_to",
Expand Down Expand Up @@ -111,9 +112,9 @@ syntax: `npm run {script-name} {startTimestamp} {endTimestamp} {bridgeName}`
Example:
```
npm run adapter 1704690402 1704949602 arbitrum
npm run aggregate 1704690402 1704949602 arbitrum
npm run daily-volume 1704690402 1704949602 arbitrum
npm run adapter arbitrum 1704690402 1704949602
npm run aggregate arbitrum 1704690402 1704949602
npm run daily-volume arbitrum 1704690402 1704949602
```
Returns:
```
Expand Down
Loading

0 comments on commit 8e4267c

Please sign in to comment.