pub trait LibRepo { // Required method fn get_lib(&self, lib_id: LibId) -> Option<&Lib>; }
The trait providing access to all the VM code libraries used by the contract, in both operation verification or state access conditions.
Get a specific library with the provided id.
If the library is not known and this method returns None, but the library is called by the operation verification or state access script, the verification will fail with CallError::Script.
None
CallError::Script