Skip to content
Snippets Groups Projects
Commit 6fe75435 authored by Éloïs's avatar Éloïs
Browse files

fix: update types def

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