requests

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReqAaveV2LendingPools added in v0.2.0

func ReqAaveV2LendingPools(network string) ([]aaveV2LendingPoolInfo, error)

Return aava v2 lend pools info.

Only support avalanche and ethereum now.

func ReqAxialAvaxPools added in v0.2.1

func ReqAxialAvaxPools() (v []axialPool, err error)

func ReqCurveCrypto added in v0.2.1

func ReqCurveCrypto(network string) (v curveAvaxPoolMainListReq, err error)

Curve crypto pools.

func ReqCurvePoolMain added in v0.2.1

func ReqCurvePoolMain(network string) (v curveAvaxPoolMainListReq, err error)

Curve main pools.

func ReqCurveStakeApy added in v0.2.1

func ReqCurveStakeApy(network string) (v curveAvaxStakeApyReq, err error)

func ReqCurveVolumeApr added in v0.2.1

func ReqCurveVolumeApr(network string) (v curvePoolVolumeAprReq, err error)

func ReqJoeAvaxPools added in v0.2.1

func ReqJoeAvaxPools() ([]joeLiquidityPool, error)

func ReqJoeAvaxStakeChefInfo added in v0.2.1

func ReqJoeAvaxStakeChefInfo[T types.Integer | string](version_ int) (info joeStakeMasterChefInfo, err error)

version = 2 or 3, representing chefV2 and chefV3

func ReqJoeAvaxStakePoolsInfo added in v0.2.1

func ReqJoeAvaxStakePoolsInfo[T types.Integer | string](version_ int) (infos []joeStakePoolsInfo, err error)

version = 2 or 3, representing chefV2 and chefV3

func ReqPangolinAllInfo added in v0.2.1

func ReqPangolinAllInfo() (v pangolinAllInfoReq, err error)

func ReqPangolinApr2 added in v0.2.1

func ReqPangolinApr2[T types.Integer | string](pid T) (v pangolinApr2Req, err error)

func ReqSushiPairs added in v0.2.1

func ReqSushiPairs(network string) (v []sushiPairInfo, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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