BitShares-Core  6.0.1
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::samet_fund_borrow_operation Struct Reference

Borrow from a SameT Fund. More...

#include <samet_fund.hpp>

Inheritance diagram for graphene::protocol::samet_fund_borrow_operation:
graphene::protocol::base_operation

Classes

struct  fee_parameters_type
 

Public Member Functions

account_id_type fee_payer () const
 
void validate () const override
 
- Public Member Functions inherited from graphene::protocol::base_operation
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 borrower
 The account who borrows from the fund. More...
 
samet_fund_id_type fund_id
 ID of the SameT Fund. More...
 
asset borrow_amount
 The amount to borrow. 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

Borrow from a SameT Fund.

Definition at line 94 of file samet_fund.hpp.

Member Function Documentation

◆ fee_payer()

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

Definition at line 105 of file samet_fund.hpp.

◆ validate()

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

Reimplemented from graphene::protocol::base_operation.

Definition at line 49 of file samet_fund.cpp.

Member Data Documentation

◆ borrow_amount

asset graphene::protocol::samet_fund_borrow_operation::borrow_amount

The amount to borrow.

Definition at line 101 of file samet_fund.hpp.

◆ borrower

account_id_type graphene::protocol::samet_fund_borrow_operation::borrower

The account who borrows from the fund.

Definition at line 99 of file samet_fund.hpp.

◆ extensions

extensions_type graphene::protocol::samet_fund_borrow_operation::extensions

Unused. Reserved for future use.

Definition at line 103 of file samet_fund.hpp.

◆ fee

asset graphene::protocol::samet_fund_borrow_operation::fee

Operation fee.

Definition at line 98 of file samet_fund.hpp.

◆ fund_id

samet_fund_id_type graphene::protocol::samet_fund_borrow_operation::fund_id

ID of the SameT Fund.

Definition at line 100 of file samet_fund.hpp.


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