BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::credit_deal_repay_operation Struct Reference

Repay a credit deal. More...

#include <credit_offer.hpp>

Inheritance diagram for graphene::protocol::credit_deal_repay_operation:
graphene::protocol::base_operation

Classes

struct  fee_params_t
 

Public Member Functions

account_id_type fee_payer () const
 
void validate () const override
 
- Public Member Functions inherited from graphene::protocol::base_operation
virtual ~base_operation ()=default
 
template<typename T >
share_type calculate_fee (const T &params) 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
 The account who repays to the credit offer. More...
 
credit_deal_id_type deal_id
 ID of the credit deal. More...
 
asset repay_amount
 The amount to repay. More...
 
asset credit_fee
 The credit fee relative to the amount to repay. 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)
 

Detailed Description

Repay a credit deal.

Definition at line 163 of file credit_offer.hpp.

Member Function Documentation

◆ fee_payer()

account_id_type graphene::protocol::credit_deal_repay_operation::fee_payer ( ) const
inline

Definition at line 175 of file credit_offer.hpp.

◆ validate()

void graphene::protocol::credit_deal_repay_operation::validate ( ) const
overridevirtual

Reimplemented from graphene::protocol::base_operation.

Definition at line 157 of file credit_offer.cpp.

Member Data Documentation

◆ account

account_id_type graphene::protocol::credit_deal_repay_operation::account

The account who repays to the credit offer.

Definition at line 168 of file credit_offer.hpp.

◆ credit_fee

asset graphene::protocol::credit_deal_repay_operation::credit_fee

The credit fee relative to the amount to repay.

Definition at line 171 of file credit_offer.hpp.

◆ deal_id

credit_deal_id_type graphene::protocol::credit_deal_repay_operation::deal_id

ID of the credit deal.

Definition at line 169 of file credit_offer.hpp.

◆ extensions

extensions_type graphene::protocol::credit_deal_repay_operation::extensions

Unused. Reserved for future use.

Definition at line 173 of file credit_offer.hpp.

◆ fee

asset graphene::protocol::credit_deal_repay_operation::fee

Operation fee.

Definition at line 167 of file credit_offer.hpp.

◆ repay_amount

asset graphene::protocol::credit_deal_repay_operation::repay_amount

The amount to repay.

Definition at line 170 of file credit_offer.hpp.


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