diff --git a/dex/router/src/contract.rs b/dex/router/src/contract.rs index 8247dada9..c96b86cbe 100644 --- a/dex/router/src/contract.rs +++ b/dex/router/src/contract.rs @@ -270,23 +270,6 @@ pub trait Router: .call_and_exit() } - #[only_owner] - #[endpoint(setLocalRolesOwner)] - fn set_local_roles_owner( - &self, - token: TokenIdentifier, - address: ManagedAddress, - roles: MultiValueEncoded, - ) { - require!(self.is_active(), "Not active"); - - self.send() - .esdt_system_sc_proxy() - .set_special_roles(&address, &token, roles.into_iter()) - .async_call() - .call_and_exit() - } - #[only_owner] #[endpoint(removePair)] fn remove_pair( diff --git a/dex/router/wasm/src/lib.rs b/dex/router/wasm/src/lib.rs index c277c4367..c286e1b01 100644 --- a/dex/router/wasm/src/lib.rs +++ b/dex/router/wasm/src/lib.rs @@ -5,9 +5,9 @@ //////////////////////////////////////////////////// // Init: 1 -// Endpoints: 32 +// Endpoints: 31 // Async Callback: 1 -// Total number of exported functions: 34 +// Total number of exported functions: 33 #![no_std] #![allow(internal_features)] @@ -27,7 +27,6 @@ multiversx_sc_wasm_adapter::endpoints! { upgradePair => upgrade_pair_endpoint issueLpToken => issue_lp_token setLocalRoles => set_local_roles - setLocalRolesOwner => set_local_roles_owner removePair => remove_pair setFeeOn => set_fee_on setFeeOff => set_fee_off