View Source Soroban.Contract.RestoreFootprint (Soroban v0.15.0)
RestoreFootprint
implementation to bump a contract.
Summary
Types
@type contract_address() :: String.t()
@type error() :: {:error, atom()}
@type keys() :: Keyword.t()
@type restore_footprint_validation() :: {:ok, Stellar.TxBuild.RestoreFootprint.t()} | error()
@type secret_key() :: String.t()
@type send_response() :: {:ok, Soroban.RPC.SendTransactionResponse.t()}
@type soroban_data() :: Stellar.TxBuild.SorobanTransactionData.t()
@type wasm_id() :: String.t()
Functions
@spec restore_contract( contract_address :: contract_address(), secret_key :: secret_key() ) :: send_response()
@spec restore_contract_keys( contract_address :: contract_address(), secret_key :: secret_key(), keys :: keys() ) :: send_response()
@spec restore_contract_wasm( wasm_id :: wasm_id(), secret_key :: secret_key() ) :: send_response()