github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/x/distribution/client/proposal_handler.go (about) 1 package client 2 3 import ( 4 "github.com/fibonacci-chain/fbc/x/distribution/client/cli" 5 "github.com/fibonacci-chain/fbc/x/distribution/client/rest" 6 govclient "github.com/fibonacci-chain/fbc/x/gov/client" 7 ) 8 9 // param change proposal handler 10 var ( 11 CommunityPoolSpendProposalHandler = govclient.NewProposalHandler(cli.GetCmdCommunityPoolSpendProposal, rest.CommunityPoolSpendProposalRESTHandler) 12 ChangeDistributionTypeProposalHandler = govclient.NewProposalHandler(cli.GetChangeDistributionTypeProposal, rest.ChangeDistributionTypeProposalRESTHandler) 13 WithdrawRewardEnabledProposalHandler = govclient.NewProposalHandler(cli.GetWithdrawRewardEnabledProposal, rest.WithdrawRewardEnabledProposalRESTHandler) 14 RewardTruncatePrecisionProposalHandler = govclient.NewProposalHandler(cli.GetRewardTruncatePrecisionProposal, rest.RewardTruncatePrecisionProposalRESTHandler) 15 )