Documentation ¶
Index ¶
- Variables
- func CmdAddMiningProvider() *cobra.Command
- func CmdAddReward() *cobra.Command
- func CmdAddRewardPool() *cobra.Command
- func CmdAddRewardToken() *cobra.Command
- func CmdAddStakeItem() *cobra.Command
- func CmdAddStakePool() *cobra.Command
- func CmdAddStakeToken() *cobra.Command
- func CmdClaimReward() *cobra.Command
- func CmdEmergencyWithdraw() *cobra.Command
- func CmdMaxRewardPoolNumber() *cobra.Command
- func CmdMaxStakeItemNumber() *cobra.Command
- func CmdMiningProviderList() *cobra.Command
- func CmdProviderSwitch() *cobra.Command
- func CmdQueryParams() *cobra.Command
- func CmdRewardTokenList() *cobra.Command
- func CmdRmMiningProvider() *cobra.Command
- func CmdRmRewardToken() *cobra.Command
- func CmdRmStakeToken() *cobra.Command
- func CmdSetMaxRewardPoolNumber() *cobra.Command
- func CmdSetMaxStakeItemNumber() *cobra.Command
- func CmdSetStakeItemLimit() *cobra.Command
- func CmdStake() *cobra.Command
- func CmdStakeItemList() *cobra.Command
- func CmdStakePoolInfo() *cobra.Command
- func CmdStakePoolList() *cobra.Command
- func CmdStakeRecord() *cobra.Command
- func CmdStakeRecordCount() *cobra.Command
- func CmdStakeRecordList() *cobra.Command
- func CmdStakeReward() *cobra.Command
- func CmdToggleEmergencySwitch() *cobra.Command
- func CmdToggleProviderSwitch() *cobra.Command
- func CmdUpdateRewardPool() *cobra.Command
- func CmdUpdateStakeItem() *cobra.Command
- func CmdWithdraw() *cobra.Command
- func CmdWithdrawRewardToken() *cobra.Command
- func GetQueryCmd(queryRoute string) *cobra.Command
- func GetTxCmd() *cobra.Command
- type CreateInfo
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CmdAddMiningProvider ¶
func CmdAddReward ¶
func CmdAddRewardPool ¶
func CmdAddRewardToken ¶
func CmdAddStakeItem ¶
func CmdAddStakePool ¶
func CmdAddStakeToken ¶
func CmdClaimReward ¶
func CmdEmergencyWithdraw ¶
func CmdMaxRewardPoolNumber ¶
func CmdMaxStakeItemNumber ¶
func CmdMiningProviderList ¶
func CmdProviderSwitch ¶
func CmdQueryParams ¶
func CmdRewardTokenList ¶
func CmdRmMiningProvider ¶
func CmdRmRewardToken ¶
func CmdRmStakeToken ¶
func CmdSetStakeItemLimit ¶
func CmdStakeItemList ¶
func CmdStakePoolInfo ¶
func CmdStakePoolList ¶
func CmdStakeRecord ¶
func CmdStakeRecordCount ¶
func CmdStakeRecordList ¶
func CmdStakeReward ¶
func CmdToggleProviderSwitch ¶
func CmdUpdateRewardPool ¶
func CmdUpdateStakeItem ¶
func CmdWithdraw ¶
func CmdWithdrawRewardToken ¶
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
Types ¶
type CreateInfo ¶
type CreateInfo struct { RewardPoolList []*types.CreateRewardPoolInfo `json:"rewardPoolList"` StakeItemList []*types.CreateStakeItemInfo `json:"stakeItemList"` }
Source Files ¶
- query.go
- query_max_reward_pool_number.go
- query_max_stake_item_number.go
- query_mining_provider_list.go
- query_params.go
- query_provider_switch.go
- query_reward_token_list.go
- query_stake_item_list.go
- query_stake_pool_info.go
- query_stake_pool_list.go
- query_stake_record.go
- query_stake_record_count.go
- query_stake_record_list.go
- query_stake_reward.go
- tx.go
- tx_add_mining_provider.go
- tx_add_reward.go
- tx_add_reward_pool.go
- tx_add_reward_token.go
- tx_add_stake_item.go
- tx_add_stake_pool.go
- tx_add_stake_token.go
- tx_claim_reward.go
- tx_emergency_withdraw.go
- tx_rm_mining_provider.go
- tx_rm_reward_token.go
- tx_rm_stake_token.go
- tx_set_max_reward_pool_number.go
- tx_set_max_stake_item_number.go
- tx_set_stake_item_limit.go
- tx_stake.go
- tx_toggle_emergency_switch.go
- tx_toggle_provider_switch.go
- tx_update_reward_pool.go
- tx_update_stake_item.go
- tx_withdraw.go
- tx_withdraw_reward_token.go
Click to show internal directories.
Click to hide internal directories.