0g-chain/x/community/client/proposal_handler.go
2024-05-01 11:17:24 +08:00

18 lines
435 B
Go

package client
import (
govclient "github.com/cosmos/cosmos-sdk/x/gov/client"
"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,
)
)