Skip to content

Commit

Permalink
addign nostra contract
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetbout committed Jan 18, 2024
1 parent 89e34dd commit 02fd118
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions crates/starkwhale-alert/src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ pub const ADDRESS_LIST: &[AddressToName] = &[
address: "259fec57cd26d27385cd8948d3693bbf26bed68ad54d7bdd1fdb901774ff0e8",
name: "rhino.fi: Bridge",
},
AddressToName {
address: "059a943ca214c10234b9a3b61c558ac20c005127d183b86a99a8f3c60a08b4ff",
name: "Nostra: Interest Rate Model",
},
];

pub struct AddressToName {
Expand Down
2 changes: 1 addition & 1 deletion crates/starkwhale-alert/src/formatter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async fn format_address(address: FieldElement) -> String {
mod tests {

use super::{format_address, get_formatted_text, to_rounded};
use crate::{consts::USDC, to_u256};
use crate::to_u256;
use starknet::core::types::{EmittedEvent, FieldElement};

#[tokio::test]
Expand Down

0 comments on commit 02fd118

Please sign in to comment.