0g-chain/x/community/client/proposal_handler.go
2024-08-03 15:03:23 +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,
)
)