-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redemptions prototype: On-chain coordination (#633)
Refs keep-network/keep-core#3609 Here we add the on-chain coordination for redemptions. This changeset enhances the `WalletCoordinator` contract with three methods: - `submitRedemptionProposal` that can be used to submit redemption proposals for wallets - `submitRedemptionProposalWithReimbursement` which is the reimbursable version of `submitRedemptionProposal` - `validateRedemptionProposal` which can be used by off-chain wallet operators to validate proposals using static calls Moreover, during the work on `validateRedemptionProposal` we noticed the need to harden the validation rules of `validateDepositSweepProposal` function. We added a rule which enforces that each deposit in the proposal is used exactly once.
- Loading branch information
Showing
2 changed files
with
1,547 additions
and
73 deletions.
There are no files selected for viewing
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
Oops, something went wrong.