Skip to content

Commit

Permalink
Morpho ETH Maximizer positions (#252)
Browse files Browse the repository at this point in the history
* Morhpho ETH Maximizer positions

* Bump rust version

* Bump to v4.2.0

* Fix version bump to v4.1.2

* Revert "Fix version bump to v4.1.2"

This reverts commit f4bd8ff.

* Fix version to v4.1.2
  • Loading branch information
cbrit authored Feb 8, 2024
1 parent c3a98eb commit 9cbbc3c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 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,7 +1,7 @@
[package]
name = "steward"
authors = []
version = "4.1.1"
version = "4.1.2"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Reference: https://www.lpalmieri.com/posts/fast-rust-docker-builds/

FROM rust:1.70-bullseye as cargo-chef-rust
FROM rust:1.74-bullseye as cargo-chef-rust
RUN cargo install cargo-chef --version 0.1.62
RUN rustup component add rustfmt

Expand Down
11 changes: 9 additions & 2 deletions src/cellars.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,14 @@ pub const ALLOWED_V2_0_POSITIONS: [(&str, u32); 20] = [
(CELLAR_RYUSD, 29),
];
pub const ALLOWED_V2_2_CATALOGUE_POSITIONS: [(&str, u32); 0] = [];
pub const ALLOWED_V2_5_CATALOGUE_POSITIONS: [(&str, u32); 1] =
[(CELLAR_TURBO_EETH_DEPLOYMENT_1, 10000004)];
pub const ALLOWED_V2_5_CATALOGUE_POSITIONS: [(&str, u32); 6] = [
(CELLAR_MORPHO_ETH_MAXIMIZER, 110000007),
(CELLAR_MORPHO_ETH_MAXIMIZER, 110000008),
(CELLAR_MORPHO_ETH_MAXIMIZER, 110000009),
(CELLAR_MORPHO_ETH_MAXIMIZER, 110000010),
(CELLAR_MORPHO_ETH_MAXIMIZER, 11500004),
(CELLAR_MORPHO_ETH_MAXIMIZER, 11500005),
];

pub const BLOCKED_ADAPTORS: [&str; 3] = [
ADAPTOR_UNIV3_V1,
Expand Down Expand Up @@ -146,6 +152,7 @@ pub const V2_5_PERMISSIONS: CellarArchPermissions = CellarArchPermissions {

// cellars

pub const CELLAR_MORPHO_ETH_MAXIMIZER: &str = "cf4b531b4cde95bd35d71926e09b2b54c564f5b6";
pub const CELLAR_RY1INCH: &str = "c7b69e15d86c5c1581dacce3cacaf5b68cd6596f";
pub const CELLAR_RYBTC: &str = "0274a704a6d9129f90a62ddc6f6024b33ecdad36";
pub const CELLAR_RYENS: &str = "18ea937aba6053bc232d9ae2c42abe7a8a2be440";
Expand Down

0 comments on commit 9cbbc3c

Please sign in to comment.