Closed gravenp closed 1 year ago
Note: For the Safe hackathon, we won't be setting the content fields because it will require a new approach for the management of Ceramic streams. We can leave the Name & Link fields on the UI, but don't bother trying to submit that info with the Claim batch.
Closed with #413 merged into the Safe branch. Will open a ticket for merging any changes to develop & production when appropriate.
Description Safe smart accounts can accept & sign batched transactions. With the implementation of #400 & #401 in the March Safe hackathon, we will assume that all Cadastre users have this setup. All land market transaction windows should batch the required transactions for a single action button UX.
Requirements
Consolidate transactions required for claiming/bidding on/editing parcels into a single button that triggers a Multisend batch
Add a link & module for (advanced) users to optionally preview their transaction bundle
Until ETHx is able to be used to pay gas fees via Gelato's SyncFee, wrap ETH to ETHx incrementally with each batch transaction. Wrap the lesser of:
Bundle composition for users with ETHx less than the above threshold
Bundle composition for users with enough ETHx for the transaction:
Utilize Gelato’s SyncFee for users to pay for their batch transaction gas fees with ETHx https://docs.gnosis-safe.io/learn/safe-core-account-abstraction-sdk/relay-kit