[
"<UInt8>"
]
None
{
"Enum": [
{
"CredentialRegistered": [
{
"public_key": "<String of size 64 containing lowercase hex characters.>"
}
]
}
]
}
"<String of size 64 containing lowercase hex characters.>"
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"CredentialAlreadyRegisteredForGivenPublicKey": []
},
{
"WrongSignature": []
},
{
"WrongContract": []
},
{
"Expired": []
},
{
"SerializationError": []
}
]
}
{
"Enum": [
{
"None": []
},
{
"Some": [
{
"encrypted_credential": [
"<UInt8>"
],
"metadata": [
"<UInt16>"
]
}
]
}
]
}
{
"contract_address": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"encrypted_credential": [
"<UInt8>"
],
"metadata": [
"<UInt16>"
],
"timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
}
None
None
{
"data": {
"contract_address": {
"index": "<UInt64>",
"subindex": "<UInt64>"
},
"encrypted_credential": [
"<UInt8>"
],
"metadata": [
"<UInt16>"
],
"timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>"
},
"public_key": "<String of size 64 containing lowercase hex characters.>",
"signature": "<String of size 128 containing lowercase hex characters.>"
}
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"CredentialAlreadyRegisteredForGivenPublicKey": []
},
{
"WrongSignature": []
},
{
"WrongContract": []
},
{
"Expired": []
},
{
"SerializationError": []
}
]
}
None
None
None
None
None
None
None
None
None
None
None
None
None