This repository has been archived by the owner on May 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #585 from keep-network/redemption-actions
Redemption flow actions Expands the TBTC extension by adding two new actions specific to the deposit redemption flow. ProvideRedemptionSignature action - Starts the monitoring on new RedemptionRequested event. That event is emitted either by requestRedemption or increaseRedemptionFee contract methods. - Stops the monitoring if GotRedemptionSignature or Redeemed event occurs for the observed deposit. This means either provideRedemptionSignature or provideRedemptionProof has been called by someone else. - Performs the provideRedemptionSignature action once the deposit is close to exceeding the redemption signature timeout. ProvideRedemptionProof action - Starts the monitoring on new GotRedemptionSignature event. This event occurs once provideRedemptionSignature contract method is called. - Stops the monitoring if RedemptionRequested or Redeemed event occurs for the observed deposit. These events can be emitted by increaseRedemptionFee or provideRedemptionProof respectively. - Performs the increaseRedemptionFee action once the deposit is close to exceeding the redemption proof timeout. This part will be extended soon by adding the ability of submitting the redemption proof directy if the BTC transaction exists.
- Loading branch information
Showing
20 changed files
with
3,119 additions
and
242 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
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
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
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
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.