0g-chain/x/community/client/proposal_handler.go

18 lines
435 B
Go
Raw Normal View History

package client
import (
govclient "github.com/cosmos/cosmos-sdk/x/gov/client"
2024-05-01 03:17:24 +00:00
"github.com/0glabs/0g-chain/x/community/client/cli"
)
// community-pool deposit/withdraw lend proposal handlers
var (
LendDepositProposalHandler = govclient.NewProposalHandler(
cli.NewCmdSubmitCommunityPoolLendDepositProposal,
)
LendWithdrawProposalHandler = govclient.NewProposalHandler(
cli.NewCmdSubmitCommunityPoolLendWithdrawProposal,
)
)