package linera:app; interface view-system-api { contains-key-new: func(key: list) -> u32; contains-key-wait: func(promise-id: u32) -> bool; contains-keys-new: func(keys: list>) -> u32; contains-keys-wait: func(promise-id: u32) -> list; read-multi-values-bytes-new: func(keys: list>) -> u32; read-multi-values-bytes-wait: func(promise-id: u32) -> list>>; read-value-bytes-new: func(key: list) -> u32; read-value-bytes-wait: func(promise-id: u32) -> option>; find-keys-new: func(key-prefix: list) -> u32; find-keys-wait: func(promise-id: u32) -> list>; find-key-values-new: func(key-prefix: list) -> u32; find-key-values-wait: func(promise-id: u32) -> list, list>>; write-batch: func(operations: list); variant write-operation { delete(list), delete-prefix(list), put(tuple, list>), } }