Skip to content

IBinaryOptionMarket

Description

Source: contracts/interfaces/IBinaryOptionMarket.sol

Views

balancesOf

Source

Details

Signature

balancesOf(address account) returns (uint256, uint256)

Visibility

external

State Mutability

view

bidOrRefundForPrice

Source

Details

Signature

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

Visibility

external

State Mutability

view

bidsOf

Source

Details

Signature

bidsOf(address account) returns (uint256, uint256)

Visibility

external

State Mutability

view

canResolve

Source

Details

Signature

canResolve() returns (bool)

Visibility

external

State Mutability

view

claimableBalancesOf

Source

Details

Signature

claimableBalancesOf(address account) returns (uint256, uint256)

Visibility

external

State Mutability

view

creator

Source

Details

Signature

creator() returns (address)

Visibility

external

State Mutability

view

creatorLimits

Source

Details

Signature

creatorLimits() returns (uint256, uint256)

Visibility

external

State Mutability

view

deposited

Source

Details

Signature

deposited() returns (uint256)

Visibility

external

State Mutability

view

exercisableDeposits

Source

Details

Signature

exercisableDeposits() returns (uint256)

Visibility

external

State Mutability

view

fees

Source

Details

Signature

fees() returns (uint256, uint256, uint256)

Visibility

external

State Mutability

view

options

Source

Details

Signature

options() returns (contract IBinaryOption, contract IBinaryOption)

Visibility

external

State Mutability

view

oracleDetails

Source

Details

Signature

oracleDetails() returns (bytes32, uint256, uint256)

Visibility

external

State Mutability

view

oraclePriceAndTimestamp

Source

Details

Signature

oraclePriceAndTimestamp() returns (uint256, uint256)

Visibility

external

State Mutability

view

phase

Source

Details

Signature

phase() returns (enum IBinaryOptionMarket.Phase)

Visibility

external

State Mutability

view

prices

Source

Details

Signature

prices() returns (uint256, uint256)

Visibility

external

State Mutability

view

pricesAfterBidOrRefund

Source

Details

Signature

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

Visibility

external

State Mutability

view

resolved

Source

Details

Signature

resolved() returns (bool)

Visibility

external

State Mutability

view

result

Source

Details

Signature

result() returns (enum IBinaryOptionMarket.Side)

Visibility

external

State Mutability

view

times

Source

Details

Signature

times() returns (uint256, uint256, uint256)

Visibility

external

State Mutability

view

totalBids

Source

Details

Signature

totalBids() returns (uint256, uint256)

Visibility

external

State Mutability

view

totalClaimableSupplies

Source

Details

Signature

totalClaimableSupplies() returns (uint256, uint256)

Visibility

external

State Mutability

view

totalSupplies

Source

Details

Signature

totalSupplies() returns (uint256, uint256)

Visibility

external

State Mutability

view

External Functions

bid

Source

Details

Signature

bid(enum IBinaryOptionMarket.Side side, uint256 value)

Visibility

external

State Mutability

nonpayable

claimOptions

Source

Details

Signature

claimOptions() returns (uint256, uint256)

Visibility

external

State Mutability

nonpayable

exerciseOptions

Source

Details

Signature

exerciseOptions() returns (uint256)

Visibility

external

State Mutability

nonpayable

refund

Source

Details

Signature

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

Visibility

external

State Mutability

nonpayable