Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurveSwapFees ¶
func GetCurveSwapFees(transfer worker.EthereumApplicationTransfer, client *ethclient.Client, fluidTokenContract ethCommon.Address, tokenDecimals int) (applications.ApplicationFeeData, error)
GetCurveSwapFees calculates fees from Swapping TokenA and TokenB performed by a pool's exchange() All tokens in a pool are stable relative to each other, so slippage and token exchange rates are negligible
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.