Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RaydiumSwapKeys ¶
type RaydiumSwapKeys struct { AmmAddress solana.PublicKey AmmOpenOrdersAddress *solana.PublicKey AmmTargetOrdersAddress *solana.PublicKey PoolCoinTokenAccountAddress solana.PublicKey PoolPcTokenAccountAddress solana.PublicKey SerumProgramAddress *solana.PublicKey SerumMarketAddress *solana.PublicKey SerumBidsAddress *solana.PublicKey SerumAsksAddress *solana.PublicKey SerumEventQueueAddress *solana.PublicKey SerumCoinVaultAccountAddress *solana.PublicKey SerumPcVaultAccountAddress *solana.PublicKey SerumVaultSignerAddress *solana.PublicKey }
type SwapDataType ¶ added in v0.1.3
type SwapDataType struct { SOLAmount string `json:"sol_amount"` TokenAmountWithDecimals uint64 `json:"token_amount_with_decimals"` Type type_.SwapType `json:"type"` UserAddress solana.PublicKey `json:"user_address"` RaydiumSwapKeys RaydiumSwapKeys `json:"raydium_swap_keys,omitempty"` }
type SwapTxDataType ¶ added in v0.1.3
type SwapTxDataType struct { Swaps []*SwapDataType FeeInfo *type_.FeeInfo TxId string }
Click to show internal directories.
Click to hide internal directories.