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_expired_operation Struct Reference

A credit deal expired without being fully repaid. More...

#include <credit_offer.hpp>

Inheritance diagram for graphene::protocol::credit_deal_expired_operation:
graphene::protocol::base_operation

Classes

struct  fee_params_t
 

Public Member Functions

 credit_deal_expired_operation ()=default
 
 credit_deal_expired_operation (const credit_deal_id_type &did, const credit_offer_id_type &oid, const account_id_type &o, const account_id_type &b, const asset &u, const asset &c, const uint32_t fr)
 
account_id_type fee_payer () const
 
void validate () const override
 
share_type calculate_fee (const fee_params_t &) const
 This is a virtual operation; there is no fee. More...
 
- 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
 Only for compatibility, unused. More...
 
credit_deal_id_type deal_id
 ID of the credit deal. More...
 
credit_offer_id_type offer_id
 ID of the credit offer. More...
 
account_id_type offer_owner
 Owner of the credit offer. More...
 
account_id_type borrower
 The account who repays to the credit offer. More...
 
asset unpaid_amount
 The amount that is unpaid. More...
 
asset collateral
 The collateral liquidated. More...
 
uint32_t fee_rate = 0
 Fee rate, the demominator is GRAPHENE_FEE_RATE_DENOM. 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

A credit deal expired without being fully repaid.

Note
This is a virtual operation.

Definition at line 184 of file credit_offer.hpp.

Constructor & Destructor Documentation

◆ credit_deal_expired_operation() [1/2]

graphene::protocol::credit_deal_expired_operation::credit_deal_expired_operation ( )
default

◆ credit_deal_expired_operation() [2/2]

graphene::protocol::credit_deal_expired_operation::credit_deal_expired_operation ( const credit_deal_id_type &  did,
const credit_offer_id_type &  oid,
const account_id_type &  o,
const account_id_type &  b,
const asset u,
const asset c,
const uint32_t  fr 
)
inline

Definition at line 190 of file credit_offer.hpp.

Member Function Documentation

◆ calculate_fee()

share_type graphene::protocol::credit_deal_expired_operation::calculate_fee ( const fee_params_t ) const
inline

This is a virtual operation; there is no fee.

Definition at line 208 of file credit_offer.hpp.

◆ fee_payer()

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

Definition at line 204 of file credit_offer.hpp.

◆ validate()

void graphene::protocol::credit_deal_expired_operation::validate ( ) const
inlineoverridevirtual

Reimplemented from graphene::protocol::base_operation.

Definition at line 205 of file credit_offer.hpp.

Member Data Documentation

◆ borrower

account_id_type graphene::protocol::credit_deal_expired_operation::borrower

The account who repays to the credit offer.

Definition at line 199 of file credit_offer.hpp.

◆ collateral

asset graphene::protocol::credit_deal_expired_operation::collateral

The collateral liquidated.

Definition at line 201 of file credit_offer.hpp.

◆ deal_id

credit_deal_id_type graphene::protocol::credit_deal_expired_operation::deal_id

ID of the credit deal.

Definition at line 196 of file credit_offer.hpp.

◆ fee

asset graphene::protocol::credit_deal_expired_operation::fee

Only for compatibility, unused.

Definition at line 195 of file credit_offer.hpp.

◆ fee_rate

uint32_t graphene::protocol::credit_deal_expired_operation::fee_rate = 0

Fee rate, the demominator is GRAPHENE_FEE_RATE_DENOM.

Definition at line 202 of file credit_offer.hpp.

◆ offer_id

credit_offer_id_type graphene::protocol::credit_deal_expired_operation::offer_id

ID of the credit offer.

Definition at line 197 of file credit_offer.hpp.

◆ offer_owner

account_id_type graphene::protocol::credit_deal_expired_operation::offer_owner

Owner of the credit offer.

Definition at line 198 of file credit_offer.hpp.

◆ unpaid_amount

asset graphene::protocol::credit_deal_expired_operation::unpaid_amount

The amount that is unpaid.

Definition at line 200 of file credit_offer.hpp.


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