cli

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

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 CmdCreateStorageProvider

func CmdCreateStorageProvider() *cobra.Command

func CmdDeposit

func CmdDeposit() *cobra.Command

func CmdEditStorageProvider

func CmdEditStorageProvider() *cobra.Command

func CmdGrantDepositAuthorization

func CmdGrantDepositAuthorization() *cobra.Command

func CmdMaintenanceRecordsBySPOperatorAddress added in v0.2.4

func CmdMaintenanceRecordsBySPOperatorAddress() *cobra.Command

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func CmdStorageProvider added in v0.0.7

func CmdStorageProvider() *cobra.Command

func CmdStorageProviderByOperatorAddress added in v0.2.3

func CmdStorageProviderByOperatorAddress() *cobra.Command

func CmdStorageProviderGlobalPrice added in v1.0.1

func CmdStorageProviderGlobalPrice() *cobra.Command

func CmdStorageProviderPrice added in v1.0.1

func CmdStorageProviderPrice() *cobra.Command

func CmdStorageProviders added in v0.0.7

func CmdStorageProviders() *cobra.Command

func CmdUpdateStorageProviderStatus added in v0.2.4

func CmdUpdateStorageProviderStatus() *cobra.Command

func CmdUpdateStorageProviderStoragePrice added in v1.0.1

func CmdUpdateStorageProviderStoragePrice() *cobra.Command

func CreateStorageProviderMsgFlagSet added in v0.0.7

func CreateStorageProviderMsgFlagSet(ipDefault string) (fs *flag.FlagSet, defaultsDesc string)

CreateStorageProviderMsgFlagSet Return the flagset, particular flags, and a description of defaults this is anticipated to be used with the gen-tx

func GetQueryCmd

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

Jump to

Keyboard shortcuts

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