Contract 4ae21f458f506a6e4ae453e5f68c2676d92285739c463393df17994703b58ae1

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.8#f46e9e0610213bbb72285566f9dd960ff96d03d8
rsver 1.89.0-nightly

Instances

  • CA5YAOO57K52GFYR2GWXASDJC467RIX5OZUSXLYGRH5H24PAMSNGY2AD

Interface

Construct the deployer with a given admin address.

fn __constructor(env: soroban_sdk::Env, admin: soroban_sdk::Address)

Deploys the contract on behalf of the ContractFactory contract.

This has to be authorized by an address with the deployer role.

fn deploy(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    deployment_args: ContractDeploymentArgs,
) -> soroban_sdk::Address

Deploys the contract on behalf of the ContractFactory contract.

This has to be authorized by an address with the deployer role.

fn deploy_idempotent(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    deployment_args: ContractDeploymentArgs,
) -> soroban_sdk::Address

Uploads the contract WASM and deploys it on behalf of the ContractFactory contract.

using that hash. This has to be authorized by an address with the deployer role.

fn upload_and_deploy(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    wasm_bytes: soroban_sdk::Bytes,
    salt: soroban_sdk::BytesN<32>,
    constructor_args: soroban_sdk::Vec,
) -> soroban_sdk::Address
fn get_deployed_address(
    env: soroban_sdk::Env,
    salt: soroban_sdk::BytesN<32>,
) -> soroban_sdk::Address
fn has_role(
    env: soroban_sdk::Env,
    account: soroban_sdk::Address,
    role: soroban_sdk::Symbol,
) -> Option
fn get_role_member_count(env: soroban_sdk::Env, role: soroban_sdk::Symbol) -> u32
fn get_role_member(
    env: soroban_sdk::Env,
    role: soroban_sdk::Symbol,
    index: u32,
) -> soroban_sdk::Address
fn get_role_admin(
    env: soroban_sdk::Env,
    role: soroban_sdk::Symbol,
) -> Option
fn get_admin(env: soroban_sdk::Env) -> Option
fn grant_role(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    account: soroban_sdk::Address,
    role: soroban_sdk::Symbol,
)
fn revoke_role(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    account: soroban_sdk::Address,
    role: soroban_sdk::Symbol,
)
fn renounce_role(
    env: soroban_sdk::Env,
    caller: soroban_sdk::Address,
    role: soroban_sdk::Symbol,
)
fn renounce_admin(env: soroban_sdk::Env)
fn transfer_admin_role(
    env: soroban_sdk::Env,
    new_admin: soroban_sdk::Address,
    live_until_ledger: u32,
)
fn accept_admin_transfer(env: soroban_sdk::Env)
fn set_role_admin(
    env: soroban_sdk::Env,
    role: soroban_sdk::Symbol,
    admin_role: soroban_sdk::Symbol,
)

Imports

WebAssembly Text (WAT) ▶