xclaim-sol
xclaim-sol copied to clipboard
redeem process - add replay protection
Add replay protection to redeem protocol, to prevent a vault from re-using the same Bitcoin transaction as proof for multiple redeemRequests.
Require the following digest is included in OP_RETURN of the redeem Bitcoin transaction:
- redeemer Eth address
- contract address
- redeemRequestId