Skip to content

Commit

Permalink
fix: include btc lending and new usdc-usdc.e pair in tvl calculation (#…
Browse files Browse the repository at this point in the history
…8516)

* fix: include btc lending and new usdc-usdc.e pair in tvl calculation

* update gitworkflow

---------

Co-authored-by: g1nt0ki <[email protected]>
  • Loading branch information
0xKMG and g1nt0ki authored Dec 28, 2023
1 parent 66aec7b commit bad6151
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@ jobs:
# npm update @defillama/sdk
# fail if package.json or package-lock.json is changed
if git diff --exit-code --quiet origin/main -- package.json package-lock.json
then
echo "..."
else
FILES_MODIFIED=${{ steps.file_changes.outputs.files_modified }}
if [[ $FILES_MODIFIED == *"package.json"* || $FILES_MODIFIED == *"package-lock.json"* ]]; then
echo "------ ERROR ------ \n Please revert changes to package.json / package-lock.json" > /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/output.txt
node ${{ github.workspace }}/.github/workflows/commentResult.js /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/output.txt "${{ github.repository_owner }}" "${{ github.event.repository.name }}" "${{ github.event.number }}"
exit 1
Expand Down
3 changes: 3 additions & 0 deletions projects/vaultka/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module.exports = {
gmWeth: "0x70d95587d40A2caf56bd97485aB3Eec10Bee6336", // weth/usdc.e
gmArb: "0xC25cEf6061Cf5dE5eb761b50E4743c1F5D7E5407", // arb/usdc.e
gmBtc: "0x47c031236e19d024b42f8AE6780E44A573170703", // btc/usdc.e
gmUsdc: "0x9C2433dFD71096C435Be9465220BB2B189375eA7", // usdc/usdc.e
VLP: "0xc5b2d9fda8a82e8dcecd5e9e6e99b78a9188eb05",
gDAI: "0xd85e038593d7a098614721eae955ec2022b9b91b",
rum: "0x739fe1BE8CbBeaeA96fEA55c4052Cd87796c0a89",
Expand Down Expand Up @@ -81,11 +82,13 @@ module.exports = {
[addresses.gmArb, addresses.vodkaV2DN],
[addresses.gmWeth, addresses.vodkaV2DN],
[addresses.gmBtc, addresses.vodkaV2DN],
[addresses.gmUsdc, addresses.vodkaV2DN],
[addresses.hlp, addresses.rum],
[ADDRESSES.arbitrum.fsGLP, addresses.agedVodka],
//new water vault
[ADDRESSES.arbitrum.WETH, addresses.vodkaV2DN_ETH_Water],
[ADDRESSES.arbitrum.ARB, addresses.vodkaV2DN_ARB_Water],
[ADDRESSES.arbitrum.WBTC, addresses.vodkaV2DN_BTC_Water],
[ADDRESSES.arbitrum.fsGLP, addresses.vodkaV1A],
//GmVault
[addresses.gmWeth, addresses.agedVodkaV2_ETH],
Expand Down

0 comments on commit bad6151

Please sign in to comment.