-
Notifications
You must be signed in to change notification settings - Fork 47
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
feat: bonded coins pallet #726
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly picky comments. Good job so far 🚀
use frame_benchmarking::{benchmarks, impl_benchmark_test_suite, whitelisted_caller}; | ||
use frame_system::RawOrigin; | ||
|
||
benchmarks! { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use the benchmarking v2 here. I know it's not the time yet. I just wanted to bring it up here
|
||
// TODO: apply lock if pool_details.transferable != true | ||
|
||
Ok(().into()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be removed with DispatchResult
… into feat-bonded-coins
Implements bonding curve based token burning. Refactors the get_cost associated function to do so. Co-authored-by: Adel Golghalyani <ad96el@gmail.com>
Superseded by #764 |
fixes KILTProtocol/ticket#3585
Draft PR for the bonded currencies pallet, part of our efforts to bring VCOs to the KILT network.
Metadata Diff to Develop Branch
Peregrine Diff
Spiritnet Diff
Checklist:
array[3]
useget(3)
, ...)