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::samet_fund_create_operation Struct Reference

Create a new SameT Fund object. More...

#include <samet_fund.hpp>

Inheritance diagram for graphene::protocol::samet_fund_create_operation:


struct  fee_params_t

Public Member Functions

account_id_type fee_payer () const
void validate () const override
- 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
 Operation fee. More...
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...
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

Create a new SameT Fund object.

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 36 of file samet_fund.hpp.

Member Function Documentation

◆ fee_payer()

account_id_type graphene::protocol::samet_fund_create_operation::fee_payer ( ) const

Definition at line 48 of file samet_fund.hpp.

◆ validate()

void graphene::protocol::samet_fund_create_operation::validate ( ) const

Reimplemented from graphene::protocol::base_operation.

Definition at line 30 of file samet_fund.cpp.

Member Data Documentation

◆ asset_type

asset_id_type graphene::protocol::samet_fund_create_operation::asset_type

Asset type in the fund.

Definition at line 42 of file samet_fund.hpp.

◆ balance

share_type graphene::protocol::samet_fund_create_operation::balance

Usable amount in the fund.

Definition at line 43 of file samet_fund.hpp.

◆ extensions

extensions_type graphene::protocol::samet_fund_create_operation::extensions

Unused. Reserved for future use.

Definition at line 46 of file samet_fund.hpp.

◆ fee

asset graphene::protocol::samet_fund_create_operation::fee

Operation fee.

Definition at line 40 of file samet_fund.hpp.

◆ fee_rate

uint32_t graphene::protocol::samet_fund_create_operation::fee_rate = 0

Fee rate, the demominator is GRAPHENE_FEE_RATE_DENOM.

Definition at line 44 of file samet_fund.hpp.

◆ owner_account

account_id_type graphene::protocol::samet_fund_create_operation::owner_account

Owner of the fund.

Definition at line 41 of file samet_fund.hpp.

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