atlETH
atlETH serves as a wrapped representation of the blockchain's native token within Atlas. While named "atlETH" for simplicity, it represents the native token of whichever blockchain Atlas is deployed on (e.g., ETH on Ethereum, MATIC on Polygon). This mechanism enables solvers to escrow funds for their gas consumption, allowing them to pre-commit to covering the gas costs for their respective operations.
By using atlETH, Atlas facilitates the execution of transactions that include multiple third-party SolverOperations by bundlers. Additionally, it discourages solver spam by leveraging the DoS protection inherent in the underlying chain's gas costs.
Key Features and Mechanics
-
Balance Verification: The Operations Relay (OR) and/or Atlas SDK are responsible for verifying the solvers' atlETH balance.
-
Intrablock Participation Limit: At the smart contract level, Atlas restricts solvers from participating in more than one auction per block. This prevents double-counting of bonded atlETH across multiple applications and bundlers.
-
Penalty for Multiple Executions: Any attempt by solvers to execute a second operation in the same block results in a reverted operation, with solvers still incurring charges for their total gas costs.
-
Multiple Intrablock Auctions: To engage in multiple intrablock Atlas auctions, solvers must use separate EOAs and maintain bonded atlETH balances in each.
Solver Responsibilities
Known Bids Mode
In known bids mode, the solver is responsible for approving payment for the sum of:
- The gas cost of the transaction so far, excluding costs attributed to reverted operations of other solvers.
- The gas cost remaining in the transaction up to the gas limit.
- The outstanding balance of any cross-operation flash loan initiated by the hooks.
Ex-Post Bids Mode
In ex-post bids mode, bundlers are responsible for the gas costs of the bid finding iteration, which is an exception to the known bids mode responsibilities.
atlETH Escrow Process
- An escrow hold is placed on the solver's bonded atlETH balance for the total estimated amount owed.
- The Atlas smart contract adjusts this escrow at the end of the transaction based on actual gas consumption.
- Solvers can estimate the gas limit and value of the Atlas transaction before signing their operation, allowing them to anticipate the required escrow amount.
Protection Against Malicious Actors
Solvers are not liable for their gas costs if they are under attack by malicious originators, auctioneers, or bundlers. An altered UserOperation or CallChainHash will attribute any accrued solver gas costs to the bundler.
Disincentivizing Large Gas Limits
To discourage bundlers from setting excessively large gas limits (which would force solvers to maintain higher escrow balances), Atlas estimates the excess gas limit and charges the bundler for it during gas accounting.