1package halt23import (4 ufmt "gno.land/p/nt/ufmt/v0"5)67const (8 errHalted = "halted"9 errInvalidOpType = "invalid operation type"10 errInvalidHaltLevel = "invalid halt level"11 errOpTypeNotFound = "operation type not found in config"12)1314// makeErrorWithDetails creates an error with additional details appended to the base error message.15func makeErrorWithDetails(message string, details string) error {16 return ufmt.Errorf("%s: %s", message, details)17}18AssertIsNotHaltedCommunityPool()
AssertIsNotHaltedEmission()
AssertIsNotHaltedGovernance()
AssertIsNotHaltedGovStaker()
AssertIsNotHaltedLaunchpad()
AssertIsNotHaltedOperation(op string)
AssertIsNotHaltedPool()
AssertIsNotHaltedPosition()
AssertIsNotHaltedProtocolFee()
AssertIsNotHaltedRouter()
AssertIsNotHaltedStaker()
AssertIsNotHaltedWithdraw()
AssertIsNotHaltedXGns()
GetHaltConfig() map[gno.land/r/gnoswap/halt/v1.OpType]bool
GetHaltConfigJson() string
IsHalted(opTypes ...gno.land/r/gnoswap/halt/v1.OpType) (bool, interface {Error func() string})
IsHaltedCommunityPool() bool
IsHaltedEmission() bool
IsHaltedGovernance() bool
IsHaltedGovStaker() bool
IsHaltedLaunchpad() bool
IsHaltedPool() bool
IsHaltedPosition() bool
IsHaltedProtocolFee() bool
IsHaltedRouter() bool
IsHaltedStaker() bool
IsHaltedWithdraw() bool
IsHaltedXGns() bool
OpTypes() []gno.land/r/gnoswap/halt/v1.OpType
Render(path string) string
SetHaltLevel(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, level string)
SetOperationStatus(cur interface {.seal func(); Address func() .uverse.address; IsCode func() bool; IsCurrent func() bool; IsEphemeral func() bool; IsUser func() bool; IsUserCall func() bool; IsUserRun func() bool; PkgPath func() string; Previous func() .uverse.realm; String func() string; Sub func(string) .uverse.realm; Subpath func() string}, op string, halted bool)
Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.
vm/qrender output, sanitized (docs/render-security.md) and displayed in an empty-sandbox iframe — scripts, forms and popups cannot run. Links stay inert in-preview; right-click to open.