Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/simple-lock-break-farm-into-init…
Browse files Browse the repository at this point in the history
…ial-tokens' into simple-lock-break-farm-into-initial-tokens
  • Loading branch information
CostinCarabas committed Feb 22, 2024
2 parents adf0267 + ac12c3c commit 9d78167
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 9d78167

Please sign in to comment.