Contract b14c59892e1a4ffc9b4a883f8eac5c5b01b6c2795a182095e9616eb54328bf8f

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.7#211569aa49c8d896877dfca1f2eb4fe9071121c8
rsver 1.81.0

Instances

  • CBQ2CTBS7HO7YATYNWC63NJJBSI7RPYOVNFXDCXA3KNJFEQKJ7HF57BU

Interface

Initialization function.

fn init(
    env: soroban_sdk::Env,
    owner: soroban_sdk::Address,
    wasm_hash: soroban_sdk::BytesN<32>,
)

Deploys a new TokenVestingManager contract and returns its address.

fn new_token_vesting_manager(
    env: soroban_sdk::Env,
    init_args: soroban_sdk::Vec,
) -> (soroban_sdk::Address, soroban_sdk::Val)

Updates the owner of the factory.

fn update_owner(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    new_owner: soroban_sdk::Address,
)

Updates the Wasm hash of the TokenVestingManager contract.

fn update_vesting_manager_wasm_hash(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    new_wasm_hash: soroban_sdk::BytesN<32>,
)

Returns the owner of the factory.

fn get_owner(env: soroban_sdk::Env) -> soroban_sdk::Address

Returns the Wasm hash of the TokenVestingManager contract.

fn get_vesting_manager_wasm_hash(env: soroban_sdk::Env) -> soroban_sdk::BytesN<32>

Imports

WebAssembly Text (WAT) ▶