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.
Click to show internal directories.
Click to hide internal directories.