Skip to content

Commit

Permalink
Merge branch 'main' into simple-lock-break-farm-into-initial-tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
CostinCarabas authored Feb 20, 2024
2 parents ea688d7 + cad0c11 commit ac12c3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions energy-integration/governance-v2/src/views.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ pub trait ViewsModule:
self.is_valid_proposal_id(proposal_id) && !self.proposals().item_is_empty(proposal_id)
}

#[only_owner]
#[endpoint(changeFeesCollectorAddress)]
fn change_fees_collector_address(&self, new_value: ManagedAddress) {
self.fees_collector_address().set(new_value);
}

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

Expand Down

0 comments on commit ac12c3c

Please sign in to comment.