Documentation ¶
Index ¶
- Constants
- Variables
- func CmdAddClaimer() *cobra.Command
- func CmdBuyStorage() *cobra.Command
- func CmdCancelContract() *cobra.Command
- func CmdCheckPrice() *cobra.Command
- func CmdClaimStray() *cobra.Command
- func CmdFileCount() *cobra.Command
- func CmdFileUploadCheck() *cobra.Command
- func CmdFindFile() *cobra.Command
- func CmdFreespace() *cobra.Command
- func CmdGetClientFreeSpace() *cobra.Command
- func CmdGetPayData() *cobra.Command
- func CmdGetStorageStats() *cobra.Command
- func CmdInitProvider() *cobra.Command
- func CmdListActiveDeals() *cobra.Command
- func CmdListActiveProviders() *cobra.Command
- func CmdListAttestForms() *cobra.Command
- func CmdListContracts() *cobra.Command
- func CmdListFidCid() *cobra.Command
- func CmdListProviders() *cobra.Command
- func CmdListReportForms() *cobra.Command
- func CmdListStoragePaymentInfo() *cobra.Command
- func CmdListStrays() *cobra.Command
- func CmdPayInfo() *cobra.Command
- func CmdPostContract() *cobra.Command
- func CmdPostFile() *cobra.Command
- func CmdPostRandomFile() *cobra.Command
- func CmdPostproof() *cobra.Command
- func CmdProvider() *cobra.Command
- func CmdQueryParams() *cobra.Command
- func CmdRemoveClaimer() *cobra.Command
- func CmdSetProviderIP() *cobra.Command
- func CmdSetProviderKeybase() *cobra.Command
- func CmdSetProviderTotalspace() *cobra.Command
- func CmdShowActiveDeals() *cobra.Command
- func CmdShowAttestForms() *cobra.Command
- func CmdShowContracts() *cobra.Command
- func CmdShowFidCid() *cobra.Command
- func CmdShowProviders() *cobra.Command
- func CmdShowReportForms() *cobra.Command
- func CmdShowStoragePaymentInfo() *cobra.Command
- func CmdShowStrays() *cobra.Command
- func CmdShutdownProvider() *cobra.Command
- func CmdSignContract() *cobra.Command
- func CmdUpgradeStorage() *cobra.Command
- func GenerateOrBroadcastTx(clientCtx client.Context, flags *pflag.FlagSet, msgs ...sdk.Msg) (*sdk.TxResponse, error)
- func GetQueryCmd(_ string) *cobra.Command
- func GetTxCmd() *cobra.Command
- type ErrorResponse
- type UploadResponse
Constants ¶
View Source
const FlagPayUpfront = "pay-upfront"
Variables ¶
Functions ¶
func CmdAddClaimer ¶
func CmdBuyStorage ¶
func CmdCancelContract ¶
func CmdCheckPrice ¶
func CmdClaimStray ¶
func CmdFileCount ¶
func CmdFileUploadCheck ¶
func CmdFindFile ¶
func CmdFreespace ¶
func CmdGetClientFreeSpace ¶
func CmdGetPayData ¶
func CmdGetStorageStats ¶
func CmdInitProvider ¶
func CmdListActiveDeals ¶
func CmdListActiveProviders ¶
func CmdListAttestForms ¶
func CmdListContracts ¶
func CmdListFidCid ¶
func CmdListProviders ¶
func CmdListReportForms ¶
func CmdListStrays ¶
func CmdPayInfo ¶
func CmdPostContract ¶
func CmdPostFile ¶ added in v3.2.2
func CmdPostRandomFile ¶ added in v3.2.2
func CmdPostproof ¶
func CmdProvider ¶
func CmdQueryParams ¶
func CmdRemoveClaimer ¶
func CmdSetProviderIP ¶
func CmdSetProviderKeybase ¶
func CmdShowActiveDeals ¶
func CmdShowAttestForms ¶
func CmdShowContracts ¶
func CmdShowFidCid ¶
func CmdShowProviders ¶
func CmdShowReportForms ¶
func CmdShowStrays ¶
func CmdShutdownProvider ¶
func CmdSignContract ¶
func CmdUpgradeStorage ¶
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 ¶
GetQueryCmd returns the cli query 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
Source Files ¶
- query.go
- query_active_deals.go
- query_attest.go
- query_check_price.go
- query_contracts.go
- query_fid_cid.go
- query_file_upload_check.go
- query_find_file.go
- query_freespace.go
- query_get_client_free_space.go
- query_get_pay_data.go
- query_miners.go
- query_params.go
- query_pay_info.go
- query_payment_info.go
- query_storage_stats.go
- query_strays.go
- tx.go
- tx_buy_storage.go
- tx_cancel_contract.go
- tx_claim_stray.go
- tx_claimer.go
- tx_init_provider.go
- tx_post_contract.go
- tx_post_file.go
- tx_postproof.go
- tx_provider.go
- tx_set_provider_ip.go
- tx_set_provider_keybase.go
- tx_set_provider_totalspace.go
- tx_sign_contract.go
- tx_upgrade_storage.go
Click to show internal directories.
Click to hide internal directories.