pub struct DefaultMultiCallEntrypoint { /* private fields */ }Expand description
Multi-call entrypoint for unsigned transactions.
Implementations§
Source§impl DefaultMultiCallEntrypoint
impl DefaultMultiCallEntrypoint
Sourcepub fn new() -> DefaultMultiCallEntrypoint
pub fn new() -> DefaultMultiCallEntrypoint
Create a new multi-call entrypoint using the protocol default address.
Sourcepub fn with_address(address: AztecAddress) -> DefaultMultiCallEntrypoint
pub fn with_address(address: AztecAddress) -> DefaultMultiCallEntrypoint
Create a multi-call entrypoint with a custom address.
Sourcepub fn create_tx_execution_request(
&self,
exec: ExecutionPayload,
gas_settings: GasSettings,
chain_info: &ChainInfo,
) -> Result<TxExecutionRequest, Error>
pub fn create_tx_execution_request( &self, exec: ExecutionPayload, gas_settings: GasSettings, chain_info: &ChainInfo, ) -> Result<TxExecutionRequest, Error>
Create a full transaction execution request.
Sourcepub fn wrap_execution_payload(
&self,
exec: ExecutionPayload,
) -> Result<ExecutionPayload, Error>
pub fn wrap_execution_payload( &self, exec: ExecutionPayload, ) -> Result<ExecutionPayload, Error>
Wrap an ExecutionPayload through the multi-call entrypoint.
Sourcepub fn address(&self) -> AztecAddress
pub fn address(&self) -> AztecAddress
Get the address of this entrypoint.
Trait Implementations§
Source§impl Default for DefaultMultiCallEntrypoint
impl Default for DefaultMultiCallEntrypoint
Source§fn default() -> DefaultMultiCallEntrypoint
fn default() -> DefaultMultiCallEntrypoint
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultMultiCallEntrypoint
impl RefUnwindSafe for DefaultMultiCallEntrypoint
impl Send for DefaultMultiCallEntrypoint
impl Sync for DefaultMultiCallEntrypoint
impl Unpin for DefaultMultiCallEntrypoint
impl UnwindSafe for DefaultMultiCallEntrypoint
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