IDebtBidActions
Inherits: ICommonActions
Functions
decreaseSoldAmount
Place a bid offering to receive a lesser amount of protocol tokens for covering the auctioned debt amount
function decreaseSoldAmount(
address _coinJoin,
address _debtAuctionHouse,
uint256 _auctionId,
uint256 _soldAmount
) external;
Parameters
Name | Type | Description |
---|---|---|
_coinJoin | address | Address of the CoinJoin contract |
_debtAuctionHouse | address | Address of the DebtAuctionHouse contract |
_auctionId | uint256 | Id of the auction to bid on |
_soldAmount | uint256 | Amount of protocol tokens to receive [wad] |
settleAuction
Settles an auction, collecting the protocol tokens if the user is the highest bidder
This method will fail if the auction is not finished
function settleAuction(address _coinJoin, address _debtAuctionHouse, uint256 _auctionId) external;
Parameters
Name | Type | Description |
---|---|---|
_coinJoin | address | Address of the CoinJoin contract |
_debtAuctionHouse | address | Address of the DebtAuctionHouse contract |
_auctionId | uint256 | Id of the auction to settle |
collectProtocolTokens
Collects the protocol tokens that the proxy has
This method is used to collect protocol tokens from an auction that was settled by another user
function collectProtocolTokens(address _protocolToken) external;
Parameters
Name | Type | Description |
---|---|---|
_protocolToken | address | Address of the protocol token |