Documentation
¶
Overview ¶
Package celenv defines the CEL environment used by batch_trigger programs.
The environment exposes a fixed set of variables describing the state of the pending batch (queued intents, fee market, time since last batch, etc.) and a `now()` helper that returns the current unix timestamp in seconds.
Index ¶
Constants ¶
View Source
const ( IntentsCountVariableName = "intents_count" CurrentFeerateVariableName = "current_feerate" TimeSinceLastBatchVariableName = "time_since_last_batch" BoardingInputsCountVariableName = "boarding_inputs_count" TotalBoardingAmountVariableName = "total_boarding_amount" TotalIntentFeesVariableName = "total_intent_fees" )
Variables ¶
View Source
var BatchTriggerEnv *cel.Env
BatchTriggerEnv is the CEL environment used to compile batch_trigger programs.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.