aa14bbbea2cf1a0c2a000abe9876d70377ed0fdb0837d56209a08f15c2c780e0
Contract interface exposed by this module
Contract: idsure_crew_certificate_verifier
Methods:
- "register"
Parameter:
{
"certificate_id": "<String>",
"certificate_name": "<String>",
"expire_date": "<String>",
"hash": "<String>",
"issue_date": "<String>",
"issuer": "<String>",
"manifest_version": "<UInt16>",
"powered_by": "<String>"
}
Error:
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"OnlyAccount": []
},
{
"AlreadyRegistered": []
},
{
"NotOwner": []
},
{
"InvalidCertificateId": []
},
{
"InvalidHash": []
},
{
"UnsupportedManifestVersion": []
},
{
"InvalidField": []
}
]
}
- "verify"
Parameter:
"<String>"
Error:
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"OnlyAccount": []
},
{
"AlreadyRegistered": []
},
{
"NotOwner": []
},
{
"InvalidCertificateId": []
},
{
"InvalidHash": []
},
{
"UnsupportedManifestVersion": []
},
{
"InvalidField": []
}
]
}
Return value:
{
"Enum": [
{
"None": []
},
{
"Some": [
{
"certificate_id": "<String>",
"certificate_name": "<String>",
"expire_date": "<String>",
"hash": "<String>",
"issue_date": "<String>",
"issuer": "<String>",
"manifest_version": "<UInt16>",
"powered_by": "<String>",
"timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
"witness": "<AccountAddress>"
}
]
}
]
}
Event:
{
"Enum": [
{
"Registration": [
{
"uuid": "<String>",
"witness": "<AccountAddress>"
}
]
}
]
}
Contract: idsure_hardware_certificate_verifier
Methods:
- "register"
Parameter:
{
"certificate_id": "<String>",
"certificate_name": "<String>",
"expire_date": "<String>",
"hash": "<String>",
"issue_date": "<String>",
"issuer": "<String>",
"powered_by": "<String>",
"vessel_imo": "<String>"
}
Error:
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"OnlyAccount": []
},
{
"AlreadyRegistered": []
},
{
"NotOwner": []
},
{
"InvalidCertificateId": []
},
{
"InvalidHash": []
},
{
"UnsupportedManifestVersion": []
},
{
"InvalidField": []
}
]
}
- "verify"
Parameter:
"<String>"
Error:
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"OnlyAccount": []
},
{
"AlreadyRegistered": []
},
{
"NotOwner": []
},
{
"InvalidCertificateId": []
},
{
"InvalidHash": []
},
{
"UnsupportedManifestVersion": []
},
{
"InvalidField": []
}
]
}
Return value:
{
"Enum": [
{
"None": []
},
{
"Some": [
{
"certificate_id": "<String>",
"certificate_name": "<String>",
"expire_date": "<String>",
"hash": "<String>",
"issue_date": "<String>",
"issuer": "<String>",
"powered_by": "<String>",
"timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
"vessel_imo": "<String>",
"witness": "<AccountAddress>"
}
]
}
]
}
Event:
{
"Enum": [
{
"Registration": [
{
"uuid": "<String>",
"witness": "<AccountAddress>"
}
]
}
]
}
Contract: idsure_seafarer_record_book_verifier
Methods:
- "register"
Parameter:
{
"book_id": "<String>",
"book_number": "<String>",
"expire_date": "<String>",
"hash": "<String>",
"issue_date": "<String>",
"issuer": "<String>",
"powered_by": "<String>"
}
Error:
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"OnlyAccount": []
},
{
"AlreadyRegistered": []
},
{
"NotOwner": []
},
{
"InvalidCertificateId": []
},
{
"InvalidHash": []
},
{
"UnsupportedManifestVersion": []
},
{
"InvalidField": []
}
]
}
- "verify"
Parameter:
"<String>"
Error:
{
"Enum": [
{
"ParseParams": []
},
{
"LogFull": []
},
{
"LogMalformed": []
},
{
"OnlyAccount": []
},
{
"AlreadyRegistered": []
},
{
"NotOwner": []
},
{
"InvalidCertificateId": []
},
{
"InvalidHash": []
},
{
"UnsupportedManifestVersion": []
},
{
"InvalidField": []
}
]
}
Return value:
{
"Enum": [
{
"None": []
},
{
"Some": [
{
"book_id": "<String>",
"book_number": "<String>",
"expire_date": "<String>",
"hash": "<String>",
"issue_date": "<String>",
"issuer": "<String>",
"powered_by": "<String>",
"timestamp": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
"witness": "<AccountAddress>"
}
]
}
]
}
Event:
{
"Enum": [
{
"Registration": [
{
"uuid": "<String>",
"witness": "<AccountAddress>"
}
]
}
]
}