BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <asset_ops.hpp>
Classes | |
struct | fee_params_t |
Public Member Functions | |
account_id_type | fee_payer () const |
void | validate () const |
share_type | calculate_fee (const fee_params_t &k, const optional< uint64_t > &sub_asset_creation_fee) const |
Public Member Functions inherited from graphene::protocol::base_operation | |
virtual | ~base_operation ()=default |
template<typename T > | |
share_type | calculate_fee (const T ¶ms) const |
virtual void | get_required_authorities (vector< authority > &) const |
virtual void | get_required_active_authorities (flat_set< account_id_type > &) const |
virtual void | get_required_owner_authorities (flat_set< account_id_type > &) const |
fc::optional< fc::future< void > > | validate_parallel (uint32_t skip) const |
Public Attributes | |
asset | fee |
account_id_type | issuer |
This account must sign and pay the fee for this operation. Later, this account may update the asset. More... | |
string | symbol |
The ticker symbol of this asset. More... | |
uint8_t | precision = 0 |
Number of digits to the right of decimal point, must be less than or equal to 12. More... | |
asset_options | common_options |
optional< bitasset_options > | bitasset_opts |
Options only available for BitAssets. MUST be non-null if and only if the asset is market-issued. More... | |
bool | is_prediction_market = false |
For BitAssets, set this to true if the asset implements a prediction market; false otherwise. More... | |
extensions_type | extensions |
Additional Inherited Members | |
Static Public Member Functions inherited from graphene::protocol::base_operation | |
static uint64_t | calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte) |
Definition at line 192 of file asset_ops.hpp.
share_type graphene::protocol::asset_create_operation::calculate_fee | ( | const fee_params_t & | k, |
const optional< uint64_t > & | sub_asset_creation_fee | ||
) | const |
Definition at line 82 of file asset_ops.cpp.
|
inline |
Definition at line 222 of file asset_ops.hpp.
|
virtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 110 of file asset_ops.cpp.
optional<bitasset_options> graphene::protocol::asset_create_operation::bitasset_opts |
Options only available for BitAssets. MUST be non-null if and only if the asset is market-issued.
Definition at line 217 of file asset_ops.hpp.
asset_options graphene::protocol::asset_create_operation::common_options |
Options common to all assets.
Definition at line 215 of file asset_ops.hpp.
extensions_type graphene::protocol::asset_create_operation::extensions |
Definition at line 220 of file asset_ops.hpp.
asset graphene::protocol::asset_create_operation::fee |
Definition at line 201 of file asset_ops.hpp.
bool graphene::protocol::asset_create_operation::is_prediction_market = false |
For BitAssets, set this to true if the asset implements a prediction market; false otherwise.
Definition at line 219 of file asset_ops.hpp.
account_id_type graphene::protocol::asset_create_operation::issuer |
This account must sign and pay the fee for this operation. Later, this account may update the asset.
Definition at line 203 of file asset_ops.hpp.
uint8_t graphene::protocol::asset_create_operation::precision = 0 |
Number of digits to the right of decimal point, must be less than or equal to 12.
Definition at line 207 of file asset_ops.hpp.
string graphene::protocol::asset_create_operation::symbol |
The ticker symbol of this asset.
Definition at line 205 of file asset_ops.hpp.