Skip to content

IBinaryOptionMarket

Description

Source: contracts/interfaces/IBinaryOptionMarket.sol

Views

balancesOf

Source

Details

Signature

balancesOf(address account) view returns (uint256 long, uint256 short)

Visibility

external

State Mutability

view

bidOrRefundForPrice

Source

Details

Signature

bidOrRefundForPrice(enum IBinaryOptionMarket.Side bidSide, enum IBinaryOptionMarket.Side priceSide, uint256 price, bool refund) view returns (uint256)

Visibility

external

State Mutability

view

bidsOf

Source

Details

Signature

bidsOf(address account) view returns (uint256 long, uint256 short)

Visibility

external

State Mutability

view

canResolve

Source

Details

Signature

canResolve() view returns (bool)

Visibility

external

State Mutability

view

claimableBalancesOf

Source

Details

Signature

claimableBalancesOf(address account) view returns (uint256 long, uint256 short)

Visibility

external

State Mutability

view

creator

Source

Details

Signature

creator() view returns (address)

Visibility

external

State Mutability

view

creatorLimits

Source

Details

Signature

creatorLimits() view returns (uint256 capitalRequirement, uint256 skewLimit)

Visibility

external

State Mutability

view

deposited

Source

Details

Signature

deposited() view returns (uint256)

Visibility

external

State Mutability

view

exercisableDeposits

Source

Details

Signature

exercisableDeposits() view returns (uint256)

Visibility

external

State Mutability

view

fees

Source

Details

Signature

fees() view returns (uint256 poolFee, uint256 creatorFee, uint256 refundFee)

Visibility

external

State Mutability

view

options

Source

Details

Signature

options() view returns (contract IBinaryOption long, contract IBinaryOption short)

Visibility

external

State Mutability

view

oracleDetails

Source

Details

Signature

oracleDetails() view returns (bytes32 key, uint256 strikePrice, uint256 finalPrice)

Visibility

external

State Mutability

view

oraclePriceAndTimestamp

Source

Details

Signature

oraclePriceAndTimestamp() view returns (uint256 price, uint256 updatedAt)

Visibility

external

State Mutability

view

phase

Source

Details

Signature

phase() view returns (enum IBinaryOptionMarket.Phase)

Visibility

external

State Mutability

view

prices

Source

Details

Signature

prices() view returns (uint256 long, uint256 short)

Visibility

external

State Mutability

view

pricesAfterBidOrRefund

Source

Details

Signature

pricesAfterBidOrRefund(enum IBinaryOptionMarket.Side side, uint256 value, bool refund) view returns (uint256 long, uint256 short)

Visibility

external

State Mutability

view

refundsEnabled

Source

Details

Signature

refundsEnabled() view returns (bool)

Visibility

external

State Mutability

view

resolved

Source

Details

Signature

resolved() view returns (bool)

Visibility

external

State Mutability

view

result

Source

Details

Signature

result() view returns (enum IBinaryOptionMarket.Side)

Visibility

external

State Mutability

view

times

Source

Details

Signature

times() view returns (uint256 biddingEnd, uint256 maturity, uint256 destructino)

Visibility

external

State Mutability

view

totalBids

Source

Details

Signature

totalBids() view returns (uint256 long, uint256 short)

Visibility

external

State Mutability

view

totalClaimableSupplies

Source

Details

Signature

totalClaimableSupplies() view returns (uint256 long, uint256 short)

Visibility

external

State Mutability

view

totalSupplies

Source

Details

Signature

totalSupplies() view returns (uint256 long, uint256 short)

Visibility

external

State Mutability

view

External Functions

bid

Source

Details

Signature

bid(enum IBinaryOptionMarket.Side side, uint256 value)

Visibility

external

State Mutability

``

claimOptions

Source

Details

Signature

claimOptions() returns (uint256 longClaimed, uint256 shortClaimed)

Visibility

external

State Mutability

``

exerciseOptions

Source

Details

Signature

exerciseOptions() returns (uint256)

Visibility

external

State Mutability

``

refund

Source

Details

Signature

refund(enum IBinaryOptionMarket.Side side, uint256 value) returns (uint256 refundMinusFee)

Visibility

external

State Mutability

``