Bundle Format
A FastLane Atlas bundle consists of 2 transactions:
The opportunity-creating transaction. (regular opportunity transaction)
Searcher meta transaction which includes: - callData which will be passed to searcher solver contract - bidAmount - atlas specific parameter such as dAppControl contract address (PLF auction address)
The transactions must be hexadecimal encoded (see Relay JSON-RPC API for more information)
1. Generate CallData for the Solver contract function
The first step is to generate and encode the backrun for a particular opportunity transaction
In our example the
solve()
functionResponsibilities:
perform backrun operation
makes sure the the contract has
bidToken
inbidAmount
quantity (POL)
2. Generate SolverOperation to Submit for
The second part will be generating the a EIP-712
signed messages with a atlas specific format
dAppControl Contract Address
Description: This is the current address of the PFL Auction
dappControl
contract, which is responsible for generating theuserOpHash
needed for the solver operation.helper contract for Fastlane to submit bundles
entrypoint contract which configures Atlas behavior for PFL auction system
dAppOpSigner Address
Description: This is the address of the
dAppOpSigner
, which acts as the signer for the bundles dAppOperationFastlane PFL system is using this authorizes signer to generate dAppControl operation
AtlasVerification Contract Address
Description: This contract is used for EIP-712 domain verification when signing the solver operation.
atlas Contract Address
Description: Atlas main entryPoint contract
metacall
will be used to submit PFL-Bundles (handled by FastLane bundler)
Alway verify that the provided example address are up to date. User our Addresses & Endpoints page
Example:
Last updated