-
Notifications
You must be signed in to change notification settings - Fork 38
/
constants.go
26 lines (21 loc) · 929 Bytes
/
constants.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
/*
Copyright [2019] - [2021], PERSISTENCE TECHNOLOGIES PTE. LTD. and the persistenceCore contributors
SPDX-License-Identifier: Apache-2.0
*/
package application
import (
sdkTypes "github.com/cosmos/cosmos-sdk/types"
)
const (
Name = "PersistenceCore"
Bech32MainPrefix = "persistence"
UpgradeName = "v2"
CoinType = 750
FullFundraiserPath = "44'/750'/0'/0/0"
Bech32PrefixAccAddr = Bech32MainPrefix
Bech32PrefixAccPub = Bech32MainPrefix + sdkTypes.PrefixPublic
Bech32PrefixValAddr = Bech32MainPrefix + sdkTypes.PrefixValidator + sdkTypes.PrefixOperator
Bech32PrefixValPub = Bech32MainPrefix + sdkTypes.PrefixValidator + sdkTypes.PrefixOperator + sdkTypes.PrefixPublic
Bech32PrefixConsAddr = Bech32MainPrefix + sdkTypes.PrefixValidator + sdkTypes.PrefixConsensus
Bech32PrefixConsPub = Bech32MainPrefix + sdkTypes.PrefixValidator + sdkTypes.PrefixConsensus + sdkTypes.PrefixPublic
)