Contract 1689dda6ff110bd09af64af4e82759a37b30ac3183dd96e47e04ae179b493e56

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.7#211569aa49c8d896877dfca1f2eb4fe9071121c8
rsver 1.81.0

Instances

  • CDQCZAMYQ42NAHF5RK5D33FEFGSXTWJ2PSH3D54VAEYNJEEJKD2M7WG7

Interface

fn init(
    env: soroban_sdk::Env,
    owner: soroban_sdk::Address,
    mint_cost: i128,
    remint_cost: i128,
    attestation_duration: u64,
    pk: soroban_sdk::BytesN<32>,
    xlm: soroban_sdk::Address,
)
fn get_attestation_duration(env: soroban_sdk::Env) -> u64
fn get_mint_statistic(env: soroban_sdk::Env) -> (u64, u64)
fn set_attestation_duration(env: soroban_sdk::Env, attestation_duration: u64)
fn update_pk(env: soroban_sdk::Env, pk: soroban_sdk::BytesN<32>)
fn update_costs(env: soroban_sdk::Env, mint_cost: i128, remint_cost: i128)
fn get_prices(env: soroban_sdk::Env) -> (i128, i128)
fn get_owner(env: soroban_sdk::Env) -> soroban_sdk::Address
fn transfer_ownership(env: soroban_sdk::Env, owner: soroban_sdk::Address)
fn self_attest(
    env: soroban_sdk::Env,
    message: soroban_sdk::Bytes,
    signature: soroban_sdk::BytesN<64>,
)
fn set_user_trust_score(
    env: soroban_sdk::Env,
    user: soroban_sdk::Address,
    trust_score: u32,
)
fn get_user(env: soroban_sdk::Env, user: soroban_sdk::Address) -> UserOutput
fn upgrade(env: soroban_sdk::Env, new_wasm_hash: soroban_sdk::BytesN<32>)
fn update_xlm(env: soroban_sdk::Env, xlm: soroban_sdk::Address)
fn withdraw(env: soroban_sdk::Env, amount: i128)

Imports

WebAssembly Text (WAT) ▶