Wallets
Wallets
WalletState
enum WalletState {
Unknown,
Live,
MovingFunds,
Closing,
Closed,
Terminated
}Wallet
struct Wallet {
bytes32 ecdsaWalletID;
bytes32 mainUtxoHash;
uint64 pendingRedemptionsValue;
uint32 createdAt;
uint32 movingFundsRequestedAt;
uint32 closingStartedAt;
uint32 pendingMovedFundsSweepRequestsCount;
enum Wallets.WalletState state;
bytes32 movingFundsTargetWalletsCommitmentHash;
}NewWalletRequested
NewWalletRegistered
WalletMovingFunds
WalletClosing
WalletClosed
WalletTerminated
requestNewWallet
Parameters
Name
Type
Description
registerNewWallet
Parameters
Name
Type
Description
notifyWalletRedemptionTimeout
Parameters
Name
Type
Description
notifyWalletHeartbeatFailed
Parameters
Name
Type
Description
notifyWalletCloseable
Parameters
Name
Type
Description
notifyWalletClosingPeriodElapsed
Parameters
Name
Type
Description
notifyWalletFundsMoved
Parameters
Name
Type
Description
notifyWalletMovingFundsBelowDust
Parameters
Name
Type
Description
notifyWalletMovingFundsTimeout
Parameters
Name
Type
Description
notifyWalletMovedFundsSweepTimeout
Parameters
Name
Type
Description
notifyWalletFraudChallengeDefeatTimeout
Parameters
Name
Type
Description
moveFunds
Parameters
Name
Type
Description
beginWalletClosing
Parameters
Name
Type
Description
finalizeWalletClosing
Parameters
Name
Type
Description
terminateWallet
Parameters
Name
Type
Description
getWalletBtcBalance
Parameters
Name
Type
Description
Return Values
Name
Type
Description
Last updated
Was this helpful?