Documentation ¶
Index ¶
- Constants
- Variables
- func CalculateDistbiruitions(provider string, entries []epochstoragetypes.StakeEntry, ...) ([]sdk.Msg, error)
- func CmdAccountInfo() *cobra.Command
- func CmdBulkStakeProvider() *cobra.Command
- func CmdDebugQuery() *cobra.Command
- func CmdDistributeProviderStake() *cobra.Command
- func CmdEffectivePolicy() *cobra.Command
- func CmdFreeze() *cobra.Command
- func CmdGetPairing() *cobra.Command
- func CmdModifyProvider() *cobra.Command
- func CmdMoveProviderStake() *cobra.Command
- func CmdProvider() *cobra.Command
- func CmdProviderMonthlyPayout() *cobra.Command
- func CmdProviderPairingChance() *cobra.Command
- func CmdProviders() *cobra.Command
- func CmdProvidersEpochCu() *cobra.Command
- func CmdQueryParams() *cobra.Command
- func CmdRelayPayment() *cobra.Command
- func CmdSdkPairing() *cobra.Command
- func CmdSimulateRelayPayment() *cobra.Command
- func CmdStakeProvider() *cobra.Command
- func CmdStaticProvidersList() *cobra.Command
- func CmdSubscriptionMonthlyPayout() *cobra.Command
- func CmdUnfreeze() *cobra.Command
- func CmdUnstakeProvider() *cobra.Command
- func CmdUserMaxCu() *cobra.Command
- func CmdVerifyPairing() *cobra.Command
- func CreateGrantFeeMsg(granter string, grantee string) (*feegrant.MsgGrantAllowance, error)
- func CreateRevokeFeeGrantMsg(clientCtx client.Context, chainID string) (*feegrant.MsgRevokeAllowance, error)
- func GetQueryCmd(queryRoute string) *cobra.Command
- func GetTxCmd() *cobra.Command
- func HandleEndpointsAndGeolocationArgs(endpArg []string, geoArg string) (endp []epochstoragetypes.Endpoint, geo int32, err error)
- func NewSubmitUnstakeProposalTxCmd() *cobra.Command
Constants ¶
View Source
const ( FlagGeolocation = "geolocation" FlagCluster = "cluster" )
View Source
const ( AmountFlagName = "amount" EndpointsFlagName = "endpoints" GeolocationFlag = "geolocation" ValidatorFlag = "validator" )
View Source
const ( QoSValuesFlag = "qos-values" CuAmountFlag = "cu-amount" EpochFlag = "epoch" RelayNumFlag = "relay-num" )
View Source
const (
BULK_ARG_COUNT = 5
)
View Source
const (
ShowFrozenProvidersFlagName = "show-frozen-providers"
)
Variables ¶
Functions ¶
func CalculateDistbiruitions ¶ added in v3.2.0
func CalculateDistbiruitions(provider string, entries []epochstoragetypes.StakeEntry, distributionsArg string) ([]sdk.Msg, error)
func CmdAccountInfo ¶
func CmdBulkStakeProvider ¶
func CmdDebugQuery ¶
func CmdDistributeProviderStake ¶ added in v3.2.0
func CmdEffectivePolicy ¶
func CmdGetPairing ¶
func CmdModifyProvider ¶
func CmdMoveProviderStake ¶ added in v3.2.0
func CmdProvider ¶
func CmdProviders ¶
func CmdProvidersEpochCu ¶
func CmdQueryParams ¶
func CmdRelayPayment ¶
func CmdSdkPairing ¶
func CmdSimulateRelayPayment ¶
func CmdStakeProvider ¶
func CmdStaticProvidersList ¶
func CmdUnfreeze ¶
func CmdUnstakeProvider ¶
func CmdUserMaxCu ¶
func CmdVerifyPairing ¶
func CreateGrantFeeMsg ¶
func CreateGrantFeeMsg(granter string, grantee string) (*feegrant.MsgGrantAllowance, error)
CreateGrantFeeMsg cosntructs a feegrant GrantAllowance msg for specific TXs to allow the provider use the vault's funds for gas fees
func CreateRevokeFeeGrantMsg ¶
func CreateRevokeFeeGrantMsg(clientCtx client.Context, chainID string) (*feegrant.MsgRevokeAllowance, error)
CreateRevokeFeeGrantMsg constructs a feegrant RevokeAllowance msg to revoke the feegrant of the provider when the vault account unstakes
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func NewSubmitUnstakeProposalTxCmd ¶
NewSubmitUnstakeProposalTxCmd returns a CLI command handler for creating an unstake proposal governance transaction.
Types ¶
This section is empty.
Source Files ¶
- query.go
- query_account_info.go
- query_debug_query.go
- query_effective_policy.go
- query_get_pairing.go
- query_params.go
- query_provider.go
- query_provider_monthly_payout.go
- query_provider_pairing_chance.go
- query_providers.go
- query_providers_epoch_cu.go
- query_sdk_pairing.go
- query_static_providers_list.go
- query_subscription_monthly_payout.go
- query_user_entry.go
- query_verify_pairing.go
- tx.go
- tx_distribute_provider_stake.go
- tx_freeze.go
- tx_modify_provider.go
- tx_move_provider_stake.go
- tx_relay_payment.go
- tx_simulate_relay_payment.go
- tx_stake_provider.go
- tx_unfreeze.go
- tx_unstake_provider.go
Click to show internal directories.
Click to hide internal directories.