Functions

  1. _availableFundsERC20() is used to check the approved balance of users and DApps to atlas that can be withdrawn via permit69.

  2. _transferDAppERC20() and _transferUserERC20() are functions that can be implemented by Atlas module developers in DAppControl to access the user or DApp funds referenced in _availableFundsERC20()

Module developers can access useful information about the atlas transaction by initializing an ctx struct in their DappControl and accessing these fields: bundler, solverSuccessful, paymentsSuccessful, solverIndex, solverCount, phase, solverOutcome, bidFind, isSimulation, `callDepth`.

  1. The _contribute()function allows actors to sponsor the gas of the transaction by donating ETH to the Atlas Escrow balance. This contribution to the balance is available first to bundlers, with the surplus going to solvers.

  2. The _borrow()function makes flash loans available from the Atlas Escrow balance. The balance must be repaid by the end of the Atlas transaction by the solver or the borrower.

Last updated