Skip to content

Commit

Permalink
update: pwn (DefiLlama#12416)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vojtch159 authored Nov 24, 2024
1 parent c6fa424 commit d796a97
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions projects/pwn/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ 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";
const PWN_V1_2_2_SIMPLE_LOAN = "0x0773d5F2f7b3264a9Eb285F085aCCcC53d5aAa4F";

module.exports = {
misrepresentedTokens: true,
Expand All @@ -28,6 +29,7 @@ module.exports = {
PWN_V1_SIMPLE_LOAN,
PWN_V1_1_SIMPLE_LOAN_A,
PWN_V1_2_SIMPLE_LOAN,
PWN_V1_2_2_SIMPLE_LOAN,
],
resolveNFTs: true,
resolveArtBlocks: true,
Expand All @@ -43,6 +45,7 @@ module.exports = {
PWN_V1_SIMPLE_LOAN,
PWN_V1_1_SIMPLE_LOAN_A,
PWN_V1_2_SIMPLE_LOAN,
PWN_V1_2_2_SIMPLE_LOAN,
],
fetchCoValentTokens: true,
}),
Expand All @@ -54,32 +57,32 @@ module.exports = {
},
base: {
tvl: sumTokensExport({
owners: [PWN_BUNDLER_BASE, PWN_V1_1_SIMPLE_LOAN_B, PWN_V1_2_SIMPLE_LOAN], fetchCoValentTokens: true,
owners: [PWN_BUNDLER_BASE, PWN_V1_1_SIMPLE_LOAN_B, PWN_V1_2_SIMPLE_LOAN, PWN_V1_2_2_SIMPLE_LOAN], fetchCoValentTokens: true,
}),
},
arbitrum: {
tvl: sumTokensExport({
owners: [PWN_BUNDLER_ARBITRUM, PWN_V1_1_SIMPLE_LOAN_A, PWN_V1_2_SIMPLE_LOAN], fetchCoValentTokens: true,
owners: [PWN_BUNDLER_ARBITRUM, PWN_V1_1_SIMPLE_LOAN_A, PWN_V1_2_SIMPLE_LOAN, PWN_V1_2_2_SIMPLE_LOAN], fetchCoValentTokens: true,
}),
},
optimism: {
tvl: sumTokensExport({
owners: [PWN_BUNDLER_OPTIMISM, PWN_V1_1_SIMPLE_LOAN_B, PWN_V1_2_SIMPLE_LOAN], fetchCoValentTokens: true,
owners: [PWN_BUNDLER_OPTIMISM, PWN_V1_1_SIMPLE_LOAN_B, PWN_V1_2_SIMPLE_LOAN, PWN_V1_2_2_SIMPLE_LOAN], fetchCoValentTokens: true,
}),
},
bsc: {
tvl: sumTokensExport({
owners: [PWN_BUNDLER_BSC, PWN_V1_1_SIMPLE_LOAN_A, PWN_V1_2_SIMPLE_LOAN], fetchCoValentTokens: true,
owners: [PWN_BUNDLER_BSC, PWN_V1_1_SIMPLE_LOAN_A, PWN_V1_2_SIMPLE_LOAN, PWN_V1_2_2_SIMPLE_LOAN], fetchCoValentTokens: true,
}),
},
linea: {
tvl: sumTokensExport({
owners: [PWN_V1_2_SIMPLE_LOAN], fetchCoValentTokens: true,
owners: [PWN_V1_2_SIMPLE_LOAN, PWN_V1_2_2_SIMPLE_LOAN], fetchCoValentTokens: true,
}),
},
xdai: {
tvl: sumTokensExport({
owners: [PWN_V1_2_SIMPLE_LOAN], fetchCoValentTokens: true,
owners: [PWN_V1_2_SIMPLE_LOAN, PWN_V1_2_2_SIMPLE_LOAN], fetchCoValentTokens: true,
}),
},
mantle: { tvl: () => ({}) },
Expand Down

0 comments on commit d796a97

Please sign in to comment.