Filing a Claim

Filing a claim

Here's a quick video:

Demo

Step 1) Click on the claim tab

Click claim in the box on the right and enter the amount of protection that you want to claim.

Step 2) Approve Credit Token Transfer

To prevent flash loan attacks, filing a claim is a three-step process that must take place over more than one block. First, the user approves sending their credit tokens to the contract.

Step 3) Start Swap

Then the user starts the swap and the protocol checks the validity of the claim.

Step 4) Finish Swap

Finally, the user calls finish swap and the protocol sends the currency tokens to the claimant.