View Source Soroban.Contract.InstallContractCode (Soroban v0.8.0)
InstallContractCode
implementation to install contract from a wasm file.
Link to this section Summary
Link to this section Types
@type account() :: Stellar.TxBuild.Account.t()
@type get_response() :: {:ok, Soroban.RPC.GetTransactionResponse.t()}
@type invoke_host_function() :: Stellar.TxBuild.InvokeHostFunction.t()
@type send_response() :: {:ok, Soroban.RPC.SendTransactionResponse.t()}
@type sequence_number() :: Stellar.TxBuild.SequenceNumber.t()
@type signature() :: Stellar.TxBuild.Signature.t()
@type wasm() :: binary()
Link to this section Functions
@spec get_wasm_id(get_response()) :: binary()
@spec install(wasm :: wasm(), secret_key :: binary()) :: send_response()