Contract adfc3e32389a99d285b0535b27bb51e744c08ab60390595810cc67f7cee92150

← Back to Index 📥 Download WASM

Meta

cliver 23.4.1#a152ec2488c25136808ad28277c24b3a0765ffd4
rssdkver 23.5.3#d3e1ab2424388b10893b796b0c8e405c5edd03d2
rsver 1.92.0

Instances

  • CDGQY6NVOCIG2VVNYGD4DIJA2KTATDKWK4D2VEAW77ZMOBPGLRWDZJ4O

Interface

fn role(
    env: soroban_sdk::Env,
    role: soroban_sdk::Symbol,
) -> Result
fn upgrade(
    env: soroban_sdk::Env,
    new_wasm_hash: soroban_sdk::BytesN<32>,
) -> Result<(), DikeError>
fn set_role(
    env: soroban_sdk::Env,
    role: soroban_sdk::Symbol,
    module: soroban_sdk::Address,
) -> Result<(), DikeError>
fn set_admin(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
) -> Result<(), DikeError>
fn get_market(env: soroban_sdk::Env, market_id: u64) -> Result
fn get_status(env: soroban_sdk::Env, market_id: u64) -> Result
fn set_status(
    env: soroban_sdk::Env,
    market_id: u64,
    next: MarketStatus,
) -> Result<(), DikeError>
fn is_tradeable(env: soroban_sdk::Env, market_id: u64) -> Result
fn pause_system(env: soroban_sdk::Env, paused: bool) -> Result<(), DikeError>
fn __constructor(env: soroban_sdk::Env, admin: soroban_sdk::Address)
fn cancel_market(env: soroban_sdk::Env, market_id: u64) -> Result<(), DikeError>
fn close_trading(env: soroban_sdk::Env, market_id: u64) -> Result<(), DikeError>
fn mark_disputed(env: soroban_sdk::Env, market_id: u64) -> Result<(), DikeError>
fn mark_proposed(env: soroban_sdk::Env, market_id: u64) -> Result<(), DikeError>
fn set_fee_config(
    env: soroban_sdk::Env,
    market_id: u64,
    fee_config: FeeConfig,
) -> Result<(), DikeError>
fn activate_market(env: soroban_sdk::Env, market_id: u64) -> Result<(), DikeError>
fn register_market(
    env: soroban_sdk::Env,
    config: MarketConfig,
    yes_token_id: u64,
    no_token_id: u64,
    pool_id: u64,
) -> Result
fn get_final_outcome(
    env: soroban_sdk::Env,
    market_id: u64,
) -> Result
fn set_final_outcome(
    env: soroban_sdk::Env,
    market_id: u64,
    outcome: Outcome,
) -> Result<(), DikeError>
fn mark_council_voting(env: soroban_sdk::Env, market_id: u64) -> Result<(), DikeError>
fn is_supported_collateral(
    env: soroban_sdk::Env,
    collateral: soroban_sdk::Address,
) -> bool
fn set_supported_collateral(
    env: soroban_sdk::Env,
    collateral: soroban_sdk::Address,
    supported: bool,
) -> Result<(), DikeError>
fn mark_resolution_requested(
    env: soroban_sdk::Env,
    market_id: u64,
    request_id: u64,
) -> Result<(), DikeError>

Imports

WebAssembly Text (WAT) ▶