fn __constructor(
env: soroban_sdk::Env,
admin: soroban_sdk::Address,
join_fee: u32,
token: soroban_sdk::Address,
)
fn fund_contract(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
fund_amount: u32,
) -> i128
fn join(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
member: soroban_sdk::Address,
name: soroban_sdk::String,
canon: soroban_sdk::String,
)
fn withdraw(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
recipient: soroban_sdk::Address,
) -> Result
fn symbol(env: soroban_sdk::Env) -> soroban_sdk::Symbol
fn join_fee(env: soroban_sdk::Env) -> i128
fn member_paid(env: soroban_sdk::Env, caller: soroban_sdk::Address) -> u32
Get the canon for a member
e - The environmentmember_address - The address of the member to queryOption<String> - The member's canon if they exist, None otherwisefn get_canon(
env: soroban_sdk::Env,
member_address: soroban_sdk::Address,
) -> Option
fn is_member(env: soroban_sdk::Env, caller: soroban_sdk::Address) -> bool
fn remove(
env: soroban_sdk::Env,
admin_caller: soroban_sdk::Address,
member_to_remove: soroban_sdk::Address,
) -> bool
Update the canon for a member
e - The environmentcaller - The address of the member updating their canon (must be the member themselves or an admin)member_address - The address of the member whose canon is being updatednew_canon - The new canon string (max 100 characters)bool - True if the update was successfulfn update_canon(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
member_address: soroban_sdk::Address,
new_canon: soroban_sdk::String,
) -> bool
fn update_join_fee(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
new_fee: u32,
) -> i128
fn add_admin(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
new_admin: soroban_sdk::Address,
) -> bool
fn get_admin_list(env: soroban_sdk::Env) -> soroban_sdk::Vec
fn is_admin(env: soroban_sdk::Env, address: soroban_sdk::Address) -> bool
fn remove_admin(
env: soroban_sdk::Env,
caller: soroban_sdk::Address,
admin_to_remove: soroban_sdk::Address,
) -> bool