export interface Bech32Config { bech32PrefixAccAddr : string ; bech32PrefixAccPub : string ; bech32PrefixValAddr : string ; bech32PrefixValPub : string ; bech32PrefixConsAddr : string ; bech32PrefixConsPub : string ; } export function defaultBech32Config ( mainPrefix , validatorPrefix = "val" , consensusPrefix = "cons" , publicPrefix = "pub" , operatorPrefix = "oper" ) { return { bech32PrefixAccAddr : mainPrefix , bech32PrefixAccPub : mainPrefix + publicPrefix , bech32PrefixValAddr : mainPrefix + validatorPrefix + operatorPrefix , bech32PrefixValPub : mainPrefix + validatorPrefix + operatorPrefix + publicPrefix , bech32PrefixConsAddr : mainPrefix + validatorPrefix + consensusPrefix , bech32PrefixConsPub : mainPrefix + validatorPrefix + consensusPrefix + publicPrefix } ; }