Contract 198e66fa8d07c24456055c7286a9a43d7a0203812f9c3e837518ac593679bdae

← Back to Index 📥 Download WASM

Meta

rssdkver 22.0.8#f46e9e0610213bbb72285566f9dd960ff96d03d8
rsver 1.88.0

Instances

  • CARDOCLPQAW5KLDA4HCIZWSWV7SL2POUHU4ULF6LKYO3JUPSXDA3LUL6

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) ▶