Skip to main content

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
  • Choice Archive Controller: validator Returns: () (no fields)

Functions

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