Documentation ¶
Index ¶
- Constants
- func EstimateFeeInSellToken(sellAmount uint64, sellToken string, tradePath []string, ...) (uint64, error)
- func EstimateTradingFee(sellAmount uint64, sellToken string, tradePath []string, ...) (uint64, error)
- func EstimatedFeeInPRV(sellAmount uint64, sellToken string, tradePath []string, ...) (uint64, error)
- func GetPdexv3PoolDataFromRawRPCResult(pdexParamRaw json.RawMessage, pdexPoolPairsRaw json.RawMessage) (*jsonresult.PdexState, error)
Constants ¶
View Source
const ( BPS = 10000 BaseAmplifier = 10000 )
Variables ¶
This section is empty.
Functions ¶
func EstimateFeeInSellToken ¶
func EstimateTradingFee ¶
func EstimatedFeeInPRV ¶
func GetPdexv3PoolDataFromRawRPCResult ¶
func GetPdexv3PoolDataFromRawRPCResult(pdexParamRaw json.RawMessage, pdexPoolPairsRaw json.RawMessage) (*jsonresult.PdexState, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.