staking

package
v0.0.0-...-8b20efb Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const DEFAULT_DECIMALS = 18

Variables

This section is empty.

Functions

This section is empty.

Types

type ClassifiedHarvestDepositPools

type ClassifiedHarvestDepositPools struct {
	UserLPTokens map[string]UserLPToken `json:"user_lp_tokens"`
	Best         []*harvestfarm.Pool    `json:"best"`
	Type0        []*harvestfarm.Pool    `json:"type0"`
	Type1        []*harvestfarm.Pool    `json:"type1"`
}

type HarvestFarm

type HarvestFarm struct{}

func (*HarvestFarm) DepositPrepare

func (h *HarvestFarm) DepositPrepare(c echo.Context) error

func (*HarvestFarm) FarmInfo

func (h *HarvestFarm) FarmInfo(c echo.Context) error

type StakingHarvestDepositPrepareIn

type StakingHarvestDepositPrepareIn struct {
	Vault  string `json:"vault" query:"vault" form:"vault"`
	User   string `json:"user" query:"user" form:"vault"`
	Amount string `json:"amount" query:"amount" form:"amount"`
	Value  string `json:"value" query:"value" form:"value"`
}

type StakingHarvestDepositPrepareOut

type StakingHarvestDepositPrepareOut struct {
	Data         string `json:"data"`
	TxFee        string `json:"tx_fee"`
	Value        string `json:"value"`
	ContractAddr string `json:"contract_addr"`
}

type UserLPToken

type UserLPToken struct {
	Amount       string `json:"amount"`
	AmountPretty string `json:"amount_pretty"`
}

Jump to

Keyboard shortcuts

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