mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 08:15:19 +00:00
fc85052522
* feat: add community multi-spend proposal type * feat: add handler for community multi-spend proposals * chore: register new community multi-spend proposal * feat: define client for community multi-spend proposal * fix typos in example cli json * fix: register now proposal type with module codec * fix: register community multi-spend proposal with gov router, not committee * fix: define kavadist keeper before referencing it * nit: include deposit in example proposal * nit: update comment * nit: fix error codes * nit: update comments
14 lines
342 B
Go
14 lines
342 B
Go
package client
|
|
|
|
import (
|
|
govclient "github.com/cosmos/cosmos-sdk/x/gov/client"
|
|
|
|
"github.com/kava-labs/kava/x/kavadist/client/cli"
|
|
"github.com/kava-labs/kava/x/kavadist/client/rest"
|
|
)
|
|
|
|
// community-pool multi-spend proposal handler
|
|
var (
|
|
ProposalHandler = govclient.NewProposalHandler(cli.GetCmdSubmitProposal, rest.ProposalRESTHandler)
|
|
)
|