fn init(
env: soroban_sdk::Env,
creator: soroban_sdk::Address,
goal: i128,
deadline: u64,
token: soroban_sdk::Address,
reputation: soroban_sdk::Address,
factory: soroban_sdk::Address,
milestones: soroban_sdk::Vec,
)
fn refund(env: soroban_sdk::Env, caller: soroban_sdk::Address)
Release milestone index to the creator. Releases must happen in order
(index must equal the number already released). Requires the goal to be
met and the deadline passed. The final release marks the campaign
Completed and records success in the Reputation contract.
fn release(env: soroban_sdk::Env, index: u32)
(creator, goal, deadline, total_raised, status, milestone_count, released_count)
fn summary(
env: soroban_sdk::Env,
) -> (soroban_sdk::Address, i128, u64, i128, u32, u32, u32)
fn contribute(env: soroban_sdk::Env, from: soroban_sdk::Address, amount: i128)
fn milestones(env: soroban_sdk::Env) -> soroban_sdk::Vec
fn total_released(env: soroban_sdk::Env) -> i128
fn contribution_of(env: soroban_sdk::Env, who: soroban_sdk::Address) -> i128