BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Update a custom authority. More...
#include <custom_authority.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 |
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 |
Operation fee. More... | |
account_id_type | account |
Account which owns the custom authority to update; also pays the fee. More... | |
custom_authority_id_type | authority_to_update |
ID of the custom authority to update. More... | |
optional< bool > | new_enabled |
Change to whether the custom authority is enabled or not. More... | |
optional< time_point_sec > | new_valid_from |
Change to the custom authority begin date. More... | |
optional< time_point_sec > | new_valid_to |
Change to the custom authority expiration date. More... | |
optional< authority > | new_auth |
Change to the authentication for the custom authority. More... | |
flat_set< uint16_t > | restrictions_to_remove |
Set of IDs of restrictions to remove. More... | |
vector< restriction > | restrictions_to_add |
Vector of new restrictions. 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) |
Update a custom authority.
Definition at line 70 of file custom_authority.hpp.
share_type graphene::protocol::custom_authority_update_operation::calculate_fee | ( | const fee_params_t & | k | ) | const |
Definition at line 61 of file custom_authority.cpp.
|
inline |
Definition at line 97 of file custom_authority.hpp.
|
virtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 71 of file custom_authority.cpp.
account_id_type graphene::protocol::custom_authority_update_operation::account |
Account which owns the custom authority to update; also pays the fee.
Definition at line 79 of file custom_authority.hpp.
custom_authority_id_type graphene::protocol::custom_authority_update_operation::authority_to_update |
ID of the custom authority to update.
Definition at line 81 of file custom_authority.hpp.
extensions_type graphene::protocol::custom_authority_update_operation::extensions |
Definition at line 95 of file custom_authority.hpp.
asset graphene::protocol::custom_authority_update_operation::fee |
Operation fee.
Definition at line 77 of file custom_authority.hpp.
Change to the authentication for the custom authority.
Definition at line 89 of file custom_authority.hpp.
optional<bool> graphene::protocol::custom_authority_update_operation::new_enabled |
Change to whether the custom authority is enabled or not.
Definition at line 83 of file custom_authority.hpp.
optional<time_point_sec> graphene::protocol::custom_authority_update_operation::new_valid_from |
Change to the custom authority begin date.
Definition at line 85 of file custom_authority.hpp.
optional<time_point_sec> graphene::protocol::custom_authority_update_operation::new_valid_to |
Change to the custom authority expiration date.
Definition at line 87 of file custom_authority.hpp.
vector<restriction> graphene::protocol::custom_authority_update_operation::restrictions_to_add |
Vector of new restrictions.
Definition at line 93 of file custom_authority.hpp.
flat_set<uint16_t> graphene::protocol::custom_authority_update_operation::restrictions_to_remove |
Set of IDs of restrictions to remove.
Definition at line 91 of file custom_authority.hpp.