Replies: 4 comments 6 replies
-
I like the term "deposit accept" to cover the entire flow of signers consuming the UTXO and calling |
Beta Was this translation helpful? Give feedback.
-
I might be missing something here...I don't understand why another round of minting is needed. |
Beta Was this translation helpful? Give feedback.
-
Based on feedback, I will update the description with the following changes unless anyone is opposed:
|
Beta Was this translation helpful? Give feedback.
-
Closing this discussion in favor of the more detailed descriptions of the deposit and withdrawal flows. |
Beta Was this translation helpful? Give feedback.
-
Purpose
Consolidate the current ideas revolving the deposit and withdrawal flows into a simple coherent view with consistent naming of the associated transactions.
Glossary
.sbtc
contractsBTC
token and functions related to it.sbtc
contract, capable of spending the sBTC UTXOHigh level flows
Deposit
deposit-request
function in the.sbtc
contract.deposit-request
function records the existence of the deposit request transaction and validates its content.deposit-accept
function in the.sbtc
contract which records the signer votes and other relevant information.mint
function in.sbtc
to mint the sBTC.Withdrawal
withdraw-request
function in the.sbtc
contract.withdrawal-accept
function in the.sbtc
equivalent todeposit-accept
.Rejection
Both deposits and withdrawals may be rejected. In this scenario the Deposit accept or Withdrawal accept bitcoin transactions are replaced by contract calls to functions named
deposit-reject
orwithdrawal-reject
, which record the decision to reject the deposit or withdrawal. In addition,withdrawal-reject
will mint the same amount of sBTC which was burned in thewithdraw-request
contract call.Differences with current SIP
While I have mainly introduced names for transactions which didn't have names in the current SIP, the following two transactions have gotten new names in this proposal:
deposit-accept
deposit-request
Discussion topics
Beta Was this translation helpful? Give feedback.
All reactions