pub struct ProxyTo<A>where
A: VMApi + 'static,{
pub address: ManagedOption<A, ManagedAddress<A>>,
}
Fields§
§address: ManagedOption<A, ManagedAddress<A>>
Trait Implementations§
Source§impl<A> ProxyObjBase for ProxyTo<A>where
A: VMApi + 'static,
impl<A> ProxyObjBase for ProxyTo<A>where
A: VMApi + 'static,
Source§impl<A> ProxyTrait for ProxyTo<A>where
A: VMApi,
impl<A> ProxyTrait for ProxyTo<A>where
A: VMApi,
fn pause_endpoint( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn unpause_endpoint( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn paused_status( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<SingleValueMapper<Self::Api, bool>>>
Source§impl<A> ProxyTrait for ProxyTo<A>where
A: VMApi,
impl<A> ProxyTrait for ProxyTo<A>where
A: VMApi,
fn stake( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn unstake<Arg0>( &mut self, unstake_amount: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn vote_slash_member<Arg0>( &mut self, member_to_slash: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn cancel_vote_slash_member<Arg0>( &mut self, member_to_slash: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn slash_member<Arg0>( &mut self, member_to_slash: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
Source§impl<A> ProxyTrait for ProxyTo<A>where
A: VMApi,
impl<A> ProxyTrait for ProxyTo<A>where
A: VMApi,
fn init<Arg0: ProxyArg<EgldOrEsdtTokenIdentifier<Self::Api>>, Arg1: ProxyArg<BigUint<Self::Api>>, Arg2: ProxyArg<BigUint<Self::Api>>, Arg3: ProxyArg<usize>, Arg4: ProxyArg<usize>, Arg5: ProxyArg<MultiValueEncoded<Self::Api, ManagedAddress<Self::Api>>>>( &mut self, staking_token: Arg0, staking_amount: Arg1, slash_amount: Arg2, slash_quorum: Arg3, submission_count: Arg4, oracles: Arg5, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), DeployCall<TxScEnv<Self::Api>, ()>, OriginalResultMarker<()>>
fn upgrade( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn change_amounts<Arg0: ProxyArg<BigUint<Self::Api>>, Arg1: ProxyArg<BigUint<Self::Api>>>( &mut self, staking_amount: Arg0, slash_amount: Arg1, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn add_oracles<Arg0: ProxyArg<MultiValueEncoded<Self::Api, ManagedAddress<Self::Api>>>>( &mut self, oracles: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn remove_oracles<Arg0: ProxyArg<usize>, Arg1: ProxyArg<MultiValueEncoded<Self::Api, ManagedAddress<Self::Api>>>>( &mut self, submission_count: Arg0, oracles: Arg1, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn submit<Arg0: ProxyArg<ManagedBuffer<Self::Api>>, Arg1: ProxyArg<ManagedBuffer<Self::Api>>, Arg2: ProxyArg<u64>, Arg3: ProxyArg<BigUint<Self::Api>>, Arg4: ProxyArg<u8>>( &mut self, from: Arg0, to: Arg1, submission_timestamp: Arg2, price: Arg3, decimals: Arg4, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn submit_batch<Arg0: ProxyArg<MultiValueEncoded<Self::Api, MultiValue5<ManagedBuffer<Self::Api>, ManagedBuffer<Self::Api>, u64, BigUint<Self::Api>, u8>>>>( &mut self, submissions: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn latest_round_data( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<MultiValueEncoded<Self::Api, PriceFeed<Self::Api>>>>
fn latest_price_feed<Arg0: ProxyArg<ManagedBuffer<Self::Api>>, Arg1: ProxyArg<ManagedBuffer<Self::Api>>>( &mut self, from: Arg0, to: Arg1, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<MultiValue6<u32, ManagedBuffer<Self::Api>, ManagedBuffer<Self::Api>, u64, BigUint<Self::Api>, u8>>>
fn latest_price_feed_optional<Arg0: ProxyArg<ManagedBuffer<Self::Api>>, Arg1: ProxyArg<ManagedBuffer<Self::Api>>>( &mut self, from: Arg0, to: Arg1, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<OptionalValue<MultiValue6<u32, ManagedBuffer<Self::Api>, ManagedBuffer<Self::Api>, u64, BigUint<Self::Api>, u8>>>>
fn set_submission_count<Arg0: ProxyArg<usize>>( &mut self, submission_count: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn get_oracles( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<MultiValueEncoded<Self::Api, ManagedAddress<Self::Api>>>>
fn set_pair_decimals<Arg0: ProxyArg<ManagedBuffer<Self::Api>>, Arg1: ProxyArg<ManagedBuffer<Self::Api>>, Arg2: ProxyArg<u8>>( &mut self, from: Arg0, to: Arg1, decimals: Arg2, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>
fn get_pair_decimals<Arg0: ProxyArg<ManagedBuffer<Self::Api>>, Arg1: ProxyArg<ManagedBuffer<Self::Api>>>( &mut self, from: Arg0, to: Arg1, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<u8>>
fn submission_count( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<SingleValueMapper<Self::Api, usize>>>
Auto Trait Implementations§
impl<A> Freeze for ProxyTo<A>
impl<A> RefUnwindSafe for ProxyTo<A>
impl<A> Send for ProxyTo<A>
impl<A> Sync for ProxyTo<A>
impl<A> Unpin for ProxyTo<A>
impl<A> UnwindSafe for ProxyTo<A>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more