-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Add HomelessSwap multi-chain TVL adapter #15466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Hamza-Alarja
wants to merge
7
commits into
DefiLlama:main
Choose a base branch
from
Hamza-Alarja:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
85d32dc
Create index.js
Hamza-Alarja c39848c
Add HomelessSwap multi-chain TVL adapter
Hamza-Alarja 22b2746
Create index.js
Hamza-Alarja 3bbafc5
Delete projects/homelessswap/index.js
Hamza-Alarja d2292a6
Update index.js
Hamza-Alarja 90c8c4c
Update index.js
Hamza-Alarja 287fae7
Update index.js
Hamza-Alarja File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
const { sumTokensExport } = require('../helper/sumTokens') | ||
|
||
module.exports = { | ||
zksync: { | ||
tvl: sumTokensExport({ | ||
owner: '0x3ca616C60aAe4c2c067e81DF4B1531e38e602C5a', | ||
tokens: [ | ||
'0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4', // USDC | ||
'0x5aea5775959fbc2557cc8789bc1bf90a239d9a91', // WETH | ||
'0x493257fD37EDB34451f62EDf8d2a0C418852bA4C' // USDT | ||
] | ||
}), | ||
}, | ||
|
||
ethereum: { | ||
tvl: sumTokensExport({ | ||
owner: '0x0Ad3DaE92e136D363864CCd10c794B36922ccEa0', | ||
tokens: [ | ||
'0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC | ||
'0xdAC17F958D2ee523a2206206994597C13D831ec7', // USDT | ||
'0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' // WETH | ||
] | ||
}), | ||
}, | ||
|
||
bsc: { | ||
tvl: sumTokensExport({ | ||
owner: '0x982E680B25c1e0e02b0b84d8f1E008094F200cd5', | ||
tokens: [ | ||
'0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d', // USDC | ||
'0x55d398326f99059fF775485246999027B3197955', // USDT | ||
'0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', // WBNB | ||
'0xe9e7cea3dedca5984780bafc599bd69add087d56' // BUSD | ||
] | ||
}), | ||
}, | ||
|
||
polygon_zkevm: { | ||
tvl: sumTokensExport({ | ||
owner: '0x0Ad3DaE92e136D363864CCd10c794B36922ccEa0', | ||
tokens: [ | ||
'0xa8CE8Aee21BC2A48a5EF670AFCc9274c7BBBC035', // USDC | ||
'0xB24a0ed5084817de0Cd20e2F07b0196EF5DAA1e3', // USDT | ||
'0x4200000000000000000000000000000000000006' // WETH | ||
] | ||
}), | ||
}, | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
const { sumTokensExport } = require('../helper/sumTokens') | ||
|
||
module.exports = { | ||
zksync: { | ||
Hamza-Alarja marked this conversation as resolved.
Show resolved
Hide resolved
|
||
tvl: sumTokensExport({ | ||
owner: '0x3ca616C60aAe4c2c067e81DF4B1531e38e602C5a', | ||
tokens: [ | ||
'0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4', // USDC | ||
'0x5aea5775959fbc2557cc8789bc1bf90a239d9a91', // WETH | ||
'0x493257fD37EDB34451f62EDf8d2a0C418852bA4C' // USDT | ||
] | ||
}), | ||
}, | ||
|
||
ethereum: { | ||
tvl: sumTokensExport({ | ||
owner: '0x0Ad3DaE92e136D363864CCd10c794B36922ccEa0', | ||
tokens: [ | ||
'0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC | ||
'0xdAC17F958D2ee523a2206206994597C13D831ec7', // USDT | ||
'0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' // WETH | ||
] | ||
}), | ||
}, | ||
|
||
bsc: { | ||
tvl: sumTokensExport({ | ||
owner: '0x982E680B25c1e0e02b0b84d8f1E008094F200cd5', | ||
tokens: [ | ||
'0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d', // USDC | ||
'0x55d398326f99059fF775485246999027B3197955', // USDT | ||
'0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', // WBNB | ||
'0xe9e7cea3dedca5984780bafc599bd69add087d56' // BUSD | ||
] | ||
}), | ||
}, | ||
|
||
polygon_zkevm: { | ||
tvl: sumTokensExport({ | ||
owner: '0x0Ad3DaE92e136D363864CCd10c794B36922ccEa0', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this address correct? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes it's correct |
||
tokens: [ | ||
'0xa8CE8Aee21BC2A48a5EF670AFCc9274c7BBBC035', // USDC | ||
'0xB24a0ed5084817de0Cd20e2F07b0196EF5DAA1e3', // USDT | ||
'0x4200000000000000000000000000000000000006' // WETH | ||
] | ||
}), | ||
}, | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is there a duplicate adapter file