BinaryOptionMarketData¶
Description¶
Source: contracts/BinaryOptionMarketData.sol
Structs¶
AccountData
¶
Field | Type | Description |
---|---|---|
bids |
struct BinaryOptionMarketData.OptionValues |
TBA |
claimable |
struct BinaryOptionMarketData.OptionValues |
TBA |
balances |
struct BinaryOptionMarketData.OptionValues |
TBA |
Deposits
¶
Field | Type | Description |
---|---|---|
deposited |
uint256 |
TBA |
exercisableDeposits |
uint256 |
TBA |
MarketData
¶
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
¶
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
¶
Field | Type | Description |
---|---|---|
long |
uint256 |
TBA |
short |
uint256 |
TBA |
OraclePriceAndTimestamp
¶
Field | Type | Description |
---|---|---|
price |
uint256 |
TBA |
updatedAt |
uint256 |
TBA |
Resolution
¶
Field | Type | Description |
---|---|---|
resolved |
bool |
TBA |
canResolve |
bool |
TBA |
Views¶
getAccountMarketData
¶
Details
Signature
getAccountMarketData(contract BinaryOptionMarket market, address account) view returns (struct BinaryOptionMarketData.AccountData)
Visibility
public
State Mutability
view
getMarketData
¶
Details
Signature
getMarketData(contract BinaryOptionMarket market) view returns (struct BinaryOptionMarketData.MarketData)
Visibility
public
State Mutability
view
getMarketParameters
¶
Details
Signature
getMarketParameters(contract BinaryOptionMarket market) view returns (struct BinaryOptionMarketData.MarketParameters)
Visibility
public
State Mutability
view