File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
aave-core/aave-oracle/sources Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -702,23 +702,6 @@ module aave_oracle::oracle {
702702 };
703703 }
704704
705- /// @notice Gets prices and timestamps for multiple assets at once
706- /// @param assets Vector of asset addresses
707- /// @return Vectors of corresponding asset prices with their timestamps
708- fun get_asset_prices_and_timestamps_internal (
709- assets: vector <address >
710- ): (vector <u256 >, vector <u256 >) acquires PriceOracleData {
711- let prices = vector <u256 >[];
712- let timestamps = vector <u256 >[];
713- for (i in 0 ..vector::length (&assets)) {
714- let asset = *vector ::borrow (&assets, i);
715- let (price, timestamp) = get_asset_price_internal (asset);
716- vector ::insert (&mut prices, i, price);
717- vector ::insert (&mut timestamps, i, timestamp);
718- };
719- (prices, timestamps)
720- }
721-
722705 /// Max allowed sUSDe/USDe ratio given the snapshot and growth parameters.
723706 /// Assumes parameters were validated in `set_susde_price_adapter`.
724707 /// @param cap Capped asset data
You can’t perform that action at this time.
0 commit comments