type_

package
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL