Versions in this module Expand all Collapse all v0 v0.1.2 Jan 9, 2020 Changes in this version type Data + ConfirmPendingFeedSetting func(value []byte) error + GetFeedSetting func() (common.MapFeedSetting, error) + GetPendingFeedSetting func() (common.MapFeedSetting, error) + RejectPendingFeedSetting func() error + StorePendingFeedSetting func(value []byte) error v0.1.1 Sep 3, 2019 Changes in this version + const VERSION + type Core interface + CancelOrder func(id common.ActivityID, exchange common.Exchange) error + Deposit func(exchange common.Exchange, token common.Token, amount *big.Int, ...) (common.ActivityID, error) + SetRates func(tokens []common.Token, buys, sells []*big.Int, block *big.Int, ...) (common.ActivityID, error) + Trade func(exchange common.Exchange, tradeType string, base common.Token, ...) (id common.ActivityID, done float64, remaining float64, finished bool, ...) + Withdraw func(exchange common.Exchange, token common.Token, amount *big.Int, ...) (common.ActivityID, error) + type Data interface + CurrentAuthDataVersion func(timestamp uint64) (common.Version, error) + CurrentPriceVersion func(timestamp uint64) (common.Version, error) + GetAllFetcherConfiguration func() (common.FetcherConfiguration, error) + GetAllPrices func(timestamp uint64) (common.AllPriceResponse, error) + GetAuthData func(timestamp uint64) (common.AuthDataResponse, error) + GetBTCData func(timepoint uint64) (common.BTCData, error) + GetExchangeStatus func() (common.ExchangesStatus, error) + GetFeedConfiguration func() ([]common.FeedConfiguration, error) + GetGoldData func(timepoint uint64) (common.GoldData, error) + GetNotifications func() (common.ExchangeNotifications, error) + GetOnePrice func(id common.TokenPairID, timestamp uint64) (common.OnePriceResponse, error) + GetPendingActivities func() ([]common.ActivityRecord, error) + GetRate func(timestamp uint64) (common.AllRateResponse, error) + GetRates func(fromTime, toTime uint64) ([]common.AllRateResponse, error) + GetRecords func(fromTime, toTime uint64) ([]common.ActivityRecord, error) + GetTradeHistory func(fromTime, toTime uint64) (common.AllTradeHistory, error) + GetUSDData func(timestamp uint64) (common.USDData, error) + Run func() error + RunStorageController func() error + Stop func() error + UpdateExchangeNotification func(exchange, action, tokenPair string, from, to uint64, isWarning bool, ...) error + UpdateExchangeStatus func(exchange string, status bool, timestamp uint64) error + UpdateFeedConfiguration func(string, bool) error + UpdateFetcherConfiguration func(common.FetcherConfiguration) error v0.1.0 Dec 6, 2017 Changes in this version + type ReserveCore interface + CancelOrder func(id common.ActivityID, exchange common.Exchange) error + Deposit func(exchange common.Exchange, token common.Token, amount *big.Int, ...) (common.ActivityID, error) + SetRates func(sources []common.Token, dests []common.Token, rates []*big.Int, ...) (common.ActivityID, error) + Trade func(exchange common.Exchange, tradeType string, base common.Token, ...) (id common.ActivityID, done float64, remaining float64, finished bool, ...) + Withdraw func(exchange common.Exchange, token common.Token, amount *big.Int, ...) (common.ActivityID, error) + type ReserveData interface + CurrentBalanceVersion func(timestamp uint64) (common.Version, error) + CurrentEBalanceVersion func(timestamp uint64) (common.Version, error) + CurrentPriceVersion func(timestamp uint64) (common.Version, error) + CurrentRateVersion func(timestamp uint64) (common.Version, error) + GetAllBalances func(timestamp uint64) (common.AllBalanceResponse, error) + GetAllEBalances func(timestamp uint64) (common.AllEBalanceResponse, error) + GetAllPrices func(timestamp uint64) (common.AllPriceResponse, error) + GetAllRates func(timestamp uint64) (common.AllRateResponse, error) + GetOnePrice func(id common.TokenPairID, timestamp uint64) (common.OnePriceResponse, error) + GetPendingActivities func() ([]common.ActivityRecord, error) + GetRecords func() ([]common.ActivityRecord, error) + Run func() error + Stop func() error + type TestReserveData struct + func NewTestReserveData() *TestReserveData + func (self TestReserveData) CurrentPriceVersion() common.Version + func (self TestReserveData) GetAllPrices() (common.AllPriceResponse, error) + func (self TestReserveData) GetOnePrice(common.TokenPairID) (common.OnePriceResponse, error) + func (self TestReserveData) Run() error