Batch Claims
As mentioned in the Prover Contract and Intent Source Contract sections, fillers need to withdraw rewards for each intent one at a time, which is extremely inefficient.
To solve this, a batchClaim
function will be added on the intent source contract. The function will iterate over an array of supplied intent hashes, and transfer the rewards using the minimum number of token transfers.
This makes it possible to add the claim process to the Prover Service. With the addition of Batch Proofs to the service as well, fillers would only need to worry about filling intents.
Last updated