-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🤝 One Token Model - Pallet Funding Integration (#401)
## What? Integrate the OTM flow in pallet-funding ## How? - Tightly couple pallet-proxy-bonding with pallet-funding - Abstract multiplier parameter in extrinsic to an enum called `ParticipationMode` with variants `Classic(multiplier)` and `OTM` - Abstract the plmc bonding to a new function that takes the participation mode, and either does the classic bonding, or calls the proxy-bonding logic - On settlement start, set the release type to `Refunded` or `Locked` in proxy-bonding pallet. - On participation settlements, if the project failed, or a bid has some refund, call the `refund_fee` of proxy-bonding ## Testing? In the next PR
- Loading branch information
Showing
31 changed files
with
700 additions
and
298 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
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.