chronos

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 (
	FeeDenominator = 10000
)

Variables

This section is empty.

Functions

func GetChronosFees

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

GetChronosFees returns Chronos' fee based on fees given by Chronos' pair factory If the token swapped from was the fluid token, get the exact amount, otherwise approximate the cost based on the received amount of the fluid token

Types

This section is empty.

Jump to

Keyboard shortcuts

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