Option<Vec<ValidAccountId>>
add_to_whitelist
function through the DAO.OracleConfig
. Can be changed by the DAO through the set_config
function.U128
U64
U64
U128
ResolutionWindow
should trigger the final arbitratortvl
behind the request that's to be paid out to stakers, denominated in 1e4 so 1 = 0.01% - 10000 = 100%OracleConfig
above.OracleConfig
true
when the account is in the whitelist, false
otherwise.StorageBalanceBounds
Option<U128>
StorageBalance
Option<ValidAccountId>
null/None
StorageBalance
(See above for documentation)ft_transfer_call
with the bond_token
. It requires a message to be attached to the call containing an NewDataRequest
object. Please fetch the current oracle config with get_config
to see the number of tokens you need to send with the request. Below you can see an example using JavaScript:U64
U64
set_outcome
function.Option<Vec<String>>
Vec<Source>
Option<String>
Option<Vec<String>>
ft_transfer_call
with the stake_token
(from the config). It requires a message to be attached to the call containing an StakeDataRequest
object. Staking can only be done when the settlement_time
has been reached. Below you can see an example using JavaScript for a valid outcome:U64
"Invalid"
or { "Answer": "ANSWER_HERE" }
U64
"Invalid"
or { "Answer": "ANSWER_HERE" }
bonded_outcome
has been met you can finalize a request. This will call the target_contract
with the finalized outcome.U64
final_arbitrator_invoke_amount
requirement.U64
"Invalid"
or { "Answer": "ANSWER_HERE" }
U64