Expand description
Host functions for interacting with db backend
Structsยง
- DbHandle
- Internal wasm runtime API for sled trees
Functionsยง
- db_
contains_ ๐key - Check if a database contains a given key.
- db_del ๐
- Remove a key from the database.
- db_get ๐
- Reads a value by key from the key-value store.
- db_init ๐
- Create a new database instance for the calling contract.
- db_
lookup ๐ - Lookup a database handle from its name. If it exists, push it to the Vector of db_handles.
- db_set ๐
- Set a value within the transaction.
- zkas_
db_ ๐set - Given a zkas circuit, create a VerifyingKey and insert them both into the db.