Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWrongToken = errors.New("raydium Standard pool: PriceOf: token not in pool") ErrorWrongTypeCPMM = errors.New("raydium Standard pool: Not Raydium CPMM pool") )
Functions ¶
This section is empty.
Types ¶
type CpmmPoolInfo ¶
type CpmmPoolInfo struct { Blob [8]uint8 AmmConfig solana.PublicKey PoolCreator solana.PublicKey Token0Vault solana.PublicKey Token1Vault solana.PublicKey LpMint solana.PublicKey Token0Mint solana.PublicKey Token1Mint solana.PublicKey Token0Program solana.PublicKey Token1Program solana.PublicKey ObservationKey solana.PublicKey AuthBump uint8 Status uint8 LpMintDecimals uint8 Mint0Decimals uint8 Mint1Decimals uint8 LpSupply uint64 ProtocolFeesToken0 uint64 ProtocolFeesToken1 uint64 FundFeesToken0 uint64 FundFeesToken1 uint64 OpenTime uint64 Padding [32]uint64 }
type Liquidity ¶
type Liquidity struct { Name string Address solana.PublicKey Immutables LiquidityOpts State CpmmPoolInfo Extras LiquidityExtras // contains filtered or unexported fields }
type LiquidityExtras ¶
Click to show internal directories.
Click to hide internal directories.