indexer
indexer copied to clipboard
Gasless orders can be created, but not deleted with Account Abstraction Wallets (EIP-1271)
When creating gasless orders, Account Abstraction Wallets are supported using EIP-1271. I can see the support in the source code here:
https://github.com/reservoirprotocol/indexer/blob/2ad6d84005f925dbb4c28102dc0d78c8c64a3a8b/packages/sdk/src/seaport-v1.5/order.ts#L171
When doing gasless cancellations of orders, I can't delete them using AA wallets. In the source code there's no alternative path if verifyTypedData
throws. The simple fix would be to do a similar check of the signature as in the code above.
https://github.com/reservoirprotocol/indexer/blob/2ad6d84005f925dbb4c28102dc0d78c8c64a3a8b/packages/indexer/src/utils/offchain-cancel/seaport/index.ts#L74