IBinaryOptionMarketManager¶
Description¶
Source: contracts/interfaces/IBinaryOptionMarketManager.sol
Views¶
activeMarkets
¶
Details
Signature
activeMarkets(uint256 index, uint256 pageSize) view returns (address[])
Visibility
external
State Mutability
view
creatorLimits
¶
Details
Signature
creatorLimits() view returns (uint256 capitalRequirement, uint256 skewLimit)
Visibility
external
State Mutability
view
durations
¶
Details
Signature
durations() view returns (uint256 maxOraclePriceAge, uint256 expiryDuration, uint256 maxTimeToMaturity)
Visibility
external
State Mutability
view
fees
¶
Details
Signature
fees() view returns (uint256 poolFee, uint256 creatorFee, uint256 refundFee)
Visibility
external
State Mutability
view
marketCreationEnabled
¶
Details
Signature
marketCreationEnabled() view returns (bool)
Visibility
external
State Mutability
view
maturedMarkets
¶
Details
Signature
maturedMarkets(uint256 index, uint256 pageSize) view returns (address[])
Visibility
external
State Mutability
view
numActiveMarkets
¶
Details
Signature
numActiveMarkets() view returns (uint256)
Visibility
external
State Mutability
view
numMaturedMarkets
¶
Details
Signature
numMaturedMarkets() view returns (uint256)
Visibility
external
State Mutability
view
totalDeposited
¶
Details
Signature
totalDeposited() view returns (uint256)
Visibility
external
State Mutability
view
External Functions¶
cancelMarket
¶
Details
Signature
cancelMarket(address market)
Visibility
external
State Mutability
``
createMarket
¶
Details
Signature
createMarket(bytes32 oracleKey, uint256 strikePrice, bool refundsEnabled, uint256[2] times, uint256[2] bids) returns (contract IBinaryOptionMarket)
Visibility
external
State Mutability
``
expireMarkets
¶
Details
Signature
expireMarkets(address[] market)
Visibility
external
State Mutability
``
resolveMarket
¶
Details
Signature
resolveMarket(address market)
Visibility
external
State Mutability
``