Skip to content

Commit eb2218a

Browse files
authored
Merge branch 'DefiLlama:main' into main
2 parents 373b442 + c0176aa commit eb2218a

File tree

921 files changed

+11534
-13556
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

921 files changed

+11534
-13556
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Also, don't hesitate to send a message on [our discord](https://discord.defillam
99
1010
1. PLEASE PLEASE **enable "Allow edits by maintainers" while putting up the PR.**
1111
2. Once your adapter has been merged, it takes time to show on the UI. No need to notify us on Discord.
12-
3. Sorry, We no longer accept fetch adapter for new projects (reason: https://github.com/DefiLlama/DefiLlama-Adapters/discussions/432), we prefer the tvl to be computed from blockchain data, if you have trouble with creating a the adapter, please hop onto our discord, we are happy to assist you.
12+
3. TVL must be computed from blockchain data (reason: https://github.com/DefiLlama/DefiLlama-Adapters/discussions/432), if you have trouble with creating a the adapter, please hop onto our discord, we are happy to assist you.
1313
4. **For updating listing info** It is a different repo, you can find your listing in this file: https://github.com/DefiLlama/defillama-server/blob/master/defi/src/protocols/data2.ts, you can edit it there and put up a PR
1414
5. Do not edit/push `package-lock.json` file as part of your changes, we use lockfileVersion 2, and most use v1 and using that messes up our CI
1515
6. No need to go to our discord and announce that you've created a PR, we monitor all PRs and will review it asap
@@ -25,8 +25,10 @@ This is a work in progress. The goal is to eventually handle historical data. De
2525
If you have any suggestions, want to contribute or want to chat, please join [our discord](https://discord.defillama.com/) and drop a message.
2626

2727
## Testing adapters
28-
```
28+
```bash
2929
node test.js projects/pangolin/index.js
30+
# Add a timestamp at the end to run the adapter at a historical timestamp
31+
node test.js projects/aave/v3.js 1729080692
3032
```
3133

3234
## Changing RPC providers

package-lock.json

Lines changed: 49 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515
"entities": "cd utils;npm i; cd ..; node utils/testInteractive entities",
1616
"useTokenLabels": "node utils/scripts/useTokenLabels.js",
1717
"biggest-files": "find ./projects -name '*.js' -not -path './projects/helper/*' -not -path './projects/curve/*' -not -path './projects/sigmao/*' -exec du -sh {} \\; | sort -rh | head -n 100",
18+
"check-bitcoin-duplicates": "node utils/scripts/checkBTCDups.js",
1819
"postinstall": "echo 'run \"npm update @defillama/sdk\" if you want lastest sdk changes' "
1920
},
2021
"author": "",
2122
"license": "ISC",
2223
"dependencies": {
24+
"@coral-xyz/anchor": "^0.30.1",
2325
"@defillama/sdk": "latest",
2426
"@project-serum/anchor": "^0.26.0",
2527
"@solana/web3.js": "^1.87.6",

projects/0xDAO/erc20.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)