pub struct UtilityExecutionOracle<'a, N: AztecNode> { /* private fields */ }Expand description
Oracle for utility function execution (read-only, no side effects).
Implementations§
Source§impl<'a, N: AztecNode> UtilityExecutionOracle<'a, N>
impl<'a, N: AztecNode> UtilityExecutionOracle<'a, N>
pub fn new( node: &'a N, contract_store: &'a ContractStore, key_store: &'a KeyStore, note_store: &'a NoteStore, address_store: &'a AddressStore, capsule_store: &'a CapsuleStore, sender_store: &'a SenderStore, sender_tagging_store: &'a SenderTaggingStore, recipient_tagging_store: &'a RecipientTaggingStore, private_event_store: &'a PrivateEventStore, anchor_block_store: &'a AnchorBlockStore, block_header: Value, contract_address: AztecAddress, scopes: Vec<AztecAddress>, ) -> Self
Trait Implementations§
Source§impl<'a, N: AztecNode + Send + Sync + 'static> OracleCallback for UtilityExecutionOracle<'a, N>
impl<'a, N: AztecNode + Send + Sync + 'static> OracleCallback for UtilityExecutionOracle<'a, N>
Auto Trait Implementations§
impl<'a, N> Freeze for UtilityExecutionOracle<'a, N>
impl<'a, N> !RefUnwindSafe for UtilityExecutionOracle<'a, N>
impl<'a, N> Send for UtilityExecutionOracle<'a, N>
impl<'a, N> Sync for UtilityExecutionOracle<'a, N>
impl<'a, N> Unpin for UtilityExecutionOracle<'a, N>
impl<'a, N> !UnwindSafe for UtilityExecutionOracle<'a, N>
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