28 namespace graphene {
namespace protocol {
146 (
fee)(account)(fund_id)(repay_amount)(fund_fee)(
extensions) )
future_extensions::flat_set_type extensions_type
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
extensions_type extensions
Unused. Reserved for future use.
extensions_type extensions
Unused. Reserved for future use.
void validate() const override
account_id_type fee_payer() const
extensions_type extensions
Unused. Reserved for future use.
asset fund_fee
Fee for using the fund.
Create a new SameT Fund objectA SameT Fund is a fund which can be used by a borrower and have to be r...
Update a SameT Fund object.
asset_id_type asset_type
Asset type in the fund.
provides stack-based nullable value similar to boost::optional
account_id_type owner_account
Owner of the fund.
optional< uint32_t > new_fee_rate
New fee rate, optional.
Delete a SameT Fund object.
#define GRAPHENE_DECLARE_EXTERNAL_SERIALIZATION(type)
extensions_type extensions
Unused. Reserved for future use.
optional< asset > delta_amount
Delta amount, optional.
samet_fund_id_type fund_id
ID of the SameT Fund.
#define GRAPHENE_BLOCKCHAIN_PRECISION
account_id_type fee_payer() const
account_id_type borrower
The account who borrows from the fund.
share_type balance
Usable amount in the fund.
samet_fund_id_type fund_id
ID of the SameT Fund object.
uint32_t fee_rate
Fee rate, the demominator is GRAPHENE_FEE_RATE_DENOM.
account_id_type account
The account who repays to the SameT Fund.
account_id_type fee_payer() const
samet_fund_id_type fund_id
ID of the SameT Fund object.
asset borrow_amount
The amount to borrow.
samet_fund_id_type fund_id
ID of the SameT Fund.
account_id_type owner_account
Owner of the fund.
asset repay_amount
The amount to repay.
account_id_type owner_account
The account who owns the SameT Fund object.
Borrow from a SameT Fund.
extensions_type extensions
Unused. Reserved for future use.
account_id_type fee_payer() const
account_id_type fee_payer() const