Withdraw Protocol
The WithdrawParams
type
WithdrawParams
typeField
type
description
initiatingXpub
xpub
xpub of initiating
respondingXpub
xpub
xpub of responding
multisigAddress
address
address of the initiating
-responding
multisig
recipient
address
address to withdraw ETH to
amount
uint256
amount of ether to withdraw, in wei
Commitments
installRefundApp
This is exactly the same kind of install commitment produced by the install protocol for regular apps. This commitment installs a balance refund app.
withdrawCommitment
This is a commitment for the multisig to send amount
wei to recipient
.
uninstallRefundApp
This is exactly the same kind of uninstall commitment produced by the uninstall protocol for regular apps and uninstalls the app installed by installRefundApp
.
Signatures
Signature
Commitment
Signed By
s1
installRefundApp
initiating
s2
installRefundApp
responding
s3
withdrawCommitment
initiating
s4
withdrawCommitment
responding
s5
uninstallRefundApp
initiating
s6
uninstallRefundApp
responding
Messages
Field
Description
fromAddress
initiatingXpub
toAddress
respondingXpub
seq
1
signature
s1
signature2
s3
Field
Description
fromAddress
respondingXpub
toAddress
initiatingXpub
seq
2
signature
s2
signature2
s4
signature3
s6
Field
Description
fromAddress
initiatingXpub
toAddress
respondingXpub
seq
-1
signature
s5
Last updated