Documentation ¶
Index ¶
- Constants
- func BuildCreateStorageProviderMsg(config TxCreateStorageProviderConfig, txBldr tx.Factory) (tx.Factory, sdk.Msg, error)
- func CmdDeposit() *cobra.Command
- func CmdEditStorageProvider() *cobra.Command
- func CmdGrantDepositAuthorization() *cobra.Command
- func CmdQueryParams() *cobra.Command
- func CmdStorageProvider() *cobra.Command
- func CmdStorageProviders() *cobra.Command
- func CreateStorageProviderMsgFlagSet(ipDefault string) (fs *flag.FlagSet, defaultsDesc string)
- func GetQueryCmd(queryRoute string) *cobra.Command
- func GetTxCmd() *cobra.Command
- type TxCreateStorageProviderConfig
Constants ¶
View Source
const ( FlagSpendLimit = "spend-limit" FlagSpAddress = "SPAddress" FlagOperatorAddress = "operator-address" FlagFundingAddress = "funding-address" FlagSealAddress = "seal-address" FlagApprovalAddress = "approval-address" FlagCreator = "creator" FlagExpiration = "expiration" FlagEndpoint = "endpoint" FlagMoniker = "moniker" FlagEditMoniker = "new-moniker" FlagIdentity = "identity" FlagWebsite = "website" FlagDetails = "details" FlagNodeID = "node-id" FlagIP = "ip" FlagReadPrice = "read-price" FlagStorePrice = "store-price" FlagFreeReadQuota = "free-read-quota" FlagSecurityContact = "security-contact" )
Variables ¶
This section is empty.
Functions ¶
func BuildCreateStorageProviderMsg ¶ added in v0.0.7
func BuildCreateStorageProviderMsg(config TxCreateStorageProviderConfig, txBldr tx.Factory) (tx.Factory, sdk.Msg, error)
BuildCreateStorageProviderMsg makes a new MsgCreateStorageProvider.
func CmdDeposit ¶
func CmdEditStorageProvider ¶
func CmdQueryParams ¶
func CmdStorageProvider ¶ added in v0.0.7
func CmdStorageProviders ¶ added in v0.0.7
func CreateStorageProviderMsgFlagSet ¶ added in v0.0.7
CreateStorageProviderMsgFlagSet Return the flagset, particular flags, and a description of defaults this is anticipated to be used with the gen-tx
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
Types ¶
type TxCreateStorageProviderConfig ¶ added in v0.0.7
type TxCreateStorageProviderConfig struct { ChainID string NodeID string Creator sdk.AccAddress Moniker string Identity string Website string SecurityContact string Details string SpAddress sdk.AccAddress FundingAddress sdk.AccAddress SealAddress sdk.AccAddress ApprovalAddress sdk.AccAddress Endpoint string Deposit string ReadPrice sdk.Dec FreeReadQuota uint64 StorePrice sdk.Dec }
func PrepareConfigForTxCreateStorageProvider ¶ added in v0.0.7
func PrepareConfigForTxCreateStorageProvider(flagSet *flag.FlagSet) (TxCreateStorageProviderConfig, error)
Click to show internal directories.
Click to hide internal directories.