Help us shape the future of Go! Take the 2026 Go Developer Survey

celenv

package
v0.9.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL