pub struct CurveMarket<'a> {
pub virtual_base_reserves: u64,
pub virtual_quote_reserves: u64,
pub real_base_reserves: u64,
pub real_quote_reserves: u64,
pub created_at: i64,
pub fees: &'a LaunchpadFees,
pub landing: Landing,
pub creator_fee_bps: u16,
}Fields§
§virtual_base_reserves: u64§virtual_quote_reserves: u64§real_base_reserves: u64§real_quote_reserves: u64§created_at: i64§fees: &'a LaunchpadFeesPartnerConfig.launchpad of the trade’s partner on the curve’s
platform. It sets the protocol rate and the decay.
landing: Landing§creator_fee_bps: u16BondingCurve.creator_fee_bps, not the partner’s
max_creator_fee_bps.
Trait Implementations§
Source§impl<'a> Clone for CurveMarket<'a>
impl<'a> Clone for CurveMarket<'a>
impl<'a> Copy for CurveMarket<'a>
Auto Trait Implementations§
impl<'a> Freeze for CurveMarket<'a>
impl<'a> RefUnwindSafe for CurveMarket<'a>
impl<'a> Send for CurveMarket<'a>
impl<'a> Sync for CurveMarket<'a>
impl<'a> Unpin for CurveMarket<'a>
impl<'a> UnsafeUnpin for CurveMarket<'a>
impl<'a> UnwindSafe for CurveMarket<'a>
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