diff --git a/crates/l2/starkgate-manager-client/src/clients/starkgate_manager.rs b/crates/l2/starkgate-manager-client/src/clients/starkgate_manager.rs index de7c88a..b58987e 100644 --- a/crates/l2/starkgate-manager-client/src/clients/starkgate_manager.rs +++ b/crates/l2/starkgate-manager-client/src/clients/starkgate_manager.rs @@ -4,11 +4,11 @@ use crate::interfaces::manager::StarkgateManager; use utils::{LocalWalletSignerMiddleware, StarknetContractClient}; use ethers::types::Address; -use starknet_proxy_client::clients::proxy_3_0_2::ProxySupport; +use starknet_proxy_client::clients::proxy_5_0_0::ProxySupportLatest; pub struct StarkgateManagerContractClient { manager: StarkgateManager, - proxy_support: ProxySupport, + proxy_support: ProxySupportLatest, manager_implementation: Address, } @@ -20,7 +20,7 @@ impl StarkgateManagerContractClient { ) -> Self { Self { manager: StarkgateManager::new(address, client.clone()), - proxy_support: ProxySupport::new(address, client.clone()), + proxy_support: ProxySupportLatest::new(address, client.clone()), manager_implementation: implementation_address, } } @@ -32,8 +32,8 @@ impl AsRef> for StarkgateManagerCo } } -impl AsRef> for StarkgateManagerContractClient { - fn as_ref(&self) -> &ProxySupport { +impl AsRef> for StarkgateManagerContractClient { + fn as_ref(&self) -> &ProxySupportLatest { &self.proxy_support } } diff --git a/crates/l2/starkgate-registry-client/src/clients/starkgate_registry.rs b/crates/l2/starkgate-registry-client/src/clients/starkgate_registry.rs index 76275c0..f35ed53 100644 --- a/crates/l2/starkgate-registry-client/src/clients/starkgate_registry.rs +++ b/crates/l2/starkgate-registry-client/src/clients/starkgate_registry.rs @@ -4,11 +4,11 @@ use crate::interfaces::registry::StarkgateRegistry; use utils::{LocalWalletSignerMiddleware, StarknetContractClient}; use ethers::types::Address; -use starknet_proxy_client::clients::proxy_3_0_2::ProxySupport; +use starknet_proxy_client::clients::proxy_5_0_0::ProxySupportLatest; pub struct StarkgateRegistryContractClient { registry: StarkgateRegistry, - proxy_support: ProxySupport, + proxy_support: ProxySupportLatest, registry_implementation: Address, } @@ -20,7 +20,7 @@ impl StarkgateRegistryContractClient { ) -> Self { Self { registry: StarkgateRegistry::new(address, client.clone()), - proxy_support: ProxySupport::new(address, client.clone()), + proxy_support: ProxySupportLatest::new(address, client.clone()), registry_implementation: implementation_address, } } @@ -31,8 +31,8 @@ impl AsRef> for StarkgateRegistry } } -impl AsRef> for StarkgateRegistryContractClient { - fn as_ref(&self) -> &ProxySupport { +impl AsRef> for StarkgateRegistryContractClient { + fn as_ref(&self) -> &ProxySupportLatest { &self.proxy_support } }