BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
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, protocol_ids, samet_fund_object_type > graphene::db::base_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
 

Additional Inherited Members

- Public Member Functions inherited from graphene::db::abstract_object< samet_fund_object, protocol_ids, samet_fund_object_type >
 abstract_object ()
 
object_id< SpaceID, TypeID > get_id () const
 
- Public Member Functions inherited from graphene::db::base_abstract_object< samet_fund_object >
std::unique_ptr< objectclone () 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< objectclone () 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< samet_fund_object, protocol_ids, samet_fund_object_type >
static constexpr uint8_t space_id
 
static constexpr uint8_t type_id
 

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 43 of file samet_fund_object.hpp.

◆ balance

share_type graphene::chain::samet_fund_object::balance

Usable amount in the fund.

Definition at line 44 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 45 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 42 of file samet_fund_object.hpp.

◆ unpaid_amount

share_type graphene::chain::samet_fund_object::unpaid_amount

Unpaid amount.

Definition at line 46 of file samet_fund_object.hpp.


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