mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 03:55:19 +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)
|
||
|
)
|