Skip to content

Commit

Permalink
restore energy factory proxy in query module
Browse files Browse the repository at this point in the history
  • Loading branch information
psorinionut committed Aug 3, 2024
1 parent 75b6fa7 commit 57c06a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions energy-integration/common-modules/energy-query/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ pub trait EnergyQueryModule {
.read_from_address(&energy_factory_address, key)
}

#[proxy]
fn energy_factory_proxy(&self, sc_address: ManagedAddress) -> energy_factory::Proxy<Self::Api>;

#[view(getEnergyFactoryAddress)]
#[storage_mapper("energyFactoryAddress")]
fn energy_factory_address(&self) -> SingleValueMapper<ManagedAddress>;
Expand Down

0 comments on commit 57c06a5

Please sign in to comment.