Skip to content

Commit

Permalink
Remove old permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrit committed Sep 19, 2023
1 parent 3137d37 commit 6bf8aaf
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions steward/src/cellars.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ pub const ALLOWED_CACHE_PRICE_ROUTER: [&str; 1] = [CELLAR_RYETH];
// permissions

pub const ALLOWED_V2_0_SETUP_ADAPTORS: [(&str, &str); 1] = [(CELLAR_RYUSD, ADAPTOR_CELLAR_V2)];
pub const ALLOWED_V2_2_CATALOGUE_ADAPTORS: [(&str, &str); 5] = [
(CELLAR_RYETH, ADAPTOR_AAVE_V3_A_TOKEN_V1),
(CELLAR_RYBTC, ADAPTOR_AAVE_V3_A_TOKEN_V1),
pub const ALLOWED_V2_2_CATALOGUE_ADAPTORS: [(&str, &str); 3] = [
(CELLAR_RYBTC, ADAPTOR_LEGACY_CELLAR_V1),
(CELLAR_RYBTC, ADAPTOR_COLLATERAL_F_TOKEN_V1),
(CELLAR_RYBTC, ADAPTOR_DEBT_F_TOKEN_V1),
Expand Down Expand Up @@ -72,14 +70,7 @@ pub const ALLOWED_V2_0_POSITIONS: [(&str, u32); 20] = [
(CELLAR_RYUSD, 28),
(CELLAR_RYUSD, 29),
];
pub const ALLOWED_V2_2_CATALOGUE_POSITIONS: [(&str, u32); 11] = [
(CELLAR_RYETH, 188),
(CELLAR_RYETH, 189),
(CELLAR_RYETH, 190),
(CELLAR_RYETH, 191),
(CELLAR_RYBTC, 192),
(CELLAR_RYBTC, 193),
(CELLAR_RYBTC, 194),
pub const ALLOWED_V2_2_CATALOGUE_POSITIONS: [(&str, u32); 4] = [
(CELLAR_RYBTC, 195),
(CELLAR_RYBTC, 196),
(CELLAR_RYBTC, 197),
Expand Down

0 comments on commit 6bf8aaf

Please sign in to comment.