a9f8d5ac52dc3e4721723e37f18794900f777fe2f53bf0c9212f92105ccfd9ef
Contract interface exposed by this module
Contract: cisx
Methods:
- "ownerOfAddress"
Parameter:
{
"external_address": {
"address": "<String>",
"namespace": "<String>"
}
}
Return value:
{
"Enum": [
{
"None": []
},
{
"Some": [
{
"external_address": {
"Enum": [
{
"None": []
},
{
"Some": [
{
"address": "<String>",
"namespace": "<String>"
}
]
}
]
},
"external_key": {
"key_type": "<String>",
"namespace": "<String>",
"public_key": [
"<UInt8>"
]
},
"metadata": [
{
"key": "<String>",
"value": "<String>"
}
],
"owner": "<AccountAddress>",
"proof_scheme": "<String>",
"status": {
"Enum": [
{
"Active": []
},
{
"Revoked": []
}
]
}
}
]
}
]
}
- "ownerOfKey"
Parameter:
{
"external_key": {
"key_type": "<String>",
"namespace": "<String>",
"public_key": [
"<UInt8>"
]
}
}
Return value:
{
"Enum": [
{
"None": []
},
{
"Some": [
{
"external_address": {
"Enum": [
{
"None": []
},
{
"Some": [
{
"address": "<String>",
"namespace": "<String>"
}
]
}
]
},
"external_key": {
"key_type": "<String>",
"namespace": "<String>",
"public_key": [
"<UInt8>"
]
},
"metadata": [
{
"key": "<String>",
"value": "<String>"
}
],
"owner": "<AccountAddress>",
"proof_scheme": "<String>",
"status": {
"Enum": [
{
"Active": []
},
{
"Revoked": []
}
]
}
}
]
}
]
}
- "register"
Parameter:
{
"external_address": {
"Enum": [
{
"None": []
},
{
"Some": [
{
"address": "<String>",
"namespace": "<String>"
}
]
}
]
},
"external_key": {
"key_type": "<String>",
"namespace": "<String>",
"public_key": [
"<UInt8>"
]
},
"metadata": [
{
"key": "<String>",
"value": "<String>"
}
],
"proof": {
"scheme": "<String>",
"signature": [
"<UInt8>"
]
}
}
- "revoke"
Parameter:
{
"identifier": {
"Enum": [
{
"Key": [
{
"key_type": "<String>",
"namespace": "<String>",
"public_key": [
"<UInt8>"
]
}
]
},
{
"Address": [
{
"address": "<String>",
"namespace": "<String>"
}
]
}
]
}
}
- "supports"
Parameter:
[
"<String>"
]
Return value:
[
{
"Enum": [
{
"NoSupport": []
},
{
"Support": []
},
{
"SupportBy": [
[
{
"index": "<UInt64>",
"subindex": "<UInt64>"
}
]
]
}
]
}
]
- "updateMetadata"
Parameter:
{
"identifier": {
"Enum": [
{
"Key": [
{
"key_type": "<String>",
"namespace": "<String>",
"public_key": [
"<UInt8>"
]
}
]
},
{
"Address": [
{
"address": "<String>",
"namespace": "<String>"
}
]
}
]
},
"metadata": [
{
"key": "<String>",
"value": "<String>"
}
]
}
- "view"
Return value:
{
"by_address": [
{
"external_address": {
"address": "<String>",
"namespace": "<String>"
},
"external_key": {
"key_type": "<String>",
"namespace": "<String>",
"public_key": [
"<UInt8>"
]
}
}
],
"by_key": [
{
"external_address": {
"Enum": [
{
"None": []
},
{
"Some": [
{
"address": "<String>",
"namespace": "<String>"
}
]
}
]
},
"external_key": {
"key_type": "<String>",
"namespace": "<String>",
"public_key": [
"<UInt8>"
]
},
"metadata": [
{
"key": "<String>",
"value": "<String>"
}
],
"owner": "<AccountAddress>",
"proof_scheme": "<String>",
"status": {
"Enum": [
{
"Active": []
},
{
"Revoked": []
}
]
}
}
],
"genesis_hash": [
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>",
"<UInt8>"
]
}