diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000000..3105ecafce Binary files /dev/null and b/bun.lockb differ diff --git a/projects/bucket-protocol/index.js b/projects/bucket-protocol/index.js index c4e070763b..444f203a04 100644 --- a/projects/bucket-protocol/index.js +++ b/projects/bucket-protocol/index.js @@ -107,9 +107,10 @@ function convertUnderlyingAssets(coin){ // sSUI if(coin === SCALLOP_sSUI) return ADDRESSES.sui.SUI // sbETH - if(coin === SCALLOP_sSB_ETH) return ADDRESSES.sui.WETH + if(coin === SCALLOP_sSB_ETH) return ADDRESSES.sui.ETH // sSCA if(coin === SCALLOP_sSCA) return SCA_ADDRESS + return coin } @@ -168,7 +169,6 @@ async function tvl(api) { /// Since we're unable to fetch the price of Scallop's sCOIN, we'll regard sCOIN as underlying assets const coin = convertUnderlyingAssets(coin_address) - api.add(coin, bucket.fields.collateral_vault); } diff --git a/projects/helper/coreAssets.json b/projects/helper/coreAssets.json index 4fac20d486..c7f16e8294 100644 --- a/projects/helper/coreAssets.json +++ b/projects/helper/coreAssets.json @@ -1418,7 +1418,8 @@ "USDC_BNB": "0x909cba62ce96d54de25bec9502de5ca7b4f28901747bbf96b76c2e63ec5f1cba::coin::COIN", "BUCK": "0xce7ff77a83ea0cb6fd39bd8748e2ec89a3f41e8efdc3f4eb123e0ca37b184db2::buck::BUCK", "SUI": "0x2::sui::SUI", - "USDC_CIRCLE": "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC" + "USDC_CIRCLE": "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC", + "ETH": "0xd0e89b2af5e4910726fbcd8b8dd37bb79b29e5f83f7491bca830e94f7f226d29::eth::ETH" }, "grove": { "WGRV": "0xE85f139488c689038028a3EB8fC38dcC29D4C340"