Represents address on VBK chain.
More...
Definition at line 28 of file address.hpp.
#include <address.hpp>
◆ fromPublicKey()
static Address altintegration::Address::fromPublicKey |
( |
Slice< const uint8_t > |
publicKey | ) |
|
|
static |
- Parameters
-
publicKey | byte array containing public key |
- Returns
- Address containing VBK address
◆ fromString()
bool altintegration::Address::fromString |
( |
const std::string & |
input, |
|
|
ValidationState & |
state |
|
) |
| |
- Parameters
-
[in] | input | should contain text representation of an address |
[out] | state | validation state |
- Returns
- Address containing VBK address
◆ getPopBytes()
void altintegration::Address::getPopBytes |
( |
WriteStream & |
stream | ) |
const |
- Parameters
-
stream | data stream to write into |
◆ getType()
◆ isDerivedFromPublicKey()
bool altintegration::Address::isDerivedFromPublicKey |
( |
Slice< const uint8_t > |
publicKey | ) |
const |
- Parameters
-
publicKey | byte array containing public key |
- Returns
- true if address is derived from public key
◆ toString()
std::string altintegration::Address::toString |
( |
| ) |
const |
|
noexcept |
- Returns
- string with VBK address
◆ toVbkEncoding()
void altintegration::Address::toVbkEncoding |
( |
WriteStream & |
stream | ) |
const |
- Parameters
-
stream | data stream to write into |
- Exceptions
-
std::invalid_argument | if address has unsupported type |
◆ DeserializeFromVbkEncoding
- Parameters
-
| stream | data stream to read from |
[out] | out | output address |
[out] | state | |
- Returns
- Address containing VBK address
The documentation for this class was generated from the following file: