BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Update a credit offer. More...
#include <credit_offer.hpp>
Classes | |
struct | fee_params_t |
Public Member Functions | |
account_id_type | fee_payer () const |
void | validate () const override |
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 | owner_account |
Owner of the credit offer. More... | |
credit_offer_id_type | offer_id |
ID of the credit offer. More... | |
optional< asset > | delta_amount |
Delta amount, optional. More... | |
optional< uint32_t > | fee_rate |
New fee rate, optional. More... | |
optional< uint32_t > | max_duration_seconds |
New repayment time limit, optional. More... | |
optional< share_type > | min_deal_amount |
Minimum amount to borrow for each new deal, optional. More... | |
optional< bool > | enabled |
Whether this offer is available, optional. More... | |
optional< time_point_sec > | auto_disable_time |
New time to disable automatically, optional. More... | |
optional< flat_map< asset_id_type, price > > | acceptable_collateral |
New types and rates of acceptable collateral, optional. More... | |
optional< flat_map< account_id_type, share_type > > | acceptable_borrowers |
New allowed borrowers and their maximum amounts to borrow, optional. More... | |
extensions_type | extensions |
Unused. Reserved for future use. More... | |
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 credit offer.
Definition at line 88 of file credit_offer.hpp.
share_type graphene::protocol::credit_offer_update_operation::calculate_fee | ( | const fee_params_t & | k | ) | const |
Definition at line 137 of file credit_offer.cpp.
|
inline |
Definition at line 113 of file credit_offer.hpp.
|
overridevirtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 91 of file credit_offer.cpp.
optional<flat_map<account_id_type, share_type> > graphene::protocol::credit_offer_update_operation::acceptable_borrowers |
New allowed borrowers and their maximum amounts to borrow, optional.
Definition at line 109 of file credit_offer.hpp.
optional<flat_map<asset_id_type, price> > graphene::protocol::credit_offer_update_operation::acceptable_collateral |
New types and rates of acceptable collateral, optional.
Definition at line 106 of file credit_offer.hpp.
optional<time_point_sec> graphene::protocol::credit_offer_update_operation::auto_disable_time |
New time to disable automatically, optional.
Definition at line 103 of file credit_offer.hpp.
Delta amount, optional.
Definition at line 98 of file credit_offer.hpp.
optional<bool> graphene::protocol::credit_offer_update_operation::enabled |
Whether this offer is available, optional.
Definition at line 102 of file credit_offer.hpp.
extensions_type graphene::protocol::credit_offer_update_operation::extensions |
Unused. Reserved for future use.
Definition at line 111 of file credit_offer.hpp.
asset graphene::protocol::credit_offer_update_operation::fee |
Operation fee.
Definition at line 95 of file credit_offer.hpp.
optional<uint32_t> graphene::protocol::credit_offer_update_operation::fee_rate |
New fee rate, optional.
Definition at line 99 of file credit_offer.hpp.
optional<uint32_t> graphene::protocol::credit_offer_update_operation::max_duration_seconds |
New repayment time limit, optional.
Definition at line 100 of file credit_offer.hpp.
optional<share_type> graphene::protocol::credit_offer_update_operation::min_deal_amount |
Minimum amount to borrow for each new deal, optional.
Definition at line 101 of file credit_offer.hpp.
credit_offer_id_type graphene::protocol::credit_offer_update_operation::offer_id |
ID of the credit offer.
Definition at line 97 of file credit_offer.hpp.
account_id_type graphene::protocol::credit_offer_update_operation::owner_account |
Owner of the credit offer.
Definition at line 96 of file credit_offer.hpp.