ppy marketplace 9 - FC_REFLECT offer create op
This commit is contained in:
parent
212c366b46
commit
10ecad7566
1 changed files with 2 additions and 7 deletions
|
|
@ -22,9 +22,8 @@ namespace graphene
|
||||||
uint32_t price_per_kbyte =
|
uint32_t price_per_kbyte =
|
||||||
10 * GRAPHENE_BLOCKCHAIN_PRECISION; /// only required for large memos.
|
10 * GRAPHENE_BLOCKCHAIN_PRECISION; /// only required for large memos.
|
||||||
};
|
};
|
||||||
|
asset fee;
|
||||||
set<nft_id_type> item_ids;
|
set<nft_id_type> item_ids;
|
||||||
|
|
||||||
// /**
|
// /**
|
||||||
// * minimum_price.asset_id == maximum_price.asset_id.
|
// * minimum_price.asset_id == maximum_price.asset_id.
|
||||||
// * to set fixed price without auction minimum_price == maximum_price
|
// * to set fixed price without auction minimum_price == maximum_price
|
||||||
|
|
@ -34,10 +33,7 @@ namespace graphene
|
||||||
// * In this case, minimum_price functions as the sell-it-now price for the
|
// * In this case, minimum_price functions as the sell-it-now price for the
|
||||||
// reverse auction
|
// reverse auction
|
||||||
// */
|
// */
|
||||||
|
|
||||||
asset fee;
|
|
||||||
account_id_type issuer;
|
account_id_type issuer;
|
||||||
|
|
||||||
/// minimum_price is minimum bid price. 0 if no minimum_price required
|
/// minimum_price is minimum bid price. 0 if no minimum_price required
|
||||||
asset minimum_price;
|
asset minimum_price;
|
||||||
/// buy_it_now price. 0 if no maximum price
|
/// buy_it_now price. 0 if no maximum price
|
||||||
|
|
@ -111,8 +107,7 @@ namespace graphene
|
||||||
FC_REFLECT(graphene::chain::offer_operation::fee_parameters_type,
|
FC_REFLECT(graphene::chain::offer_operation::fee_parameters_type,
|
||||||
(fee)(price_per_kbyte));
|
(fee)(price_per_kbyte));
|
||||||
FC_REFLECT(graphene::chain::offer_operation,
|
FC_REFLECT(graphene::chain::offer_operation,
|
||||||
(fee)(issuer)(memo)(minimum_price)(maximum_price)(buying_item)(
|
(fee)(item_ids)(issuer)(minimum_price)(maximum_price)(buying_item)(offer_expiration_date)(memo)(extensions));
|
||||||
item_ids)(offer_expiration_date)(extensions));
|
|
||||||
|
|
||||||
FC_REFLECT(graphene::chain::bid_operation::fee_parameters_type,
|
FC_REFLECT(graphene::chain::bid_operation::fee_parameters_type,
|
||||||
(fee)(price_per_kbyte));
|
(fee)(price_per_kbyte));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue