pub enum TxResolver {
LiquidityArrays {
pool: Address,
input_mint: Address,
array_key_indices: ArrayKeyIndices,
},
QuoteStamp,
}Variants§
LiquidityArrays
Points a single-pool swap at the liquidity arrays (CLMM tick arrays) it reads at the pool’s price when the action fires, instead of the ones it was built with. The action’s one transaction must be v0 with no address lookup tables, and every array key index must name a static key that is neither a signer nor an invoked program.
Fields
§
array_key_indices: ArrayKeyIndicesIndices into the transaction’s static account keys holding the swap’s liquidity arrays, in the order the swap reads them.
QuoteStamp
Re-stamps each transaction’s one-step Jupiter route through a venue that prices a stale
quote short (Scorch, Flux) as quoted at the slot the action fires. The transaction must
carry such a route. Unlike liquidityArrays, a slot anchor may repeat the transaction
once per slot.
Trait Implementations§
Source§impl Clone for TxResolver
impl Clone for TxResolver
Source§impl Debug for TxResolver
impl Debug for TxResolver
Source§impl<'de> Deserialize<'de> for TxResolver
impl<'de> Deserialize<'de> for TxResolver
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TxResolver
Source§impl PartialEq for TxResolver
impl PartialEq for TxResolver
Source§impl Serialize for TxResolver
impl Serialize for TxResolver
impl StructuralPartialEq for TxResolver
Auto Trait Implementations§
impl Freeze for TxResolver
impl RefUnwindSafe for TxResolver
impl Send for TxResolver
impl Sync for TxResolver
impl Unpin for TxResolver
impl UnsafeUnpin for TxResolver
impl UnwindSafe for TxResolver
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