Updates to #27 to reflect the code

This commit is contained in:
Fabian Schuh 2018-01-24 14:55:08 +01:00
parent e062a351c2
commit eba090850f

View file

@ -40,17 +40,28 @@ The `amount` in the structure can only be positive, which means the `from_accoun
## Proposed Changes
* Allow `amount` to be negative;
* When `amount` is negative, `from_account` can only be the issuer;
* When `amount` is negative, deduct the absolute amount from the asset's fee pool and add it to the issuer's balance.
We propose to add a new operation `asset_claim_pool_operation` that allows to claim CORE asset (BTS) from the fee pool.
```
struct asset_claim_pool_operation : public base_operation
{
asset fee;
account_id_type issuer;
asset_id_type asset_id; /// fee.asset_id must != asset_id
asset amount_to_claim; /// core asset
extensions_type extensions;
};
```
We've decided to add a new operation in order to no modify existing behavior.
# Discussion
The operation fee for `asset_fund_fee_pool_operation ` should be no less than `transfer_operation`.
The operation fee for `asset_claim_pool_operation ` should be no less than `transfer_operation`.
# Summary for Shareholders
[to be added]
We here propose the addition of a new operation that allows to claim fees from the fee pool. Since the fee pools are pre-filled with an initial amount from the asset creation fee, this feature is useful for those that do not desire to use the fee pool.
# Copyright