swap

package
v0.0.0-...-d09159b Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmApprovalWithUser

func ConfirmApprovalWithUser(ethClient *ethclient.Client, publicAddress string, tokenAddress string) (bool, error)

func ConfirmExecuteSwapWithUser

func ConfirmExecuteSwapWithUser(config *models.ExecuteSwapConfig) (bool, error)

func ConfirmSwapDataWithUser

func ConfirmSwapDataWithUser(swapResponse *models.SwapResponse, fromAmount string, slippage float32) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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