diff --git a/src/oracle/interfaces/account.cairo b/src/oracle/interfaces/account.cairo index 05335cf1..651774e2 100644 --- a/src/oracle/interfaces/account.cairo +++ b/src/oracle/interfaces/account.cairo @@ -73,5 +73,4 @@ trait IAccount { fn get_name(self: @TContractState) -> felt252; fn get_guardian_escape_attempts(self: @TContractState) -> u32; fn get_owner_escape_attempts(self: @TContractState) -> u32; - -} \ No newline at end of file +} diff --git a/src/oracle/oracle_utils.cairo b/src/oracle/oracle_utils.cairo index d5d58aaf..3173dda6 100644 --- a/src/oracle/oracle_utils.cairo +++ b/src/oracle/oracle_utils.cairo @@ -14,15 +14,12 @@ use satoru::event::event_emitter::{IEventEmitterDispatcher, IEventEmitterDispatc use satoru::bank::bank::{IBankDispatcher, IBankDispatcherTrait}; use satoru::market::market::{Market}; use satoru::oracle::{ - oracle::{SetPricesCache, SetPricesInnerCache}, - error::OracleError, + oracle::{SetPricesCache, SetPricesInnerCache}, error::OracleError, interfaces::account::{IAccountDispatcher, IAccountDispatcherTrait} }; use satoru::price::price::{Price}; use satoru::utils::{ - store_arrays::{ - StoreContractAddressArray, StorePriceArray, StoreU128Array, StoreFelt252Array - }, + store_arrays::{StoreContractAddressArray, StorePriceArray, StoreU128Array, StoreFelt252Array}, arrays::{are_lte_u64, get_uncompacted_value, get_uncompacted_value_u64}, bits::{BITMASK_8, BITMASK_16, BITMASK_32, BITMASK_64} }; diff --git a/src/utils/arrays.cairo b/src/utils/arrays.cairo index 08f86fbb..4cdb4c51 100644 --- a/src/utils/arrays.cairo +++ b/src/utils/arrays.cairo @@ -343,4 +343,4 @@ fn get_uncompacted_value_u64( let value = (slot_bits / calc::pow_u64(2, offset)) & bit_mask; value -} \ No newline at end of file +} diff --git a/src/utils/calc.cairo b/src/utils/calc.cairo index 06dc6f2e..48c4d2cb 100644 --- a/src/utils/calc.cairo +++ b/src/utils/calc.cairo @@ -183,4 +183,4 @@ fn pow_u64(x: u64, n: usize) -> u64 { } else { pow_u64(x * x, n / 2) } -} \ No newline at end of file +}