Documentation ¶
Index ¶
- Constants
- func BuildCreateStorageProviderMsg(config TxCreateStorageProviderConfig, txBldr tx.Factory) (tx.Factory, sdk.Msg, error)
- func CmdCreateStorageProvider() *cobra.Command
- func CmdDeposit() *cobra.Command
- func CmdEditStorageProvider() *cobra.Command
- func CmdGrantDepositAuthorization() *cobra.Command
- func CmdMaintenanceRecordsBySPOperatorAddress() *cobra.Command
- func CmdQueryParams() *cobra.Command
- func CmdStorageProvider() *cobra.Command
- func CmdStorageProviderByOperatorAddress() *cobra.Command
- func CmdStorageProviderGlobalPrice() *cobra.Command
- func CmdStorageProviderPrice() *cobra.Command
- func CmdStorageProviders() *cobra.Command
- func CmdUpdateStorageProviderStatus() *cobra.Command
- func CmdUpdateStorageProviderStoragePrice() *cobra.Command
- func CreateStorageProviderMsgFlagSet(ipDefault string) (fs *flag.FlagSet, defaultsDesc string)
- func GetQueryCmd() *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" FlagBlsPubKey = "bls-pub-key" FlagBlsProof = "bls-proof" FlagApprovalAddress = "approval-address" FlagGcAddress = "gc-address" FlagMaintenanceAddress = "maintenance-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" FlagDuration = "duration" )
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 CmdMaintenanceRecordsBySPOperatorAddress ¶ added in v0.2.4
func CmdQueryParams ¶
func CmdStorageProvider ¶ added in v0.0.7
func CmdStorageProviderByOperatorAddress ¶ added in v0.2.3
func CmdStorageProviderGlobalPrice ¶ added in v1.0.1
func CmdStorageProviderPrice ¶ added in v1.0.1
func CmdStorageProviders ¶ added in v0.0.7
func CmdUpdateStorageProviderStatus ¶ added in v0.2.4
func CmdUpdateStorageProviderStoragePrice ¶ added in v1.0.1
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 BlsPubKey string BlsProof string ApprovalAddress sdk.AccAddress GcAddress sdk.AccAddress MaintenanceAddress 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.