Skip to content

Commit 1b714b1

Browse files
committed
fix agglayer
1 parent dbfce50 commit 1b714b1

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@aws-sdk/client-s3": "^3.749.0",
3838
"@aws-sdk/client-sts": "^3.749.0",
3939
"@aws-sdk/credential-providers": "^3.749.0",
40-
"@defillama/sdk": "^5.0.137",
40+
"@defillama/sdk": "^5.0.170",
4141
"@fastify/cors": "^9.0.1",
4242
"@graphql-typed-document-node/core": "^3.2.0",
4343
"@solana/web3.js": "^1.87.3",

src/adapters/agglayer/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const depositEvent: ContractEventParams = {
2121
},
2222
txKeys: {
2323
from: "from",
24-
amount: "value",
2524
},
2625
isDeposit: true,
2726
}
@@ -43,7 +42,6 @@ const withdrawalEvent: ContractEventParams = {
4342
},
4443
txKeys: {
4544
from: "from",
46-
amount: "value",
4745
},
4846
isDeposit: false,
4947
}
@@ -62,7 +60,7 @@ const adapter: BridgeAdapter = {
6260
ethereum: constructParams("ethereum"),
6361
katana: constructParams("katana"),
6462
"polygon zkevm": constructParams("polygon_zkevm"),
65-
ternoa: constructParams("ternoa"),
63+
ternoa: constructParams("ternoa_mainnet"),
6664
"x layer": constructParams("xlayer"),
6765
};
6866

src/data/bridgeNetworkData.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2465,6 +2465,7 @@ export default [
24652465
chainMapping: {
24662466
"polygon zkevm": "polygon_zkevm",
24672467
"x layer": "xlayer",
2468+
'ternoa': 'ternoa_mainnet',
24682469
},
24692470
},
24702471
{

0 commit comments

Comments
 (0)