Skip to content

Commit

Permalink
Turbo swETH oracle (#245)
Browse files Browse the repository at this point in the history
* Add fourth oracle for Turbo swETH

* Bump to v3.8.1

* Lockfile and normalize address
  • Loading branch information
cbrit authored Feb 3, 2024
1 parent b2d8606 commit 6ccf3bd
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 10 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sommelier_steward"
version = "3.8.0"
version = "3.8.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion steward/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "steward"
authors = []
version = "3.8.0"
version = "3.8.1"
edition = "2018"

[dependencies]
Expand Down
12 changes: 10 additions & 2 deletions steward/src/cellars.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,17 @@ pub const TURBOSWETH_ORACLE3: (U256, &str) = (
U256([5, 0, 0, 0]),
"26cde3f5db92ea91c84c838e664fe42dec1b6747",
);
pub const TURBOSWETH_ORACLE4: (U256, &str) = (
U256([5, 0, 0, 0]),
"cb265cac371970e51bec685930e1340fd919fae3",
);

pub const ALLOWED_TURBOSWETH_PRICE_ORACLES: [(U256, &str); 3] =
[TURBOSWETH_ORACLE1, TURBOSWETH_ORACLE2, TURBOSWETH_ORACLE3];
pub const ALLOWED_TURBOSWETH_PRICE_ORACLES: [(U256, &str); 4] = [
TURBOSWETH_ORACLE1,
TURBOSWETH_ORACLE2,
TURBOSWETH_ORACLE3,
TURBOSWETH_ORACLE4,
];

pub const TURBOSOMM_ORACLE1: (U256, &str) = (
U256([8, 0, 0, 0]),
Expand Down
2 changes: 1 addition & 1 deletion steward_abi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "steward_abi"
version = "3.8.0"
version = "3.8.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion steward_proto_rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "steward_proto"
version = "3.8.0"
version = "3.8.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit 6ccf3bd

Please sign in to comment.