From d7d8e3c8509f67d05b30c838ecf4a559c10d4b19 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Wed, 28 Aug 2024 11:57:22 +0000
Subject: [PATCH] Deploy rust API reference Merge pull request #1954 from
oasisprotocol/kostko/feature/rofl-origin-node-ent
runtime-sdk/modules/rofl: Add rofl.AuthorizedOrigin{Node,Entity} 58ae2514e67a3914426473a90db911e8dd5634b7
---
.../context/trait.Context.html | 24 +--
.../contract/trait.Contract.html | 4 +-
rust/oasis_contract_sdk/env/trait.Env.html | 8 +-
.../oasis_contract_sdk/error/trait.Error.html | 4 +-
.../oasis_contract_sdk/event/trait.Event.html | 6 +-
rust/oasis_contract_sdk/index.html | 2 +-
.../testing/struct.MockContext.html | 14 +-
.../testing/struct.MockEnv.html | 2 +-
.../map/trait.MapKey.html | 2 +-
.../address/struct.Address.html | 2 +-
.../enum.CallFormat.html | 2 +-
.../message/enum.CallResult.html | 2 +-
.../token/struct.BaseUnits.html | 2 +-
.../token/struct.Denomination.html | 2 +-
rust/oasis_runtime_sdk/all.html | 2 +-
.../module/trait.BlockHandler.html | 2 +-
.../module/trait.FeeProxyHandler.html | 2 +-
.../module/trait.InvariantHandler.html | 2 +-
.../module/trait.MethodHandler.html | 2 +-
.../module/trait.MigrationHandler.html | 2 +-
.../module/trait.Module.html | 2 +-
.../module/trait.Parameters.html | 2 +-
.../module/trait.TransactionHandler.html | 2 +-
.../modules/rofl/enum.Error.html | 7 +-
.../rofl/enum.ParameterValidationError.html | 4 +-
.../oasis_runtime_sdk/modules/rofl/index.html | 2 +-
.../rofl/static.ADDRESS_APP_STAKE_POOL.html | 2 +-
.../modules/rofl/struct.Genesis.html | 6 +-
.../modules/rofl/struct.Module.html | 20 +-
.../modules/rofl/struct.Parameters.html | 8 +-
.../modules/rofl/trait.API.html | 29 ++-
.../modules/rofl/trait.Config.html | 8 +-
.../modules/rofl/types/index.html | 2 +-
.../modules/rofl/types/sidebar-items.js | 2 +-
.../rofl/types/struct.AppInstanceQuery.html | 33 ++++
.../modules/rofl/types/struct.AppQuery.html | 6 +-
.../rofl/types/struct.Registration.html | 4 +-
.../enum.Error.html | 10 +-
.../enum.Event.html | 2 +-
.../struct.Module.html | 104 +++++-----
.../struct.Parameters.html | 2 +-
.../types/enum.Policy.html | 4 +-
.../types/struct.Call.html | 4 +-
.../types/struct.Code.html | 4 +-
.../types/struct.CodeId.html | 14 +-
.../types/struct.Instance.html | 8 +-
.../types/struct.InstanceId.html | 14 +-
.../types/struct.Instantiate.html | 4 +-
.../types/struct.Upgrade.html | 4 +-
rust/search-index.js | 2 +-
.../oasis_runtime_sdk-desc-0-.js | 2 +-
.../modules/rofl/config.rs.html | 8 +
.../modules/rofl/error.rs.html | 8 +
.../modules/rofl/mod.rs.html | 180 +++++++++++++++---
.../modules/rofl/types.rs.html | 24 +++
rust/trait.impl/core/clone/trait.Clone.js | 2 +-
rust/trait.impl/core/convert/trait.From.js | 6 +-
rust/trait.impl/core/fmt/trait.Debug.js | 2 +-
rust/trait.impl/core/marker/trait.Freeze.js | 2 +-
rust/trait.impl/core/marker/trait.Send.js | 2 +-
rust/trait.impl/core/marker/trait.Sync.js | 2 +-
rust/trait.impl/core/marker/trait.Unpin.js | 2 +-
.../panic/unwind_safe/trait.RefUnwindSafe.js | 2 +-
.../panic/unwind_safe/trait.UnwindSafe.js | 2 +-
.../oasis_cbor/decode/trait.Decode.js | 2 +-
.../oasis_cbor/encode/trait.Encode.js | 2 +-
.../oasis_cbor/encode/trait.EncodeAsMap.js | 2 +-
.../oasis_runtime_sdk/error/trait.Error.js | 2 +-
.../oasis_runtime_sdk/event/trait.Event.js | 2 +-
.../module/trait.BlockHandler.js | 2 +-
.../module/trait.InvariantHandler.js | 2 +-
.../module/trait.MethodHandler.js | 2 +-
.../module/trait.MigrationHandler.js | 2 +-
.../oasis_runtime_sdk/module/trait.Module.js | 2 +-
.../module/trait.Parameters.js | 2 +-
.../module/trait.TransactionHandler.js | 2 +-
76 files changed, 448 insertions(+), 223 deletions(-)
create mode 100644 rust/oasis_runtime_sdk/modules/rofl/types/struct.AppInstanceQuery.html
diff --git a/rust/oasis_contract_sdk/context/trait.Context.html b/rust/oasis_contract_sdk/context/trait.Context.html
index 38cb4f5271..98a1cae1c1 100644
--- a/rust/oasis_contract_sdk/context/trait.Context.html
+++ b/rust/oasis_contract_sdk/context/trait.Context.html
@@ -4,13 +4,13 @@
type Env: Env + Crypto;
// Required methods
- fn instance_id(&self) -> InstanceId;
- fn instance_address(&self) -> &Address;
- fn caller_address(&self) -> &Address;
- fn deposited_tokens(&self) -> &[BaseUnits];
+ fn instance_id(&self) -> InstanceId;
+ fn instance_address(&self) -> &Address;
+ fn caller_address(&self) -> &Address;
+ fn deposited_tokens(&self) -> &[BaseUnits];
fn is_read_only(&self) -> bool;
- fn call_format(&self) -> CallFormat;
- fn emit_message(&mut self, msg: Message);
+ fn call_format(&self) -> CallFormat;
+ fn emit_message(&mut self, msg: Message);
fn emit_event<E: Event>(&mut self, event: E);
fn public_store(&mut self) -> &mut Self::PublicStore;
fn confidential_store(&mut self) -> &mut Self::ConfidentialStore;
@@ -19,13 +19,13 @@
Contract instance identifier.
-
Contract instance address.
-
Tokens deposited by the caller.
+
Contract instance identifier.
+
Contract instance address.
+
Tokens deposited by the caller.
Whether the call is read-only and must not make any storage modifications.
-
Confidential contract store.
diff --git a/rust/oasis_contract_sdk/contract/trait.Contract.html b/rust/oasis_contract_sdk/contract/trait.Contract.html
index 580c9d9d07..bc73b87a07 100644
--- a/rust/oasis_contract_sdk/contract/trait.Contract.html
+++ b/rust/oasis_contract_sdk/contract/trait.Contract.html
@@ -20,7 +20,7 @@
) ->
Result<
(), Self::
Error> { ... }
fn
handle_reply<C:
Context>(
_ctx:
&mut C,
- _reply:
Reply,
+ _reply: Reply,
) ->
Result<
Option<Self::
Response>, Self::
Error> { ... }
fn
pre_upgrade<C:
Context>(
_ctx:
&mut C,
@@ -48,7 +48,7 @@
) ->
Result<
(), Self::
Error>
Instantiate the contract.
Handle replies from sent messages.
Name of the module that emitted the error.
Error code uniquely identifying the error.
-
Converts the error into an execution result.
+
Converts the error into an execution result.