Documentation ¶
Index ¶
- type JupiterOpt
- func WithJupiterAfterTimeout(timeout time.Duration) JupiterOpt
- func WithJupiterAlternate(alternate bool) JupiterOpt
- func WithJupiterAmount(amount float64) JupiterOpt
- func WithJupiterClient(client *provider.HTTPClient) JupiterOpt
- func WithJupiterInitialTimeout(initialTimeout time.Duration) JupiterOpt
- func WithJupiterInterval(interval time.Duration) JupiterOpt
- func WithJupiterPublicKey(pk string) JupiterOpt
- func WithJupiterTokenPair(inputMint, outputMint string) JupiterOpt
- type Liquidity
- type SwapEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JupiterOpt ¶
type JupiterOpt func(s *jupiterSwap)
func WithJupiterAfterTimeout ¶
func WithJupiterAfterTimeout(timeout time.Duration) JupiterOpt
func WithJupiterAlternate ¶
func WithJupiterAlternate(alternate bool) JupiterOpt
func WithJupiterAmount ¶
func WithJupiterAmount(amount float64) JupiterOpt
func WithJupiterClient ¶
func WithJupiterClient(client *provider.HTTPClient) JupiterOpt
func WithJupiterInitialTimeout ¶
func WithJupiterInitialTimeout(initialTimeout time.Duration) JupiterOpt
func WithJupiterInterval ¶
func WithJupiterInterval(interval time.Duration) JupiterOpt
func WithJupiterPublicKey ¶
func WithJupiterPublicKey(pk string) JupiterOpt
func WithJupiterTokenPair ¶
func WithJupiterTokenPair(inputMint, outputMint string) JupiterOpt
type Liquidity ¶
func NewJupiterSwap ¶
func NewJupiterSwap(opts ...JupiterOpt) (Liquidity, error)
Click to show internal directories.
Click to hide internal directories.