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 @@
"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"
}
}
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