IAtomicSolver
Functions
finishSolve
This function must be implemented in order for an address to be a solver
for the AtomicQueue
Parameters
Name
Type
Description
runData
bytes
arbitrary bytes data that is dependent on how each solver is setup it could contain swap data, or flash loan data, etc..
initiator
address
the address that initiated a solve
offer
ERC20
the ERC20 asset sent to the solver
want
ERC20
the ERC20 asset the solver must approve the queue for
assetsToOffer
uint256
the amount of offer
sent to the solver
assetsForWant
uint256
the amount of want
the solver must approve the queue for