smartyield

package
v0.0.0-...-3be5031 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmartYield

type SmartYield struct {
	// contains filtered or unexported fields
}

func New

func New(db *db.DB) *SmartYield

func (*SmartYield) JuniorPastPositions

func (h *SmartYield) JuniorPastPositions(ctx *gin.Context)

func (*SmartYield) PoolAPYTrend

func (h *SmartYield) PoolAPYTrend(ctx *gin.Context)

func (*SmartYield) PoolDetails

func (h *SmartYield) PoolDetails(ctx *gin.Context)

func (*SmartYield) PoolJuniorBonds

func (h *SmartYield) PoolJuniorBonds(ctx *gin.Context)

func (*SmartYield) PoolLiquidity

func (h *SmartYield) PoolLiquidity(ctx *gin.Context)

func (*SmartYield) PoolSeniorBonds

func (h *SmartYield) PoolSeniorBonds(ctx *gin.Context)

func (*SmartYield) PoolTransactions

func (h *SmartYield) PoolTransactions(ctx *gin.Context)

func (*SmartYield) PoolUnderlyingDecimals

func (h *SmartYield) PoolUnderlyingDecimals(ctx *gin.Context, poolAddress string) (int64, error)

func (*SmartYield) Pools

func (h *SmartYield) Pools(ctx *gin.Context)

func (*SmartYield) RewardPools

func (h *SmartYield) RewardPools(ctx *gin.Context)

func (*SmartYield) RewardPoolsStakingActions

func (h *SmartYield) RewardPoolsStakingActions(ctx *gin.Context)

func (*SmartYield) RewardPoolsV2

func (h *SmartYield) RewardPoolsV2(ctx *gin.Context)

func (*SmartYield) SetRoutes

func (h *SmartYield) SetRoutes(engine *gin.Engine)

func (*SmartYield) UserJuniorPortfolioValue

func (h *SmartYield) UserJuniorPortfolioValue(ctx *gin.Context)

func (*SmartYield) UserPortfolioValue

func (h *SmartYield) UserPortfolioValue(ctx *gin.Context)

func (*SmartYield) UserSeniorPortfolioValue

func (h *SmartYield) UserSeniorPortfolioValue(ctx *gin.Context)

func (*SmartYield) UserSeniorRedeems

func (h *SmartYield) UserSeniorRedeems(ctx *gin.Context)

func (*SmartYield) UserTransactionHistory

func (h *SmartYield) UserTransactionHistory(ctx *gin.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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