cli

package
v4.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds())

Functions

func CmdAddClaimer

func CmdAddClaimer() *cobra.Command

func CmdBuyStorage

func CmdBuyStorage() *cobra.Command

func CmdCancelContract

func CmdCancelContract() *cobra.Command

func CmdCheckPrice

func CmdCheckPrice() *cobra.Command

func CmdFileCount

func CmdFileCount() *cobra.Command

func CmdFileUploadCheck

func CmdFileUploadCheck() *cobra.Command

func CmdFindFile

func CmdFindFile() *cobra.Command

func CmdFreespace

func CmdFreespace() *cobra.Command

func CmdGetClientFreeSpace

func CmdGetClientFreeSpace() *cobra.Command

func CmdGetPayData

func CmdGetPayData() *cobra.Command

func CmdGetStorageStats

func CmdGetStorageStats() *cobra.Command

func CmdInitProvider

func CmdInitProvider() *cobra.Command

func CmdListActiveDeals

func CmdListActiveDeals() *cobra.Command

func CmdListActiveProviders

func CmdListActiveProviders() *cobra.Command

func CmdListAttestForms

func CmdListAttestForms() *cobra.Command

func CmdListProviders

func CmdListProviders() *cobra.Command

func CmdListReportForms

func CmdListReportForms() *cobra.Command

func CmdListStoragePaymentInfo

func CmdListStoragePaymentInfo() *cobra.Command

func CmdPayInfo

func CmdPayInfo() *cobra.Command

func CmdPostFile

func CmdPostFile() *cobra.Command

func CmdPostRandomFile

func CmdPostRandomFile() *cobra.Command

func CmdProvider

func CmdProvider() *cobra.Command

func CmdQueryAddress

func CmdQueryAddress() *cobra.Command

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func CmdRemoveClaimer

func CmdRemoveClaimer() *cobra.Command

func CmdSetProviderIP

func CmdSetProviderIP() *cobra.Command

func CmdSetProviderKeybase

func CmdSetProviderKeybase() *cobra.Command

func CmdSetProviderTotalSpace

func CmdSetProviderTotalSpace() *cobra.Command

func CmdShowActiveDeals

func CmdShowActiveDeals() *cobra.Command

func CmdShowAttestForms

func CmdShowAttestForms() *cobra.Command

func CmdShowProof

func CmdShowProof() *cobra.Command

func CmdShowProviders

func CmdShowProviders() *cobra.Command

func CmdShowReportForms

func CmdShowReportForms() *cobra.Command

func CmdShowStoragePaymentInfo

func CmdShowStoragePaymentInfo() *cobra.Command

func CmdShutdownProvider

func CmdShutdownProvider() *cobra.Command

func GenerateOrBroadcastTx

func GenerateOrBroadcastTx(clientCtx client.Context, flags *pflag.FlagSet, msgs ...sdk.Msg) (*sdk.TxResponse, error)

GenerateOrBroadcastTx is some dumb wrapper I had to make cause the sdk assumes I don't want to programmatically handle the response but instead print it out like a doofus

func GetQueryCmd

func GetQueryCmd(_ string) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

Types

type ErrorResponse

type ErrorResponse struct {
	Error string `json:"error"`
}

Jump to

Keyboard shortcuts

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