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
fn has_role(
env: soroban_sdk::Env,
account: soroban_sdk::Address,
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,
)
Construct the deployer with a given admin address.
fn __constructor(env: soroban_sdk::Env, admin: soroban_sdk::Address)
fn get_role_admin(
env: soroban_sdk::Env,
role: soroban_sdk::Symbol,
) -> Option
fn renounce_admin(env: soroban_sdk::Env)
fn set_role_admin(
env: soroban_sdk::Env,
role: soroban_sdk::Symbol,
admin_role: soroban_sdk::Symbol,
)
fn get_role_member(
env: soroban_sdk::Env,
role: soroban_sdk::Symbol,
index: u32,
) -> 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 transfer_admin_role(
env: soroban_sdk::Env,
new_admin: soroban_sdk::Address,
live_until_ledger: u32,
)
fn get_deployed_address(
env: soroban_sdk::Env,
salt: soroban_sdk::BytesN<32>,
) -> soroban_sdk::Address
fn accept_admin_transfer(env: soroban_sdk::Env)
fn get_role_member_count(env: soroban_sdk::Env, role: soroban_sdk::Symbol) -> u32