trader_joe

package
v0.0.0-...-2ac5be2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Trader Joe fees are always e18
	FeeDecimals = 18
)

Variables

This section is empty.

Functions

func GetTraderJoeFees

func GetTraderJoeFees(transfer worker.EthereumApplicationTransfer, client *ethclient.Client, fluidTokenContract ethCommon.Address, tokenDecimals int) (feeData applications.ApplicationFeeData, err error)

GetTraderJoeFees returns the volume and fees from a Trader Joe Swap event. The exact amounts of each are encoded as part of the log.

Types

This section is empty.

Jump to

Keyboard shortcuts

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