Built with resource locks in mind, LI.FI Intents support a variety of input settlement schemes. The Compact and Rhinestone both allow for first-fill flows and sponsored transactions, assuming the user has existing deposits.
MandateOutput
:
StandardOrder
:
finalise
: Can only be called by the solver. The caller can designate where to send assets and whether to make an external call.finaliseWithSignature
: Can be called by anyone with an AllowOpen
signature from the solver, containing the destination and call details.StandardOrder
structures, they are signed as a BatchClaim
with the following structure:
BatchClaim
s using The Compact’s domain separator.
Alternatively, intents can be registered on-chain. There are two ways to do this: either the sponsor (user) registers it, or someone pays for the entire claim and registers it on their behalf.
RegisterIntentLib.sol
.