IBinaryOptionMarket¶
Description¶
Source: contracts/interfaces/IBinaryOptionMarket.sol
Views¶
balancesOf
¶
Details
Signature
balancesOf(address account) view returns (uint256 long, uint256 short)
Visibility
external
State Mutability
view
bidOrRefundForPrice
¶
Details
Signature
bidOrRefundForPrice(enum IBinaryOptionMarket.Side bidSide, enum IBinaryOptionMarket.Side priceSide, uint256 price, bool refund) view returns (uint256)
Visibility
external
State Mutability
view
bidsOf
¶
Details
Signature
bidsOf(address account) view returns (uint256 long, uint256 short)
Visibility
external
State Mutability
view
canResolve
¶
Details
Signature
canResolve() view returns (bool)
Visibility
external
State Mutability
view
claimableBalancesOf
¶
Details
Signature
claimableBalancesOf(address account) view returns (uint256 long, uint256 short)
Visibility
external
State Mutability
view
creator
¶
Details
Signature
creator() view returns (address)
Visibility
external
State Mutability
view
creatorLimits
¶
Details
Signature
creatorLimits() view returns (uint256 capitalRequirement, uint256 skewLimit)
Visibility
external
State Mutability
view
deposited
¶
Details
Signature
deposited() view returns (uint256)
Visibility
external
State Mutability
view
exercisableDeposits
¶
Details
Signature
exercisableDeposits() view returns (uint256)
Visibility
external
State Mutability
view
fees
¶
Details
Signature
fees() view returns (uint256 poolFee, uint256 creatorFee, uint256 refundFee)
Visibility
external
State Mutability
view
options
¶
Details
Signature
options() view returns (contract IBinaryOption long, contract IBinaryOption short)
Visibility
external
State Mutability
view
oracleDetails
¶
Details
Signature
oracleDetails() view returns (bytes32 key, uint256 strikePrice, uint256 finalPrice)
Visibility
external
State Mutability
view
oraclePriceAndTimestamp
¶
Details
Signature
oraclePriceAndTimestamp() view returns (uint256 price, uint256 updatedAt)
Visibility
external
State Mutability
view
phase
¶
Details
Signature
phase() view returns (enum IBinaryOptionMarket.Phase)
Visibility
external
State Mutability
view
prices
¶
Details
Signature
prices() view returns (uint256 long, uint256 short)
Visibility
external
State Mutability
view
pricesAfterBidOrRefund
¶
Details
Signature
pricesAfterBidOrRefund(enum IBinaryOptionMarket.Side side, uint256 value, bool refund) view returns (uint256 long, uint256 short)
Visibility
external
State Mutability
view
refundsEnabled
¶
Details
Signature
refundsEnabled() view returns (bool)
Visibility
external
State Mutability
view
resolved
¶
Details
Signature
resolved() view returns (bool)
Visibility
external
State Mutability
view
result
¶
Details
Signature
result() view returns (enum IBinaryOptionMarket.Side)
Visibility
external
State Mutability
view
times
¶
Details
Signature
times() view returns (uint256 biddingEnd, uint256 maturity, uint256 destructino)
Visibility
external
State Mutability
view
totalBids
¶
Details
Signature
totalBids() view returns (uint256 long, uint256 short)
Visibility
external
State Mutability
view
totalClaimableSupplies
¶
Details
Signature
totalClaimableSupplies() view returns (uint256 long, uint256 short)
Visibility
external
State Mutability
view
totalSupplies
¶
Details
Signature
totalSupplies() view returns (uint256 long, uint256 short)
Visibility
external
State Mutability
view
External Functions¶
bid
¶
Details
Signature
bid(enum IBinaryOptionMarket.Side side, uint256 value)
Visibility
external
State Mutability
``
claimOptions
¶
Details
Signature
claimOptions() returns (uint256 longClaimed, uint256 shortClaimed)
Visibility
external
State Mutability
``
exerciseOptions
¶
Details
Signature
exerciseOptions() returns (uint256)
Visibility
external
State Mutability
``
refund
¶
Details
Signature
refund(enum IBinaryOptionMarket.Side side, uint256 value) returns (uint256 refundMinusFee)
Visibility
external
State Mutability
``