Skip to content

Commit

Permalink
update: pwn (DefiLlama#12204)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vojtch159 authored and twothirtyfive committed Dec 11, 2024
1 parent 52d6c6e commit 313b2dc
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions projects/pwn/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const PWN_BUNDLER_BSC = "0x4A75a527E97d853109aA6998a2B9E45a87A31e9f";
const PWN_V1_SIMPLE_LOAN = "0x50160ff9c19fbE2B5643449e1A321cAc15af2b2C";
const PWN_V1_1_SIMPLE_LOAN_A = "0x57c88D78f6D08b5c88b4A3b7BbB0C1AA34c3280A"; // Mainnet, Polygon, Arbitrum, BSC
const PWN_V1_1_SIMPLE_LOAN_B = "0x4188C513fd94B0458715287570c832d9560bc08a"; // Cronos, Base, Optimism
const PWN_V1_2_SIMPLE_LOAN = "0x9A93AE395F09C6F350E3306aec592763c517072e";

module.exports = {
misrepresentedTokens: true,
Expand All @@ -26,6 +27,7 @@ module.exports = {
PWN_BUNDLER_MAINNET,
PWN_V1_SIMPLE_LOAN,
PWN_V1_1_SIMPLE_LOAN_A,
PWN_V1_2_SIMPLE_LOAN,
],
resolveNFTs: true,
resolveArtBlocks: true,
Expand All @@ -40,6 +42,7 @@ module.exports = {
PWN_BUNDLER_POLYGON,
PWN_V1_SIMPLE_LOAN,
PWN_V1_1_SIMPLE_LOAN_A,
PWN_V1_2_SIMPLE_LOAN,
],
fetchCoValentTokens: true,
}),
Expand All @@ -51,22 +54,32 @@ module.exports = {
},
base: {
tvl: sumTokensExport({
owners: [PWN_BUNDLER_BASE, PWN_V1_1_SIMPLE_LOAN_B], fetchCoValentTokens: true,
owners: [PWN_BUNDLER_BASE, PWN_V1_1_SIMPLE_LOAN_B, PWN_V1_2_SIMPLE_LOAN], fetchCoValentTokens: true,
}),
},
arbitrum: {
tvl: sumTokensExport({
owners: [PWN_BUNDLER_ARBITRUM, PWN_V1_1_SIMPLE_LOAN_A], fetchCoValentTokens: true,
owners: [PWN_BUNDLER_ARBITRUM, PWN_V1_1_SIMPLE_LOAN_A, PWN_V1_2_SIMPLE_LOAN], fetchCoValentTokens: true,
}),
},
optimism: {
tvl: sumTokensExport({
owners: [PWN_BUNDLER_OPTIMISM, PWN_V1_1_SIMPLE_LOAN_B], fetchCoValentTokens: true,
owners: [PWN_BUNDLER_OPTIMISM, PWN_V1_1_SIMPLE_LOAN_B, PWN_V1_2_SIMPLE_LOAN], fetchCoValentTokens: true,
}),
},
bsc: {
tvl: sumTokensExport({
owners: [PWN_BUNDLER_BSC, PWN_V1_1_SIMPLE_LOAN_A], fetchCoValentTokens: true,
owners: [PWN_BUNDLER_BSC, PWN_V1_1_SIMPLE_LOAN_A, PWN_V1_2_SIMPLE_LOAN], fetchCoValentTokens: true,
}),
},
linea: {
tvl: sumTokensExport({
owners: [PWN_V1_2_SIMPLE_LOAN], fetchCoValentTokens: true,
}),
},
xdai: {
tvl: sumTokensExport({
owners: [PWN_V1_2_SIMPLE_LOAN], fetchCoValentTokens: true,
}),
},
mantle: { tvl: () => ({}) },
Expand Down

0 comments on commit 313b2dc

Please sign in to comment.