CertificateUpdated df0a06c8| inputs | 0 | bytes32 | identity_type_urn | |
| 1 | bytes32 | identity_id | ||
| 2 | bytes | certificate |
CompanyRegistered 9e960a06| inputs | 0 | bytes32[] | identity_type_urns | |
| 1 | bytes32[] | identity_ids | ||
| 2 | string | name | ||
| 3 | bytes32 | permissions | ||
| 4 | address | owner_address |
EndpointCreated 82ca85c9| inputs | 0 | bytes32 | identity_type_urn | |
| 1 | bytes32 | identity_id | ||
| 2 | bytes32 | endpoint_id | ||
| 3 | string | url |
EndpointUpdated 2bd6096a| inputs | 0 | bytes32 | identity_type_urn | |
| 1 | bytes32 | identity_id | ||
| 2 | bytes32 | endpoint_id | ||
| 3 | string | url |
addEndpoint 534ea6c2Add new endpoint to the company
| inputs | 0 | bytes32 | _id | Unique identifier of an endpoint, e.g. name |
| 1 | string | _url | The url of the endpoint |
companyExists e4ed7d19Verify if company is registered
| inputs | 0 | bytes32 | _type_urn | Company identity type URN |
| 1 | bytes32 | _id | Company identity value | |
| outputs | 0 | bool | _exists | true if company with the identity is registered |
getCompaniesCount ccb0a334Get total number of registered companies
| outputs | 0 | uint256 | _count | Companies count |
getCompanyByIdentity 29d0e8e4Get all company information by its identity
| inputs | 0 | bytes32 | _type_urn | Company identity type URN |
| 1 | bytes32 | _id | Company identity value | |
| outputs | 0 | bytes32 | _company_oid | Company object id, an internal universal identity |
| 1 | bytes32[] | _identity_type_urns | All company's URN identity types | |
| 2 | bytes32[] | _identity_ids | All company's identity values corresponding to URN types | |
| 3 | string | _name | Name of the company | |
| 4 | bytes32 | _permissions | A 256 bit permissions flags vector | |
| 5 | bytes | _root_certificate | Company's root certificate data |
getCompanyByIndex c5d76a52Get all company information by its identity
| inputs | 0 | uint256 | _index | Index of the company in the directory |
| outputs | 0 | bytes32 | _company_oid | Company object id, an internal universal identity |
| 1 | bytes32[] | _identity_type_urns | All company's URN identity types | |
| 2 | bytes32[] | _identity_ids | All company's identity values corresponding to URN types | |
| 3 | string | _name | Name of the company | |
| 4 | bytes32 | _permissions | A 256 bit permissions flags vector | |
| 5 | bytes | _root_certificate | Company's root certificate data |
getEndpointUrl 3620a7a4Retrieve company's endpoint URL
| inputs | 0 | bytes32 | _identity_type_urn | Company identity type URN |
| 1 | bytes32 | _identity_id | Company identity value | |
| 2 | bytes32 | _endpoint_id | Endpoint identity |
register 6acb2d66Registering a company. All identities must be unique.
| inputs | 0 | bytes32[] | _type_urns | Company identity type URN array, (e.g. |
| 1 | bytes32[] | _ids | Company identity value corresponding 1-to-1 to _type_urns | |
| 2 | string | _name | Company name | |
| 3 | bytes32 | _permissions | 256 bits vector of company permission flags | |
| 4 | address | _owner_address | blockchain address of initial company administrator |
setCertificate b3e36d0aSetting new certificate by the company owner.
| inputs | 0 | bytes | _certificate_data | Certificate data in binary format |
transferOwner 4fb2e45dChange blockchain address of an owner to a new one
| inputs | 0 | address | _new_owner_address | New address of the owner |
updateEndpoint 0b55b348Update existing endpoint of the company
| inputs | 0 | bytes32 | _id | Unique identifier of an endpoint, e.g. name |
| 1 | string | _url | New url of the endpoint |