storage

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: MIT Imports: 2 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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