Skip to content

Commit bf0e6b1

Browse files
authored
Merge branch 'DefiLlama:master' into pinto
2 parents 5b87c88 + bff61fb commit bf0e6b1

File tree

118 files changed

+15082
-1509
lines changed

Some content is hidden

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

118 files changed

+15082
-1509
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,21 +74,21 @@ A note on how to set apy related fields:
7474
- if you are unsure/your data source doesn't contain a detailed breakdown, then provide an `apy` field indicating the total apy and omit the `apyBase` and `apyReward` fields (or set to null)
7575
```
7676

77-
#### FAQ
77+
### FAQ
7878

79-
> Why are some pools missing on DefiLlama which appear on my adapter?
79+
#### Why are some pools missing on DefiLlama which appear on my adapter?
8080

8181
DefiLlama only displays pools with >10k TVL, so pools with less TVL than that will appear on the adapter but not on defillama
8282

83-
> I'm getting errors when running `npm install`
83+
#### I'm getting errors when running `npm install`
8484

8585
Make sure you're running the command inside the `src/adaptors` folder, not in the project root folder.
8686

87-
> Why is X pool missing from https://defillama.com/yields/stablecoins ?
87+
#### Why is X pool missing from https://defillama.com/yields/stablecoins ?
8888

8989
That page has stricter filters than other pages, only pools with >1M TVL and on audited protocols are included there.
9090

91-
#### Adapter module structure
91+
### Adapter module structure
9292

9393
```js
9494
module.exports = {

package-lock.json

Lines changed: 209 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: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414
"author": "",
1515
"license": "ISC",
1616
"dependencies": {
17-
"@defillama/sdk": "^5.0.60",
17+
"@blend-capital/blend-sdk": "^2.2.0",
18+
"@defillama/sdk": "^5.0.112",
19+
"@stacks/network": "^6.13.0",
20+
"@stacks/transactions": "^6.15.0",
21+
"@ton/ton": "14.0.0",
1822
"@types/jest": "^28.1.6",
1923
"@uniswap/sdk-core": "^5.3.0",
2024
"@uniswap/v3-sdk": "^3.13.0",
@@ -41,10 +45,7 @@
4145
"starknet": "^4.22.0",
4246
"superagent": "^6.1.0",
4347
"validator": "^13.9.0",
44-
"web3": "^4.9.0",
45-
"@ton/ton": "14.0.0",
46-
"@stacks/network": "^6.13.0",
47-
"@stacks/transactions": "^6.15.0"
48+
"web3": "^4.9.0"
4849
},
4950
"devDependencies": {
5051
"@babel/core": "^7.17.8",

serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ frameworkVersion: '3'
77

88
provider:
99
name: aws
10-
runtime: nodejs16.x
10+
runtime: nodejs22.x
1111
stage: dev
1212
region: eu-central-1
1313
tracing:

src/adaptors/aave-v3/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ const stkGho = async () => {
204204

205205
const stkghoMeritApy = (
206206
await axios.get('https://apps.aavechan.com/api/merit/base-aprs')
207-
).data.actionsAPR['ethereum-stkgho'];
207+
).data['ethereum-stkgho'];
208208

209209
const stkghoApy = stkghoNativeApy + stkghoMeritApy;
210210

0 commit comments

Comments
 (0)