View Source Soroban.Contract (Soroban v0.20.1)

Exposes the function to invoke Soroban smart contracts

Summary

Functions

Functions

Link to this function

deploy(server, network_passphrase, wasm_id, source_secret_key, addl_resources \\ [])

View Source

See Soroban.Contract.DeployContract.deploy/5.

Link to this function

deploy_asset(server, network_passphrase, asset_code, asset_issuer, source_secret_key, addl_resources \\ [])

View Source

See Soroban.Contract.DeployAssetContract.deploy/6.

Link to this function

extend_contract(server, network_passphrase, contract_address, secret_key, ledgers_to_extend, addl_resources \\ [])

View Source

See Soroban.Contract.ExtendFootprintTTL.extend_contract/6.

Link to this function

extend_contract_keys(server, network_passphrase, contract_address, secret_key, ledgers_to_extend, keys, addl_resources \\ [])

View Source

See Soroban.Contract.ExtendFootprintTTL.extend_contract_keys/7.

Link to this function

extend_contract_wasm(server, network_passphrase, wasm_id, secret_key, ledgers_to_extend, addl_resources \\ [])

View Source

See Soroban.Contract.ExtendFootprintTTL.extend_contract_wasm/6.

Link to this function

invoke(server, network_passphrase, contract_address, source_secret_key, function_name, function_args \\ [], auth_secret_keys \\ [], addl_resources \\ [])

View Source

See Soroban.Contract.InvokeContractFunction.invoke/8.

Link to this function

restore_contract(server, network_passphrase, contract_address, secret_key, addl_resources \\ [])

View Source

See Soroban.Contract.RestoreFootprint.restore_contract/5.

Link to this function

restore_contract_keys(server, network_passphrase, contract_address, secret_key, keys, addl_resources \\ [])

View Source

See Soroban.Contract.RestoreFootprint.restore_contract_keys/6.

Link to this function

restore_contract_wasm(server, network_passphrase, wasm_id, secret_key, addl_resources \\ [])

View Source

See Soroban.Contract.RestoreFootprint.restore_contract_wasm/5.

Link to this function

retrieve_unsigned_xdr_to_deploy(server, network_passphrase, wasm_id, source_public_key, addl_resources \\ [])

View Source

See Soroban.Contract.DeployContract.retrieve_unsigned_xdr_to_deploy/5.

Link to this function

retrieve_unsigned_xdr_to_deploy_asset(server, network_passphrase, asset_code, source_public_key, addl_resources \\ [])

View Source

See Soroban.Contract.DeployAssetContract.retrieve_unsigned_xdr_to_deploy_asset/5.

Link to this function

retrieve_unsigned_xdr_to_invoke(server, network_passphrase, contract_address, source_public_key, function_name, function_args \\ [], addl_resources \\ [])

View Source

See Soroban.Contract.InvokeContractFunction.retrieve_unsigned_xdr_to_invoke/7.

Link to this function

retrieve_unsigned_xdr_to_upload(server, network_passphrase, wasm, source_public_key, addl_resources \\ [])

View Source

See Soroban.Contract.UploadContractCode.retrieve_unsigned_xdr_to_upload/5.

Link to this function

simulate_invoke(server, network_passphrase, contract_address, source_public_key, function_name, function_args \\ [], addl_resources \\ [])

View Source

See Soroban.Contract.InvokeContractFunction.simulate_invoke/7.

Link to this function

upload(server, network_passphrase, wasm, source_secret_key, addl_resources \\ [])

View Source

See Soroban.Contract.UploadContractCode.upload/5.