GetTargets
Ask AI
GetTargets returns the registered targets, in registration order.
Command
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/gnoswap/order/halt.GetTargets()"
Result
Package halt holds the halt switches shared by the GnoSwap order realms (gno.land/r/gnoswap/order/...).
Each target (an order type such as "dca" or "limit") has a switch per operation. Admin or governance turns a switch on for one target, or for every target with TargetAll, and can add targets for new order realms. Order realms check IsHalted with their own target, which reports the operation halted when either switch is on, and decide which entry points each operation guards.
Operations:
The switches are independent of the GnoSwap protocol halt levels.
GetTargets returns the registered targets, in registration order.
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/gnoswap/order/halt.GetTargets()"
Evaluate any read-only Gno expression against gno.land/r/gnoswap/order/halt, for example a function call with arguments.
// Enter an expression above