6 #ifndef KAGOME_SS58_CODEC_HPP 7 #define KAGOME_SS58_CODEC_HPP 23 constexpr
size_t kSs58Length = AccountId::size() + kSs58ChecksumLength
30 outcome::result<AccountId>
decodeSs58(std::string_view account_address,
41 #endif // KAGOME_SS58_CODEC_HPP OUTCOME_HPP_DECLARE_ERROR(kagome::primitives, Ss58Error)
constexpr size_t kSs58Length
outcome::result< AccountId > decodeSs58(std::string_view account_address, const crypto::Hasher &hasher) noexcept
crypto::Sr25519PublicKey AccountId
std::string encodeSs58(uint8_t account_type, const AccountId &id, const crypto::Hasher &hasher) noexcept
constexpr size_t kSs58ChecksumLength