mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
15 lines
512 B
Go
15 lines
512 B
Go
|
package client
|
||
|
|
||
|
import (
|
||
|
govclient "github.com/cosmos/cosmos-sdk/x/gov/client"
|
||
|
|
||
|
"github.com/kava-labs/kava/x/earn/client/cli"
|
||
|
"github.com/kava-labs/kava/x/earn/client/rest"
|
||
|
)
|
||
|
|
||
|
// community-pool deposit/withdraw proposal handlers
|
||
|
var (
|
||
|
DepositProposalHandler = govclient.NewProposalHandler(cli.GetCmdSubmitCommunityPoolDepositProposal, rest.DepositProposalRESTHandler)
|
||
|
WithdrawProposalHandler = govclient.NewProposalHandler(cli.GetCmdSubmitCommunityPoolWithdrawProposal, rest.WithdrawProposalRESTHandler)
|
||
|
)
|