penumbra_sdk_proto::serializers

Module bech32str

Source
Expand description

Bech32 serializers. Because Bech32 is parameterized by the HRP, this module implements (internal) helper functions that are used in submodules that fill in parameters for various key types.

Re-exports§

pub use bech32::Variant::*;

Modules§

address
asset_id
auction_id
compat_address
full_viewing_key
lp_id
spend_key
validator_governance_key
validator_identity_key
wallet_id

Enums§

Variant
Used for encode/decode operations for the two variants of Bech32

Functions§

decode
Convenience method for (general-purpose) Bech32 decoding.
encode
Convenience method for (general-purpose) Bech32 encoding.