Documentation ¶
Overview ¶
Package statestore provides statestore implementation and mock. It uses leveldb under the hood.
Index ¶
- Variables
- func CashoutResultKey(vault common.Address) string
- func CashoutResultPrefixAllKey() string
- func CashoutResultPrefixKey() string
- func GetTodayTotalDailyReceivedCashedKey(token common.Address) string
- func GetTodayTotalDailyReceivedKey(token common.Address) string
- func GetTodayTotalDailySentKey(token common.Address) string
- func GetTotalDailyReceivedCashedKeyByTime(timestamp int64, token common.Address) string
- func GetTotalDailyReceivedKeyByTime(timestamp int64, token common.Address) string
- func GetTotalDailySentKeyByTime(timestamp int64, token common.Address) string
- func PeerReceivedUncashRecordsCountKey(vault common.Address, token common.Address) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TotalReceivedKey = "swap_vault_total_received" // 收到支票总额度 TotalReceivedCountKey = "swap_vault_total_received_count" // 收到支票总数量 TotalReceivedCashedKey = "swap_vault_total_received_cashed" // 收到支票兑现总额度 TotalReceivedCashedCountKey = "swap_vault_total_received_cashed_count" // 收到支票兑现总数量 TotalDailyReceivedKey = "swap_vault_total_daily_received_" // 单日收到支票总额度+总数量 TotalDailyReceivedCashedKey = "swap_vault_total_daily_received_cashed_" // 单日收到支票兑现总额度 TotalDailySentKey = "swap_vault_total_daily_sent_" // 单日发出支票总额度/总数量 PeerReceivedUncashRecordsCountKeyPrefix = "swap_vault_peer_received_uncashed_records_count_" // 每个peer收到支票未兑现数量 )
Functions ¶
func CashoutResultKey ¶
func CashoutResultPrefixAllKey ¶
func CashoutResultPrefixAllKey() string
func CashoutResultPrefixKey ¶
func CashoutResultPrefixKey() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.