Contract 1f0535eaafd1a5c95ae3e522c11a61ef86c419d49e8973eaeb8524d39e6904b1

← Back to Index 📥 Download WASM

Meta

rssdkver 27.0.0-rc.1#6656a27d81fe6832919c49f226b9fc76b7dae5c1
rsver 1.94.1

Instances

  • CB6R73JRRCMZMQSNB5G6GN7PSU4WTIYZNX3ZPRSO4GO4NYZDLE6FWBHP

Interface

fn vote(
    env: soroban_sdk::Env,
    voter: soroban_sdk::Address,
    proposal_id: u64,
    support: bool,
)
fn initialize(
    env: soroban_sdk::Env,
    admin: soroban_sdk::Address,
    vault_id: soroban_sdk::Address,
)
fn get_proposal(env: soroban_sdk::Env, id: u64) -> Proposal
fn create_proposal(
    env: soroban_sdk::Env,
    creator: soroban_sdk::Address,
    description: soroban_sdk::String,
    action_type: soroban_sdk::Symbol,
    duration_ledgers: u64,
) -> u64
fn execute_proposal(env: soroban_sdk::Env, proposal_id: u64)
fn get_proposal_count(env: soroban_sdk::Env) -> u64

Imports

WebAssembly Text (WAT) ▶