dydx

DutchAuctionCloser

0x686f7d0b698b6780a8ce1d6ae13bb8c813552ff3
DutchAuctionCloser
function

receiveClosePositionPayout

nonpayable
Restricted (onlyMargin)

Inputs

ParameterTypeDescription
positionIdbytes32
closeAmountuint256
closeraddress
positionOwneraddress
heldTokenaddress
payoutuint256
totalHeldTokenuint256
payoutInHeldTokenbool

Outputs

TypeDescription
bool
function

getAuctionCost

view

Inputs

ParameterTypeDescription
positionIdbytes32
totalHeldTokenuint256

Outputs

TypeDescription
uint256
event

PositionClosedByDutchAuction

Inputs

ParameterTypeDescription
positionIdbytes32
owneraddress
bidderaddress
closeAmountuint256
heldTokenForBidderuint256
heldTokenForOwneruint256

Outputs

(void)
constructor

nonpayable

Inputs

ParameterTypeDescription
marginaddress
callTimeLimitNumeratoruint256
callTimeLimitDenominatoruint256

Outputs

(void)
function

CALL_TIMELIMIT_DENOMINATOR

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

CALL_TIMELIMIT_NUMERATOR

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

DYDX_MARGIN

view

Inputs

(void)

Outputs

TypeDescription
address