Skip to main content

Solidity API

IWETH9

deposit

function deposit() external payable

withdraw

function withdraw(uint256 wad) external payable

SolverBase

A base contract for Solvers

Does safety checks, escrow reconciliation and pays bids. Works with DAppControls which have set the invertBidValue flag to false. Use SolverBaseInvertBid for DAppControls which have set the invertBidValue flag to true.

WETH_ADDRESS

address WETH_ADDRESS

_owner

address _owner

_atlas

address _atlas

SolverCallUnsuccessful

error SolverCallUnsuccessful()

InvalidEntry

error InvalidEntry()

InvalidCaller

error InvalidCaller()

constructor

constructor(address weth, address atlas, address owner) public

atlasSolverCall

function atlasSolverCall(address solverOpFrom, address executionEnvironment, address bidToken, uint256 bidAmount, bytes solverOpData, bytes forwardedData) external payable virtual

safetyFirst

modifier safetyFirst(address executionEnvironment, address solverOpFrom)

payBids

modifier payBids(address executionEnvironment, address bidToken, uint256 bidAmount)