-
Notifications
You must be signed in to change notification settings - Fork 16
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
Added 'send-many' Function To sBTC Token #969
Conversation
28941fd
to
b4c6e0f
Compare
Seeing something odd happening with Clarigen if you have a few minutes to check this out @hstove: Whenever I run 'pnpm test' an additional block is appended to the 'default.simnet-plan.yaml' file, which now breaks the tests that use simnet.block to check the right height (specifically the three tests you currently see failing in this PR). I don't believe 'pnpm test' had this behavior before as these tests were currently passing? Did I cause this locally somehow? |
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.
Looks good. Left some comments but you can feel free to ignore them.
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.
Admittedly not a clarity expert, but it lgtm!
Description
This PR adds the ability to send multiple(many), specifically up to 200, sBTC transactions at once. This feature is particularly useful for DeFi apps that need to send to many recipients at once. A good example of this is a stacking app that wants to pay stacking rewards in sBTC.
Closes: #934
Changes
Adds one public & one private function to the sbtc-token.clar Clarity contract.
Testing Information
A unit test has been added here.
Checklist: