Documentation
¶
Overview ¶
Package chainparams implements the `polycli heimdall chainmanager` umbrella command (alias `cm`) and its subcommands targeting Heimdall v2's `x/chainmanager` module.
Per HEIMDALLCAST_REQUIREMENTS.md §3.2.7 the chainmanager module holds the L1/L2 chain ids, tx confirmation depths, and L1 contract addresses. Upstream exposes a single HTTP route (`/chainmanager/params`, confirmed in heimdall-v2/proto/heimdallv2/chainmanager/query.proto); the `addresses` subcommand is a derived view over the same response.
Package directory is named `chainparams` (not `chain`) because the top-level `chain` command is already claimed by the CometBFT-facing cast-like commands in cmd/heimdall/chain.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Cmd = &cobra.Command{ Use: "chainmanager", Aliases: []string{"cm"}, Short: "Query chainmanager module endpoints.", Long: usage, Args: cobra.NoArgs, }
Cmd is the umbrella `chainmanager` command (alias `cm`). Subcommands are attached by Register.
Functions ¶
Types ¶
This section is empty.