BitShares-Core  6.0.1
BitShares blockchain implementation and command-line interface software
Public Attributes | Static Public Attributes | List of all members
graphene::chain::samet_fund_object Class Reference

A SameT Fund is a fund which can be used by a borrower and have to be repaid in the same transaction. More...

#include <samet_fund_object.hpp>

Inheritance diagram for graphene::chain::samet_fund_object:
graphene::db::abstract_object< samet_fund_object > graphene::db::object

Public Attributes

account_id_type owner_account
 Owner of the fund. More...
 
asset_id_type asset_type
 Asset type in the fund. More...
 
share_type balance
 Usable amount in the fund. More...
 
uint32_t fee_rate = 0
 Fee rate, the demominator is GRAPHENE_FEE_RATE_DENOM. More...
 
share_type unpaid_amount
 Unpaid amount. More...
 
- Public Attributes inherited from graphene::db::object
object_id_type id
 

Static Public Attributes

static constexpr uint8_t space_id = protocol_ids
 
static constexpr uint8_t type_id = samet_fund_object_type
 

Additional Inherited Members

- Public Member Functions inherited from graphene::db::abstract_object< samet_fund_object >
virtual unique_ptr< objectclone () const
 these methods are implemented for derived classes by inheriting abstract_object<DerivedClass> More...
 
virtual void move_from (object &obj)
 
virtual variant to_variant () const
 
virtual vector< char > pack () const
 
- Public Member Functions inherited from graphene::db::object
 object ()
 
virtual ~object ()
 

Detailed Description

A SameT Fund is a fund which can be used by a borrower and have to be repaid in the same transaction.

Definition at line 39 of file samet_fund_object.hpp.

Member Data Documentation

◆ asset_type

asset_id_type graphene::chain::samet_fund_object::asset_type

Asset type in the fund.

Definition at line 46 of file samet_fund_object.hpp.

◆ balance

share_type graphene::chain::samet_fund_object::balance

Usable amount in the fund.

Definition at line 47 of file samet_fund_object.hpp.

◆ fee_rate

uint32_t graphene::chain::samet_fund_object::fee_rate = 0

Fee rate, the demominator is GRAPHENE_FEE_RATE_DENOM.

Definition at line 48 of file samet_fund_object.hpp.

◆ owner_account

account_id_type graphene::chain::samet_fund_object::owner_account

Owner of the fund.

Definition at line 45 of file samet_fund_object.hpp.

◆ space_id

constexpr uint8_t graphene::chain::samet_fund_object::space_id = protocol_ids
static

Definition at line 42 of file samet_fund_object.hpp.

◆ type_id

constexpr uint8_t graphene::chain::samet_fund_object::type_id = samet_fund_object_type
static

Definition at line 43 of file samet_fund_object.hpp.

◆ unpaid_amount

share_type graphene::chain::samet_fund_object::unpaid_amount

Unpaid amount.

Definition at line 49 of file samet_fund_object.hpp.


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