diff --git a/rust/crates.js b/rust/crates.js index 00fdd5c97f..91368ed9c9 100644 --- a/rust/crates.js +++ b/rust/crates.js @@ -1 +1 @@ -window.ALL_CRATES = ["fuzz_mkvs_node","fuzz_mkvs_proof","oasis_contract_sdk","oasis_contract_sdk_storage","oasis_contract_sdk_types","oasis_core_runtime","oasis_runtime_sdk","oasis_runtime_sdk_contracts","oasis_runtime_sdk_macros"]; \ No newline at end of file +window.ALL_CRATES = ["fuzz_mkvs_node","fuzz_mkvs_proof","oasis_contract_sdk","oasis_contract_sdk_storage","oasis_contract_sdk_types","oasis_core_runtime","oasis_runtime_sdk","oasis_runtime_sdk_contracts","oasis_runtime_sdk_macros","rofl_utils"]; \ No newline at end of file diff --git a/rust/help.html b/rust/help.html index 7cbe2591cf..2983594f48 100644 --- a/rust/help.html +++ b/rust/help.html @@ -1 +1 @@ -
The public store.
The confidential store.
Contract instance identifier.
-Contract instance address.
-Caller address.
-Tokens deposited by the caller.
+Contract instance identifier.
+Contract instance address.
+Caller address.
+Tokens deposited by the caller.
Whether the call is read-only and must not make any storage modifications.
-Call format.
-Emits a message.
+Call format.
+Emits a message.
Emits an event.
Public contract store.
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.
pub enum CryptoError {
DecryptionFailed,
}
Errors that can be returned from crypto functions.
-pub trait Env {
// Required methods
- fn query<Q: Into<QueryRequest>>(&self, query: Q) -> QueryResponse;
- fn address_for_instance(&self, instance_id: InstanceId) -> Address;
+ fn query<Q: Into<QueryRequest>>(&self, query: Q) -> QueryResponse;
+ fn address_for_instance(&self, instance_id: InstanceId) -> Address;
fn debug_print(&self, msg: &str);
}
Environment query trait.
-Perform an environment query.
-Returns an address for the contract instance id.
+Perform an environment query.
+Returns an address for the contract instance id.
Prints a message to the console. Useful when debugging.
A contract error that gets propagated to the caller.
It extends std::error::Error
with module name and error code so that errors can be easily
serialized and transferred between different processes.
Name of the module that emitted the error.
Converts the error into an execution result.
+Converts the error into an execution result.
An event emitted by the contract.
This trait can be derived:
@@ -21,5 +21,5 @@ }Name of the module that emitted the event.