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
| Parameter | Type | Description |
|---|---|---|
| address | ||
| accountInfo | tuple | |
| data | bytes |
Outputs
(void)
function
getTradeCost
nonpayable
Restricted (onlySolo)
Inputs
| Parameter | Type | Description |
|---|---|---|
| inputMarketId | uint256 | |
| outputMarketId | uint256 | |
| makerAccount | tuple | |
| takerAccount | tuple | |
| tuple | ||
| tuple | ||
| inputWei | tuple | |
| data | bytes |
Outputs
| Type | Description |
|---|---|
| tuple |
function
approveOrder
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| order | tuple |
Outputs
(void)
function
cancelOrder
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| order | tuple |
Outputs
(void)
function
getOrderStates
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| orderHashes | bytes32[] |
Outputs
| Type | Description |
|---|---|
| tuple[] |
event
LogLimitOrderFilled
Inputs
| Parameter | Type | Description |
|---|---|---|
| orderHash | bytes32 | |
| orderMaker | address | |
| makerFillAmount | uint256 | |
| totalMakerFilledAmount | uint256 |
Outputs
(void)
event
LogLimitOrderApproved
Inputs
| Parameter | Type | Description |
|---|---|---|
| orderHash | bytes32 | |
| approver | address | |
| makerMarket | uint256 | |
| takerMarket | uint256 |
Outputs
(void)
event
LogLimitOrderCanceled
Inputs
| Parameter | Type | Description |
|---|---|---|
| orderHash | bytes32 | |
| canceler | address | |
| makerMarket | uint256 | |
| takerMarket | uint256 |
Outputs
(void)
event
ContractStatusSet
Inputs
| Parameter | Type | Description |
|---|---|---|
| operational | bool |
Outputs
(void)
Ownable
function
transferOwnership
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| newOwner | address |
Outputs
(void)
function
renounceOwnership
nonpayable
Restricted (onlyOwner)
Inputs
(void)
Outputs
(void)
function
isOwner
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| bool |
function
owner
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
constructor
LimitOrders
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| soloMargin | address | |
| chainId | uint256 |
Outputs
(void)
event
OwnershipTransferred
Inputs
| Parameter | Type | Description |
|---|---|---|
| previousOwner | address | |
| newOwner | address |
Outputs
(void)
function
g_isOperational
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| bool |
function
EIP712_DOMAIN_HASH
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| bytes32 |
function
g_status
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| bytes32 |
Outputs
| Type | Description |
|---|---|
| uint8 |
function
g_makerFilledAmount
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| bytes32 |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
SOLO_MARGIN
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |