pub(crate) fn db_get(
ctx: FunctionEnvMut<'_, Env>,
ptr: WasmPtr<u8>,
ptr_len: u32,
) -> i64Expand description
Reads a value by key from the on-chain key-value store.
On success, returns the length of the objects Vector in the environment.
Otherwise, returns an error code.
ยงPermissions
ContractSection::DeployContractSection::MetadataContractSection::Exec