diff --git a/Cargo.lock b/Cargo.lock index b79a58ae..ffdeafc4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4045,7 +4045,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "steward" -version = "4.2.1" +version = "4.2.2" dependencies = [ "abscissa_core", "abscissa_tokio", @@ -4106,7 +4106,7 @@ dependencies = [ [[package]] name = "steward-proto" -version = "4.2.1" +version = "4.2.2" dependencies = [ "prost", "serde", diff --git a/Cargo.toml b/Cargo.toml index 0b42f7a8..a021347a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ default-members = [ resolver = "2" [workspace.package] -version = "4.2.1" +version = "4.2.2" edition = "2021" [workspace.dependencies] diff --git a/crates/steward-proto/src/gen/descriptor.bin b/crates/steward-proto/src/gen/descriptor.bin index 44d4d6fc..127bb8c3 100644 Binary files a/crates/steward-proto/src/gen/descriptor.bin and b/crates/steward-proto/src/gen/descriptor.bin differ diff --git a/crates/steward-proto/src/gen/steward.v4.rs b/crates/steward-proto/src/gen/steward.v4.rs index 4b3854c2..0514822c 100644 --- a/crates/steward-proto/src/gen/steward.v4.rs +++ b/crates/steward-proto/src/gen/steward.v4.rs @@ -3499,7 +3499,7 @@ pub mod aave_v3_debt_token_adaptor_v1_flash_loan { /// The function call data for the adaptor #[prost( oneof = "adaptor_call_for_aave_v3_flash_loan::CallData", - tags = "2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33" + tags = "2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34" )] pub call_data: ::core::option::Option, } @@ -3608,6 +3608,9 @@ pub mod aave_v3_debt_token_adaptor_v1_flash_loan { /// Represents function calls for the StakingAdaptorV1 #[prost(message, tag = "33")] StakingV1Calls(super::super::StakingAdaptorV1Calls), + /// Represents function calls for the AaveV3DebtTokenAdaptor V1 + #[prost(message, tag = "34")] + AaveV3DebtTokenV1Calls(super::super::AaveV3DebtTokenAdaptorV1Calls), } } } diff --git a/hash_proto b/hash_proto index 6ba3250f..d0fc1d5b 100644 --- a/hash_proto +++ b/hash_proto @@ -1 +1 @@ -42ce538b083bd8e0909e5be03277d74f5b19aad9dae9c5fc956831579c2a61e6 \ No newline at end of file +16d2cc3be8e4aefd4a4864fccd326e92b66abb878e0e617329e90c1eebfc4fb1 \ No newline at end of file diff --git a/proto/steward/v4/aave_v3_debt_token_flash_loan.proto b/proto/steward/v4/aave_v3_debt_token_flash_loan.proto index 3e72d4ff..85c485b7 100644 --- a/proto/steward/v4/aave_v3_debt_token_flash_loan.proto +++ b/proto/steward/v4/aave_v3_debt_token_flash_loan.proto @@ -6,6 +6,7 @@ option go_package = "/steward_proto"; import "a_token.proto"; import "debt_token.proto"; import "aave_v3_a_token.proto"; +import "aave_v3_debt_token.proto"; import "balancer_pool.proto"; import "c_token.proto"; import "erc4626.proto"; @@ -125,6 +126,8 @@ message AaveV3DebtTokenAdaptorV1FlashLoan { ERC4626AdaptorV1Calls erc4626_v1_calls = 32; // Represents function calls for the StakingAdaptorV1 StakingAdaptorV1Calls staking_v1_calls = 33; + // Represents function calls for the AaveV3DebtTokenAdaptor V1 + AaveV3DebtTokenAdaptorV1Calls aave_v3_debt_token_v1_calls = 34; } } } diff --git a/src/cellars/adaptors/aave_v3.rs b/src/cellars/adaptors/aave_v3.rs index ddc0a369..a62d7ce8 100644 --- a/src/cellars/adaptors/aave_v3.rs +++ b/src/cellars/adaptors/aave_v3.rs @@ -297,6 +297,9 @@ fn get_encoded_adaptor_calls( StakingV1Calls(params) => { calls.extend(adaptors::staking::staking_adaptor_v1_calls(params)?) } + AaveV3DebtTokenV1Calls(params) => calls.extend( + adaptors::aave_v3::aave_v3_debt_token_adaptor_v1_calls(params)?, + ), }; result.push(AbiAdaptorCall {