28 namespace graphene {
namespace protocol {
93 account_id_type
fee_payer()
const {
return fee_paying_account; }
133 account_id_type
fee_payer()
const {
return funding_account; }
150 :order_id(o),account_id(a),pays(p),receives(r),
fee(f),fill_price(fp),is_maker(m) {}
158 bool is_maker =
true;
206 : bidder(a), debt(d), collateral(c) {}
235 (
fee)(funding_account)(delta_collateral)(delta_debt)(
extensions) )
237 (
fee)(order_id)(account_id)(pays)(receives)(fill_price)(is_maker) )
239 (
fee)(bidder)(additional_collateral)(debt_covered)(
extensions) )
241 (
fee)(bidder)(debt)(collateral) )
future_extensions::flat_set_type extensions_type
extensions_type extensions
asset additional_collateral
the amount of collateral to bid for the debt
share_type calculate_fee(const fee_parameters_type &k) const
This is a virtual operation; there is no fee.
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
bool fill_or_kill
If this flag is set the entire order must be filled or the operation is rejected. ...
pair< asset_id_type, asset_id_type > get_market() const
account_id_type fee_payer() const
extensions_type extensions
account_id_type bidder
pays fee and additional collateral
account_id_type fee_payer() const
asset delta_collateral
the amount of collateral to add to the margin position
account_id_type funding_account
pays fee, collateral, and cover
provides stack-based nullable value similar to boost::optional
account_id_type fee_payer() const
extensions_type extensions
extension< options_type > extensions_type
optional< uint16_t > target_collateral_ratio
Maximum CR to maintain when selling collateral on margin call.
static time_point_sec maximum()
#define GRAPHENE_DECLARE_EXTERNAL_SERIALIZATION(type)
The price struct stores asset prices in the BitShares system.
#define GRAPHENE_BLOCKCHAIN_PRECISION
time_point_sec expiration
instructs the blockchain to attempt to sell one asset for anotherThe blockchain will atempt to sell a...
#define FC_ASSERT(TEST,...)
Checks a condition and throws an assert_exception if the test is FALSE.
extensions_type extensions
account_id_type fee_payer() const
account_id_type account_id
asset delta_debt
the amount of the debt to be paid off, may be negative to issue new debt
limit_order_id_type order
account_id_type fee_payer() const
execute_bid_operation(account_id_type a, asset d, asset c)
pair< asset_id_type, asset_id_type > get_market() const
account_id_type fee_payer() const
account_id_type fee_paying_account
fill_order_operation(object_id_type o, account_id_type a, asset p, asset r, asset f, price fp, bool m)
asset debt_covered
the amount of debt to take over
share_type calculate_fee(const fee_parameters_type &k) const
This is a virtual operation; there is no fee.