-
Notifications
You must be signed in to change notification settings - Fork 20
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
Implement "Buy RAM Burn" ACTION #121
Closed
Labels
Comments
16 tasks
Implemented via: AntelopeIO/reference-contracts#62 |
21 tasks
This was referenced May 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Purpose
Create
buyramburn
ACTION where any account can buy RAM and immediately burn the RAM bytes received.Currently, the only way to purchase & buy RAM is to:
logbuyram
to know how much bytes were purchasedOr
This
buyramburn
ACTION would eliminate the requirement of listening onlogbuyram
or pre-computing the Bancor RAM buying output.Feedback provided by
buyramburn
ACTIONPreconditions
require_auth(payer)
quantity
above 0 amountaction_return_buyram
logbuyram
&logramchange
References
buyramself
ramburn
The text was updated successfully, but these errors were encountered: