dydx

LimitOrders

0xDEf136D9884528e1EB302f39457af0E4d3AD24EB
LimitOrders
function

startUp

nonpayable
Restricted (onlyOwner)

Inputs

(void)

Outputs

(void)
function

shutDown

nonpayable
Restricted (onlyOwner)

Inputs

(void)

Outputs

(void)
function

callFunction

nonpayable
Restricted (onlySolo)

Inputs

ParameterTypeDescription
address
accountInfotuple
databytes

Outputs

(void)
function

getTradeCost

nonpayable
Restricted (onlySolo)

Inputs

ParameterTypeDescription
inputMarketIduint256
outputMarketIduint256
makerAccounttuple
takerAccounttuple
tuple
tuple
inputWeituple
databytes

Outputs

TypeDescription
tuple
function

approveOrder

nonpayable

Inputs

ParameterTypeDescription
ordertuple

Outputs

(void)
function

cancelOrder

nonpayable

Inputs

ParameterTypeDescription
ordertuple

Outputs

(void)
function

getOrderStates

view

Inputs

ParameterTypeDescription
orderHashesbytes32[]

Outputs

TypeDescription
tuple[]
event

LogLimitOrderFilled

Inputs

ParameterTypeDescription
orderHashbytes32
orderMakeraddress
makerFillAmountuint256
totalMakerFilledAmountuint256

Outputs

(void)
event

LogLimitOrderApproved

Inputs

ParameterTypeDescription
orderHashbytes32
approveraddress
makerMarketuint256
takerMarketuint256

Outputs

(void)
event

LogLimitOrderCanceled

Inputs

ParameterTypeDescription
orderHashbytes32
canceleraddress
makerMarketuint256
takerMarketuint256

Outputs

(void)
event

ContractStatusSet

Inputs

ParameterTypeDescription
operationalbool

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
constructor

LimitOrders

nonpayable

Inputs

ParameterTypeDescription
soloMarginaddress
chainIduint256

Outputs

(void)
event

OwnershipTransferred

Inputs

ParameterTypeDescription
previousOwneraddress
newOwneraddress

Outputs

(void)
function

g_isOperational

view

Inputs

(void)

Outputs

TypeDescription
bool
function

EIP712_DOMAIN_HASH

view

Inputs

(void)

Outputs

TypeDescription
bytes32
function

g_status

view

Inputs

ParameterTypeDescription
bytes32

Outputs

TypeDescription
uint8
function

g_makerFilledAmount

view

Inputs

ParameterTypeDescription
bytes32

Outputs

TypeDescription
uint256
function

SOLO_MARGIN

view

Inputs

(void)

Outputs

TypeDescription
address