|
Kagome
Polkadot Runtime Engine in C++17
|
#include "primitives/ss58_codec.hpp"#include <libp2p/multi/multibase_codec/codecs/base58.hpp>#include "crypto/hasher.hpp"Go to the source code of this file.
Namespaces | |
| kagome::primitives | |
Functions | |
| OUTCOME_CPP_DEFINE_CATEGORY (kagome::primitives, Ss58Error, e) | |
| static common::Buffer | kagome::primitives::calculateChecksum (gsl::span< uint8_t, kSs58Length-kSs58ChecksumLength > ss58_address, const crypto::Hasher &hasher) |
| outcome::result< AccountId > | kagome::primitives::decodeSs58 (std::string_view account_address, const crypto::Hasher &hasher) noexcept |
| std::string | kagome::primitives::encodeSs58 (uint8_t account_type, const AccountId &id, const crypto::Hasher &hasher) noexcept |
| OUTCOME_CPP_DEFINE_CATEGORY | ( | kagome::primitives | , |
| Ss58Error | , | ||
| e | |||
| ) |
Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Definition at line 12 of file ss58_codec.cpp.