commands

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

Package commands implements the CLI commands based on cobra.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type AddRatesOpts added in v1.0.0

type AddRatesOpts struct {
	MessageFee    int64
	StorageFee    int64
	CongestionFee int64
	TargetRate    uint64
}

type AppGetOpts added in v1.0.0

type AppGetOpts struct {
	Keys       []string
	Raw        bool
	TimeoutSec int
}

type BridgeSendOpts added in v1.0.0

type BridgeSendOpts struct {
	Keys       []string
	TimeoutSec int
}

type DepositOpts added in v1.0.0

type DepositOpts struct {
	Amount   string
	GasLimit int64
	GasPrice int64
}

type ParamType added in v1.0.0

type ParamType int
const (
	ParamUnknown ParamType = iota
	ParamBool
	ParamAddress
	ParamUint8
	ParamUint16
	ParamUint32
	ParamUint64
	ParamUint96
)

type SettlementGetOpts added in v1.0.0

type SettlementGetOpts struct {
	Keys       []string
	Raw        bool
	TimeoutSec int
}

type SettlementSetOpts added in v1.0.0

type SettlementSetOpts struct {
	KVs        []string
	Raw        bool
	TimeoutSec int
}

type WithdrawOpts added in v1.0.0

type WithdrawOpts struct {
	Amount string
}

Jump to

Keyboard shortcuts

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