...
```move
/// Removes the key-value pair in the table `table: &mut Table` and returns the value.
/// Aborts with `sui::dynamic_field::EFieldDoesNotExist` if the table does not have an entry with
/// that key `k: K`.
public fun remove(table: &mut Table, k: K): V {
let v = field::remove(&mut ...
... Option
let result: Option = num.try_into();
// Use 'match' to handle both success and failure cases
// 使用 'match' 来处理成功和失败的情况
// 'match' is Cairo's pattern matching - like a switch statement that checks what's inside Option
// 'match' 是 Cairo 的模...
...install
Then run the following applications to enroll the admin user, and register a new user
called user1 which will be used by the other applications to interact with the deployed
FabCar contract:
node enrollAdmin
node registerUser
You can run the invoke application as fo...