Struct EthSubmitter
pub struct EthSubmitter(pub ClientHandle);Expand description
Submit [SeqCall] as Ethereum transactions to be sequenced on chain.
Tuple Fields§
§0: ClientHandleImplementations§
§impl EthSubmitter
impl EthSubmitter
pub async fn submit_sender_call( &mut self, raw_tx: AlloyBytes, ) -> Result<Hash, EthSubmitterError>
pub async fn submit_certified_call( &mut self, from: Address, to: Address, call: CallParams, ) -> Result<Hash, EthSubmitterError>
pub async fn deploy_contract<S: Signer>( &mut self, signer: &S, data: AlloyBytes, ) -> Result<Option<Address>, EthSubmitterError>
Auto Trait Implementations§
impl Freeze for EthSubmitter
impl !RefUnwindSafe for EthSubmitter
impl Send for EthSubmitter
impl Sync for EthSubmitter
impl Unpin for EthSubmitter
impl !UnwindSafe for EthSubmitter
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more