-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>
- Loading branch information
1 parent
ff39c92
commit 7eea5a7
Showing
24 changed files
with
723 additions
and
413 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,3 @@ | ||
# Bonded Finance Pallet | ||
# Overview | ||
|
||
## Overview | ||
|
||
A simple pallet providing means of submitting bond offers. | ||
|
||
## Interface | ||
|
||
This pallet implements the `BondedFinance` trait from `composable-traits`. | ||
|
||
## Dispatchable Functions | ||
|
||
- `offer` ― Register a new bond offer, allowing use to later bond it. | ||
- `bond` ― Bond to an offer, the user should provide the number of contracts a user is willing | ||
to buy. On offer completion (a.k.a. no more contract on the offer), the `stake` put by the creator is refunded. | ||
- `cancel_offer` ― Cancel a running offer, blocking further bond but not cancelling the | ||
currently vested rewards. The `stake` put by the creator is refunded. | ||
A simple pallet providing means of submitting bond offers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.