dydx / Expiry

ExpiryV2

0x739A1DF6725657f6a16dC2d5519DC36FD7911A12
ExpiryV2
function

ownerSetExpiryRampTime

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
newExpiryRampTimeuint256

Outputs

(void)
function

callFunction

nonpayable
Restricted (onlySolo)

Inputs

ParameterTypeDescription
address
accounttuple
databytes

Outputs

(void)
function

getTradeCost

nonpayable
Restricted (onlySolo)

Inputs

ParameterTypeDescription
inputMarketIduint256
outputMarketIduint256
makerAccounttuple
tuple
oldInputPartuple
newInputPartuple
inputWeituple
databytes

Outputs

TypeDescription
tuple
function

approveSender

nonpayable

Inputs

ParameterTypeDescription
senderaddress
minTimeDeltauint32

Outputs

(void)
function

getSpreadAdjustedPrices

view

Inputs

ParameterTypeDescription
heldMarketIduint256
owedMarketIduint256
expiryuint32

Outputs

TypeDescription
tuple
tuple
function

getExpiry

view

Inputs

ParameterTypeDescription
accounttuple
marketIduint256

Outputs

TypeDescription
uint32
event

LogSenderApproved

Inputs

ParameterTypeDescription
approveraddress
senderaddress
minTimeDeltauint32

Outputs

(void)
event

LogExpiryRampTimeSet

Inputs

ParameterTypeDescription
expiryRampTimeuint256

Outputs

(void)
event

ExpirySet

Inputs

ParameterTypeDescription
owneraddress
numberuint256
marketIduint256
timeuint32

Outputs

(void)
Ownable
function

transferOwnership

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
newOwneraddress

Outputs

(void)
function

renounceOwnership

nonpayable
Restricted (onlyOwner)

Inputs

(void)

Outputs

(void)
function

isOwner

view

Inputs

(void)

Outputs

TypeDescription
bool
function

owner

view

Inputs

(void)

Outputs

TypeDescription
address
event

OwnershipTransferred

Inputs

ParameterTypeDescription
previousOwneraddress
newOwneraddress

Outputs

(void)
constructor

nonpayable

Inputs

ParameterTypeDescription
soloMarginaddress
expiryRampTimeuint256

Outputs

(void)
function

g_expiryRampTime

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

SOLO_MARGIN

view

Inputs

(void)

Outputs

TypeDescription
address
function

g_approvedSender

view

Inputs

ParameterTypeDescription
address
address

Outputs

TypeDescription
uint32