Upgrade the contract to a new wasm bytecode (admin only)
fn upgrade(env: soroban_sdk::Env, new_wasm_hash: soroban_sdk::BytesN<32>)
Returns the contract version (v1)
fn version(env: soroban_sdk::Env) -> u32
Get the current counter value
fn get_count(env: soroban_sdk::Env) -> u32
Increment the counter by 1 and return new value
fn increment(env: soroban_sdk::Env) -> u32
Initialize the contract with an admin address
fn __constructor(env: soroban_sdk::Env, admin: soroban_sdk::Address)