pub struct ConfirmGtBuybackBuilder<'a, C> { /* private fields */ }
Expand description
Confirm GT buyback builder.
Implementations§
Source§impl<'a, C: Deref<Target = impl Signer> + Clone> ConfirmGtBuybackBuilder<'a, C>
impl<'a, C: Deref<Target = impl Signer> + Clone> ConfirmGtBuybackBuilder<'a, C>
Sourcepub async fn prepare_hint(&mut self) -> Result<ConfirmGtBuybackHint>
pub async fn prepare_hint(&mut self) -> Result<ConfirmGtBuybackHint>
Prepare ConfirmGtBuybackHint
.
Trait Implementations§
Source§impl<'a, C: Deref<Target = impl Signer> + Clone> MakeBundleBuilder<'a, C> for ConfirmGtBuybackBuilder<'a, C>
impl<'a, C: Deref<Target = impl Signer> + Clone> MakeBundleBuilder<'a, C> for ConfirmGtBuybackBuilder<'a, C>
Source§async fn build_with_options(
&mut self,
options: BundleOptions,
) -> Result<BundleBuilder<'a, C>>
async fn build_with_options( &mut self, options: BundleOptions, ) -> Result<BundleBuilder<'a, C>>
Build with options.
Source§impl<C: Deref<Target = impl Signer> + Clone> PullOraclePriceConsumer for ConfirmGtBuybackBuilder<'_, C>
impl<C: Deref<Target = impl Signer> + Clone> PullOraclePriceConsumer for ConfirmGtBuybackBuilder<'_, C>
Source§async fn feed_ids(&mut self) -> Result<FeedIds>
async fn feed_ids(&mut self) -> Result<FeedIds>
Returns a reference to tokens and their associated feed IDs that require price updates.
Source§fn process_feeds(
&mut self,
provider: PriceProviderKind,
map: FeedAddressMap,
) -> Result<()>
fn process_feeds( &mut self, provider: PriceProviderKind, map: FeedAddressMap, ) -> Result<()>
Processes the feed address map returned from the pull oracle.
Source§impl<C> SetExecutionFee for ConfirmGtBuybackBuilder<'_, C>
impl<C> SetExecutionFee for ConfirmGtBuybackBuilder<'_, C>
Source§fn set_execution_fee(&mut self, _lamports: u64) -> &mut Self
fn set_execution_fee(&mut self, _lamports: u64) -> &mut Self
Set execution fee.
Source§fn is_execution_fee_estimation_required(&self) -> bool
fn is_execution_fee_estimation_required(&self) -> bool
Whether the execution fee needed to be estiamted.
Auto Trait Implementations§
impl<'a, C> Freeze for ConfirmGtBuybackBuilder<'a, C>
impl<'a, C> !RefUnwindSafe for ConfirmGtBuybackBuilder<'a, C>
impl<'a, C> !Send for ConfirmGtBuybackBuilder<'a, C>
impl<'a, C> !Sync for ConfirmGtBuybackBuilder<'a, C>
impl<'a, C> Unpin for ConfirmGtBuybackBuilder<'a, C>
impl<'a, C> !UnwindSafe for ConfirmGtBuybackBuilder<'a, C>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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