Skip to main content

Collector Service

The service is responsible for collecting input data for a Contract and ensuring the data is valid and signed before the contract is executed by the TVM.

Input:

Request:

  • Request and retrieve archives from the DART Service.

Output:

  • A Contract-S (A Signed Contract) and archives sent to TVM.
  • A Contract-SC (A Signed Consensus Contract) and archives sent to TVM.

The service does the following:

  • Does contract format validation on the Contract-C.
  • Collects the contract input data, DART archives, from the DART as specified.
  • Ensures all input data is valid and signed correctly.
  • If input is a Contract-NC it sends a Contract-S and archives to the TVM.
  • If input is a Contract-C it sends a Contract-SC and archives to the TVM.