Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApyInfo ¶ added in v0.2.0
type ApyInfo struct { Apy decimal.Decimal Apr decimal.Decimal RewardToken *erc.ERC20Info IncentiveTotalApy decimal.Decimal IncentiveTotalApr decimal.Decimal IncentiveToken0Apy decimal.Decimal IncentiveToken0Apr decimal.Decimal IncentiveToken1Apy decimal.Decimal IncentiveToken1Apr decimal.Decimal IncentiveToken0 *erc.ERC20Info IncentiveToken1 *erc.ERC20Info }
Apys of a token.
Use 0.01 for 1%
type ProtocolBasic ¶
type ProtocolBasic struct { Network string ProtocolName string Client *bind.ContractBackend Gecko *coingecko.Gecko }
func (*ProtocolBasic) Regularcheck ¶
func (p *ProtocolBasic) Regularcheck() bool
Return if protocol basic pass regular check.
Click to show internal directories.
Click to hide internal directories.