-
Notifications
You must be signed in to change notification settings - Fork 558
/
keys.go
34 lines (26 loc) · 1.24 KB
/
keys.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package types
const (
// ModuleName defines the module name.
ModuleName = "txfees"
KeySeparator = "|"
// StoreKey defines the primary module store key.
StoreKey = ModuleName
// RouterKey is the message route for slashing.
RouterKey = ModuleName
// FeeCollectorName the module account name for the fee collector account address.
FeeCollectorName = "fee_collector"
// FeeCollectorForStakingRewardsName the module account name for the alt fee collector account address (used for auto-swapping non-OSMO tx fees).
// These fees go to the staking rewards pool.
FeeCollectorForStakingRewardsName = "non_native_fee_collector"
// FeeCollectorForCommunityPoolName the module account name for the alt fee collector account address (used for auto-swapping non-OSMO tx fees).
// These fees go to the community pool.
FeeCollectorForCommunityPoolName = "non_native_fee_collector_community_pool"
// QuerierRoute defines the module's query routing key
QuerierRoute = ModuleName
)
var (
BaseDenomKey = []byte("base_denom")
FeeTokensStorePrefix = []byte("fee_tokens")
KeyTxFeeProtorevTracker = []byte("txfee_protorev_tracker")
KeyTxFeeProtorevTrackerStartHeight = []byte("txfee_protorev_tracker_start_height")
)