ForeMarkets (Factory)
Extends ERC721 token standard
INIT_CODE_PAIR_HASH
Returns init creation code, eeded to calculate market address
market
Returns market address for hash(bytes32)
isForeMarket
Returns true if address is Fore Market
allMarkets
Returns market address of index
tokenURI
Returns token uri for existing token
input
uint256
tokenId
output
string
N/A
token uri
isForeOperator
ForeOperators: ForeMarkets(as factory), ForeMarket contracts and marketplace
Returns true if Address is ForeOperator
input
address
addr
output
bool
N/A
true if Address is ForeOperator
allMarketLength
Returns length of all markets array
output
uint256
N/A
length of all markets array
mintVerifier
Mints Verifier Nft (ForeVerifier)
input
address
receiver
receiver address
buyPower
Buys additional power (ForeVerifier)
input
uint256
id
token id
input
uint256
amount
amount to buy
createMarket
Creates Market
input
bytes32
marketHash
market hash
input
address
receiver
market creator nft receiver
input
uint256
amountA
initial prediction for side A
input
uint256
amountB
initial prediction for side B
input
uint256
startPredictionTimestamp
Start predictions unix timestamp
input
uint256
endPredictionTimestamp
End predictions unix timestamp
output
address
createdMarket
Address of created market
isApprovedForAll
Allow tokens to be used by market contracts
input
address
owner
input
address
operator
output
bool
N/A
true if address is operator
Last updated