-
Notifications
You must be signed in to change notification settings - Fork 0
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
Funding Treasury #2
Merged
Merged
Conversation
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
The new contract, `treasury`, is meant to serve as a funding solution supported by contributors. It allows withdrawal of a single UTxO for each new account. The off-chain code is meant to build contribution transactions in such a way that each produced UTxO at treasury will hold enough funds for the 2 UTxOs of an account. The datums of these UTxOs also hold the addresses of the contributors, so that the contracts can validate the staking parts of the UTxOs to be that of the contributors. `treasury` is still incomplete.
Made possible by the new spend redeemer which only requires the account UTxO to be present as a reference input.
A separate withdrawal script (called `account_extra`) leads to smaller account script size, and therefore reduces account spends that don't update `latest_activity`.
This allows lifting expiration for paid users
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a treasury, meant to be funded by contributors, so that the platform can provide registration free of charge.
The open claim of stale accounts is also removed.