ISurplusBidActions
Inherits: ICommonActions
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;
Parameters
Name | Type | Description |
---|---|---|
_surplusAuctionHouse | address | Address of the SurplusAuctionHouse contract |
_auctionId | uint256 | Id of the auction to bid on |
_bidAmount | uint256 | Amount 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;
Parameters
Name | Type | Description |
---|---|---|
_coinJoin | address | Address of the CoinJoin contract |
_surplusAuctionHouse | address | Address of the SurplusAuctionHouse contract |
_auctionId | uint256 | Id of the auction to settle |