File tree 2 files changed +0
-6
lines changed
2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -178,11 +178,6 @@ pub mod receptor {
178
178
self . update_frequency. read ()
179
179
}
180
180
181
- fn get_yin_price (self : @ ContractState ) -> Wad {
182
- let quotes = self . get_quotes ();
183
- median_of_three (quotes )
184
- }
185
-
186
181
fn set_oracle_extension (ref self : ContractState , oracle_extension : ContractAddress ) {
187
182
self . access_control. assert_has_role (receptor_roles :: SET_ORACLE_EXTENSION );
188
183
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ pub trait IReceptor<TContractState> {
9
9
fn get_quote_tokens (self : @ TContractState ) -> Span <QuoteTokenInfo >;
10
10
fn get_quotes (self : @ TContractState ) -> Span <Wad >;
11
11
fn get_twap_duration (self : @ TContractState ) -> u64 ;
12
- fn get_yin_price (self : @ TContractState ) -> Wad ;
13
12
fn get_update_frequency (self : @ TContractState ) -> u64 ;
14
13
// setters
15
14
fn set_oracle_extension (ref self : TContractState , oracle_extension : ContractAddress );
You can’t perform that action at this time.
0 commit comments