Commit 6fe75435 authored by Éloïs's avatar Éloïs
Browse files

fix: update types def

parent 17cbc12f
......@@ -5,12 +5,21 @@
"Earth"
]
},
"IdtyCertMeta": {
"issued_count": "u8",
"next_issuable_on": "BlockNumber",
"received_count": "u32"
},
"IdtyData": {
"can_create_on": "BlockNumber"
},
"IdtyDid": {
"hash": "[u8; 32]",
"planet": "Planet",
"latitude": "u32",
"longitude": "u32"
},
"IdtyIndex": "u64",
"IdtyRight": {
"_enum": [
"CreateIdty",
......@@ -27,9 +36,13 @@
]
},
"IdtyValue": {
"did": "IdtyDid",
"expire_on": "BlockNumber",
"owner_key": "AccountId",
"removable_on": "Option<u32>",
"rights": "Vec<(IdtyRight, Option<AccountId>)>",
"status": "IdtyStatus"
"removable_on": "BlockNumber",
"renewable_on": "BlockNumber",
"rights": "Vec<(T::IdtyRight, Option<T::AccountId>)>",
"status": "IdtyStatus",
"data": "IdtyData"
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment