Documentation ¶
Index ¶
- type SmartYield
- func (sy *SmartYield) CacheRewardPool(p types.RewardPool)
- func (sy *SmartYield) IsERC721OfInterest(addr string) bool
- func (sy *SmartYield) LoadPools(ctx context.Context, db *pgxpool.Pool) error
- func (sy *SmartYield) LoadRewardPools(ctx context.Context, db *pgxpool.Pool) error
- func (sy *SmartYield) PoolByAddress(addr string) *smartyield.Pool
- func (sy *SmartYield) PoolByControllerAddress(addr string) *smartyield.Pool
- func (sy *SmartYield) PoolByJuniorBondAddress(addr string) *smartyield.Pool
- func (sy *SmartYield) PoolByProviderAddress(addr string) *smartyield.Pool
- func (sy *SmartYield) PoolBySeniorBondAddress(addr string) *smartyield.Pool
- func (sy *SmartYield) RewardPoolByAddress(addr string) *types.RewardPool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmartYield ¶
type SmartYield struct { Pools []smartyield.Pool RewardPools []types.RewardPool }
func New ¶
func New() *SmartYield
func (*SmartYield) CacheRewardPool ¶
func (sy *SmartYield) CacheRewardPool(p types.RewardPool)
func (*SmartYield) IsERC721OfInterest ¶
func (sy *SmartYield) IsERC721OfInterest(addr string) bool
func (*SmartYield) LoadRewardPools ¶
func (*SmartYield) PoolByAddress ¶
func (sy *SmartYield) PoolByAddress(addr string) *smartyield.Pool
func (*SmartYield) PoolByControllerAddress ¶
func (sy *SmartYield) PoolByControllerAddress(addr string) *smartyield.Pool
func (*SmartYield) PoolByJuniorBondAddress ¶
func (sy *SmartYield) PoolByJuniorBondAddress(addr string) *smartyield.Pool
func (*SmartYield) PoolByProviderAddress ¶
func (sy *SmartYield) PoolByProviderAddress(addr string) *smartyield.Pool
func (*SmartYield) PoolBySeniorBondAddress ¶
func (sy *SmartYield) PoolBySeniorBondAddress(addr string) *smartyield.Pool
func (*SmartYield) RewardPoolByAddress ¶
func (sy *SmartYield) RewardPoolByAddress(addr string) *types.RewardPool
Click to show internal directories.
Click to hide internal directories.