|
BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
A credit deal describes the details of a borrower's borrowing of funds from a credit offer. More...
#include <credit_offer_object.hpp>
Public Attributes | |
| account_id_type | borrower |
| Borrower. More... | |
| credit_offer_id_type | offer_id |
| ID of the credit offer. More... | |
| account_id_type | offer_owner |
| Owner of the credit offer, redundant info for ease of querying. More... | |
| asset_id_type | debt_asset |
| Asset type of the debt, redundant info for ease of querying. More... | |
| share_type | debt_amount |
| How much funds borrowed. More... | |
| asset_id_type | collateral_asset |
| Asset type of the collateral. More... | |
| share_type | collateral_amount |
| How much funds in collateral. More... | |
| uint32_t | fee_rate = 0 |
| Fee rate, the demominator is GRAPHENE_FEE_RATE_DENOM. More... | |
| time_point_sec | latest_repay_time |
| The deadline when the debt should be repaid. More... | |
| uint8_t | auto_repay |
| The specified automatic repayment type. More... | |
Public Attributes inherited from graphene::db::object | |
| object_id_type | id |
Additional Inherited Members | |
Public Member Functions inherited from graphene::db::abstract_object< credit_deal_object, protocol_ids, credit_deal_object_type > | |
| abstract_object () | |
| object_id< SpaceID, TypeID > | get_id () const |
Public Member Functions inherited from graphene::db::base_abstract_object< credit_deal_object > | |
| std::unique_ptr< object > | clone () const override |
| void | move_from (object &obj) override |
| fc::variant | to_variant () const override |
| std::vector< char > | pack () const override |
| object ()=default | |
| object (uint8_t space_id, uint8_t type_id) | |
Public Member Functions inherited from graphene::db::object | |
| object ()=default | |
| object (uint8_t space_id, uint8_t type_id) | |
| virtual | ~object ()=default |
| virtual std::unique_ptr< object > | clone () const =0 |
| virtual fc::variant | to_variant () const =0 |
| virtual std::vector< char > | pack () const =0 |
Static Public Attributes inherited from graphene::db::abstract_object< credit_deal_object, protocol_ids, credit_deal_object_type > | |
| static constexpr uint8_t | space_id |
| static constexpr uint8_t | type_id |
A credit deal describes the details of a borrower's borrowing of funds from a credit offer.
Definition at line 104 of file credit_offer_object.hpp.
| uint8_t graphene::chain::credit_deal_object::auto_repay |
The specified automatic repayment type.
Definition at line 116 of file credit_offer_object.hpp.
| account_id_type graphene::chain::credit_deal_object::borrower |
Borrower.
Definition at line 107 of file credit_offer_object.hpp.
| share_type graphene::chain::credit_deal_object::collateral_amount |
How much funds in collateral.
Definition at line 113 of file credit_offer_object.hpp.
| asset_id_type graphene::chain::credit_deal_object::collateral_asset |
Asset type of the collateral.
Definition at line 112 of file credit_offer_object.hpp.
| share_type graphene::chain::credit_deal_object::debt_amount |
How much funds borrowed.
Definition at line 111 of file credit_offer_object.hpp.
| asset_id_type graphene::chain::credit_deal_object::debt_asset |
Asset type of the debt, redundant info for ease of querying.
Definition at line 110 of file credit_offer_object.hpp.
| uint32_t graphene::chain::credit_deal_object::fee_rate = 0 |
Fee rate, the demominator is GRAPHENE_FEE_RATE_DENOM.
Definition at line 114 of file credit_offer_object.hpp.
| time_point_sec graphene::chain::credit_deal_object::latest_repay_time |
The deadline when the debt should be repaid.
Definition at line 115 of file credit_offer_object.hpp.
| credit_offer_id_type graphene::chain::credit_deal_object::offer_id |
ID of the credit offer.
Definition at line 108 of file credit_offer_object.hpp.
| account_id_type graphene::chain::credit_deal_object::offer_owner |
Owner of the credit offer, redundant info for ease of querying.
Definition at line 109 of file credit_offer_object.hpp.
1.8.17