Contract a35b542fbc296d8638946dc4d1f12773dd7b3efc3330f3b78c8ee8472fdb4e03

← Back to Index 📥 Download WASM

Meta

cliver 25.2.0#28484880988199233a7e8e87c97cb12dac323cb3
rssdkver 22.0.11#34f7f53ae31e0fd02aab436a9872e79fa671ca02
rsver 1.95.0

Instances

  • CDCHOQZ3JMOK72PXFIDN5ICX2CHE62H4SRDUIA3HV3JSEJMZNU5O33Y7

Interface

Deploys a contract on behalf of the ContractFactory contract.

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

Idempotently deploys a contract and then dispatches a sequence of inner contract calls in the same top-level invocation.

If the deterministic address is already deployed, deployment is skipped and the calls run against the existing contract. If any inner call reverts, the host aborts the transaction and the whole sequence (including the deploy) is rolled back.

fn deploy_and_call(
    env: soroban_sdk::Env,
    deployment_args: ContractDeploymentArgs,
    calls: soroban_sdk::Vec,
) -> soroban_sdk::Address

Deploys a contract on behalf of the ContractFactory contract. If the contract is already deployed at the deterministic address, returns it.

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

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

fn upload_and_deploy(
    env: soroban_sdk::Env,
    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>,
    wasm_hash: soroban_sdk::BytesN<32>,
    constructor_args: soroban_sdk::Vec,
) -> soroban_sdk::Address

Imports

WebAssembly Text (WAT) ▶