Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BSIP 87: Force Settlement Fee Ratio #263

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,5 @@ Number | Title |
[81](https://github.com/bitshares/bsips/issues/229) | Simple Maker-Taker Market Fees | Abit More | Protocol | Draft
[84](https://github.com/bitshares/bsips/issues/81) | Elections Based on non-Core Asset | Peter Conrad | Protocol | Draft
[85](https://github.com/bitshares/bsips/issues/240) | Maker Order Creation Fee Discount | Abit More | Protocol | Draft
[86](bsip-0086.md) | Share market fees to the network | Abit More | Protocol | Approved
[86](bsip-0086.md) | Share market fees to the network | Abit More | Protocol | Approved
[87](bsip-0087.md) | Force Settlement Fee (working title) | Bitcrab | Protocol | Draft
36 changes: 36 additions & 0 deletions bsip-0087.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
BSIP:
Title: Force Settlement Fee Ratio
Authors:
Jerry Liu [email protected]
Status: Draft
Type: Protocol
Created: 2020-02-23
Discussion: https://github.com/bitshares/bsips/issues/260
Worker: TBD

# Abstract
This BSIP provide a solution to charge fee from force settlement.

# Motivation
Force settlement is an important part in smartcoin design, it provides the power to smartcoin owner to ask for collaterals with reference to feed price, and then guarantees the peg of smartcoin.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"smartcoin owner" is used several times in the document, but meaning different group of people. I think it should be "smartcoin holders" here.


The community continuously optimize the rules of smartcoin to balance the interests of relevant parties, taking bitCNY as an example, at the beginning the rules focus more on smart coin peg but care less on debt position owners’ interests, change are done to give debt position owners more protection, the force settlement offset has been changed from 0 to 2%, the max settlement volume per maintenance period has been changed from no limit to 0.5% of smartcoin supply.

In the past several weeks, force settlement happened more intensively than before, the background is that the crypto market seemly switched from bear to bull, and BTS price went above 0.22CNY - which is the voted threshold per BSIP76, at some time the frequently happened force settlements made the lowest debt position collateral ratio even higher than 3, this phenomenon triggered warm discussion, almost all the users agree that the settler need to pay more cost while executing force settlement, and the cost will be paid to system as fee.

# Rationale
Force settlement fee can be seen as to pay part of the cost for smartcoin supply, stabilization and also the liquidation of collaterals, it is irrelevant to market fee sharing.
To ensure the debt positions can always be closed with suffcient smartcoin, it is more feasible to cut off part of the traded collaterals as fee, instead of smartcoin.

# Specification
Add one new parameter Force Settlement Fee Ratio(FSFR) for each smartcoin, which is controlled by the smartcoin owner.
`Force settlement order price = settlement price*(1+FSO)/(1-FSFR)`

Here settlement price is a new introduced parameter which is defined in BSIP71, settlement price = feed price when there is no bad debt.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BSIP 71 is not finalized yet.


FSO is Force Settlement Offset.

When a force settlement is executed, the buyer sells smartcoin with quantity `X` and get collaterals in quantity `X*(1-FSFR)/[settlement price*(1+FSO)]`, the settled debt position owner sells collaterals in quantity `X/[settlement price*(1+FSO)]` and get smartcoin in quantity `X`, the delta in paid and received collaterals in quantity `X*FSFR/[settlement price*(1+FSO)]` will be paid to the owner of the smartcoin as force settlement fee.

# Copyright
This document is placed in the public domain.