Contract 5816be5b8f9232cf5cd0045494751d13f942481d5ce3a2f7f7e70c4dd2614081

← Back to Index 📥 Download WASM

Meta

rssdkver 26.0.0#e1bf74ba6c3ddb591593f5eb5dfb85458ff714c1
rsver 1.95.0

Interface

fn init(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
    factory: soroban_sdk::Address,
    config: CircleConfig,
) -> Result<(), CircleError>
fn join(env: soroban_sdk::Env, member: soroban_sdk::Address) -> Result<(), CircleError>
fn contribute(
    env: soroban_sdk::Env,
    member: soroban_sdk::Address,
    amount: i128,
    round: u32,
) -> Result<(), CircleError>
fn get_status(env: soroban_sdk::Env) -> Circle
fn auction_bid(
    env: soroban_sdk::Env,
    bidder: soroban_sdk::Address,
    discount_bips: u32,
    round: u32,
) -> Result<(), CircleError>
fn exit_circle(
    env: soroban_sdk::Env,
    member: soroban_sdk::Address,
) -> Result<(), CircleError>
fn get_members(env: soroban_sdk::Env) -> soroban_sdk::Vec
fn report_late(
    env: soroban_sdk::Env,
    reporter: soroban_sdk::Address,
    late_member: soroban_sdk::Address,
    round: u32,
) -> Result<(), CircleError>
fn vote_payout(
    env: soroban_sdk::Env,
    voter: soroban_sdk::Address,
    vote_for: soroban_sdk::Address,
    round: u32,
) -> Result<(), CircleError>
fn pause_circle(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
) -> Result<(), CircleError>
fn raise_dispute(
    env: soroban_sdk::Env,
    member: soroban_sdk::Address,
    evidence_hash: soroban_sdk::BytesN<32>,
) -> Result<(), CircleError>
fn trigger_payout(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    round: u32,
) -> Result<(), CircleError>
fn unpause_circle(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
) -> Result<(), CircleError>
fn resolve_dispute(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
    resolution: u32,
) -> Result<(), CircleError>
fn get_contributions(
    env: soroban_sdk::Env,
    member: soroban_sdk::Address,
) -> soroban_sdk::Vec
fn init(env: soroban_sdk::Env, admin: soroban_sdk::Address)
fn pause(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
) -> Result<(), ReputationError>
fn unpause(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
) -> Result<(), ReputationError>
fn get_score(env: soroban_sdk::Env, user: soroban_sdk::Address) -> MoiScore
fn get_history(
    env: soroban_sdk::Env,
    user: soroban_sdk::Address,
) -> soroban_sdk::Vec
fn calc_max_size(env: soroban_sdk::Env, member: soroban_sdk::Address) -> u32
fn calc_collateral(env: soroban_sdk::Env, member: soroban_sdk::Address) -> u32
fn record_activity(
    env: soroban_sdk::Env,
    user: soroban_sdk::Address,
    activity_type: u32,
    score_impact: u32,
) -> Result<(), ReputationError>
fn calc_max_contrib(env: soroban_sdk::Env, member: soroban_sdk::Address) -> i128

Imports

WebAssembly Text (WAT) ▶