Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.canton.network/llms.txt

Use this file to discover all available pages before exploring further.

Templates

template ValidatorTopUpState
The state of a given top-up loop. Records the last time when this validator purchased traffic for this sequencer member in order to:
  1. allow for crash fault tolerant deduplication of traffic purchases
  2. allow enforcing a rate limit to prevent the validator from spending too much on traffic purchases.
Signatory: validator
FieldTypeDescription
dsoParty
validatorPartyThe validator operator purchasing traffic for the given sequencer member
memberIdTextThe id of the sequencer member (participant or mediator) for which traffic has been purchased
synchronizerIdTextThe id of the synchronizer for which this contract tracks purchased extra traffic
migrationIdIntThe migration id of the synchronizer for which this contract tracks purchased extra traffic
lastPurchasedAtTimeTime when the traffic was last purchased by the validator for the given sequencer member
  • Choice Archive Controller: validator Returns: () (no fields)

Functions

initialValidatorTopUpState : Party -> Party -> Text -> Text -> ValidatorTopUpState