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: 0

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