SurplusBidActions

Git Source

Inherits: ISurplusBidActions, CommonActions

All methods here are executed as delegatecalls from the user's proxy

Functions

increaseBidSize

Place a bid offering to provide a higher amount of coins for receiving the auctioned protocol tokens

function increaseBidSize(
  address _surplusAuctionHouse,
  uint256 _auctionId,
  uint256 _bidAmount
) external onlyDelegateCall;

Parameters

NameTypeDescription
_surplusAuctionHouseaddressAddress of the SurplusAuctionHouse contract
_auctionIduint256Id of the auction to bid on
_bidAmountuint256Amount of system coins to bid [wad]

settleAuction

Settles an auction, collecting the system coins if the user is the highest bidder

This method will fail if the auction is not finished

function settleAuction(address _coinJoin, address _surplusAuctionHouse, uint256 _auctionId) external onlyDelegateCall;

Parameters

NameTypeDescription
_coinJoinaddressAddress of the CoinJoin contract
_surplusAuctionHouseaddressAddress of the SurplusAuctionHouse contract
_auctionIduint256Id of the auction to settle