Skip to content
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

[Design]: Iterative Cap on Pegged sBTC #562

Closed
3 tasks
AshtonStephens opened this issue Sep 24, 2024 · 1 comment
Closed
3 tasks

[Design]: Iterative Cap on Pegged sBTC #562

AshtonStephens opened this issue Sep 24, 2024 · 1 comment
Assignees
Labels
design making a design decision. unplanned An issue that was originally not part of the Milestone planning

Comments

@AshtonStephens
Copy link
Collaborator

AshtonStephens commented Sep 24, 2024

Design - Iterative Cap on Pegged sBTC

This ticket holds the design of Iterative Cap on Pegged sBTC and how it fits into sBTC-v1.

1. Summary

TL;DR Both the GTM strategy and a slow-rollout strategy would benefit from a cap on the maximum amount of sBTC that can be pegged-in. The cap can iteratively be increased and, eventually, lifted.

2. Context & Purpose

Relevant Research Discussions

External Resources

3. Design

3.1 Proposed Component Design

The signer binary can be programmed to stop processing deposits if the amount of sBTC pegged in is over a configured cap.

3.1.1 Design Diagram

3.1.2 Considerations & Alternatives

An alternative design would be to publish the cap on-chain. Since, however, signers can always decide not to process deposits, the additional implementation required seems to not pay dividends.

3.2 Areas of Ambiguity


Closing Checklist

  • The design proposed in this issue is clearly documented in the description of this ticket.
  • Everyone necessary has reviewed the resolution and agrees with the proposal.
  • This ticket has or links all the information necessary to familiarize a contributor with the design decision, why it was made, and how it'll be included.
@AshtonStephens AshtonStephens added the design making a design decision. label Sep 24, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage in sBTC Sep 24, 2024
@aldur aldur moved this from Needs Triage to Todo in sBTC Nov 7, 2024
@aldur aldur added this to the sBTC: Deposit ready milestone Nov 7, 2024
@aldur aldur added the unplanned An issue that was originally not part of the Milestone planning label Nov 7, 2024
@djordon
Copy link
Collaborator

djordon commented Nov 7, 2024

Having an iterative cap on the amount pegged into sBTC is relatively easy to implement in the signers. It is easier than an account cap but harder than a per transaction cap (both proposed in #791). I give all of these a complexity of 2 (or maybe 3).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design making a design decision. unplanned An issue that was originally not part of the Milestone planning
Projects
Status: Done
Development

No branches or pull requests

4 participants