Expiry
function
ownerSetExpiryRampTime
nonpayable
Restricted (onlyOwner)
Inputs
Parameter | Type | Description |
---|---|---|
newExpiryRampTime | uint256 |
Outputs
(void)
function
callFunction
nonpayable
Restricted (onlySolo)
Inputs
Parameter | Type | Description |
---|---|---|
address | ||
account | tuple | |
data | bytes |
Outputs
(void)
function
getTradeCost
nonpayable
Restricted (onlySolo)
Inputs
Parameter | Type | Description |
---|---|---|
inputMarketId | uint256 | |
outputMarketId | uint256 | |
makerAccount | tuple | |
tuple | ||
oldInputPar | tuple | |
newInputPar | tuple | |
inputWei | tuple | |
data | bytes |
Outputs
Type | Description |
---|---|
tuple |
function
getSpreadAdjustedPrices
view
Inputs
Parameter | Type | Description |
---|---|---|
heldMarketId | uint256 | |
owedMarketId | uint256 | |
expiry | uint32 |
Outputs
Type | Description |
---|---|
tuple | |
tuple |
function
getExpiry
view
Inputs
Parameter | Type | Description |
---|---|---|
account | tuple | |
marketId | uint256 |
Outputs
Type | Description |
---|---|
uint32 |
event
LogExpiryRampTimeSet
Inputs
Parameter | Type | Description |
---|---|---|
expiryRampTime | uint256 |
Outputs
(void)
event
ExpirySet
Inputs
Parameter | Type | Description |
---|---|---|
owner | address | |
number | uint256 | |
marketId | uint256 | |
time | uint32 |
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 |
event
OwnershipTransferred
Inputs
Parameter | Type | Description |
---|---|---|
previousOwner | address | |
newOwner | address |
Outputs
(void)
constructor
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
soloMargin | address | |
expiryRampTime | uint256 |
Outputs
(void)
function
g_expiryRampTime
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
SOLO_MARGIN
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |