Documentation ¶
Index ¶
- Variables
- func CmdAddClaimer() *cobra.Command
- func CmdBuyStorage() *cobra.Command
- func CmdCancelContract() *cobra.Command
- func CmdCheckPrice() *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 CmdListProviders() *cobra.Command
- func CmdListReportForms() *cobra.Command
- func CmdListStoragePaymentInfo() *cobra.Command
- func CmdPayInfo() *cobra.Command
- func CmdPostFile() *cobra.Command
- func CmdPostRandomFile() *cobra.Command
- func CmdProvider() *cobra.Command
- func CmdQueryAddress() *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 CmdShowProof() *cobra.Command
- func CmdShowProviders() *cobra.Command
- func CmdShowReportForms() *cobra.Command
- func CmdShowStoragePaymentInfo() *cobra.Command
- func CmdShutdownProvider() *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
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CmdAddClaimer ¶
func CmdBuyStorage ¶
func CmdCancelContract ¶
func CmdCheckPrice ¶
func CmdFileCount ¶
func CmdFileUploadCheck ¶
func CmdFindFile ¶
func CmdFreespace ¶
func CmdGetClientFreeSpace ¶
func CmdGetPayData ¶
func CmdGetStorageStats ¶
func CmdInitProvider ¶
func CmdListActiveDeals ¶
func CmdListActiveProviders ¶
func CmdListAttestForms ¶
func CmdListProviders ¶
func CmdListReportForms ¶
func CmdPayInfo ¶
func CmdPostFile ¶
func CmdPostRandomFile ¶
func CmdProvider ¶
func CmdQueryAddress ¶
func CmdQueryParams ¶
func CmdRemoveClaimer ¶
func CmdSetProviderIP ¶
func CmdSetProviderKeybase ¶
func CmdShowActiveDeals ¶
func CmdShowAttestForms ¶
func CmdShowProof ¶
func CmdShowProviders ¶
func CmdShowReportForms ¶
func CmdShutdownProvider ¶
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 ¶
GetQueryCmd returns the cli query commands for this module
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
Source Files ¶
- query.go
- query_active_deals.go
- query_address.go
- query_attest.go
- query_check_price.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
- tx.go
- tx_buy_storage.go
- tx_cancel_contract.go
- tx_claimer.go
- tx_init_provider.go
- tx_post_file.go
- tx_provider.go
- tx_set_provider_ip.go
- tx_set_provider_keybase.go
- tx_set_provider_totalspace.go
Click to show internal directories.
Click to hide internal directories.