diff --git a/script/RumpelConfig.sol b/script/RumpelConfig.sol index 883bdde..68364a5 100644 --- a/script/RumpelConfig.sol +++ b/script/RumpelConfig.sol @@ -57,6 +57,7 @@ library RumpelConfig { address public constant MAINNET_YT_RSTETH_26DEC2024 = 0x11CCff2F748a0100dBd457FF7170A54e12064Aba; address public constant MAINNET_YT_AMPHRETH_26DEC2024 = 0x5dB8a2391a72F1114BbaE30eFc9CD89f4a29F988; address public constant MAINNET_AMPHRETH = 0x5fD13359Ba15A84B76f7F87568309040176167cd; + address public constant MAINNET_SYMBIOTIC_LBTC = 0x9C0823D3A1172F9DdF672d438dec79c39a64f448; function updateGuardAllowlist(RumpelGuard rumpelGuard, string memory tag) internal { setupGuardProtocols(rumpelGuard, tag); @@ -110,7 +111,7 @@ library RumpelConfig { return getInitialGuardProtocolConfigs(); } else if (tagHash == keccak256(bytes("mellow-re7"))) { return getMellowRe7GuardProtocolConfigs(); - } else if (tagHash == keccak256(bytes("initial-yts-and-amphrETH-08oct24"))) { + } else if (tagHash == keccak256(bytes("initial-yts-and-amphrETH-09oct24"))) { // No initial YT protocol Guard updates, only token transfers return new ProtocolGuardConfig[](0); } @@ -125,7 +126,7 @@ library RumpelConfig { return getInitialGuardTokenConfigs(); } else if (tagHash == keccak256(bytes("mellow-re7"))) { return getMellowRe7GuardTokenConfigs(); - } else if (tagHash == keccak256(bytes("initial-yts-and-amphrETH-08oct24"))) { + } else if (tagHash == keccak256(bytes("initial-yts-and-amphrETH-09oct24"))) { return getInitialYTsAndAmphrETHGuardTokenConfigs(); } @@ -137,7 +138,7 @@ library RumpelConfig { if (tagHash == keccak256(bytes("mellow-re7"))) { return getMellowRe7ModuleTokenConfigs(); - } else if (tagHash == keccak256(bytes("initial-yts-and-amphrETH-08oct24"))) { + } else if (tagHash == keccak256(bytes("initial-yts-and-amphrETH-09oct24"))) { // No blocklist for the initial YT add return new TokenModuleConfig[](0); } @@ -324,7 +325,7 @@ library RumpelConfig { } function getInitialYTsAndAmphrETHGuardTokenConfigs() internal pure returns (TokenGuardConfig[] memory) { - TokenGuardConfig[] memory configs = new TokenGuardConfig[](10); + TokenGuardConfig[] memory configs = new TokenGuardConfig[](11); configs[0] = TokenGuardConfig({ token: MAINNET_YTEBTC_26DEC2024, @@ -386,6 +387,12 @@ library RumpelConfig { approveAllowState: RumpelGuard.AllowListState.ON }); + configs[10] = TokenGuardConfig({ + token: MAINNET_SYMBIOTIC_LBTC, + transferAllowState: RumpelGuard.AllowListState.ON, + approveAllowState: RumpelGuard.AllowListState.OFF + }); + return configs; } }