Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReserveRatesStorage ¶
type ReserveRatesStorage interface { UpdateRatesRecords(uint64, map[string]map[string]common.ReserveRateEntry) error GetRatesByTimePoint(addrs []ethereum.Address, fromTime, toTime uint64) (map[string]map[string][]common.ReserveRates, error) LastBlock() (int64, error) }
ReserveRatesStorage defines a set of interface for reserve rate storage, which can be implemented by any DB
Click to show internal directories.
Click to hide internal directories.