Skip to content

BinaryOptionMarketData

Description

Source: contracts/BinaryOptionMarketData.sol

Structs

AccountData

Source

Field Type Description
bids struct BinaryOptionMarketData.OptionValues TBA
claimable struct BinaryOptionMarketData.OptionValues TBA
balances struct BinaryOptionMarketData.OptionValues TBA

Deposits

Source

Field Type Description
deposited uint256 TBA
exercisableDeposits uint256 TBA

MarketData

Source

Field Type Description
oraclePriceAndTimestamp struct BinaryOptionMarketData.OraclePriceAndTimestamp TBA
prices struct BinaryOptionMarket.Prices TBA
deposits struct BinaryOptionMarketData.Deposits TBA
resolution struct BinaryOptionMarketData.Resolution TBA
phase enum IBinaryOptionMarket.Phase TBA
result enum IBinaryOptionMarket.Side TBA
totalBids struct BinaryOptionMarketData.OptionValues TBA
totalClaimableSupplies struct BinaryOptionMarketData.OptionValues TBA
totalSupplies struct BinaryOptionMarketData.OptionValues TBA

MarketParameters

Source

Field Type Description
creator address TBA
options struct BinaryOptionMarket.Options TBA
times struct BinaryOptionMarket.Times TBA
oracleDetails struct BinaryOptionMarket.OracleDetails TBA
fees struct BinaryOptionMarketManager.Fees TBA
creatorLimits struct BinaryOptionMarketManager.CreatorLimits TBA

OptionValues

Source

Field Type Description
long uint256 TBA
short uint256 TBA

OraclePriceAndTimestamp

Source

Field Type Description
price uint256 TBA
updatedAt uint256 TBA

Resolution

Source

Field Type Description
resolved bool TBA
canResolve bool TBA

Views

getAccountMarketData

Source

Details

Signature

getAccountMarketData(contract BinaryOptionMarket market, address account) returns (struct BinaryOptionMarketData.AccountData)

Visibility

public

State Mutability

view

getMarketData

Source

Details

Signature

getMarketData(contract BinaryOptionMarket market) returns (struct BinaryOptionMarketData.MarketData)

Visibility

public

State Mutability

view

getMarketParameters

Source

Details

Signature

getMarketParameters(contract BinaryOptionMarket market) returns (struct BinaryOptionMarketData.MarketParameters)

Visibility

public

State Mutability

view