From f60735c8a76a63916713679685a759e5fae1c6ef Mon Sep 17 00:00:00 2001 From: Abit Date: Wed, 15 Apr 2020 17:05:51 +0200 Subject: [PATCH] Update specification and wording of BSIP 81 It's found that the specification was not clear enough. See also: https://github.com/bitshares/bitshares-core/pull/2136#issuecomment-613768577 --- bsip-0081.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/bsip-0081.md b/bsip-0081.md index 8c539c7..fdef405 100644 --- a/bsip-0081.md +++ b/bsip-0081.md @@ -28,23 +28,28 @@ them to attract trading activities. There is already a flag `market_fee_percent` in asset options. -Add a new flag `taker_fee_percent` into asset options, assign -`market_fee_percent` to `taker_fee_percentage` at the consensus -upgrade time for existing assets. The new flag can only be set +Add a new optional flag `taker_fee_percent` into asset options, +which can only be set or updated by asset owners after the consensus upgrade. +The valid range of the new flag is `[0%, 100%]`. Before the consensus upgrade, when an order buying that asset got filled, the amount `bought_amount * market_fee_percent` -will go to the asset's accumulated fees. +(capped by `max_market_fee`) +will enter the asset's market fee sharing process. After the consensus upgrade, when an order buying the asset got filled, -* if the order is a *maker*, the amount - `bought_amount * market_fee_percent` will go to the - asset's accumulated fees; -* otherwise (if the order is a *taker*), the amount - `bought_amount * taker_fee_percent` will go to the - asset's accumulated fees. +* if the order is a *maker*, or the `taker_fee_percent` flag + is not set in the asset, the amount + `bought_amount * market_fee_percent` + (capped by `max_market_fee`) + will enter the asset's market fee sharing process; +* otherwise (if the order is a *taker* and the + `taker_fee_percent` is set in the asset), the amount + `bought_amount * taker_fee_percent` + (capped by `max_market_fee`) + will enter the asset's market fee sharing process. # Copyright This document is placed in the public domain.