-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* enable prop cli * update changelog --------- Co-authored-by: devbot-wizard <[email protected]>
- Loading branch information
1 parent
ef1a8ba
commit ea83071
Showing
5 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package client | ||
|
||
import ( | ||
"github.com/osmosis-labs/osmosis/v19/x/poolmanager/client/cli" | ||
"github.com/osmosis-labs/osmosis/v19/x/poolmanager/client/rest" | ||
|
||
govclient "github.com/cosmos/cosmos-sdk/x/gov/client" | ||
) | ||
|
||
var ( | ||
DenomPairTakerFeeProposalHandler = govclient.NewProposalHandler(cli.NewCmdHandleDenomPairTakerFeeProposal, rest.ProposalDenomPairTakerFeeRESTHandler) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package rest | ||
|
||
import ( | ||
"net/http" | ||
|
||
"github.com/cosmos/cosmos-sdk/client" | ||
govrest "github.com/cosmos/cosmos-sdk/x/gov/client/rest" | ||
) | ||
|
||
func ProposalDenomPairTakerFeeRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler { | ||
return govrest.ProposalRESTHandler{ | ||
SubRoute: "denom-pair-taker-fee", | ||
Handler: emptyHandler(clientCtx), | ||
} | ||
} | ||
|
||
func emptyHandler(clientCtx client.Context) http.HandlerFunc { | ||
return func(w http.ResponseWriter, r *http.Request) { | ||
} | ||
} |