cli

package
v3.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const FlagPayUpfront = "pay-upfront"

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 CmdClaimStray

func CmdClaimStray() *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 CmdListContracts

func CmdListContracts() *cobra.Command

func CmdListFidCid

func CmdListFidCid() *cobra.Command

func CmdListProviders

func CmdListProviders() *cobra.Command

func CmdListReportForms

func CmdListReportForms() *cobra.Command

func CmdListStoragePaymentInfo

func CmdListStoragePaymentInfo() *cobra.Command

func CmdListStrays

func CmdListStrays() *cobra.Command

func CmdPayInfo

func CmdPayInfo() *cobra.Command

func CmdPostContract

func CmdPostContract() *cobra.Command

func CmdPostFile added in v3.2.2

func CmdPostFile() *cobra.Command

func CmdPostRandomFile added in v3.2.2

func CmdPostRandomFile() *cobra.Command

func CmdPostproof

func CmdPostproof() *cobra.Command

func CmdProvider

func CmdProvider() *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 CmdShowContracts

func CmdShowContracts() *cobra.Command

func CmdShowFidCid

func CmdShowFidCid() *cobra.Command

func CmdShowProviders

func CmdShowProviders() *cobra.Command

func CmdShowReportForms

func CmdShowReportForms() *cobra.Command

func CmdShowStoragePaymentInfo

func CmdShowStoragePaymentInfo() *cobra.Command

func CmdShowStrays

func CmdShowStrays() *cobra.Command

func CmdShutdownProvider

func CmdShutdownProvider() *cobra.Command

func CmdSignContract

func CmdSignContract() *cobra.Command

func CmdUpgradeStorage

func CmdUpgradeStorage() *cobra.Command

func GenerateOrBroadcastTx added in v3.2.2

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 added in v3.2.2

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

type UploadResponse added in v3.2.2

type UploadResponse struct {
	CID string `json:"cid"`
	FID string `json:"fid"`
}

Jump to

Keyboard shortcuts

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