BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::asset_update_bitasset_operation Struct Reference

Update options specific to BitAssetsBitAssets have some options which are not relevant to other asset types. This operation is used to update those options an an existing BitAsset. More...

#include <asset_ops.hpp>

Inheritance diagram for graphene::protocol::asset_update_bitasset_operation:


struct  fee_parameters_type

Public Member Functions

account_id_type fee_payer () const
void validate () const
- Public Member Functions inherited from graphene::protocol::base_operation
template<typename T >
share_type calculate_fee (const T &params) const
void get_required_authorities (vector< authority > &) const
void get_required_active_authorities (flat_set< account_id_type > &) const
void get_required_owner_authorities (flat_set< account_id_type > &) const
void validate () const
fc::optional< fc::future< void > > validate_parallel (uint32_t skip) const

Public Attributes

asset fee
account_id_type issuer
asset_id_type asset_to_update
bitasset_options new_options
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)

Detailed Description

Update options specific to BitAssets

BitAssets have some options which are not relevant to other asset types. This operation is used to update those options an an existing BitAsset.

issuer MUST be an existing account and MUST match asset_object::issuer on asset_to_update
asset_to_update MUST be a BitAsset, i.e. asset_object::is_market_issued() returns true
fee MUST be nonnegative, and issuer MUST have a sufficient balance to pay it
new_options SHALL be internally consistent, as verified by validate()
asset_to_update will have BitAsset-specific options matching those of new_options

Definition at line 353 of file asset_ops.hpp.

Member Function Documentation

account_id_type graphene::protocol::asset_update_bitasset_operation::fee_payer ( ) const

Definition at line 364 of file asset_ops.hpp.

void graphene::protocol::asset_update_bitasset_operation::validate ( ) const

Definition at line 216 of file asset_ops.cpp.

Member Data Documentation

asset_id_type graphene::protocol::asset_update_bitasset_operation::asset_to_update

Definition at line 359 of file asset_ops.hpp.

extensions_type graphene::protocol::asset_update_bitasset_operation::extensions

Definition at line 362 of file asset_ops.hpp.

asset graphene::protocol::asset_update_bitasset_operation::fee

Definition at line 357 of file asset_ops.hpp.

account_id_type graphene::protocol::asset_update_bitasset_operation::issuer

Definition at line 358 of file asset_ops.hpp.

bitasset_options graphene::protocol::asset_update_bitasset_operation::new_options

Definition at line 361 of file asset_ops.hpp.

The documentation for this struct was generated from the following files: