From 3157d97e1576da7e31adbf5a792aeac6a23a1894 Mon Sep 17 00:00:00 2001 From: Collin Date: Fri, 1 Mar 2024 16:03:38 -0600 Subject: [PATCH] chore: Update proto build to use buf and the BSR (#285) * Update proto build to use buf and BSR * Build cork protos to v2 package to match go file path * Switch cosmos/gogoproto dependency * Delete vendored google/gogo proto depedencies in favor of BSR * Switch from vendored regen cosmos_proto dep to BSR --- Makefile | 10 +- buf.work.yaml | 4 + docs/core/proto-docs.md | 4119 ----------------- docs/protodoc-markdown.tmpl | 105 - go.mod | 3 +- go.sum | 2 + proto/buf.gen.doc.yaml | 5 + proto/buf.gen.gogo.yaml | 8 + proto/buf.lock | 18 + proto/buf.yaml | 10 + proto/cork/v2/cork.proto | 2 +- proto/cork/v2/genesis.proto | 3 +- proto/cork/v2/proposal.proto | 2 +- proto/cork/v2/query.proto | 2 +- proto/cork/v2/tx.proto | 2 +- scripts/README.md | 7 - scripts/protocgen.sh | 42 +- third_party/proto/buf.lock | 18 + buf.yaml => third_party/proto/buf.yaml | 19 +- third_party/proto/cosmos_proto/cosmos.proto | 16 - third_party/proto/gogoproto/gogo.proto | 145 - .../proto/google/api/annotations.proto | 31 - third_party/proto/google/api/http.proto | 375 -- third_party/proto/google/api/httpbody.proto | 77 - third_party/proto/google/protobuf/any.proto | 158 - x/auction/types/auction.pb.go | 4 +- x/auction/types/genesis.pb.go | 2 +- x/auction/types/proposal.pb.go | 2 +- x/auction/types/query.pb.go | 4 +- x/auction/types/tx.pb.go | 4 +- x/axelarcork/types/axelarcork.pb.go | 2 +- x/axelarcork/types/event.pb.go | 2 +- x/axelarcork/types/genesis.pb.go | 2 +- x/axelarcork/types/proposal.pb.go | 2 +- x/axelarcork/types/query.pb.go | 2 +- x/axelarcork/types/tx.pb.go | 2 +- x/cellarfees/types/cellarfees.pb.go | 2 +- x/cellarfees/types/genesis.pb.go | 2 +- x/cellarfees/types/params.pb.go | 2 +- x/cellarfees/types/query.pb.go | 2 +- x/cork/types/v2/cork.pb.go | 48 +- x/cork/types/v2/genesis.pb.go | 56 +- x/cork/types/v2/proposal.pb.go | 76 +- x/cork/types/v2/query.pb.go | 100 +- x/cork/types/v2/query.pb.gw.go | 2 +- x/cork/types/v2/tx.pb.go | 36 +- x/incentives/types/genesis.pb.go | 2 +- x/incentives/types/query.pb.go | 2 +- x/pubsub/types/genesis.pb.go | 2 +- x/pubsub/types/params.pb.go | 2 +- x/pubsub/types/query.pb.go | 2 +- 51 files changed, 275 insertions(+), 5272 deletions(-) create mode 100644 buf.work.yaml delete mode 100644 docs/core/proto-docs.md delete mode 100644 docs/protodoc-markdown.tmpl create mode 100644 proto/buf.gen.doc.yaml create mode 100644 proto/buf.gen.gogo.yaml create mode 100644 proto/buf.lock create mode 100644 proto/buf.yaml delete mode 100644 scripts/README.md create mode 100644 third_party/proto/buf.lock rename buf.yaml => third_party/proto/buf.yaml (58%) delete mode 100644 third_party/proto/cosmos_proto/cosmos.proto delete mode 100644 third_party/proto/gogoproto/gogo.proto delete mode 100644 third_party/proto/google/api/annotations.proto delete mode 100644 third_party/proto/google/api/http.proto delete mode 100644 third_party/proto/google/api/httpbody.proto delete mode 100644 third_party/proto/google/protobuf/any.proto diff --git a/Makefile b/Makefile index ac37a1d0..45eb7906 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ BUILDDIR ?= $(CURDIR)/build TEST_DOCKER_REPO=jackzampolin/sommtest HTTPS_GIT := https://github.com/peggyjv/sommelier.git DOCKER := $(shell which docker) -DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf +DOCKER_BUF := $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace bufbuild/buf:1.29.0 export GO111MODULE = on @@ -212,23 +212,25 @@ test-docker-push: test-docker ### Protobuf ### ############################################################################### +PROTO_BUILD_IMAGE=ghcr.io/cosmos/proto-builder:0.8 + proto-all: proto-format proto-lint proto-gen proto-gen: @echo "Generating Protobuf files" - $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace tendermintdev/sdk-proto-gen sh ./scripts/protocgen.sh + $(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(PROTO_BUILD_IMAGE) sh ./scripts/protocgen.sh proto-format: @echo "Formatting Protobuf files" $(DOCKER) run --rm -v $(CURDIR):/workspace \ - --workdir /workspace tendermintdev/docker-build-proto \ + --workdir /workspace $PROTO_BUILD_IMAGE \ find ./ -not -path "./third_party/*" -name *.proto -exec .clang-format -i {} \; proto-swagger-gen: @./scripts/protoc-swagger-gen.sh proto-lint: - @$(DOCKER_BUF) check lint --error-format=json + @$(DOCKER_BUF) lint --error-format=json proto-check-breaking: @$(DOCKER_BUF) check breaking --against-input $(HTTPS_GIT)#branch=main diff --git a/buf.work.yaml b/buf.work.yaml new file mode 100644 index 00000000..494296bf --- /dev/null +++ b/buf.work.yaml @@ -0,0 +1,4 @@ +version: v1 +directories: + - proto + - third_party/proto diff --git a/docs/core/proto-docs.md b/docs/core/proto-docs.md deleted file mode 100644 index 156c3134..00000000 --- a/docs/core/proto-docs.md +++ /dev/null @@ -1,4119 +0,0 @@ - -# Protobuf Documentation - - -## Table of Contents - -- [auction/v1/auction.proto](#auction/v1/auction.proto) - - [Auction](#auction.v1.Auction) - - [Bid](#auction.v1.Bid) - - [ProposedTokenPrice](#auction.v1.ProposedTokenPrice) - - [TokenPrice](#auction.v1.TokenPrice) - -- [auction/v1/tx.proto](#auction/v1/tx.proto) - - [MsgSubmitBidRequest](#auction.v1.MsgSubmitBidRequest) - - [MsgSubmitBidResponse](#auction.v1.MsgSubmitBidResponse) - - - [Msg](#auction.v1.Msg) - -- [auction/v1/genesis.proto](#auction/v1/genesis.proto) - - [GenesisState](#auction.v1.GenesisState) - - [Params](#auction.v1.Params) - -- [auction/v1/proposal.proto](#auction/v1/proposal.proto) - - [SetTokenPricesProposal](#auction.v1.SetTokenPricesProposal) - - [SetTokenPricesProposalWithDeposit](#auction.v1.SetTokenPricesProposalWithDeposit) - -- [auction/v1/query.proto](#auction/v1/query.proto) - - [QueryActiveAuctionRequest](#auction.v1.QueryActiveAuctionRequest) - - [QueryActiveAuctionResponse](#auction.v1.QueryActiveAuctionResponse) - - [QueryActiveAuctionsRequest](#auction.v1.QueryActiveAuctionsRequest) - - [QueryActiveAuctionsResponse](#auction.v1.QueryActiveAuctionsResponse) - - [QueryBidRequest](#auction.v1.QueryBidRequest) - - [QueryBidResponse](#auction.v1.QueryBidResponse) - - [QueryBidsByAuctionRequest](#auction.v1.QueryBidsByAuctionRequest) - - [QueryBidsByAuctionResponse](#auction.v1.QueryBidsByAuctionResponse) - - [QueryEndedAuctionRequest](#auction.v1.QueryEndedAuctionRequest) - - [QueryEndedAuctionResponse](#auction.v1.QueryEndedAuctionResponse) - - [QueryEndedAuctionsRequest](#auction.v1.QueryEndedAuctionsRequest) - - [QueryEndedAuctionsResponse](#auction.v1.QueryEndedAuctionsResponse) - - [QueryParamsRequest](#auction.v1.QueryParamsRequest) - - [QueryParamsResponse](#auction.v1.QueryParamsResponse) - - [QueryTokenPriceRequest](#auction.v1.QueryTokenPriceRequest) - - [QueryTokenPriceResponse](#auction.v1.QueryTokenPriceResponse) - - [QueryTokenPricesRequest](#auction.v1.QueryTokenPricesRequest) - - [QueryTokenPricesResponse](#auction.v1.QueryTokenPricesResponse) - - - [Query](#auction.v1.Query) - -- [axelarcork/v1/axelarcork.proto](#axelarcork/v1/axelarcork.proto) - - [AxelarContractCallNonce](#axelarcork.v1.AxelarContractCallNonce) - - [AxelarCork](#axelarcork.v1.AxelarCork) - - [AxelarCorkResult](#axelarcork.v1.AxelarCorkResult) - - [AxelarCorkResults](#axelarcork.v1.AxelarCorkResults) - - [AxelarUpgradeData](#axelarcork.v1.AxelarUpgradeData) - - [CellarIDSet](#axelarcork.v1.CellarIDSet) - - [ChainConfiguration](#axelarcork.v1.ChainConfiguration) - - [ChainConfigurations](#axelarcork.v1.ChainConfigurations) - - [ScheduledAxelarCork](#axelarcork.v1.ScheduledAxelarCork) - - [ScheduledAxelarCorks](#axelarcork.v1.ScheduledAxelarCorks) - - [WinningAxelarCork](#axelarcork.v1.WinningAxelarCork) - -- [axelarcork/v1/event.proto](#axelarcork/v1/event.proto) - - [ScheduleCorkEvent](#axelarcork.v1.ScheduleCorkEvent) - -- [axelarcork/v1/genesis.proto](#axelarcork/v1/genesis.proto) - - [GenesisState](#axelarcork.v1.GenesisState) - - [Params](#axelarcork.v1.Params) - -- [axelarcork/v1/proposal.proto](#axelarcork/v1/proposal.proto) - - [AddAxelarManagedCellarIDsProposal](#axelarcork.v1.AddAxelarManagedCellarIDsProposal) - - [AddAxelarManagedCellarIDsProposalWithDeposit](#axelarcork.v1.AddAxelarManagedCellarIDsProposalWithDeposit) - - [AddChainConfigurationProposal](#axelarcork.v1.AddChainConfigurationProposal) - - [AddChainConfigurationProposalWithDeposit](#axelarcork.v1.AddChainConfigurationProposalWithDeposit) - - [AxelarCommunityPoolSpendProposal](#axelarcork.v1.AxelarCommunityPoolSpendProposal) - - [AxelarCommunityPoolSpendProposalForCLI](#axelarcork.v1.AxelarCommunityPoolSpendProposalForCLI) - - [AxelarScheduledCorkProposal](#axelarcork.v1.AxelarScheduledCorkProposal) - - [AxelarScheduledCorkProposalWithDeposit](#axelarcork.v1.AxelarScheduledCorkProposalWithDeposit) - - [CancelAxelarProxyContractUpgradeProposal](#axelarcork.v1.CancelAxelarProxyContractUpgradeProposal) - - [CancelAxelarProxyContractUpgradeProposalWithDeposit](#axelarcork.v1.CancelAxelarProxyContractUpgradeProposalWithDeposit) - - [RemoveAxelarManagedCellarIDsProposal](#axelarcork.v1.RemoveAxelarManagedCellarIDsProposal) - - [RemoveAxelarManagedCellarIDsProposalWithDeposit](#axelarcork.v1.RemoveAxelarManagedCellarIDsProposalWithDeposit) - - [RemoveChainConfigurationProposal](#axelarcork.v1.RemoveChainConfigurationProposal) - - [RemoveChainConfigurationProposalWithDeposit](#axelarcork.v1.RemoveChainConfigurationProposalWithDeposit) - - [UpgradeAxelarProxyContractProposal](#axelarcork.v1.UpgradeAxelarProxyContractProposal) - - [UpgradeAxelarProxyContractProposalWithDeposit](#axelarcork.v1.UpgradeAxelarProxyContractProposalWithDeposit) - -- [axelarcork/v1/query.proto](#axelarcork/v1/query.proto) - - [QueryAxelarContractCallNoncesRequest](#axelarcork.v1.QueryAxelarContractCallNoncesRequest) - - [QueryAxelarContractCallNoncesResponse](#axelarcork.v1.QueryAxelarContractCallNoncesResponse) - - [QueryAxelarProxyUpgradeDataRequest](#axelarcork.v1.QueryAxelarProxyUpgradeDataRequest) - - [QueryAxelarProxyUpgradeDataResponse](#axelarcork.v1.QueryAxelarProxyUpgradeDataResponse) - - [QueryCellarIDsByChainIDRequest](#axelarcork.v1.QueryCellarIDsByChainIDRequest) - - [QueryCellarIDsByChainIDResponse](#axelarcork.v1.QueryCellarIDsByChainIDResponse) - - [QueryCellarIDsRequest](#axelarcork.v1.QueryCellarIDsRequest) - - [QueryCellarIDsResponse](#axelarcork.v1.QueryCellarIDsResponse) - - [QueryChainConfigurationsRequest](#axelarcork.v1.QueryChainConfigurationsRequest) - - [QueryChainConfigurationsResponse](#axelarcork.v1.QueryChainConfigurationsResponse) - - [QueryCorkResultRequest](#axelarcork.v1.QueryCorkResultRequest) - - [QueryCorkResultResponse](#axelarcork.v1.QueryCorkResultResponse) - - [QueryCorkResultsRequest](#axelarcork.v1.QueryCorkResultsRequest) - - [QueryCorkResultsResponse](#axelarcork.v1.QueryCorkResultsResponse) - - [QueryParamsRequest](#axelarcork.v1.QueryParamsRequest) - - [QueryParamsResponse](#axelarcork.v1.QueryParamsResponse) - - [QueryScheduledBlockHeightsRequest](#axelarcork.v1.QueryScheduledBlockHeightsRequest) - - [QueryScheduledBlockHeightsResponse](#axelarcork.v1.QueryScheduledBlockHeightsResponse) - - [QueryScheduledCorksByBlockHeightRequest](#axelarcork.v1.QueryScheduledCorksByBlockHeightRequest) - - [QueryScheduledCorksByBlockHeightResponse](#axelarcork.v1.QueryScheduledCorksByBlockHeightResponse) - - [QueryScheduledCorksByIDRequest](#axelarcork.v1.QueryScheduledCorksByIDRequest) - - [QueryScheduledCorksByIDResponse](#axelarcork.v1.QueryScheduledCorksByIDResponse) - - [QueryScheduledCorksRequest](#axelarcork.v1.QueryScheduledCorksRequest) - - [QueryScheduledCorksResponse](#axelarcork.v1.QueryScheduledCorksResponse) - - [QueryWinningAxelarCorkRequest](#axelarcork.v1.QueryWinningAxelarCorkRequest) - - [QueryWinningAxelarCorkResponse](#axelarcork.v1.QueryWinningAxelarCorkResponse) - - [QueryWinningAxelarCorksRequest](#axelarcork.v1.QueryWinningAxelarCorksRequest) - - [QueryWinningAxelarCorksResponse](#axelarcork.v1.QueryWinningAxelarCorksResponse) - - - [Query](#axelarcork.v1.Query) - -- [axelarcork/v1/tx.proto](#axelarcork/v1/tx.proto) - - [MsgBumpAxelarCorkGasRequest](#axelarcork.v1.MsgBumpAxelarCorkGasRequest) - - [MsgBumpAxelarCorkGasResponse](#axelarcork.v1.MsgBumpAxelarCorkGasResponse) - - [MsgCancelAxelarCorkRequest](#axelarcork.v1.MsgCancelAxelarCorkRequest) - - [MsgCancelAxelarCorkResponse](#axelarcork.v1.MsgCancelAxelarCorkResponse) - - [MsgRelayAxelarCorkRequest](#axelarcork.v1.MsgRelayAxelarCorkRequest) - - [MsgRelayAxelarCorkResponse](#axelarcork.v1.MsgRelayAxelarCorkResponse) - - [MsgRelayAxelarProxyUpgradeRequest](#axelarcork.v1.MsgRelayAxelarProxyUpgradeRequest) - - [MsgRelayAxelarProxyUpgradeResponse](#axelarcork.v1.MsgRelayAxelarProxyUpgradeResponse) - - [MsgScheduleAxelarCorkRequest](#axelarcork.v1.MsgScheduleAxelarCorkRequest) - - [MsgScheduleAxelarCorkResponse](#axelarcork.v1.MsgScheduleAxelarCorkResponse) - - - [Msg](#axelarcork.v1.Msg) - -- [cellarfees/v1/cellarfees.proto](#cellarfees/v1/cellarfees.proto) - - [FeeAccrualCounter](#cellarfees.v1.FeeAccrualCounter) - - [FeeAccrualCounters](#cellarfees.v1.FeeAccrualCounters) - -- [cellarfees/v1/params.proto](#cellarfees/v1/params.proto) - - [Params](#cellarfees.v1.Params) - -- [cellarfees/v1/genesis.proto](#cellarfees/v1/genesis.proto) - - [GenesisState](#cellarfees.v1.GenesisState) - -- [cellarfees/v1/query.proto](#cellarfees/v1/query.proto) - - [QueryAPYRequest](#cellarfees.v1.QueryAPYRequest) - - [QueryAPYResponse](#cellarfees.v1.QueryAPYResponse) - - [QueryFeeAccrualCountersRequest](#cellarfees.v1.QueryFeeAccrualCountersRequest) - - [QueryFeeAccrualCountersResponse](#cellarfees.v1.QueryFeeAccrualCountersResponse) - - [QueryLastRewardSupplyPeakRequest](#cellarfees.v1.QueryLastRewardSupplyPeakRequest) - - [QueryLastRewardSupplyPeakResponse](#cellarfees.v1.QueryLastRewardSupplyPeakResponse) - - [QueryModuleAccountsRequest](#cellarfees.v1.QueryModuleAccountsRequest) - - [QueryModuleAccountsResponse](#cellarfees.v1.QueryModuleAccountsResponse) - - [QueryParamsRequest](#cellarfees.v1.QueryParamsRequest) - - [QueryParamsResponse](#cellarfees.v1.QueryParamsResponse) - - - [Query](#cellarfees.v1.Query) - -- [cork/v2/cork.proto](#cork/v2/cork.proto) - - [CellarIDSet](#cork.v2.CellarIDSet) - - [Cork](#cork.v2.Cork) - - [CorkResult](#cork.v2.CorkResult) - - [ScheduledCork](#cork.v2.ScheduledCork) - -- [cork/v2/genesis.proto](#cork/v2/genesis.proto) - - [GenesisState](#cork.v2.GenesisState) - - [Params](#cork.v2.Params) - -- [cork/v2/proposal.proto](#cork/v2/proposal.proto) - - [AddManagedCellarIDsProposal](#cork.v2.AddManagedCellarIDsProposal) - - [AddManagedCellarIDsProposalWithDeposit](#cork.v2.AddManagedCellarIDsProposalWithDeposit) - - [RemoveManagedCellarIDsProposal](#cork.v2.RemoveManagedCellarIDsProposal) - - [RemoveManagedCellarIDsProposalWithDeposit](#cork.v2.RemoveManagedCellarIDsProposalWithDeposit) - - [ScheduledCorkProposal](#cork.v2.ScheduledCorkProposal) - - [ScheduledCorkProposalWithDeposit](#cork.v2.ScheduledCorkProposalWithDeposit) - -- [cork/v2/query.proto](#cork/v2/query.proto) - - [QueryCellarIDsRequest](#cork.v2.QueryCellarIDsRequest) - - [QueryCellarIDsResponse](#cork.v2.QueryCellarIDsResponse) - - [QueryCorkResultRequest](#cork.v2.QueryCorkResultRequest) - - [QueryCorkResultResponse](#cork.v2.QueryCorkResultResponse) - - [QueryCorkResultsRequest](#cork.v2.QueryCorkResultsRequest) - - [QueryCorkResultsResponse](#cork.v2.QueryCorkResultsResponse) - - [QueryParamsRequest](#cork.v2.QueryParamsRequest) - - [QueryParamsResponse](#cork.v2.QueryParamsResponse) - - [QueryScheduledBlockHeightsRequest](#cork.v2.QueryScheduledBlockHeightsRequest) - - [QueryScheduledBlockHeightsResponse](#cork.v2.QueryScheduledBlockHeightsResponse) - - [QueryScheduledCorksByBlockHeightRequest](#cork.v2.QueryScheduledCorksByBlockHeightRequest) - - [QueryScheduledCorksByBlockHeightResponse](#cork.v2.QueryScheduledCorksByBlockHeightResponse) - - [QueryScheduledCorksByIDRequest](#cork.v2.QueryScheduledCorksByIDRequest) - - [QueryScheduledCorksByIDResponse](#cork.v2.QueryScheduledCorksByIDResponse) - - [QueryScheduledCorksRequest](#cork.v2.QueryScheduledCorksRequest) - - [QueryScheduledCorksResponse](#cork.v2.QueryScheduledCorksResponse) - - - [Query](#cork.v2.Query) - -- [cork/v2/tx.proto](#cork/v2/tx.proto) - - [MsgScheduleCorkRequest](#cork.v2.MsgScheduleCorkRequest) - - [MsgScheduleCorkResponse](#cork.v2.MsgScheduleCorkResponse) - - - [Msg](#cork.v2.Msg) - -- [incentives/v1/genesis.proto](#incentives/v1/genesis.proto) - - [GenesisState](#incentives.v1.GenesisState) - - [Params](#incentives.v1.Params) - -- [incentives/v1/query.proto](#incentives/v1/query.proto) - - [QueryAPYRequest](#incentives.v1.QueryAPYRequest) - - [QueryAPYResponse](#incentives.v1.QueryAPYResponse) - - [QueryParamsRequest](#incentives.v1.QueryParamsRequest) - - [QueryParamsResponse](#incentives.v1.QueryParamsResponse) - - - [Query](#incentives.v1.Query) - -- [pubsub/v1/params.proto](#pubsub/v1/params.proto) - - [Params](#pubsub.v1.Params) - -- [pubsub/v1/pubsub.proto](#pubsub/v1/pubsub.proto) - - [AddDefaultSubscriptionProposal](#pubsub.v1.AddDefaultSubscriptionProposal) - - [AddDefaultSubscriptionProposalWithDeposit](#pubsub.v1.AddDefaultSubscriptionProposalWithDeposit) - - [AddPublisherProposal](#pubsub.v1.AddPublisherProposal) - - [AddPublisherProposalWithDeposit](#pubsub.v1.AddPublisherProposalWithDeposit) - - [DefaultSubscription](#pubsub.v1.DefaultSubscription) - - [Publisher](#pubsub.v1.Publisher) - - [PublisherIntent](#pubsub.v1.PublisherIntent) - - [RemoveDefaultSubscriptionProposal](#pubsub.v1.RemoveDefaultSubscriptionProposal) - - [RemoveDefaultSubscriptionProposalWithDeposit](#pubsub.v1.RemoveDefaultSubscriptionProposalWithDeposit) - - [RemovePublisherProposal](#pubsub.v1.RemovePublisherProposal) - - [RemovePublisherProposalWithDeposit](#pubsub.v1.RemovePublisherProposalWithDeposit) - - [Subscriber](#pubsub.v1.Subscriber) - - [SubscriberIntent](#pubsub.v1.SubscriberIntent) - - - [AllowedSubscribers](#pubsub.v1.AllowedSubscribers) - - [PublishMethod](#pubsub.v1.PublishMethod) - -- [pubsub/v1/genesis.proto](#pubsub/v1/genesis.proto) - - [GenesisState](#pubsub.v1.GenesisState) - -- [pubsub/v1/query.proto](#pubsub/v1/query.proto) - - [QueryDefaultSubscriptionRequest](#pubsub.v1.QueryDefaultSubscriptionRequest) - - [QueryDefaultSubscriptionResponse](#pubsub.v1.QueryDefaultSubscriptionResponse) - - [QueryDefaultSubscriptionsRequest](#pubsub.v1.QueryDefaultSubscriptionsRequest) - - [QueryDefaultSubscriptionsResponse](#pubsub.v1.QueryDefaultSubscriptionsResponse) - - [QueryParamsRequest](#pubsub.v1.QueryParamsRequest) - - [QueryParamsResponse](#pubsub.v1.QueryParamsResponse) - - [QueryPublisherIntentRequest](#pubsub.v1.QueryPublisherIntentRequest) - - [QueryPublisherIntentResponse](#pubsub.v1.QueryPublisherIntentResponse) - - [QueryPublisherIntentsByPublisherDomainRequest](#pubsub.v1.QueryPublisherIntentsByPublisherDomainRequest) - - [QueryPublisherIntentsByPublisherDomainResponse](#pubsub.v1.QueryPublisherIntentsByPublisherDomainResponse) - - [QueryPublisherIntentsBySubscriptionIDRequest](#pubsub.v1.QueryPublisherIntentsBySubscriptionIDRequest) - - [QueryPublisherIntentsBySubscriptionIDResponse](#pubsub.v1.QueryPublisherIntentsBySubscriptionIDResponse) - - [QueryPublisherIntentsRequest](#pubsub.v1.QueryPublisherIntentsRequest) - - [QueryPublisherIntentsResponse](#pubsub.v1.QueryPublisherIntentsResponse) - - [QueryPublisherRequest](#pubsub.v1.QueryPublisherRequest) - - [QueryPublisherResponse](#pubsub.v1.QueryPublisherResponse) - - [QueryPublishersRequest](#pubsub.v1.QueryPublishersRequest) - - [QueryPublishersResponse](#pubsub.v1.QueryPublishersResponse) - - [QuerySubscriberIntentRequest](#pubsub.v1.QuerySubscriberIntentRequest) - - [QuerySubscriberIntentResponse](#pubsub.v1.QuerySubscriberIntentResponse) - - [QuerySubscriberIntentsByPublisherDomainRequest](#pubsub.v1.QuerySubscriberIntentsByPublisherDomainRequest) - - [QuerySubscriberIntentsByPublisherDomainResponse](#pubsub.v1.QuerySubscriberIntentsByPublisherDomainResponse) - - [QuerySubscriberIntentsBySubscriberAddressRequest](#pubsub.v1.QuerySubscriberIntentsBySubscriberAddressRequest) - - [QuerySubscriberIntentsBySubscriberAddressResponse](#pubsub.v1.QuerySubscriberIntentsBySubscriberAddressResponse) - - [QuerySubscriberIntentsBySubscriptionIDRequest](#pubsub.v1.QuerySubscriberIntentsBySubscriptionIDRequest) - - [QuerySubscriberIntentsBySubscriptionIDResponse](#pubsub.v1.QuerySubscriberIntentsBySubscriptionIDResponse) - - [QuerySubscriberIntentsRequest](#pubsub.v1.QuerySubscriberIntentsRequest) - - [QuerySubscriberIntentsResponse](#pubsub.v1.QuerySubscriberIntentsResponse) - - [QuerySubscriberRequest](#pubsub.v1.QuerySubscriberRequest) - - [QuerySubscriberResponse](#pubsub.v1.QuerySubscriberResponse) - - [QuerySubscribersRequest](#pubsub.v1.QuerySubscribersRequest) - - [QuerySubscribersResponse](#pubsub.v1.QuerySubscribersResponse) - - - [Query](#pubsub.v1.Query) - -- [pubsub/v1/tx.proto](#pubsub/v1/tx.proto) - - [MsgAddPublisherIntentRequest](#pubsub.v1.MsgAddPublisherIntentRequest) - - [MsgAddPublisherIntentResponse](#pubsub.v1.MsgAddPublisherIntentResponse) - - [MsgAddSubscriberIntentRequest](#pubsub.v1.MsgAddSubscriberIntentRequest) - - [MsgAddSubscriberIntentResponse](#pubsub.v1.MsgAddSubscriberIntentResponse) - - [MsgAddSubscriberRequest](#pubsub.v1.MsgAddSubscriberRequest) - - [MsgAddSubscriberResponse](#pubsub.v1.MsgAddSubscriberResponse) - - [MsgRemovePublisherIntentRequest](#pubsub.v1.MsgRemovePublisherIntentRequest) - - [MsgRemovePublisherIntentResponse](#pubsub.v1.MsgRemovePublisherIntentResponse) - - [MsgRemovePublisherRequest](#pubsub.v1.MsgRemovePublisherRequest) - - [MsgRemovePublisherResponse](#pubsub.v1.MsgRemovePublisherResponse) - - [MsgRemoveSubscriberIntentRequest](#pubsub.v1.MsgRemoveSubscriberIntentRequest) - - [MsgRemoveSubscriberIntentResponse](#pubsub.v1.MsgRemoveSubscriberIntentResponse) - - [MsgRemoveSubscriberRequest](#pubsub.v1.MsgRemoveSubscriberRequest) - - [MsgRemoveSubscriberResponse](#pubsub.v1.MsgRemoveSubscriberResponse) - - - [Msg](#pubsub.v1.Msg) - -- [Scalar Value Types](#scalar-value-types) - - - - -

Top

- -## auction/v1/auction.proto - - - - - -### Auction - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `id` | [uint32](#uint32) | | | -| `starting_tokens_for_sale` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | -| `start_block` | [uint64](#uint64) | | | -| `end_block` | [uint64](#uint64) | | | -| `initial_price_decrease_rate` | [string](#string) | | | -| `current_price_decrease_rate` | [string](#string) | | | -| `price_decrease_block_interval` | [uint64](#uint64) | | | -| `initial_unit_price_in_usomm` | [string](#string) | | | -| `current_unit_price_in_usomm` | [string](#string) | | | -| `remaining_tokens_for_sale` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | -| `funding_module_account` | [string](#string) | | | -| `proceeds_module_account` | [string](#string) | | | - - - - - - - - -### Bid - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `id` | [uint64](#uint64) | | | -| `auction_id` | [uint32](#uint32) | | | -| `bidder` | [string](#string) | | | -| `max_bid_in_usomm` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | -| `sale_token_minimum_amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | -| `total_fulfilled_sale_tokens` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | -| `sale_token_unit_price_in_usomm` | [string](#string) | | | -| `total_usomm_paid` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | -| `block_height` | [uint64](#uint64) | | | - - - - - - - - -### ProposedTokenPrice - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `denom` | [string](#string) | | | -| `exponent` | [uint64](#uint64) | | | -| `usd_price` | [string](#string) | | | - - - - - - - - -### TokenPrice -USD price is the value for one non-fractional token (smallest unit of the token * 10^exponent) - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `denom` | [string](#string) | | | -| `exponent` | [uint64](#uint64) | | | -| `usd_price` | [string](#string) | | | -| `last_updated_block` | [uint64](#uint64) | | | - - - - - - - - - - - - - - - - -

Top

- -## auction/v1/tx.proto - - - - - -### MsgSubmitBidRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `auction_id` | [uint32](#uint32) | | | -| `signer` | [string](#string) | | | -| `max_bid_in_usomm` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | -| `sale_token_minimum_amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | - - - - - - - - -### MsgSubmitBidResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `bid` | [Bid](#auction.v1.Bid) | | | - - - - - - - - - - - - - - -### Msg - - -| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | -| ----------- | ------------ | ------------- | ------------| ------- | -------- | -| `SubmitBid` | [MsgSubmitBidRequest](#auction.v1.MsgSubmitBidRequest) | [MsgSubmitBidResponse](#auction.v1.MsgSubmitBidResponse) | | | - - - - - - -

Top

- -## auction/v1/genesis.proto - - - - - -### GenesisState - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `params` | [Params](#auction.v1.Params) | | | -| `auctions` | [Auction](#auction.v1.Auction) | repeated | | -| `bids` | [Bid](#auction.v1.Bid) | repeated | | -| `token_prices` | [TokenPrice](#auction.v1.TokenPrice) | repeated | | -| `last_auction_id` | [uint32](#uint32) | | | -| `last_bid_id` | [uint64](#uint64) | | | - - - - - - - - -### Params - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `price_max_block_age` | [uint64](#uint64) | | | -| `minimum_bid_in_usomm` | [uint64](#uint64) | | | -| `minimum_sale_tokens_usd_value` | [string](#string) | | | -| `auction_max_block_age` | [uint64](#uint64) | | | -| `auction_price_decrease_acceleration_rate` | [string](#string) | | | -| `minimum_auction_height` | [uint64](#uint64) | | | - - - - - - - - - - - - - - - - -

Top

- -## auction/v1/proposal.proto - - - - - -### SetTokenPricesProposal - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `token_prices` | [ProposedTokenPrice](#auction.v1.ProposedTokenPrice) | repeated | | - - - - - - - - -### SetTokenPricesProposalWithDeposit - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `token_prices` | [ProposedTokenPrice](#auction.v1.ProposedTokenPrice) | repeated | | -| `deposit` | [string](#string) | | | - - - - - - - - - - - - - - - - -

Top

- -## auction/v1/query.proto - - - - - -### QueryActiveAuctionRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `auction_id` | [uint32](#uint32) | | | - - - - - - - - -### QueryActiveAuctionResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `auction` | [Auction](#auction.v1.Auction) | | | - - - - - - - - -### QueryActiveAuctionsRequest - - - - - - - - - -### QueryActiveAuctionsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `auctions` | [Auction](#auction.v1.Auction) | repeated | | - - - - - - - - -### QueryBidRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `bid_id` | [uint64](#uint64) | | | -| `auction_id` | [uint32](#uint32) | | | - - - - - - - - -### QueryBidResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `bid` | [Bid](#auction.v1.Bid) | | | - - - - - - - - -### QueryBidsByAuctionRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `auction_id` | [uint32](#uint32) | | | -| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | | - - - - - - - - -### QueryBidsByAuctionResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `bids` | [Bid](#auction.v1.Bid) | repeated | | -| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | | - - - - - - - - -### QueryEndedAuctionRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `auction_id` | [uint32](#uint32) | | | - - - - - - - - -### QueryEndedAuctionResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `auction` | [Auction](#auction.v1.Auction) | | | - - - - - - - - -### QueryEndedAuctionsRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | | - - - - - - - - -### QueryEndedAuctionsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `auctions` | [Auction](#auction.v1.Auction) | repeated | | -| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | | - - - - - - - - -### QueryParamsRequest - - - - - - - - - -### QueryParamsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `params` | [Params](#auction.v1.Params) | | | - - - - - - - - -### QueryTokenPriceRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `denom` | [string](#string) | | | - - - - - - - - -### QueryTokenPriceResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `token_price` | [TokenPrice](#auction.v1.TokenPrice) | | | - - - - - - - - -### QueryTokenPricesRequest - - - - - - - - - -### QueryTokenPricesResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `token_prices` | [TokenPrice](#auction.v1.TokenPrice) | repeated | | - - - - - - - - - - - - - - -### Query - - -| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | -| ----------- | ------------ | ------------- | ------------| ------- | -------- | -| `QueryParams` | [QueryParamsRequest](#auction.v1.QueryParamsRequest) | [QueryParamsResponse](#auction.v1.QueryParamsResponse) | | GET|/sommelier/auction/v1/params| -| `QueryActiveAuction` | [QueryActiveAuctionRequest](#auction.v1.QueryActiveAuctionRequest) | [QueryActiveAuctionResponse](#auction.v1.QueryActiveAuctionResponse) | | GET|/sommelier/auction/v1/active_auctions/{auction_id}| -| `QueryEndedAuction` | [QueryEndedAuctionRequest](#auction.v1.QueryEndedAuctionRequest) | [QueryEndedAuctionResponse](#auction.v1.QueryEndedAuctionResponse) | | GET|/sommelier/auction/v1/ended_auctions/{auction_id}| -| `QueryActiveAuctions` | [QueryActiveAuctionsRequest](#auction.v1.QueryActiveAuctionsRequest) | [QueryActiveAuctionsResponse](#auction.v1.QueryActiveAuctionsResponse) | | GET|/sommelier/auction/v1/active_auctions| -| `QueryEndedAuctions` | [QueryEndedAuctionsRequest](#auction.v1.QueryEndedAuctionsRequest) | [QueryEndedAuctionsResponse](#auction.v1.QueryEndedAuctionsResponse) | | GET|/sommelier/auction/v1/ended_auctions| -| `QueryBid` | [QueryBidRequest](#auction.v1.QueryBidRequest) | [QueryBidResponse](#auction.v1.QueryBidResponse) | | GET|/sommelier/auction/v1/auctions/{auction_id}/bids/{bid_id}| -| `QueryBidsByAuction` | [QueryBidsByAuctionRequest](#auction.v1.QueryBidsByAuctionRequest) | [QueryBidsByAuctionResponse](#auction.v1.QueryBidsByAuctionResponse) | | GET|/sommelier/auction/v1/auctions/{auction_id}/bids| -| `QueryTokenPrice` | [QueryTokenPriceRequest](#auction.v1.QueryTokenPriceRequest) | [QueryTokenPriceResponse](#auction.v1.QueryTokenPriceResponse) | | GET|/sommelier/auction/v1/token_prices/{denom}| -| `QueryTokenPrices` | [QueryTokenPricesRequest](#auction.v1.QueryTokenPricesRequest) | [QueryTokenPricesResponse](#auction.v1.QueryTokenPricesResponse) | | GET|/sommelier/auction/v1/token_prices| - - - - - - -

Top

- -## axelarcork/v1/axelarcork.proto - - - - - -### AxelarContractCallNonce -Used to enforce strictly newer call ordering per contract - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `chain_id` | [uint64](#uint64) | | | -| `contract_address` | [string](#string) | | | -| `nonce` | [uint64](#uint64) | | | - - - - - - - - -### AxelarCork - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `encoded_contract_call` | [bytes](#bytes) | | call body containing the ABI encoded bytes to send to the contract | -| `chain_id` | [uint64](#uint64) | | the chain ID of the evm target chain | -| `target_contract_address` | [string](#string) | | address of the contract to send the call | -| `deadline` | [uint64](#uint64) | | unix timestamp before which the contract call must be executed. enforced by the proxy contract. | - - - - - - - - -### AxelarCorkResult - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `cork` | [AxelarCork](#axelarcork.v1.AxelarCork) | | | -| `block_height` | [uint64](#uint64) | | | -| `approved` | [bool](#bool) | | | -| `approval_percentage` | [string](#string) | | | - - - - - - - - -### AxelarCorkResults - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `cork_results` | [AxelarCorkResult](#axelarcork.v1.AxelarCorkResult) | repeated | | - - - - - - - - -### AxelarUpgradeData -Represents a proxy contract upgrade approved by governance with a delay in -execution in case of an error. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `chain_id` | [uint64](#uint64) | | | -| `payload` | [bytes](#bytes) | | | -| `executable_height_threshold` | [int64](#int64) | | | - - - - - - - - -### CellarIDSet - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `chain_id` | [uint64](#uint64) | | | -| `ids` | [string](#string) | repeated | | - - - - - - - - -### ChainConfiguration - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `name` | [string](#string) | | | -| `id` | [uint64](#uint64) | | | -| `proxy_address` | [string](#string) | | | -| `bridge_fees` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | pure token transfers have a fixed fee deducted from the amount sent in the ICS-20 message depending on the asset and destination chain they can be calculated here: https://docs.axelar.dev/resources/mainnet#cross-chain-relayer-gas-fee | - - - - - - - - -### ChainConfigurations - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `configurations` | [ChainConfiguration](#axelarcork.v1.ChainConfiguration) | repeated | | - - - - - - - - -### ScheduledAxelarCork - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `cork` | [AxelarCork](#axelarcork.v1.AxelarCork) | | | -| `block_height` | [uint64](#uint64) | | | -| `validator` | [string](#string) | | | -| `id` | [string](#string) | | | - - - - - - - - -### ScheduledAxelarCorks - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `scheduled_corks` | [ScheduledAxelarCork](#axelarcork.v1.ScheduledAxelarCork) | repeated | | - - - - - - - - -### WinningAxelarCork -Represents a cork that has received enough votes to be executed - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `cork` | [AxelarCork](#axelarcork.v1.AxelarCork) | | | -| `block_height` | [uint64](#uint64) | | | - - - - - - - - - - - - - - - - -

Top

- -## axelarcork/v1/event.proto - - - - - -### ScheduleCorkEvent - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `signer` | [string](#string) | | | -| `validator` | [string](#string) | | | -| `cork` | [string](#string) | | | -| `block_height` | [uint64](#uint64) | | | -| `chain_id` | [uint64](#uint64) | | | - - - - - - - - - - - - - - - - -

Top

- -## axelarcork/v1/genesis.proto - - - - - -### GenesisState -GenesisState - all cork state that must be provided at genesis - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `params` | [Params](#axelarcork.v1.Params) | | | -| `chain_configurations` | [ChainConfigurations](#axelarcork.v1.ChainConfigurations) | | | -| `cellar_ids` | [CellarIDSet](#axelarcork.v1.CellarIDSet) | repeated | | -| `scheduled_corks` | [ScheduledAxelarCorks](#axelarcork.v1.ScheduledAxelarCorks) | | | -| `cork_results` | [AxelarCorkResults](#axelarcork.v1.AxelarCorkResults) | | | -| `axelar_contract_call_nonces` | [AxelarContractCallNonce](#axelarcork.v1.AxelarContractCallNonce) | repeated | | -| `axelar_upgrade_data` | [AxelarUpgradeData](#axelarcork.v1.AxelarUpgradeData) | repeated | | - - - - - - - - -### Params - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `enabled` | [bool](#bool) | | | -| `ibc_channel` | [string](#string) | | | -| `ibc_port` | [string](#string) | | | -| `gmp_account` | [string](#string) | | | -| `executor_account` | [string](#string) | | | -| `timeout_duration` | [uint64](#uint64) | | | -| `cork_timeout_blocks` | [uint64](#uint64) | | | - - - - - - - - - - - - - - - - -

Top

- -## axelarcork/v1/proposal.proto - - - - - -### AddAxelarManagedCellarIDsProposal - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | -| `cellar_ids` | [CellarIDSet](#axelarcork.v1.CellarIDSet) | | | -| `publisher_domain` | [string](#string) | | | - - - - - - - - -### AddAxelarManagedCellarIDsProposalWithDeposit -AddAxelarManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | -| `cellar_ids` | [string](#string) | repeated | | -| `publisher_domain` | [string](#string) | | | -| `deposit` | [string](#string) | | | - - - - - - - - -### AddChainConfigurationProposal - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `chain_configuration` | [ChainConfiguration](#axelarcork.v1.ChainConfiguration) | | | - - - - - - - - -### AddChainConfigurationProposalWithDeposit - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `chain_configuration` | [ChainConfiguration](#axelarcork.v1.ChainConfiguration) | | | -| `deposit` | [string](#string) | | | - - - - - - - - -### AxelarCommunityPoolSpendProposal - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `recipient` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | -| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | - - - - - - - - -### AxelarCommunityPoolSpendProposalForCLI -This format of the Axelar community spend Ethereum proposal is specifically for -the CLI to allow simple text serialization. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `recipient` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | -| `amount` | [string](#string) | | | -| `deposit` | [string](#string) | | | - - - - - - - - -### AxelarScheduledCorkProposal - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `block_height` | [uint64](#uint64) | | | -| `chain_id` | [uint64](#uint64) | | | -| `target_contract_address` | [string](#string) | | | -| `contract_call_proto_json` | [string](#string) | | The JSON representation of a ScheduleRequest defined in the Steward protos - -Example: The following is the JSON form of a ScheduleRequest containing a steward.v2.cellar_v1.TrustPosition message, which maps to the `trustPosition(address)` function of the the V1 Cellar contract. - -{ "cellar_id": "0x1234567890000000000000000000000000000000", "cellar_v1": { "trust_position": { "erc20_address": "0x1234567890000000000000000000000000000000" } }, "block_height": 1000000 } - -You can use the Steward CLI to generate the required JSON rather than constructing it by hand https://github.com/peggyjv/steward | -| `deadline` | [uint64](#uint64) | | unix timestamp before which the contract call must be executed. enforced by the Axelar proxy contract | - - - - - - - - -### AxelarScheduledCorkProposalWithDeposit -AxelarScheduledCorkProposalWithDeposit is a specific definition for CLI commands - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `block_height` | [uint64](#uint64) | | | -| `chain_id` | [uint64](#uint64) | | | -| `target_contract_address` | [string](#string) | | | -| `contract_call_proto_json` | [string](#string) | | | -| `deadline` | [uint64](#uint64) | | | -| `deposit` | [string](#string) | | | - - - - - - - - -### CancelAxelarProxyContractUpgradeProposal - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | - - - - - - - - -### CancelAxelarProxyContractUpgradeProposalWithDeposit - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | -| `deposit` | [string](#string) | | | - - - - - - - - -### RemoveAxelarManagedCellarIDsProposal - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | -| `cellar_ids` | [CellarIDSet](#axelarcork.v1.CellarIDSet) | | | - - - - - - - - -### RemoveAxelarManagedCellarIDsProposalWithDeposit -RemoveAxelarManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | -| `cellar_ids` | [string](#string) | repeated | | -| `deposit` | [string](#string) | | | - - - - - - - - -### RemoveChainConfigurationProposal - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | - - - - - - - - -### RemoveChainConfigurationProposalWithDeposit - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | -| `deposit` | [string](#string) | | | - - - - - - - - -### UpgradeAxelarProxyContractProposal - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | -| `new_proxy_address` | [string](#string) | | | - - - - - - - - -### UpgradeAxelarProxyContractProposalWithDeposit - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | -| `new_proxy_address` | [string](#string) | | | -| `deposit` | [string](#string) | | | - - - - - - - - - - - - - - - - -

Top

- -## axelarcork/v1/query.proto - - - - - -### QueryAxelarContractCallNoncesRequest - - - - - - - - - -### QueryAxelarContractCallNoncesResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `contract_call_nonces` | [AxelarContractCallNonce](#axelarcork.v1.AxelarContractCallNonce) | repeated | | - - - - - - - - -### QueryAxelarProxyUpgradeDataRequest - - - - - - - - - -### QueryAxelarProxyUpgradeDataResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `proxy_upgrade_data` | [AxelarUpgradeData](#axelarcork.v1.AxelarUpgradeData) | repeated | | - - - - - - - - -### QueryCellarIDsByChainIDRequest -QueryCellarIDsByChainIDRequest is the request type for Query/QueryCellarIDsByChainID gRPC method. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `chain_id` | [uint64](#uint64) | | | - - - - - - - - -### QueryCellarIDsByChainIDResponse -QueryCellarIDsByChainIDResponse is the response type for Query/QueryCellarIDsByChainID gRPC method. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `cellar_ids` | [string](#string) | repeated | | - - - - - - - - -### QueryCellarIDsRequest -QueryCellarIDs is the request type for Query/QueryCellarIDs gRPC method. - - - - - - - - -### QueryCellarIDsResponse -QueryCellarIDsResponse is the response type for Query/QueryCellarIDs gRPC method. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `cellar_ids` | [CellarIDSet](#axelarcork.v1.CellarIDSet) | repeated | | - - - - - - - - -### QueryChainConfigurationsRequest - - - - - - - - - -### QueryChainConfigurationsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `configurations` | [ChainConfiguration](#axelarcork.v1.ChainConfiguration) | repeated | | - - - - - - - - -### QueryCorkResultRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `id` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | - - - - - - - - -### QueryCorkResultResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `corkResult` | [AxelarCorkResult](#axelarcork.v1.AxelarCorkResult) | | | - - - - - - - - -### QueryCorkResultsRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `chain_id` | [uint64](#uint64) | | | - - - - - - - - -### QueryCorkResultsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `corkResults` | [AxelarCorkResult](#axelarcork.v1.AxelarCorkResult) | repeated | | - - - - - - - - -### QueryParamsRequest -QueryParamsRequest is the request type for the Query/Params gRPC method. - - - - - - - - -### QueryParamsResponse -QueryParamsRequest is the response type for the Query/Params gRPC method. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `params` | [Params](#axelarcork.v1.Params) | | allocation parameters | - - - - - - - - -### QueryScheduledBlockHeightsRequest -QueryScheduledBlockHeightsRequest - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `chain_id` | [uint64](#uint64) | | | - - - - - - - - -### QueryScheduledBlockHeightsResponse -QueryScheduledBlockHeightsResponse - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `block_heights` | [uint64](#uint64) | repeated | | - - - - - - - - -### QueryScheduledCorksByBlockHeightRequest -QueryScheduledCorksByBlockHeightRequest - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `block_height` | [uint64](#uint64) | | | -| `chain_id` | [uint64](#uint64) | | | - - - - - - - - -### QueryScheduledCorksByBlockHeightResponse -QueryScheduledCorksByBlockHeightResponse - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `corks` | [ScheduledAxelarCork](#axelarcork.v1.ScheduledAxelarCork) | repeated | | - - - - - - - - -### QueryScheduledCorksByIDRequest -QueryScheduledCorksByIDRequest - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `id` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | - - - - - - - - -### QueryScheduledCorksByIDResponse -QueryScheduledCorksByIDResponse - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `corks` | [ScheduledAxelarCork](#axelarcork.v1.ScheduledAxelarCork) | repeated | | - - - - - - - - -### QueryScheduledCorksRequest -QueryScheduledCorksRequest - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `chain_id` | [uint64](#uint64) | | | - - - - - - - - -### QueryScheduledCorksResponse -QueryScheduledCorksResponse - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `corks` | [ScheduledAxelarCork](#axelarcork.v1.ScheduledAxelarCork) | repeated | | - - - - - - - - -### QueryWinningAxelarCorkRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `chain_id` | [uint64](#uint64) | | | -| `contract_address` | [string](#string) | | | - - - - - - - - -### QueryWinningAxelarCorkResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `cork` | [AxelarCork](#axelarcork.v1.AxelarCork) | | | -| `block_height` | [uint64](#uint64) | | | - - - - - - - - -### QueryWinningAxelarCorksRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `chain_id` | [uint64](#uint64) | | | - - - - - - - - -### QueryWinningAxelarCorksResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `winning_axelar_corks` | [WinningAxelarCork](#axelarcork.v1.WinningAxelarCork) | repeated | | - - - - - - - - - - - - - - -### Query -Query defines the gRPC query service for the cork module. - -| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | -| ----------- | ------------ | ------------- | ------------| ------- | -------- | -| `QueryParams` | [QueryParamsRequest](#axelarcork.v1.QueryParamsRequest) | [QueryParamsResponse](#axelarcork.v1.QueryParamsResponse) | QueryParams queries the axelar cork module parameters. | GET|/sommelier/cork/v1/params| -| `QueryCellarIDs` | [QueryCellarIDsRequest](#axelarcork.v1.QueryCellarIDsRequest) | [QueryCellarIDsResponse](#axelarcork.v1.QueryCellarIDsResponse) | QueryCellarIDs queries approved cellar ids of all supported chains | GET|/sommelier/axelarcork/v1/cellar_ids| -| `QueryCellarIDsByChainID` | [QueryCellarIDsByChainIDRequest](#axelarcork.v1.QueryCellarIDsByChainIDRequest) | [QueryCellarIDsByChainIDResponse](#axelarcork.v1.QueryCellarIDsByChainIDResponse) | QueryCellarIDsByChainID returns all cellars and current tick ranges | GET|/sommelier/axelarcork/v1/cellar_ids_by_chain_id| -| `QueryScheduledCorks` | [QueryScheduledCorksRequest](#axelarcork.v1.QueryScheduledCorksRequest) | [QueryScheduledCorksResponse](#axelarcork.v1.QueryScheduledCorksResponse) | QueryScheduledCorks returns all scheduled corks | GET|/sommelier/axelarcork/v1/scheduled_corks| -| `QueryScheduledBlockHeights` | [QueryScheduledBlockHeightsRequest](#axelarcork.v1.QueryScheduledBlockHeightsRequest) | [QueryScheduledBlockHeightsResponse](#axelarcork.v1.QueryScheduledBlockHeightsResponse) | QueryScheduledBlockHeights returns all scheduled block heights | GET|/sommelier/axelarcork/v1/scheduled_block_heights| -| `QueryScheduledCorksByBlockHeight` | [QueryScheduledCorksByBlockHeightRequest](#axelarcork.v1.QueryScheduledCorksByBlockHeightRequest) | [QueryScheduledCorksByBlockHeightResponse](#axelarcork.v1.QueryScheduledCorksByBlockHeightResponse) | QueryScheduledCorks returns all scheduled corks at a block height | GET|/sommelier/axelarcork/v1/scheduled_corks_by_block_height/{block_height}| -| `QueryScheduledCorksByID` | [QueryScheduledCorksByIDRequest](#axelarcork.v1.QueryScheduledCorksByIDRequest) | [QueryScheduledCorksByIDResponse](#axelarcork.v1.QueryScheduledCorksByIDResponse) | QueryScheduledCorks returns all scheduled corks with the specified ID | GET|/sommelier/axelarcork/v1/scheduled_corks_by_id/{id}| -| `QueryCorkResult` | [QueryCorkResultRequest](#axelarcork.v1.QueryCorkResultRequest) | [QueryCorkResultResponse](#axelarcork.v1.QueryCorkResultResponse) | | GET|/sommelier/axelarcork/v1/cork_results/{id}| -| `QueryCorkResults` | [QueryCorkResultsRequest](#axelarcork.v1.QueryCorkResultsRequest) | [QueryCorkResultsResponse](#axelarcork.v1.QueryCorkResultsResponse) | | GET|/sommelier/axelarcork/v1/cork_results| -| `QueryChainConfigurations` | [QueryChainConfigurationsRequest](#axelarcork.v1.QueryChainConfigurationsRequest) | [QueryChainConfigurationsResponse](#axelarcork.v1.QueryChainConfigurationsResponse) | | GET|/sommelier/axelarcork/v1/chain_configurations| -| `QueryAxelarContractCallNonces` | [QueryAxelarContractCallNoncesRequest](#axelarcork.v1.QueryAxelarContractCallNoncesRequest) | [QueryAxelarContractCallNoncesResponse](#axelarcork.v1.QueryAxelarContractCallNoncesResponse) | | GET|/sommelier/axelarcork/v1/contract_call_nonces| -| `QueryAxelarProxyUpgradeData` | [QueryAxelarProxyUpgradeDataRequest](#axelarcork.v1.QueryAxelarProxyUpgradeDataRequest) | [QueryAxelarProxyUpgradeDataResponse](#axelarcork.v1.QueryAxelarProxyUpgradeDataResponse) | | GET|/sommelier/axelarcork/v1/proxy_upgrade_data| -| `QueryWinningAxelarCork` | [QueryWinningAxelarCorkRequest](#axelarcork.v1.QueryWinningAxelarCorkRequest) | [QueryWinningAxelarCorkResponse](#axelarcork.v1.QueryWinningAxelarCorkResponse) | | GET|/sommelier/axelarcork/v1/winning_axelar_corks/{chain_id}/{contract_address}| -| `QueryWinningAxelarCorks` | [QueryWinningAxelarCorksRequest](#axelarcork.v1.QueryWinningAxelarCorksRequest) | [QueryWinningAxelarCorksResponse](#axelarcork.v1.QueryWinningAxelarCorksResponse) | | GET|/sommelier/axelarcork/v1/winning_axelar_corks/{chain_id}| - - - - - - -

Top

- -## axelarcork/v1/tx.proto - - - - - -### MsgBumpAxelarCorkGasRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `signer` | [string](#string) | | | -| `token` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | -| `message_id` | [string](#string) | | | - - - - - - - - -### MsgBumpAxelarCorkGasResponse - - - - - - - - - -### MsgCancelAxelarCorkRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `signer` | [string](#string) | | | -| `chain_id` | [uint64](#uint64) | | | -| `target_contract_address` | [string](#string) | | | - - - - - - - - -### MsgCancelAxelarCorkResponse - - - - - - - - - -### MsgRelayAxelarCorkRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `signer` | [string](#string) | | | -| `token` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | -| `fee` | [uint64](#uint64) | | | -| `chain_id` | [uint64](#uint64) | | | -| `target_contract_address` | [string](#string) | | | - - - - - - - - -### MsgRelayAxelarCorkResponse - - - - - - - - - -### MsgRelayAxelarProxyUpgradeRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `signer` | [string](#string) | | | -| `token` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | -| `fee` | [uint64](#uint64) | | | -| `chain_id` | [uint64](#uint64) | | | - - - - - - - - -### MsgRelayAxelarProxyUpgradeResponse - - - - - - - - - -### MsgScheduleAxelarCorkRequest -MsgScheduleCorkRequest - sdk.Msg for scheduling a cork request for on or after a specific block height - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `cork` | [AxelarCork](#axelarcork.v1.AxelarCork) | | the scheduled cork | -| `chain_id` | [uint64](#uint64) | | the chain id | -| `block_height` | [uint64](#uint64) | | the block height that must be reached | -| `signer` | [string](#string) | | signer account address | - - - - - - - - -### MsgScheduleAxelarCorkResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `id` | [string](#string) | | cork ID | - - - - - - - - - - - - - - -### Msg -MsgService defines the msgs that the cork module handles - -| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | -| ----------- | ------------ | ------------- | ------------| ------- | -------- | -| `ScheduleCork` | [MsgScheduleAxelarCorkRequest](#axelarcork.v1.MsgScheduleAxelarCorkRequest) | [MsgScheduleAxelarCorkResponse](#axelarcork.v1.MsgScheduleAxelarCorkResponse) | | | -| `RelayCork` | [MsgRelayAxelarCorkRequest](#axelarcork.v1.MsgRelayAxelarCorkRequest) | [MsgRelayAxelarCorkResponse](#axelarcork.v1.MsgRelayAxelarCorkResponse) | | | -| `BumpCorkGas` | [MsgBumpAxelarCorkGasRequest](#axelarcork.v1.MsgBumpAxelarCorkGasRequest) | [MsgBumpAxelarCorkGasResponse](#axelarcork.v1.MsgBumpAxelarCorkGasResponse) | | | -| `CancelScheduledCork` | [MsgCancelAxelarCorkRequest](#axelarcork.v1.MsgCancelAxelarCorkRequest) | [MsgCancelAxelarCorkResponse](#axelarcork.v1.MsgCancelAxelarCorkResponse) | | | - - - - - - -

Top

- -## cellarfees/v1/cellarfees.proto - - - - - -### FeeAccrualCounter - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `denom` | [string](#string) | | | -| `count` | [uint64](#uint64) | | | - - - - - - - - -### FeeAccrualCounters - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `counters` | [FeeAccrualCounter](#cellarfees.v1.FeeAccrualCounter) | repeated | | - - - - - - - - - - - - - - - - -

Top

- -## cellarfees/v1/params.proto - - - - - -### Params -Params defines the parameters for the module. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `fee_accrual_auction_threshold` | [uint64](#uint64) | | The number of fee accruals after which an auction should be started | -| `reward_emission_period` | [uint64](#uint64) | | Emission rate factor. Specifically, the number of blocks over which to distribute some amount of staking rewards. | -| `initial_price_decrease_rate` | [string](#string) | | The initial rate at which auctions should decrease their denom's price in SOMM | -| `price_decrease_block_interval` | [uint64](#uint64) | | Number of blocks between auction price decreases | -| `auction_interval` | [uint64](#uint64) | | The interval between starting auctions | - - - - - - - - - - - - - - - - -

Top

- -## cellarfees/v1/genesis.proto - - - - - -### GenesisState -GenesisState defines the cellarfees module's genesis state. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `params` | [Params](#cellarfees.v1.Params) | | | -| `fee_accrual_counters` | [FeeAccrualCounters](#cellarfees.v1.FeeAccrualCounters) | | | -| `last_reward_supply_peak` | [string](#string) | | | - - - - - - - - - - - - - - - - -

Top

- -## cellarfees/v1/query.proto - - - - - -### QueryAPYRequest - - - - - - - - - -### QueryAPYResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `apy` | [string](#string) | | | - - - - - - - - -### QueryFeeAccrualCountersRequest - - - - - - - - - -### QueryFeeAccrualCountersResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `fee_accrual_counters` | [FeeAccrualCounters](#cellarfees.v1.FeeAccrualCounters) | | | - - - - - - - - -### QueryLastRewardSupplyPeakRequest - - - - - - - - - -### QueryLastRewardSupplyPeakResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `last_reward_supply_peak` | [string](#string) | | | - - - - - - - - -### QueryModuleAccountsRequest - - - - - - - - - -### QueryModuleAccountsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `fees_address` | [string](#string) | | | - - - - - - - - -### QueryParamsRequest - - - - - - - - - -### QueryParamsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `params` | [Params](#cellarfees.v1.Params) | | | - - - - - - - - - - - - - - -### Query - - -| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | -| ----------- | ------------ | ------------- | ------------| ------- | -------- | -| `QueryParams` | [QueryParamsRequest](#cellarfees.v1.QueryParamsRequest) | [QueryParamsResponse](#cellarfees.v1.QueryParamsResponse) | | GET|/sommelier/cellarfees/v1/params| -| `QueryModuleAccounts` | [QueryModuleAccountsRequest](#cellarfees.v1.QueryModuleAccountsRequest) | [QueryModuleAccountsResponse](#cellarfees.v1.QueryModuleAccountsResponse) | | GET|/sommelier/cellarfees/v1/module_accounts| -| `QueryLastRewardSupplyPeak` | [QueryLastRewardSupplyPeakRequest](#cellarfees.v1.QueryLastRewardSupplyPeakRequest) | [QueryLastRewardSupplyPeakResponse](#cellarfees.v1.QueryLastRewardSupplyPeakResponse) | | GET|/sommelier/cellarfees/v1/last_reward_supply_peak| -| `QueryFeeAccrualCounters` | [QueryFeeAccrualCountersRequest](#cellarfees.v1.QueryFeeAccrualCountersRequest) | [QueryFeeAccrualCountersResponse](#cellarfees.v1.QueryFeeAccrualCountersResponse) | | GET|/sommelier/cellarfees/v1/fee_accrual_counters| -| `QueryAPY` | [QueryAPYRequest](#cellarfees.v1.QueryAPYRequest) | [QueryAPYResponse](#cellarfees.v1.QueryAPYResponse) | | GET|/sommelier/cellarfees/v1/apy| - - - - - - -

Top

- -## cork/v2/cork.proto - - - - - -### CellarIDSet - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `ids` | [string](#string) | repeated | | - - - - - - - - -### Cork - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `encoded_contract_call` | [bytes](#bytes) | | call body containing the ABI encoded bytes to send to the contract | -| `target_contract_address` | [string](#string) | | address of the contract to send the call | - - - - - - - - -### CorkResult - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `cork` | [Cork](#cork.v2.Cork) | | | -| `block_height` | [uint64](#uint64) | | | -| `approved` | [bool](#bool) | | | -| `approval_percentage` | [string](#string) | | | - - - - - - - - -### ScheduledCork - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `cork` | [Cork](#cork.v2.Cork) | | | -| `block_height` | [uint64](#uint64) | | | -| `validator` | [string](#string) | | | -| `id` | [bytes](#bytes) | | | - - - - - - - - - - - - - - - - -

Top

- -## cork/v2/genesis.proto - - - - - -### GenesisState -GenesisState - all cork state that must be provided at genesis - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `params` | [Params](#cork.v2.Params) | | | -| `cellar_ids` | [CellarIDSet](#cork.v2.CellarIDSet) | | | -| `invalidation_nonce` | [uint64](#uint64) | | | -| `scheduled_corks` | [ScheduledCork](#cork.v2.ScheduledCork) | repeated | | -| `cork_results` | [CorkResult](#cork.v2.CorkResult) | repeated | | - - - - - - - - -### Params -Params cork parameters - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `vote_threshold` | [string](#string) | | Deprecated VoteThreshold defines the percentage of bonded stake required to vote for a scheduled cork to be approved | -| `max_corks_per_validator` | [uint64](#uint64) | | | - - - - - - - - - - - - - - - - -

Top

- -## cork/v2/proposal.proto - - - - - -### AddManagedCellarIDsProposal - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `cellar_ids` | [CellarIDSet](#cork.v2.CellarIDSet) | | | -| `publisher_domain` | [string](#string) | | | - - - - - - - - -### AddManagedCellarIDsProposalWithDeposit -AddManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `cellar_ids` | [string](#string) | repeated | | -| `publisher_domain` | [string](#string) | | | -| `deposit` | [string](#string) | | | - - - - - - - - -### RemoveManagedCellarIDsProposal - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `cellar_ids` | [CellarIDSet](#cork.v2.CellarIDSet) | | | - - - - - - - - -### RemoveManagedCellarIDsProposalWithDeposit -RemoveManagedCellarIDsProposalWithDeposit is a specific definition for CLI commands - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `cellar_ids` | [string](#string) | repeated | | -| `deposit` | [string](#string) | | | - - - - - - - - -### ScheduledCorkProposal - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `block_height` | [uint64](#uint64) | | | -| `target_contract_address` | [string](#string) | | | -| `contract_call_proto_json` | [string](#string) | | The JSON representation of a ScheduleRequest defined in the Steward protos - -Example: The following is the JSON form of a ScheduleRequest containing a steward.v2.cellar_v1.TrustPosition message, which maps to the `trustPosition(address)` function of the the V1 Cellar contract. - -{ "cellar_id": "0x1234567890000000000000000000000000000000", "cellar_v1": { "trust_position": { "erc20_address": "0x1234567890000000000000000000000000000000" } }, "block_height": 1000000 } - -You can use the Steward CLI to generate the required JSON rather than constructing it by hand https://github.com/peggyjv/steward | - - - - - - - - -### ScheduledCorkProposalWithDeposit -ScheduledCorkProposalWithDeposit is a specific definition for CLI commands - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `block_height` | [uint64](#uint64) | | | -| `target_contract_address` | [string](#string) | | | -| `contract_call_proto_json` | [string](#string) | | | -| `deposit` | [string](#string) | | | - - - - - - - - - - - - - - - - -

Top

- -## cork/v2/query.proto - - - - - -### QueryCellarIDsRequest -QueryCellarIDsRequest is the request type for Query/QueryCellarIDs gRPC method. - - - - - - - - -### QueryCellarIDsResponse -QueryCellarIDsResponse is the response type for Query/QueryCellars gRPC method. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `cellar_ids` | [string](#string) | repeated | | - - - - - - - - -### QueryCorkResultRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `id` | [string](#string) | | | - - - - - - - - -### QueryCorkResultResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `corkResult` | [CorkResult](#cork.v2.CorkResult) | | | - - - - - - - - -### QueryCorkResultsRequest - - - - - - - - - -### QueryCorkResultsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `corkResults` | [CorkResult](#cork.v2.CorkResult) | repeated | | - - - - - - - - -### QueryParamsRequest -QueryParamsRequest is the request type for the Query/Params gRPC method. - - - - - - - - -### QueryParamsResponse -QueryParamsRequest is the response type for the Query/Params gRPC method. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `params` | [Params](#cork.v2.Params) | | allocation parameters | - - - - - - - - -### QueryScheduledBlockHeightsRequest -QueryScheduledBlockHeightsRequest - - - - - - - - -### QueryScheduledBlockHeightsResponse -QueryScheduledBlockHeightsResponse - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `block_heights` | [uint64](#uint64) | repeated | | - - - - - - - - -### QueryScheduledCorksByBlockHeightRequest -QueryScheduledCorksByBlockHeightRequest - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `block_height` | [uint64](#uint64) | | | - - - - - - - - -### QueryScheduledCorksByBlockHeightResponse -QueryScheduledCorksByBlockHeightResponse - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `corks` | [ScheduledCork](#cork.v2.ScheduledCork) | repeated | | - - - - - - - - -### QueryScheduledCorksByIDRequest -QueryScheduledCorksByIDRequest - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `id` | [string](#string) | | | - - - - - - - - -### QueryScheduledCorksByIDResponse -QueryScheduledCorksByIDResponse - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `corks` | [ScheduledCork](#cork.v2.ScheduledCork) | repeated | | - - - - - - - - -### QueryScheduledCorksRequest -QueryScheduledCorksRequest - - - - - - - - -### QueryScheduledCorksResponse -QueryScheduledCorksResponse - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `corks` | [ScheduledCork](#cork.v2.ScheduledCork) | repeated | | - - - - - - - - - - - - - - -### Query -Query defines the gRPC query service for the cork module. - -| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | -| ----------- | ------------ | ------------- | ------------| ------- | -------- | -| `QueryParams` | [QueryParamsRequest](#cork.v2.QueryParamsRequest) | [QueryParamsResponse](#cork.v2.QueryParamsResponse) | QueryParams queries the allocation module parameters. | GET|/sommelier/cork/v2/params| -| `QueryCellarIDs` | [QueryCellarIDsRequest](#cork.v2.QueryCellarIDsRequest) | [QueryCellarIDsResponse](#cork.v2.QueryCellarIDsResponse) | QueryCellarIDs returns all cellars and current tick ranges | GET|/sommelier/cork/v2/cellar_ids| -| `QueryScheduledCorks` | [QueryScheduledCorksRequest](#cork.v2.QueryScheduledCorksRequest) | [QueryScheduledCorksResponse](#cork.v2.QueryScheduledCorksResponse) | QueryScheduledCorks returns all scheduled corks | GET|/sommelier/cork/v2/scheduled_corks| -| `QueryScheduledBlockHeights` | [QueryScheduledBlockHeightsRequest](#cork.v2.QueryScheduledBlockHeightsRequest) | [QueryScheduledBlockHeightsResponse](#cork.v2.QueryScheduledBlockHeightsResponse) | QueryScheduledBlockHeights returns all scheduled block heights | GET|/sommelier/cork/v2/scheduled_block_heights| -| `QueryScheduledCorksByBlockHeight` | [QueryScheduledCorksByBlockHeightRequest](#cork.v2.QueryScheduledCorksByBlockHeightRequest) | [QueryScheduledCorksByBlockHeightResponse](#cork.v2.QueryScheduledCorksByBlockHeightResponse) | QueryScheduledCorks returns all scheduled corks at a block height | GET|/sommelier/cork/v2/scheduled_corks_by_block_height/{block_height}| -| `QueryScheduledCorksByID` | [QueryScheduledCorksByIDRequest](#cork.v2.QueryScheduledCorksByIDRequest) | [QueryScheduledCorksByIDResponse](#cork.v2.QueryScheduledCorksByIDResponse) | QueryScheduledCorks returns all scheduled corks with the specified ID | GET|/sommelier/cork/v2/scheduled_corks_by_id/{id}| -| `QueryCorkResult` | [QueryCorkResultRequest](#cork.v2.QueryCorkResultRequest) | [QueryCorkResultResponse](#cork.v2.QueryCorkResultResponse) | | GET|/sommelier/cork/v2/cork_results/{id}| -| `QueryCorkResults` | [QueryCorkResultsRequest](#cork.v2.QueryCorkResultsRequest) | [QueryCorkResultsResponse](#cork.v2.QueryCorkResultsResponse) | | GET|/sommelier/cork/v2/cork_results| - - - - - - -

Top

- -## cork/v2/tx.proto - - - - - -### MsgScheduleCorkRequest -MsgScheduleCorkRequest - sdk.Msg for scheduling a cork request for on or after a specific block height - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `cork` | [Cork](#cork.v2.Cork) | | the scheduled cork | -| `block_height` | [uint64](#uint64) | | the block height that must be reached | -| `signer` | [string](#string) | | signer account address | - - - - - - - - -### MsgScheduleCorkResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `id` | [string](#string) | | cork ID | - - - - - - - - - - - - - - -### Msg -MsgService defines the msgs that the cork module handles - -| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | -| ----------- | ------------ | ------------- | ------------| ------- | -------- | -| `ScheduleCork` | [MsgScheduleCorkRequest](#cork.v2.MsgScheduleCorkRequest) | [MsgScheduleCorkResponse](#cork.v2.MsgScheduleCorkResponse) | | | - - - - - - -

Top

- -## incentives/v1/genesis.proto - - - - - -### GenesisState - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `params` | [Params](#incentives.v1.Params) | | | - - - - - - - - -### Params -Params incentives parameters - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `distribution_per_block` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | DistributionPerBlock defines the coin to be sent to the distribution module from the community pool every block | -| `incentives_cutoff_height` | [uint64](#uint64) | | IncentivesCutoffHeight defines the block height after which the incentives module will stop sending coins to the distribution module from the community pool | - - - - - - - - - - - - - - - - -

Top

- -## incentives/v1/query.proto - - - - - -### QueryAPYRequest -QueryAPYRequest is the request type for the QueryAPY gRPC method. - - - - - - - - -### QueryAPYResponse -QueryAPYRequest is the response type for the QueryAPY gRPC method. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `apy` | [string](#string) | | | - - - - - - - - -### QueryParamsRequest -QueryParamsRequest is the request type for the QueryParams gRPC method. - - - - - - - - -### QueryParamsResponse -QueryParamsRequest is the response type for the QueryParams gRPC method. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `params` | [Params](#incentives.v1.Params) | | allocation parameters | - - - - - - - - - - - - - - -### Query -Query defines the gRPC query service for the cork module. - -| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | -| ----------- | ------------ | ------------- | ------------| ------- | -------- | -| `QueryParams` | [QueryParamsRequest](#incentives.v1.QueryParamsRequest) | [QueryParamsResponse](#incentives.v1.QueryParamsResponse) | QueryParams queries the allocation module parameters. | GET|/sommelier/incentives/v1/params| -| `QueryAPY` | [QueryAPYRequest](#incentives.v1.QueryAPYRequest) | [QueryAPYResponse](#incentives.v1.QueryAPYResponse) | QueryAPY queries the APY returned from the incentives module. | GET|/sommelier/incentives/v1/apy| - - - - - - -

Top

- -## pubsub/v1/params.proto - - - - - -### Params -Params defines the parameters for the module. - - - - - - - - - - - - - - - - -

Top

- -## pubsub/v1/pubsub.proto - - - - - -### AddDefaultSubscriptionProposal -set the default publisher for a given subscription ID -these can be overridden by the client - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `subscription_id` | [string](#string) | | | -| `publisher_domain` | [string](#string) | | | - - - - - - - - -### AddDefaultSubscriptionProposalWithDeposit - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `subscription_id` | [string](#string) | | | -| `publisher_domain` | [string](#string) | | | -| `deposit` | [string](#string) | | | - - - - - - - - -### AddPublisherProposal -governance proposal to add a publisher, with domain, adress, and ca_cert the same as the Publisher type -proof URL expected in the format: https:///
/cacert.pem and serving cacert.pem matching ca_cert - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `domain` | [string](#string) | | | -| `address` | [string](#string) | | | -| `proof_url` | [string](#string) | | | -| `ca_cert` | [string](#string) | | | - - - - - - - - -### AddPublisherProposalWithDeposit - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `domain` | [string](#string) | | | -| `address` | [string](#string) | | | -| `proof_url` | [string](#string) | | | -| `ca_cert` | [string](#string) | | | -| `deposit` | [string](#string) | | | - - - - - - - - -### DefaultSubscription -represents a default subscription voted in by governance that can be overridden by a subscriber - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscription_id` | [string](#string) | | arbitary string representing a subscription, max length of 128 | -| `publisher_domain` | [string](#string) | | FQDN of the publisher, max length of 256 | - - - - - - - - -### Publisher -represents a publisher, which are added via governance - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `address` | [string](#string) | | account address of the publisher | -| `domain` | [string](#string) | | unique key, FQDN of the publisher, max length of 256 | -| `ca_cert` | [string](#string) | | the publisher's self-signed CA cert PEM file, expecting TLS 1.3 compatible ECDSA certificates, max length 4096 | - - - - - - - - -### PublisherIntent -represents a publisher committing to sending messages for a specific subscription ID - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscription_id` | [string](#string) | | arbitary string representing a subscription, max length of 128 | -| `publisher_domain` | [string](#string) | | FQDN of the publisher, max length of 256 | -| `method` | [PublishMethod](#pubsub.v1.PublishMethod) | | either PULL or PUSH (see enum above for details) | -| `pull_url` | [string](#string) | | optional, only needs to be set if using the PULL method, max length of 512 | -| `allowed_subscribers` | [AllowedSubscribers](#pubsub.v1.AllowedSubscribers) | | either ANY, VALIDATORS, or LIST (see enum above for details) | -| `allowed_addresses` | [string](#string) | repeated | optional, must be provided if allowed_subscribers is LIST, list of account addresses, max length 256 | - - - - - - - - -### RemoveDefaultSubscriptionProposal -remove a default subscription - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `subscription_id` | [string](#string) | | | - - - - - - - - -### RemoveDefaultSubscriptionProposalWithDeposit - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `subscription_id` | [string](#string) | | | -| `deposit` | [string](#string) | | | - - - - - - - - -### RemovePublisherProposal -governance proposal to remove a publisher (publishers can remove themselves, but this might be necessary in the -event of a malicious publisher or a key compromise), since Publishers are unique by domain, it's the only -necessary information to remove one - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `domain` | [string](#string) | | | - - - - - - - - -### RemovePublisherProposalWithDeposit - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `title` | [string](#string) | | | -| `description` | [string](#string) | | | -| `domain` | [string](#string) | | | -| `deposit` | [string](#string) | | | - - - - - - - - -### Subscriber -represents a subscriber, can be set or modified by the owner of the subscriber address - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `address` | [string](#string) | | unique key, account address representation of either an account or a validator | -| `ca_cert` | [string](#string) | | the subscriber's self-signed CA cert PEM file, expecting TLS 1.3 compatible ECDSA certificates, max length 4096 | -| `push_url` | [string](#string) | | max length of 512 | - - - - - - - - -### SubscriberIntent -represents a subscriber requesting messages for a specific subscription ID and publisher - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscription_id` | [string](#string) | | arbitary string representing a subscription, max length of 128 | -| `subscriber_address` | [string](#string) | | account address of the subscriber | -| `publisher_domain` | [string](#string) | | FQDN of the publisher, max length of 256 | - - - - - - - - - - -### AllowedSubscribers -for a given PublisherIntent, determines what types of subscribers may subscribe - -| Name | Number | Description | -| ---- | ------ | ----------- | -| ANY | 0 | any valid account address | -| VALIDATORS | 1 | account address must map to a validator in the active validator set | -| LIST | 2 | a specific list of account addresses | - - - - - -### PublishMethod -for a given PublisherIntent, whether or not it is pulled or pushed - -| Name | Number | Description | -| ---- | ------ | ----------- | -| PULL | 0 | subscribers should pull from the provided URL | -| PUSH | 1 | subscribers must provide a URL to receive push messages | - - - - - - - - - - - -

Top

- -## pubsub/v1/genesis.proto - - - - - -### GenesisState -GenesisState defines the pubsub module's genesis state. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `params` | [Params](#pubsub.v1.Params) | | | -| `publishers` | [Publisher](#pubsub.v1.Publisher) | repeated | | -| `subscribers` | [Subscriber](#pubsub.v1.Subscriber) | repeated | | -| `publisher_intents` | [PublisherIntent](#pubsub.v1.PublisherIntent) | repeated | | -| `subscriber_intents` | [SubscriberIntent](#pubsub.v1.SubscriberIntent) | repeated | | -| `default_subscriptions` | [DefaultSubscription](#pubsub.v1.DefaultSubscription) | repeated | | - - - - - - - - - - - - - - - - -

Top

- -## pubsub/v1/query.proto - - - - - -### QueryDefaultSubscriptionRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscription_id` | [string](#string) | | | - - - - - - - - -### QueryDefaultSubscriptionResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `default_subscription` | [DefaultSubscription](#pubsub.v1.DefaultSubscription) | | | - - - - - - - - -### QueryDefaultSubscriptionsRequest - - - - - - - - - -### QueryDefaultSubscriptionsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `default_subscriptions` | [DefaultSubscription](#pubsub.v1.DefaultSubscription) | repeated | | - - - - - - - - -### QueryParamsRequest - - - - - - - - - -### QueryParamsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `params` | [Params](#pubsub.v1.Params) | | | - - - - - - - - -### QueryPublisherIntentRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `publisher_domain` | [string](#string) | | | -| `subscription_id` | [string](#string) | | | - - - - - - - - -### QueryPublisherIntentResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `publisher_intent` | [PublisherIntent](#pubsub.v1.PublisherIntent) | | | - - - - - - - - -### QueryPublisherIntentsByPublisherDomainRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `publisher_domain` | [string](#string) | | | - - - - - - - - -### QueryPublisherIntentsByPublisherDomainResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `publisher_intents` | [PublisherIntent](#pubsub.v1.PublisherIntent) | repeated | | - - - - - - - - -### QueryPublisherIntentsBySubscriptionIDRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscription_id` | [string](#string) | | | - - - - - - - - -### QueryPublisherIntentsBySubscriptionIDResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `publisher_intents` | [PublisherIntent](#pubsub.v1.PublisherIntent) | repeated | | - - - - - - - - -### QueryPublisherIntentsRequest - - - - - - - - - -### QueryPublisherIntentsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `publisher_intents` | [PublisherIntent](#pubsub.v1.PublisherIntent) | repeated | | - - - - - - - - -### QueryPublisherRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `publisher_domain` | [string](#string) | | | - - - - - - - - -### QueryPublisherResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `publisher` | [Publisher](#pubsub.v1.Publisher) | | | - - - - - - - - -### QueryPublishersRequest - - - - - - - - - -### QueryPublishersResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `publishers` | [Publisher](#pubsub.v1.Publisher) | repeated | | - - - - - - - - -### QuerySubscriberIntentRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscriber_address` | [string](#string) | | | -| `subscription_id` | [string](#string) | | | - - - - - - - - -### QuerySubscriberIntentResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscriber_intent` | [SubscriberIntent](#pubsub.v1.SubscriberIntent) | | | - - - - - - - - -### QuerySubscriberIntentsByPublisherDomainRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `publisher_domain` | [string](#string) | | | - - - - - - - - -### QuerySubscriberIntentsByPublisherDomainResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscriber_intents` | [SubscriberIntent](#pubsub.v1.SubscriberIntent) | repeated | | - - - - - - - - -### QuerySubscriberIntentsBySubscriberAddressRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscriber_address` | [string](#string) | | | - - - - - - - - -### QuerySubscriberIntentsBySubscriberAddressResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscriber_intents` | [SubscriberIntent](#pubsub.v1.SubscriberIntent) | repeated | | - - - - - - - - -### QuerySubscriberIntentsBySubscriptionIDRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscription_id` | [string](#string) | | | - - - - - - - - -### QuerySubscriberIntentsBySubscriptionIDResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscriber_intents` | [SubscriberIntent](#pubsub.v1.SubscriberIntent) | repeated | | - - - - - - - - -### QuerySubscriberIntentsRequest - - - - - - - - - -### QuerySubscriberIntentsResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscriber_intents` | [SubscriberIntent](#pubsub.v1.SubscriberIntent) | repeated | | - - - - - - - - -### QuerySubscriberRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscriber_address` | [string](#string) | | | - - - - - - - - -### QuerySubscriberResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscriber` | [Subscriber](#pubsub.v1.Subscriber) | | | - - - - - - - - -### QuerySubscribersRequest - - - - - - - - - -### QuerySubscribersResponse - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscribers` | [Subscriber](#pubsub.v1.Subscriber) | repeated | | - - - - - - - - - - - - - - -### Query - - -| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | -| ----------- | ------------ | ------------- | ------------| ------- | -------- | -| `Params` | [QueryParamsRequest](#pubsub.v1.QueryParamsRequest) | [QueryParamsResponse](#pubsub.v1.QueryParamsResponse) | | GET|/sommelier/pubsub/v1/params| -| `QueryPublisher` | [QueryPublisherRequest](#pubsub.v1.QueryPublisherRequest) | [QueryPublisherResponse](#pubsub.v1.QueryPublisherResponse) | | GET|/sommelier/pubsub/v1/publishers/{publisher_domain}| -| `QueryPublishers` | [QueryPublishersRequest](#pubsub.v1.QueryPublishersRequest) | [QueryPublishersResponse](#pubsub.v1.QueryPublishersResponse) | | GET|/sommelier/pubsub/v1/publishers| -| `QuerySubscriber` | [QuerySubscriberRequest](#pubsub.v1.QuerySubscriberRequest) | [QuerySubscriberResponse](#pubsub.v1.QuerySubscriberResponse) | | GET|/sommelier/pubsub/v1/subscribers/{subscriber_address}| -| `QuerySubscribers` | [QuerySubscribersRequest](#pubsub.v1.QuerySubscribersRequest) | [QuerySubscribersResponse](#pubsub.v1.QuerySubscribersResponse) | | GET|/sommelier/pubsub/v1/subscribers| -| `QueryPublisherIntent` | [QueryPublisherIntentRequest](#pubsub.v1.QueryPublisherIntentRequest) | [QueryPublisherIntentResponse](#pubsub.v1.QueryPublisherIntentResponse) | | GET|/sommelier/pubsub/v1/publisher_intents/{publisher_domain}/{subscription_id}| -| `QueryPublisherIntents` | [QueryPublisherIntentsRequest](#pubsub.v1.QueryPublisherIntentsRequest) | [QueryPublisherIntentsResponse](#pubsub.v1.QueryPublisherIntentsResponse) | | GET|/sommelier/pubsub/v1/publisher_intents| -| `QueryPublisherIntentsByPublisherDomain` | [QueryPublisherIntentsByPublisherDomainRequest](#pubsub.v1.QueryPublisherIntentsByPublisherDomainRequest) | [QueryPublisherIntentsByPublisherDomainResponse](#pubsub.v1.QueryPublisherIntentsByPublisherDomainResponse) | | GET|/sommelier/pubsub/v1/publisher_intents/{publisher_domain}| -| `QueryPublisherIntentsBySubscriptionID` | [QueryPublisherIntentsBySubscriptionIDRequest](#pubsub.v1.QueryPublisherIntentsBySubscriptionIDRequest) | [QueryPublisherIntentsBySubscriptionIDResponse](#pubsub.v1.QueryPublisherIntentsBySubscriptionIDResponse) | | GET|/sommelier/pubsub/v1/publisher_intents_by_subscription_id/{subscription_id}| -| `QuerySubscriberIntent` | [QuerySubscriberIntentRequest](#pubsub.v1.QuerySubscriberIntentRequest) | [QuerySubscriberIntentResponse](#pubsub.v1.QuerySubscriberIntentResponse) | | GET|/sommelier/pubsub/v1/subscriber_intents/{subscriber_address}/{subscription_id}| -| `QuerySubscriberIntents` | [QuerySubscriberIntentsRequest](#pubsub.v1.QuerySubscriberIntentsRequest) | [QuerySubscriberIntentsResponse](#pubsub.v1.QuerySubscriberIntentsResponse) | | GET|/sommelier/pubsub/v1/subscriber_intents| -| `QuerySubscriberIntentsBySubscriberAddress` | [QuerySubscriberIntentsBySubscriberAddressRequest](#pubsub.v1.QuerySubscriberIntentsBySubscriberAddressRequest) | [QuerySubscriberIntentsBySubscriberAddressResponse](#pubsub.v1.QuerySubscriberIntentsBySubscriberAddressResponse) | | GET|/sommelier/pubsub/v1/subscriber_intents/{subscriber_address}| -| `QuerySubscriberIntentsBySubscriptionID` | [QuerySubscriberIntentsBySubscriptionIDRequest](#pubsub.v1.QuerySubscriberIntentsBySubscriptionIDRequest) | [QuerySubscriberIntentsBySubscriptionIDResponse](#pubsub.v1.QuerySubscriberIntentsBySubscriptionIDResponse) | | GET|/sommelier/pubsub/v1/subscriber_intents_by_subscription_id/{subscription_id}| -| `QuerySubscriberIntentsByPublisherDomain` | [QuerySubscriberIntentsByPublisherDomainRequest](#pubsub.v1.QuerySubscriberIntentsByPublisherDomainRequest) | [QuerySubscriberIntentsByPublisherDomainResponse](#pubsub.v1.QuerySubscriberIntentsByPublisherDomainResponse) | | GET|/sommelier/pubsub/v1/subscriber_intents_by_publisher_domain/{publisher_domain}| -| `QueryDefaultSubscription` | [QueryDefaultSubscriptionRequest](#pubsub.v1.QueryDefaultSubscriptionRequest) | [QueryDefaultSubscriptionResponse](#pubsub.v1.QueryDefaultSubscriptionResponse) | | GET|/sommelier/pubsub/v1/default_subscriptions/{subscription_id}| -| `QueryDefaultSubscriptions` | [QueryDefaultSubscriptionsRequest](#pubsub.v1.QueryDefaultSubscriptionsRequest) | [QueryDefaultSubscriptionsResponse](#pubsub.v1.QueryDefaultSubscriptionsResponse) | | GET|/sommelier/pubsub/v1/default_subscriptions| - - - - - - -

Top

- -## pubsub/v1/tx.proto - - - - - -### MsgAddPublisherIntentRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `publisher_intent` | [PublisherIntent](#pubsub.v1.PublisherIntent) | | | -| `signer` | [string](#string) | | | - - - - - - - - -### MsgAddPublisherIntentResponse - - - - - - - - - -### MsgAddSubscriberIntentRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscriber_intent` | [SubscriberIntent](#pubsub.v1.SubscriberIntent) | | | -| `signer` | [string](#string) | | | - - - - - - - - -### MsgAddSubscriberIntentResponse - - - - - - - - - -### MsgAddSubscriberRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscriber` | [Subscriber](#pubsub.v1.Subscriber) | | | -| `signer` | [string](#string) | | | - - - - - - - - -### MsgAddSubscriberResponse - - - - - - - - - -### MsgRemovePublisherIntentRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscription_id` | [string](#string) | | | -| `publisher_domain` | [string](#string) | | | -| `signer` | [string](#string) | | | - - - - - - - - -### MsgRemovePublisherIntentResponse - - - - - - - - - -### MsgRemovePublisherRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `publisher_domain` | [string](#string) | | | -| `signer` | [string](#string) | | | - - - - - - - - -### MsgRemovePublisherResponse - - - - - - - - - -### MsgRemoveSubscriberIntentRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscription_id` | [string](#string) | | | -| `subscriber_address` | [string](#string) | | | -| `signer` | [string](#string) | | | - - - - - - - - -### MsgRemoveSubscriberIntentResponse - - - - - - - - - -### MsgRemoveSubscriberRequest - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| `subscriber_address` | [string](#string) | | | -| `signer` | [string](#string) | | | - - - - - - - - -### MsgRemoveSubscriberResponse - - - - - - - - - - - - - - - -### Msg - - -| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | -| ----------- | ------------ | ------------- | ------------| ------- | -------- | -| `RemovePublisher` | [MsgRemovePublisherRequest](#pubsub.v1.MsgRemovePublisherRequest) | [MsgRemovePublisherResponse](#pubsub.v1.MsgRemovePublisherResponse) | | | -| `AddSubscriber` | [MsgAddSubscriberRequest](#pubsub.v1.MsgAddSubscriberRequest) | [MsgAddSubscriberResponse](#pubsub.v1.MsgAddSubscriberResponse) | | | -| `RemoveSubscriber` | [MsgRemoveSubscriberRequest](#pubsub.v1.MsgRemoveSubscriberRequest) | [MsgRemoveSubscriberResponse](#pubsub.v1.MsgRemoveSubscriberResponse) | | | -| `AddPublisherIntent` | [MsgAddPublisherIntentRequest](#pubsub.v1.MsgAddPublisherIntentRequest) | [MsgAddPublisherIntentResponse](#pubsub.v1.MsgAddPublisherIntentResponse) | | | -| `RemovePublisherIntent` | [MsgRemovePublisherIntentRequest](#pubsub.v1.MsgRemovePublisherIntentRequest) | [MsgRemovePublisherIntentResponse](#pubsub.v1.MsgRemovePublisherIntentResponse) | | | -| `AddSubscriberIntent` | [MsgAddSubscriberIntentRequest](#pubsub.v1.MsgAddSubscriberIntentRequest) | [MsgAddSubscriberIntentResponse](#pubsub.v1.MsgAddSubscriberIntentResponse) | | | -| `RemoveSubscriberIntent` | [MsgRemoveSubscriberIntentRequest](#pubsub.v1.MsgRemoveSubscriberIntentRequest) | [MsgRemoveSubscriberIntentResponse](#pubsub.v1.MsgRemoveSubscriberIntentResponse) | | | - - - - - -## Scalar Value Types - -| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby | -| ----------- | ----- | --- | ---- | ------ | -- | -- | --- | ---- | -| double | | double | double | float | float64 | double | float | Float | -| float | | float | float | float | float32 | float | float | Float | -| int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | -| int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum | -| uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) | -| uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) | -| sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | -| sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum | -| fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) | -| fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum | -| sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | -| sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum | -| bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | -| string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) | -| bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) | - diff --git a/docs/protodoc-markdown.tmpl b/docs/protodoc-markdown.tmpl deleted file mode 100644 index 28201837..00000000 --- a/docs/protodoc-markdown.tmpl +++ /dev/null @@ -1,105 +0,0 @@ - -# Protobuf Documentation - - -## Table of Contents -{{range .Files}} -{{$file_name := .Name}}- [{{.Name}}](#{{.Name}}) - {{- if .Messages }} - {{range .Messages}} - [{{.LongName}}](#{{.FullName}}) - {{end}} - {{- end -}} - {{- if .Enums }} - {{range .Enums}} - [{{.LongName}}](#{{.FullName}}) - {{end}} - {{- end -}} - {{- if .Extensions }} - {{range .Extensions}} - [File-level Extensions](#{{$file_name}}-extensions) - {{end}} - {{- end -}} - {{- if .Services }} - {{range .Services}} - [{{.Name}}](#{{.FullName}}) - {{end}} - {{- end -}} -{{end}} -- [Scalar Value Types](#scalar-value-types) - -{{range .Files}} -{{$file_name := .Name}} - -

Top

- -## {{.Name}} -{{.Description}} - -{{range .Messages}} - - -### {{.LongName}} -{{.Description}} - -{{if .HasFields}} -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -{{range .Fields -}} - | `{{.Name}}` | [{{.LongType}}](#{{.FullType}}) | {{.Label}} | {{if (index .Options "deprecated"|default false)}}**Deprecated.** {{end}}{{nobr .Description}}{{if .DefaultValue}} Default: {{.DefaultValue}}{{end}} | -{{end}} -{{end}} - -{{if .HasExtensions}} -| Extension | Type | Base | Number | Description | -| --------- | ---- | ---- | ------ | ----------- | -{{range .Extensions -}} - | `{{.Name}}` | {{.LongType}} | {{.ContainingLongType}} | {{.Number}} | {{nobr .Description}}{{if .DefaultValue}} Default: {{.DefaultValue}}{{end}} | -{{end}} -{{end}} - -{{end}} - -{{range .Enums}} - - -### {{.LongName}} -{{.Description}} - -| Name | Number | Description | -| ---- | ------ | ----------- | -{{range .Values -}} - | {{.Name}} | {{.Number}} | {{nobr .Description}} | -{{end}} - -{{end}} - -{{if .HasExtensions}} - - -### File-level Extensions -| Extension | Type | Base | Number | Description | -| --------- | ---- | ---- | ------ | ----------- | -{{range .Extensions -}} - | `{{.Name}}` | {{.LongType}} | {{.ContainingLongType}} | {{.Number}} | {{nobr .Description}}{{if .DefaultValue}} Default: `{{.DefaultValue}}`{{end}} | -{{end}} -{{end}} - -{{range .Services}} - - -### {{.Name}} -{{.Description}} - -| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | -| ----------- | ------------ | ------------- | ------------| ------- | -------- | -{{range .Methods -}} - | `{{.Name}}` | [{{.RequestLongType}}](#{{.RequestFullType}}){{if .RequestStreaming}} stream{{end}} | [{{.ResponseLongType}}](#{{.ResponseFullType}}){{if .ResponseStreaming}} stream{{end}} | {{nobr .Description}} | {{with (index .Options "google.api.http")}}{{range .Rules}}{{.Method}}|{{.Pattern}}{{end}}{{end}}| -{{end}} -{{end}} - -{{end}} - -## Scalar Value Types - -| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby | -| ----------- | ----- | --- | ---- | ------ | -- | -- | --- | ---- | -{{range .Scalars -}} - | {{.ProtoType}} | {{.Notes}} | {{.CppType}} | {{.JavaType}} | {{.PythonType}} | {{.GoType}} | {{.CSharp}} | {{.PhpType}} | {{.RubyType}} | -{{end}} diff --git a/go.mod b/go.mod index c3acd521..bb44658d 100644 --- a/go.mod +++ b/go.mod @@ -5,8 +5,10 @@ go 1.19 require ( cosmossdk.io/errors v1.0.0-beta.7 cosmossdk.io/math v1.0.0-rc.0 + github.com/cosmos/cosmos-proto v1.0.0-alpha8 github.com/cosmos/cosmos-sdk v0.46.14 github.com/cosmos/go-bip39 v1.0.0 + github.com/cosmos/gogoproto v1.4.8 github.com/cosmos/ibc-go/v6 v6.2.0 github.com/ethereum/go-ethereum v1.10.22 github.com/gogo/protobuf v1.3.3 @@ -63,7 +65,6 @@ require ( github.com/confio/ics23/go v0.9.0 // indirect github.com/containerd/continuity v0.3.0 // indirect github.com/cosmos/btcutil v1.0.5 // indirect - github.com/cosmos/cosmos-proto v1.0.0-alpha8 // indirect github.com/cosmos/gorocksdb v1.2.0 // indirect github.com/cosmos/iavl v0.19.6 // indirect github.com/cosmos/ledger-cosmos-go v0.12.4 // indirect diff --git a/go.sum b/go.sum index 9f3f7624..dd41d805 100644 --- a/go.sum +++ b/go.sum @@ -247,6 +247,8 @@ github.com/cosmos/cosmos-sdk v0.46.14/go.mod h1:9MRixWsgoJ2UmVsCRRePtENFPP3cM+gT github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= +github.com/cosmos/gogoproto v1.4.8 h1:BrHKc6WFZt8+jRV71vKSQE+JrfF+JAnzrKo2VP7wIZ4= +github.com/cosmos/gogoproto v1.4.8/go.mod h1:hnb0DIEWTv+wdNzNcqus5xCQXq5+CXauq1FJuurRfVY= github.com/cosmos/gorocksdb v1.2.0 h1:d0l3jJG8M4hBouIZq0mDUHZ+zjOx044J3nGRskwTb4Y= github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw= github.com/cosmos/iavl v0.19.6 h1:XY78yEeNPrEYyNCKlqr9chrwoeSDJ0bV2VjocTk//OU= diff --git a/proto/buf.gen.doc.yaml b/proto/buf.gen.doc.yaml new file mode 100644 index 00000000..9890780e --- /dev/null +++ b/proto/buf.gen.doc.yaml @@ -0,0 +1,5 @@ +version: v1 +plugins: + - name: doc + out: ../docs/core/ + opt: ../docs/protodoc-markdown.tmpl,proto-docs.md diff --git a/proto/buf.gen.gogo.yaml b/proto/buf.gen.gogo.yaml new file mode 100644 index 00000000..9c8ba0a4 --- /dev/null +++ b/proto/buf.gen.gogo.yaml @@ -0,0 +1,8 @@ +version: v1 +plugins: + - name: gocosmos + out: .. + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - name: grpc-gateway + out: .. + opt: logtostderr=true,allow_colon_final_segments=true diff --git a/proto/buf.lock b/proto/buf.lock new file mode 100644 index 00000000..3fa18eb3 --- /dev/null +++ b/proto/buf.lock @@ -0,0 +1,18 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 88ef6483f90f478fb938c37dde52ece3 + digest: shake256:89c45df2aa11e0cff97b0d695436713db3d993d76792e9f8dc1ae90e6ab9a9bec55503d48ceedd6b86069ab07d3041b32001b2bfe0227fa725dd515ff381e5ba + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 7e6f6e774e29406da95bd61cdcdbc8bc + digest: shake256:fe43dd2265ea0c07d76bd925eeba612667cf4c948d2ce53d6e367e1b4b3cb5fa69a51e6acb1a6a50d32f894f054a35e6c0406f6808a483f2752e10c866ffbf73 diff --git a/proto/buf.yaml b/proto/buf.yaml new file mode 100644 index 00000000..b47252fd --- /dev/null +++ b/proto/buf.yaml @@ -0,0 +1,10 @@ +version: v1 +name: buf.build/sommelier/sommelier +deps: + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis +breaking: + use: + - FILE + diff --git a/proto/cork/v2/cork.proto b/proto/cork/v2/cork.proto index b42e8711..631cbfa5 100644 --- a/proto/cork/v2/cork.proto +++ b/proto/cork/v2/cork.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cork.v2; -option go_package = "github.com/peggyjv/sommelier/v7/x/cork/types"; +option go_package = "github.com/peggyjv/sommelier/v7/x/cork/types/v2"; message Cork { // call body containing the ABI encoded bytes to send to the contract diff --git a/proto/cork/v2/genesis.proto b/proto/cork/v2/genesis.proto index 1310a1f5..f0bd5af8 100644 --- a/proto/cork/v2/genesis.proto +++ b/proto/cork/v2/genesis.proto @@ -4,8 +4,7 @@ package cork.v2; import "cork/v2/cork.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/peggyjv/sommelier/v7/x/cork/types"; - +option go_package = "github.com/peggyjv/sommelier/v7/x/cork/types/v2"; // GenesisState - all cork state that must be provided at genesis message GenesisState { diff --git a/proto/cork/v2/proposal.proto b/proto/cork/v2/proposal.proto index 7cbee851..31495329 100644 --- a/proto/cork/v2/proposal.proto +++ b/proto/cork/v2/proposal.proto @@ -3,7 +3,7 @@ package cork.v2; import "cork/v2/cork.proto"; -option go_package = "github.com/peggyjv/sommelier/v7/x/cork/types"; +option go_package = "github.com/peggyjv/sommelier/v7/x/cork/types/v2"; message AddManagedCellarIDsProposal { string title = 1; diff --git a/proto/cork/v2/query.proto b/proto/cork/v2/query.proto index e3812e8e..ae9df39c 100644 --- a/proto/cork/v2/query.proto +++ b/proto/cork/v2/query.proto @@ -6,7 +6,7 @@ import "google/api/annotations.proto"; import "cork/v2/genesis.proto"; import "cork/v2/cork.proto"; -option go_package = "github.com/peggyjv/sommelier/v7/x/cork/types"; +option go_package = "github.com/peggyjv/sommelier/v7/x/cork/types/v2"; // Query defines the gRPC query service for the cork module. service Query { diff --git a/proto/cork/v2/tx.proto b/proto/cork/v2/tx.proto index 00ac7d4b..c28f66a2 100644 --- a/proto/cork/v2/tx.proto +++ b/proto/cork/v2/tx.proto @@ -3,7 +3,7 @@ package cork.v2; import "cork/v2/cork.proto"; -option go_package = "github.com/peggyjv/sommelier/v7/x/cork/types"; +option go_package = "github.com/peggyjv/sommelier/v7/x/cork/types/v2"; // MsgService defines the msgs that the cork module handles service Msg { diff --git a/scripts/README.md b/scripts/README.md deleted file mode 100644 index c0aba168..00000000 --- a/scripts/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Scripts - -These scripts are copied from the [Cosmos-SDK](https://github.com/cosmos/cosmos-sdk/tree/v0.42.1/scripts) respository -with minor modifications. All credits and big thanks go to the original authors. - -Please note that a custom [fork](github.com/regen-network/protobuf) by the Regen network team is used. -See [`go.mod`](../go.mod) for version. \ No newline at end of file diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index f12f1c9e..8315cad3 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -2,45 +2,19 @@ set -eo pipefail -protoc_gen_gocosmos() { - if ! grep "github.com/gogo/protobuf => github.com/regen-network/protobuf" go.mod &>/dev/null ; then - echo -e "\tPlease run this command from somewhere inside the sommelier folder." - return 1 - fi - - go get github.com/regen-network/cosmos-proto/protoc-gen-gocosmos@latest 2>/dev/null -} - -echo "verifying protoc gocosmos" -protoc_gen_gocosmos +ROOT=$(git rev-parse --show-toplevel 2>/dev/null) +cd $ROOT/proto echo "generating proto and gRPC gateway files..." +buf generate --template buf.gen.gogo.yaml +cd .. -proto_dirs=$(find ./proto -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) -for dir in $proto_dirs; do - buf protoc \ - -I "proto" \ - -I "third_party/proto" \ - --gocosmos_out=plugins=interfacetype+grpc,\ -Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types:. \ - --grpc-gateway_out=logtostderr=true,allow_colon_final_segments=true:. \ - $(find "${dir}" -maxdepth 1 -name '*.proto') - -done +# move proto files to the right places +xpath=$(head -n 1 go.mod | sed 's/^module //') +cp -r $xpath/* ./ -echo "generating proto docs..." -# command to generate docs using protoc-gen-doc -buf protoc \ --I "proto" \ --I "third_party/proto" \ ---doc_out=./docs/core \ ---doc_opt=./docs/protodoc-markdown.tmpl,proto-docs.md \ -$(find "$(pwd)/proto" -maxdepth 5 -name '*.proto') +echo "cleaning up..." go mod tidy - -echo "(re)moving proto files.." -# move proto files to the right places -cp -r github.com/peggyjv/sommelier/* ./ rm -rf github.com echo "done" diff --git a/third_party/proto/buf.lock b/third_party/proto/buf.lock new file mode 100644 index 00000000..3fa18eb3 --- /dev/null +++ b/third_party/proto/buf.lock @@ -0,0 +1,18 @@ +# Generated by buf. DO NOT EDIT. +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 88ef6483f90f478fb938c37dde52ece3 + digest: shake256:89c45df2aa11e0cff97b0d695436713db3d993d76792e9f8dc1ae90e6ab9a9bec55503d48ceedd6b86069ab07d3041b32001b2bfe0227fa725dd515ff381e5ba + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 7e6f6e774e29406da95bd61cdcdbc8bc + digest: shake256:fe43dd2265ea0c07d76bd925eeba612667cf4c948d2ce53d6e367e1b4b3cb5fa69a51e6acb1a6a50d32f894f054a35e6c0406f6808a483f2752e10c866ffbf73 diff --git a/buf.yaml b/third_party/proto/buf.yaml similarity index 58% rename from buf.yaml rename to third_party/proto/buf.yaml index 61b6c595..0c9da2c9 100644 --- a/buf.yaml +++ b/third_party/proto/buf.yaml @@ -1,9 +1,8 @@ -build: - roots: - - proto - - third_party/proto - excludes: - - third_party/proto/google/protobuf +version: v1 +deps: + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis lint: use: - DEFAULT @@ -16,15 +15,11 @@ lint: - PACKAGE_VERSION_SUFFIX - RPC_REQUEST_STANDARD_NAME ignore: - - tendermint - - gogoproto - - cosmos_proto - - google + - tendermint/ + - cosmos_proto/ breaking: use: - FILE ignore: - tendermint - - gogoproto - cosmos_proto - - google diff --git a/third_party/proto/cosmos_proto/cosmos.proto b/third_party/proto/cosmos_proto/cosmos.proto deleted file mode 100644 index 15e190df..00000000 --- a/third_party/proto/cosmos_proto/cosmos.proto +++ /dev/null @@ -1,16 +0,0 @@ -syntax = "proto3"; -package cosmos_proto; - -import "google/protobuf/descriptor.proto"; - -option go_package = "github.com/regen-network/cosmos-proto"; - -extend google.protobuf.MessageOptions { - string interface_type = 93001; - - string implements_interface = 93002; -} - -extend google.protobuf.FieldOptions { - string accepts_interface = 93001; -} diff --git a/third_party/proto/gogoproto/gogo.proto b/third_party/proto/gogoproto/gogo.proto deleted file mode 100644 index 6342ee9f..00000000 --- a/third_party/proto/gogoproto/gogo.proto +++ /dev/null @@ -1,145 +0,0 @@ -// Protocol Buffers for Go with Gadgets -// -// Copyright (c) 2013, The GoGo Authors. All rights reserved. -// http://github.com/gogo/protobuf -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto2"; -package gogoproto; - -import "google/protobuf/descriptor.proto"; - -option java_package = "com.google.protobuf"; -option java_outer_classname = "GoGoProtos"; -option go_package = "github.com/gogo/protobuf/gogoproto"; - -extend google.protobuf.EnumOptions { - optional bool goproto_enum_prefix = 62001; - optional bool goproto_enum_stringer = 62021; - optional bool enum_stringer = 62022; - optional string enum_customname = 62023; - optional bool enumdecl = 62024; -} - -extend google.protobuf.EnumValueOptions { - optional string enumvalue_customname = 66001; -} - -extend google.protobuf.FileOptions { - optional bool goproto_getters_all = 63001; - optional bool goproto_enum_prefix_all = 63002; - optional bool goproto_stringer_all = 63003; - optional bool verbose_equal_all = 63004; - optional bool face_all = 63005; - optional bool gostring_all = 63006; - optional bool populate_all = 63007; - optional bool stringer_all = 63008; - optional bool onlyone_all = 63009; - - optional bool equal_all = 63013; - optional bool description_all = 63014; - optional bool testgen_all = 63015; - optional bool benchgen_all = 63016; - optional bool marshaler_all = 63017; - optional bool unmarshaler_all = 63018; - optional bool stable_marshaler_all = 63019; - - optional bool sizer_all = 63020; - - optional bool goproto_enum_stringer_all = 63021; - optional bool enum_stringer_all = 63022; - - optional bool unsafe_marshaler_all = 63023; - optional bool unsafe_unmarshaler_all = 63024; - - optional bool goproto_extensions_map_all = 63025; - optional bool goproto_unrecognized_all = 63026; - optional bool gogoproto_import = 63027; - optional bool protosizer_all = 63028; - optional bool compare_all = 63029; - optional bool typedecl_all = 63030; - optional bool enumdecl_all = 63031; - - optional bool goproto_registration = 63032; - optional bool messagename_all = 63033; - - optional bool goproto_sizecache_all = 63034; - optional bool goproto_unkeyed_all = 63035; -} - -extend google.protobuf.MessageOptions { - optional bool goproto_getters = 64001; - optional bool goproto_stringer = 64003; - optional bool verbose_equal = 64004; - optional bool face = 64005; - optional bool gostring = 64006; - optional bool populate = 64007; - optional bool stringer = 67008; - optional bool onlyone = 64009; - - optional bool equal = 64013; - optional bool description = 64014; - optional bool testgen = 64015; - optional bool benchgen = 64016; - optional bool marshaler = 64017; - optional bool unmarshaler = 64018; - optional bool stable_marshaler = 64019; - - optional bool sizer = 64020; - - optional bool unsafe_marshaler = 64023; - optional bool unsafe_unmarshaler = 64024; - - optional bool goproto_extensions_map = 64025; - optional bool goproto_unrecognized = 64026; - - optional bool protosizer = 64028; - optional bool compare = 64029; - - optional bool typedecl = 64030; - - optional bool messagename = 64033; - - optional bool goproto_sizecache = 64034; - optional bool goproto_unkeyed = 64035; -} - -extend google.protobuf.FieldOptions { - optional bool nullable = 65001; - optional bool embed = 65002; - optional string customtype = 65003; - optional string customname = 65004; - optional string jsontag = 65005; - optional string moretags = 65006; - optional string casttype = 65007; - optional string castkey = 65008; - optional string castvalue = 65009; - - optional bool stdtime = 65010; - optional bool stdduration = 65011; - optional bool wktpointer = 65012; - - optional string castrepeated = 65013; -} diff --git a/third_party/proto/google/api/annotations.proto b/third_party/proto/google/api/annotations.proto deleted file mode 100644 index 1bb61118..00000000 --- a/third_party/proto/google/api/annotations.proto +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/api/http.proto"; -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "AnnotationsProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.MethodOptions { - // See `HttpRule`. - HttpRule http = 72295728; -} diff --git a/third_party/proto/google/api/http.proto b/third_party/proto/google/api/http.proto deleted file mode 100644 index f9d53e08..00000000 --- a/third_party/proto/google/api/http.proto +++ /dev/null @@ -1,375 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "HttpProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -// Defines the HTTP configuration for an API service. It contains a list of -// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -// to one or more HTTP REST API methods. -message Http { - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - repeated HttpRule rules = 1; - - // When set to true, URL path parameters will be fully URI-decoded except in - // cases of single segment matches in reserved expansion, where "%2F" will be - // left encoded. - // - // The default behavior is to not decode RFC 6570 reserved characters in multi - // segment matches. - bool fully_decode_reserved_expansion = 2; -} - -// # gRPC Transcoding -// -// gRPC Transcoding is a feature for mapping between a gRPC method and one or -// more HTTP REST endpoints. It allows developers to build a single API service -// that supports both gRPC APIs and REST APIs. Many systems, including [Google -// APIs](https://github.com/googleapis/googleapis), -// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -// and use it for large scale production services. -// -// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -// how different portions of the gRPC request message are mapped to the URL -// path, URL query parameters, and HTTP request body. It also controls how the -// gRPC response message is mapped to the HTTP response body. `HttpRule` is -// typically specified as an `google.api.http` annotation on the gRPC method. -// -// Each mapping specifies a URL path template and an HTTP method. The path -// template may refer to one or more fields in the gRPC request message, as long -// as each field is a non-repeated field with a primitive (non-message) type. -// The path template controls how fields of the request message are mapped to -// the URL path. -// -// Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/{name=messages/*}" -// }; -// } -// } -// message GetMessageRequest { -// string name = 1; // Mapped to URL path. -// } -// message Message { -// string text = 1; // The resource content. -// } -// -// This enables an HTTP REST to gRPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` -// -// Any fields in the request message which are not bound by the path template -// automatically become HTTP query parameters if there is no HTTP request body. -// For example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get:"/v1/messages/{message_id}" -// }; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // Mapped to URL path. -// int64 revision = 2; // Mapped to URL query parameter `revision`. -// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -// } -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` -// -// Note that fields which are mapped to URL query parameters must have a -// primitive type or a repeated primitive type or a non-repeated message type. -// In the case of a repeated type, the parameter can be repeated in the URL -// as `...?param=A¶m=B`. In the case of a message type, each field of the -// message is mapped to a separate parameter, such as -// `...?foo.a=A&foo.b=B&foo.c=C`. -// -// For HTTP methods that allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice when -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// This enables the following two alternative HTTP JSON to RPC mappings: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` -// -// ## Rules for HTTP mapping -// -// 1. Leaf request fields (recursive expansion nested messages in the request -// message) are classified into three categories: -// - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP -// request body. -// - All other fields are passed via the URL query parameters, and the -// parameter name is the field path in the request message. A repeated -// field can be represented as multiple query parameters under the same -// name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields -// are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all -// fields are passed via URL path and URL query parameters. -// -// ### Path template syntax -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single URL path segment. The syntax `**` matches -// zero or more URL path segments, which must be the last part of the URL path -// except the `Verb`. -// -// The syntax `Variable` matches part of the URL path as specified by its -// template. A variable template must not contain other variables. If a variable -// matches a single path segment, its template may be omitted, e.g. `{var}` -// is equivalent to `{var=*}`. -// -// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -// contains any reserved character, such characters should be percent-encoded -// before the matching. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path on the client -// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -// server side does the reverse decoding. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{var}`. -// -// If a variable contains multiple path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path on the -// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -// The server side does the reverse decoding, except "%2F" and "%2f" are left -// unchanged. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{+var}`. -// -// ## Using gRPC API Service Configuration -// -// gRPC API Service Configuration (service config) is a configuration language -// for configuring a gRPC service to become a user-facing product. The -// service config is simply the YAML representation of the `google.api.Service` -// proto message. -// -// As an alternative to annotating your proto file, you can configure gRPC -// transcoding in your service config YAML files. You do this by specifying a -// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -// effect as the proto annotation. This can be particularly useful if you -// have a proto that is reused in multiple services. Note that any transcoding -// specified in the service config will override any matching transcoding -// configuration in the proto. -// -// Example: -// -// http: -// rules: -// # Selects a gRPC method and applies HttpRule to it. -// - selector: example.v1.Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// ## Special notes -// -// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -// proto to JSON conversion must follow the [proto3 -// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -// -// While the single segment variable follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion, the multi segment variable **does not** follow RFC 6570 Section -// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -// for multi segment variables. -// -// The path variables **must not** refer to any repeated or mapped field, -// because client libraries are not capable of handling such variable expansion. -// -// The path variables **must not** capture the leading "/" character. The reason -// is that the most common use case "{var}" does not capture the leading "/" -// character. For consistency, all path variables must share the same behavior. -// -// Repeated message fields must not be mapped to URL query parameters, because -// no client library can support such complicated mapping. -// -// If an API needs to use a JSON array for request or response body, it can map -// the request or response body to a repeated field. However, some gRPC -// Transcoding implementations may not support this feature. -message HttpRule { - // Selects a method to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - string selector = 1; - - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - oneof pattern { - // Maps to HTTP GET. Used for listing and getting information about - // resources. - string get = 2; - - // Maps to HTTP PUT. Used for replacing a resource. - string put = 3; - - // Maps to HTTP POST. Used for creating a resource or performing an action. - string post = 4; - - // Maps to HTTP DELETE. Used for deleting a resource. - string delete = 5; - - // Maps to HTTP PATCH. Used for updating a resource. - string patch = 6; - - // The custom pattern is used for specifying an HTTP method that is not - // included in the `pattern` field, such as HEAD, or "*" to leave the - // HTTP method unspecified for this rule. The wild-card rule is useful - // for services that provide content to Web (HTML) clients. - CustomHttpPattern custom = 8; - } - - // The name of the request field whose value is mapped to the HTTP request - // body, or `*` for mapping all request fields not captured by the path - // pattern to the HTTP body, or omitted for not having any HTTP request body. - // - // NOTE: the referred field must be present at the top-level of the request - // message type. - string body = 7; - - // Optional. The name of the response field whose value is mapped to the HTTP - // response body. When omitted, the entire response message will be used - // as the HTTP response body. - // - // NOTE: The referred field must be present at the top-level of the response - // message type. - string response_body = 12; - - // Additional HTTP bindings for the selector. Nested bindings must - // not contain an `additional_bindings` field themselves (that is, - // the nesting may only be one level deep). - repeated HttpRule additional_bindings = 11; -} - -// A custom pattern is used for defining custom HTTP verb. -message CustomHttpPattern { - // The name of this custom HTTP verb. - string kind = 1; - - // The path matched by this custom verb. - string path = 2; -} diff --git a/third_party/proto/google/api/httpbody.proto b/third_party/proto/google/api/httpbody.proto deleted file mode 100644 index e0f2c293..00000000 --- a/third_party/proto/google/api/httpbody.proto +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/protobuf/any.proto"; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/httpbody;httpbody"; -option java_multiple_files = true; -option java_outer_classname = "HttpBodyProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -// Message that represents an arbitrary HTTP body. It should only be used for -// payload formats that can't be represented as JSON, such as raw binary or -// an HTML page. -// -// -// This message can be used both in streaming and non-streaming API methods in -// the request as well as the response. -// -// It can be used as a top-level request field, which is convenient if one -// wants to extract parameters from either the URL or HTTP template into the -// request fields and also want access to the raw HTTP body. -// -// Example: -// -// message GetResourceRequest { -// // A unique request id. -// string request_id = 1; -// -// // The raw HTTP body is bound to this field. -// google.api.HttpBody http_body = 2; -// } -// -// service ResourceService { -// rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); -// rpc UpdateResource(google.api.HttpBody) returns -// (google.protobuf.Empty); -// } -// -// Example with streaming methods: -// -// service CaldavService { -// rpc GetCalendar(stream google.api.HttpBody) -// returns (stream google.api.HttpBody); -// rpc UpdateCalendar(stream google.api.HttpBody) -// returns (stream google.api.HttpBody); -// } -// -// Use of this type only changes how the request and response bodies are -// handled, all other features will continue to work unchanged. -message HttpBody { - // The HTTP Content-Type header value specifying the content type of the body. - string content_type = 1; - - // The HTTP request/response body as raw binary. - bytes data = 2; - - // Application specific response metadata. Must be set in the first response - // for streaming APIs. - repeated google.protobuf.Any extensions = 3; -} diff --git a/third_party/proto/google/protobuf/any.proto b/third_party/proto/google/protobuf/any.proto deleted file mode 100644 index cc1e5a38..00000000 --- a/third_party/proto/google/protobuf/any.proto +++ /dev/null @@ -1,158 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto3"; - -package google.protobuf; - -option csharp_namespace = "Google.Protobuf.WellKnownTypes"; -option go_package = "google.golang.org/protobuf/types/known/anypb"; -option java_package = "com.google.protobuf"; -option java_outer_classname = "AnyProto"; -option java_multiple_files = true; -option objc_class_prefix = "GPB"; - -// `Any` contains an arbitrary serialized protocol buffer message along with a -// URL that describes the type of the serialized message. -// -// Protobuf library provides support to pack/unpack Any values in the form -// of utility functions or additional generated methods of the Any type. -// -// Example 1: Pack and unpack a message in C++. -// -// Foo foo = ...; -// Any any; -// any.PackFrom(foo); -// ... -// if (any.UnpackTo(&foo)) { -// ... -// } -// -// Example 2: Pack and unpack a message in Java. -// -// Foo foo = ...; -// Any any = Any.pack(foo); -// ... -// if (any.is(Foo.class)) { -// foo = any.unpack(Foo.class); -// } -// -// Example 3: Pack and unpack a message in Python. -// -// foo = Foo(...) -// any = Any() -// any.Pack(foo) -// ... -// if any.Is(Foo.DESCRIPTOR): -// any.Unpack(foo) -// ... -// -// Example 4: Pack and unpack a message in Go -// -// foo := &pb.Foo{...} -// any, err := anypb.New(foo) -// if err != nil { -// ... -// } -// ... -// foo := &pb.Foo{} -// if err := any.UnmarshalTo(foo); err != nil { -// ... -// } -// -// The pack methods provided by protobuf library will by default use -// 'type.googleapis.com/full.type.name' as the type URL and the unpack -// methods only use the fully qualified type name after the last '/' -// in the type URL, for example "foo.bar.com/x/y.z" will yield type -// name "y.z". -// -// -// JSON -// ==== -// The JSON representation of an `Any` value uses the regular -// representation of the deserialized, embedded message, with an -// additional field `@type` which contains the type URL. Example: -// -// package google.profile; -// message Person { -// string first_name = 1; -// string last_name = 2; -// } -// -// { -// "@type": "type.googleapis.com/google.profile.Person", -// "firstName": , -// "lastName": -// } -// -// If the embedded message type is well-known and has a custom JSON -// representation, that representation will be embedded adding a field -// `value` which holds the custom JSON in addition to the `@type` -// field. Example (for message [google.protobuf.Duration][]): -// -// { -// "@type": "type.googleapis.com/google.protobuf.Duration", -// "value": "1.212s" -// } -// -message Any { - // A URL/resource name that uniquely identifies the type of the serialized - // protocol buffer message. This string must contain at least - // one "/" character. The last segment of the URL's path must represent - // the fully qualified name of the type (as in - // `path/google.protobuf.Duration`). The name should be in a canonical form - // (e.g., leading "." is not accepted). - // - // In practice, teams usually precompile into the binary all types that they - // expect it to use in the context of Any. However, for URLs which use the - // scheme `http`, `https`, or no scheme, one can optionally set up a type - // server that maps type URLs to message definitions as follows: - // - // * If no scheme is provided, `https` is assumed. - // * An HTTP GET on the URL must yield a [google.protobuf.Type][] - // value in binary format, or produce an error. - // * Applications are allowed to cache lookup results based on the - // URL, or have them precompiled into a binary to avoid any - // lookup. Therefore, binary compatibility needs to be preserved - // on changes to types. (Use versioned type names to manage - // breaking changes.) - // - // Note: this functionality is not currently available in the official - // protobuf release, and it is not used for type URLs beginning with - // type.googleapis.com. - // - // Schemes other than `http`, `https` (or the empty scheme) might be - // used with implementation specific semantics. - // - string type_url = 1; - - // Must be a valid serialized protocol buffer of the above specified type. - bytes value = 2; -} diff --git a/x/auction/types/auction.pb.go b/x/auction/types/auction.pb.go index 77b7bc5d..4a3b6ab4 100644 --- a/x/auction/types/auction.pb.go +++ b/x/auction/types/auction.pb.go @@ -5,11 +5,11 @@ package types import ( fmt "fmt" + _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" - _ "github.com/regen-network/cosmos-proto" io "io" math "math" math_bits "math/bits" diff --git a/x/auction/types/genesis.pb.go b/x/auction/types/genesis.pb.go index 17d9f3a5..1e0eeb15 100644 --- a/x/auction/types/genesis.pb.go +++ b/x/auction/types/genesis.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" math "math" diff --git a/x/auction/types/proposal.pb.go b/x/auction/types/proposal.pb.go index 220cf140..728f9ad0 100644 --- a/x/auction/types/proposal.pb.go +++ b/x/auction/types/proposal.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" + _ "github.com/cosmos/cosmos-proto" proto "github.com/gogo/protobuf/proto" - _ "github.com/regen-network/cosmos-proto" io "io" math "math" math_bits "math/bits" diff --git a/x/auction/types/query.pb.go b/x/auction/types/query.pb.go index 8ed85fbf..b33267f9 100644 --- a/x/auction/types/query.pb.go +++ b/x/auction/types/query.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" + _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" - _ "github.com/regen-network/cosmos-proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/auction/types/tx.pb.go b/x/auction/types/tx.pb.go index 54d1fe75..bd310bad 100644 --- a/x/auction/types/tx.pb.go +++ b/x/auction/types/tx.pb.go @@ -6,11 +6,11 @@ package types import ( context "context" fmt "fmt" + _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" - _ "github.com/regen-network/cosmos-proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/axelarcork/types/axelarcork.pb.go b/x/axelarcork/types/axelarcork.pb.go index ef506c3d..ecd7b56c 100644 --- a/x/axelarcork/types/axelarcork.pb.go +++ b/x/axelarcork/types/axelarcork.pb.go @@ -7,7 +7,7 @@ import ( fmt "fmt" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" math "math" diff --git a/x/axelarcork/types/event.pb.go b/x/axelarcork/types/event.pb.go index e674b632..00922cc9 100644 --- a/x/axelarcork/types/event.pb.go +++ b/x/axelarcork/types/event.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" math "math" diff --git a/x/axelarcork/types/genesis.pb.go b/x/axelarcork/types/genesis.pb.go index 8714dd1a..9a377a0a 100644 --- a/x/axelarcork/types/genesis.pb.go +++ b/x/axelarcork/types/genesis.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" math "math" diff --git a/x/axelarcork/types/proposal.pb.go b/x/axelarcork/types/proposal.pb.go index 992d2010..2a78fdab 100644 --- a/x/axelarcork/types/proposal.pb.go +++ b/x/axelarcork/types/proposal.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" math "math" diff --git a/x/axelarcork/types/query.pb.go b/x/axelarcork/types/query.pb.go index d1791ead..2387f2de 100644 --- a/x/axelarcork/types/query.pb.go +++ b/x/axelarcork/types/query.pb.go @@ -6,7 +6,7 @@ package types import ( context "context" fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" diff --git a/x/axelarcork/types/tx.pb.go b/x/axelarcork/types/tx.pb.go index f2a2052a..840ef50a 100644 --- a/x/axelarcork/types/tx.pb.go +++ b/x/axelarcork/types/tx.pb.go @@ -7,7 +7,7 @@ import ( context "context" fmt "fmt" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" grpc "google.golang.org/grpc" diff --git a/x/cellarfees/types/cellarfees.pb.go b/x/cellarfees/types/cellarfees.pb.go index 61e7010a..96be482c 100644 --- a/x/cellarfees/types/cellarfees.pb.go +++ b/x/cellarfees/types/cellarfees.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" math "math" diff --git a/x/cellarfees/types/genesis.pb.go b/x/cellarfees/types/genesis.pb.go index 5c23e81b..79758e69 100644 --- a/x/cellarfees/types/genesis.pb.go +++ b/x/cellarfees/types/genesis.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" math "math" diff --git a/x/cellarfees/types/params.pb.go b/x/cellarfees/types/params.pb.go index a3e6e546..546ca87e 100644 --- a/x/cellarfees/types/params.pb.go +++ b/x/cellarfees/types/params.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" math "math" diff --git a/x/cellarfees/types/query.pb.go b/x/cellarfees/types/query.pb.go index d9c3a281..bb0444a5 100644 --- a/x/cellarfees/types/query.pb.go +++ b/x/cellarfees/types/query.pb.go @@ -7,7 +7,7 @@ import ( context "context" fmt "fmt" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" diff --git a/x/cork/types/v2/cork.pb.go b/x/cork/types/v2/cork.pb.go index 9a2442c4..f633ea29 100644 --- a/x/cork/types/v2/cork.pb.go +++ b/x/cork/types/v2/cork.pb.go @@ -267,30 +267,30 @@ func init() { proto.RegisterFile("cork/v2/cork.proto", fileDescriptor_1219f78116 var fileDescriptor_1219f78116b242b2 = []byte{ // 373 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xcf, 0x8a, 0xdb, 0x30, - 0x10, 0x87, 0xa3, 0xc4, 0xb4, 0xb1, 0x92, 0x94, 0xa2, 0x10, 0x6a, 0x4a, 0x71, 0x13, 0x9f, 0x72, - 0x28, 0x16, 0xb8, 0xd0, 0x9e, 0x5b, 0x97, 0xd2, 0xde, 0x8a, 0x73, 0xeb, 0xc5, 0x28, 0xd2, 0x60, - 0x7b, 0xad, 0x44, 0x46, 0x56, 0xcc, 0xe6, 0xbc, 0x2f, 0xb0, 0x6f, 0xb0, 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0x7a, 0x2b, 0xcd, 0x1b, 0x29, + 0x7c, 0xc6, 0x7d, 0x56, 0x55, 0x5a, 0x35, 0x20, 0xac, 0x41, 0x3f, 0xb9, 0xfe, 0x13, 0x8a, 0xc7, + 0xa7, 0x9a, 0xc9, 0xb4, 0x02, 0xcd, 0x61, 0x63, 0x58, 0x06, 0xd6, 0xc8, 0x4d, 0xc8, 0x05, 0xfd, + 0xbd, 0x92, 0xe0, 0x2b, 0x1e, 0xc4, 0x20, 0x25, 0xd3, 0x8b, 0xdf, 0x4b, 0x30, 0xe4, 0x23, 0xee, + 0x15, 0xa2, 0xf6, 0xd0, 0xb4, 0x37, 0x77, 0x93, 0xb6, 0xfc, 0xb5, 0x78, 0x3a, 0xf8, 0x68, 0x7f, + 0xf0, 0xd1, 0xcb, 0xc1, 0x47, 0x0f, 0x47, 0xbf, 0xb3, 0x3f, 0xfa, 0x9d, 0xe7, 0xa3, 0xdf, 0xf9, + 0x47, 0xb3, 0xc2, 0xe4, 0xdb, 0x55, 0xc8, 0xd5, 0x9a, 0x56, 0x90, 0x65, 0xbb, 0xff, 0x0d, 0xad, + 0xd5, 0x7a, 0x0d, 0xb2, 0x00, 0x4d, 0x9b, 0x1f, 0xf4, 0xce, 0x5e, 0x03, 0x35, 0xbb, 0x0a, 0x6a, + 0xda, 0x44, 0xab, 0x77, 0xf6, 0x2e, 0xbe, 0xbd, 0x06, 0x00, 0x00, 0xff, 0xff, 0x31, 0x07, 0x9d, + 0x0f, 0x2d, 0x02, 0x00, 0x00, } func (m *Cork) Marshal() (dAtA []byte, err error) { diff --git a/x/cork/types/v2/genesis.pb.go b/x/cork/types/v2/genesis.pb.go index 19095dab..72512ad8 100644 --- a/x/cork/types/v2/genesis.pb.go +++ b/x/cork/types/v2/genesis.pb.go @@ -6,7 +6,7 @@ package v2 import ( fmt "fmt" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" math "math" @@ -157,35 +157,35 @@ func init() { func init() { proto.RegisterFile("cork/v2/genesis.proto", fileDescriptor_41a8de26c4f93490) } var fileDescriptor_41a8de26c4f93490 = []byte{ - // 439 bytes of a gzipped FileDescriptorProto + // 440 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x92, 0xc1, 0x6e, 0xd3, 0x40, 0x10, 0x86, 0xe3, 0x36, 0x04, 0x75, 0x53, 0x5a, 0xb1, 0xa4, 0x60, 0xf5, 0xe0, 0x44, 0x39, 0xa0, - 0x1c, 0x88, 0x2d, 0x05, 0x01, 0x82, 0x0b, 0x52, 0x5a, 0x51, 0xf5, 0x82, 0x2a, 0x07, 0x71, 0xe0, - 0x62, 0x6d, 0xed, 0x91, 0x63, 0xb2, 0xeb, 0xb5, 0x76, 0x36, 0x56, 0xf2, 0x16, 0x3c, 0x02, 0x6f, - 0xc0, 0x6b, 0xf4, 0xd8, 0x23, 0xe2, 0x10, 0xa1, 0xe4, 0x0d, 0x78, 0x02, 0xb4, 0x6b, 0x27, 0x84, - 0xd3, 0xce, 0xfe, 0xdf, 0xfc, 0xb3, 0x33, 0xa3, 0x25, 0x67, 0xb1, 0x54, 0xb3, 0xa0, 0x1c, 0x05, - 0x29, 0xe4, 0x80, 0x19, 0xfa, 0x85, 0x92, 0x5a, 0xd2, 0x87, 0x46, 0xf6, 0xcb, 0xd1, 0x39, 0xdd, - 0x72, 0x2b, 0x58, 0x78, 0xde, 0x49, 0x65, 0x2a, 0x6d, 0x18, 0x98, 0xa8, 0x52, 0xfb, 0xdf, 0x0f, - 0xc8, 0xf1, 0x55, 0x55, 0x64, 0xa2, 0x99, 0x06, 0x3a, 0x24, 0xad, 0x82, 0x29, 0x26, 0xd0, 0x75, - 0x7a, 0xce, 0xa0, 0x3d, 0x3a, 0xf5, 0xeb, 0xa2, 0xfe, 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, 0x74, 0x32, 0xb9, 0xd1, 0xb3, 0xfd, 0xda, 0xf4, 0x5f, 0xc6, 0x89, + 0x9a, 0x2f, 0xef, 0xdc, 0x50, 0x64, 0x2c, 0x14, 0x98, 0x09, 0xac, 0x8f, 0x31, 0x46, 0x0b, 0xa6, + 0xd6, 0x05, 0xa0, 0x7b, 0x0d, 0xe1, 0x9f, 0x4d, 0xff, 0x62, 0xcd, 0xb3, 0xf4, 0xfd, 0xf0, 0xff, + 0x6a, 0x43, 0xff, 0x89, 0x16, 0x3e, 0x35, 0x77, 0xfa, 0x9a, 0xbc, 0xc8, 0xf8, 0xaa, 0x9a, 0x36, + 0x28, 0x40, 0x06, 0xf5, 0x52, 0x84, 0x34, 0xab, 0x6e, 0xfb, 0xbd, 0x8c, 0xaf, 0xcc, 0x74, 0xb7, + 0x20, 0x3f, 0x37, 0x6c, 0x32, 0xbd, 0xdf, 0x3a, 0xd6, 0xc3, 0xd6, 0xb1, 0x7e, 0x6f, 0x1d, 0xeb, + 0xdb, 0xce, 0x69, 0x3d, 0xec, 0x9c, 0xd6, 0xcf, 0x9d, 0xd3, 0xfa, 0xc2, 0x0e, 0x1a, 0x2c, 0x20, + 0x8e, 0xd7, 0x5f, 0x4b, 0x86, 0x22, 0xcb, 0x20, 0x4d, 0x40, 0xb2, 0xf2, 0x2d, 0x5b, 0x99, 0x2f, + 0x53, 0xb5, 0xca, 0x4a, 0xef, 0xae, 0x63, 0xbe, 0xc9, 0xab, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x87, 0x7f, 0xdf, 0xdc, 0x72, 0x02, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/cork/types/v2/proposal.pb.go b/x/cork/types/v2/proposal.pb.go index 8863520b..3082bae6 100644 --- a/x/cork/types/v2/proposal.pb.go +++ b/x/cork/types/v2/proposal.pb.go @@ -307,21 +307,20 @@ type ScheduledCorkProposal struct { Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` BlockHeight uint64 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` TargetContractAddress string `protobuf:"bytes,4,opt,name=target_contract_address,json=targetContractAddress,proto3" json:"target_contract_address,omitempty"` - // // The JSON representation of a ScheduleRequest defined in the Steward protos // // Example: The following is the JSON form of a ScheduleRequest containing a steward.v2.cellar_v1.TrustPosition // message, which maps to the `trustPosition(address)` function of the the V1 Cellar contract. // - // { - // "cellar_id": "0x1234567890000000000000000000000000000000", - // "cellar_v1": { - // "trust_position": { - // "erc20_address": "0x1234567890000000000000000000000000000000" - // } - // }, - // "block_height": 1000000 - // } + // { + // "cellar_id": "0x1234567890000000000000000000000000000000", + // "cellar_v1": { + // "trust_position": { + // "erc20_address": "0x1234567890000000000000000000000000000000" + // } + // }, + // "block_height": 1000000 + // } // // You can use the Steward CLI to generate the required JSON rather than constructing it by hand https://github.com/peggyjv/steward ContractCallProtoJson string `protobuf:"bytes,5,opt,name=contract_call_proto_json,json=contractCallProtoJson,proto3" json:"contract_call_proto_json,omitempty"` @@ -492,36 +491,37 @@ func init() { func init() { proto.RegisterFile("cork/v2/proposal.proto", fileDescriptor_e01dea5e2496e85f) } var fileDescriptor_e01dea5e2496e85f = []byte{ - // 464 bytes of a gzipped FileDescriptorProto + // 465 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x54, 0xc1, 0x6a, 0x13, 0x41, - 0x18, 0xce, 0xb4, 0x69, 0x4b, 0x26, 0x82, 0x32, 0x34, 0xba, 0x28, 0x2e, 0x71, 0x0f, 0x92, 0x82, - 0xec, 0x42, 0x0a, 0xf6, 0x5c, 0x13, 0xc4, 0x0a, 0x42, 0x49, 0x0f, 0x82, 0x97, 0x65, 0x32, 0xf3, - 0xb3, 0x3b, 0xcd, 0xec, 0xce, 0x30, 0x33, 0x59, 0xec, 0x1b, 0x78, 0x11, 0x7c, 0x00, 0x5f, 0xc3, + 0x18, 0xce, 0xb4, 0x69, 0x4b, 0x26, 0x82, 0x32, 0x34, 0xba, 0x28, 0x2e, 0x71, 0x0f, 0x92, 0x5e, + 0x76, 0x20, 0x05, 0x7b, 0xae, 0xc9, 0xc1, 0x08, 0x42, 0x49, 0x0f, 0x82, 0x97, 0x65, 0x32, 0xf3, + 0xb3, 0x3b, 0xcd, 0xec, 0xce, 0x32, 0x33, 0x59, 0xec, 0x1b, 0x78, 0x11, 0x7c, 0x00, 0x5f, 0xc3, 0x37, 0xf0, 0xe0, 0xb1, 0x47, 0x8f, 0x92, 0xbc, 0x88, 0x74, 0x76, 0x53, 0x52, 0x91, 0x1e, 0xaa, - 0x94, 0x1e, 0xff, 0xef, 0xfb, 0xf7, 0xdf, 0xef, 0xfb, 0xfe, 0x99, 0xc1, 0x0f, 0x99, 0x32, 0xb3, - 0xa4, 0x1a, 0x26, 0xda, 0x28, 0xad, 0x2c, 0x95, 0xb1, 0x36, 0xca, 0x29, 0xb2, 0x73, 0x81, 0xc7, - 0xd5, 0xf0, 0x31, 0x59, 0x35, 0x78, 0xc0, 0x93, 0xd1, 0x37, 0x84, 0x9f, 0x1c, 0x72, 0xfe, 0x8e, - 0x96, 0x34, 0x03, 0x3e, 0x02, 0x29, 0xa9, 0x39, 0x1a, 0xdb, 0xe3, 0x66, 0x04, 0xd9, 0xc5, 0x5b, - 0x4e, 0x38, 0x09, 0x01, 0xea, 0xa3, 0x41, 0x67, 0x52, 0x17, 0xa4, 0x8f, 0xbb, 0x1c, 0x2c, 0x33, - 0x42, 0x3b, 0xa1, 0xca, 0x60, 0xc3, 0x73, 0xeb, 0x10, 0xd9, 0xc7, 0x98, 0xf9, 0x61, 0xa9, 0xe0, - 0x36, 0xd8, 0xec, 0xa3, 0x41, 0x77, 0xb8, 0x1b, 0x37, 0x4a, 0xe2, 0xd5, 0x7f, 0x4e, 0xc0, 0x4d, - 0x3a, 0x75, 0xdf, 0x11, 0xb7, 0x64, 0x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, 0x23, 0xfb, 0x3b, 0x68, 0x78, - 0x7d, 0xe1, 0xdb, 0x57, 0x16, 0xfe, 0xea, 0xf5, 0x8f, 0x45, 0x88, 0xce, 0x17, 0x21, 0xfa, 0xb5, - 0x08, 0xd1, 0x97, 0x65, 0xd8, 0x3a, 0x5f, 0x86, 0xad, 0x9f, 0xcb, 0xb0, 0xf5, 0xe1, 0x45, 0x26, - 0x5c, 0x3e, 0x9f, 0xc6, 0x4c, 0x15, 0x89, 0x86, 0x2c, 0x3b, 0x3b, 0xad, 0x12, 0xab, 0x8a, 0x02, - 0xa4, 0x00, 0x93, 0x54, 0x07, 0xc9, 0x47, 0xff, 0xcc, 0x25, 0xee, 0x4c, 0x83, 0x9d, 0x6e, 0x7b, - 0x29, 0xfb, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x7a, 0xd4, 0xbf, 0x65, 0x24, 0x05, 0x00, 0x00, + 0x94, 0x1e, 0xff, 0xef, 0xfb, 0xf7, 0xdf, 0xef, 0xfb, 0xfe, 0x99, 0xc1, 0x8f, 0xb9, 0x36, 0x73, + 0x5a, 0x0d, 0x69, 0x69, 0x74, 0xa9, 0x2d, 0x53, 0x71, 0x69, 0xb4, 0xd3, 0x64, 0xef, 0x12, 0x8f, + 0xab, 0xe1, 0x53, 0xb2, 0x6e, 0xf0, 0x80, 0x27, 0xa3, 0x6f, 0x08, 0x3f, 0x3b, 0x16, 0xe2, 0x1d, + 0x2b, 0x58, 0x0a, 0x62, 0x04, 0x4a, 0x31, 0x33, 0x19, 0xdb, 0x93, 0x66, 0x04, 0xd9, 0xc7, 0x3b, + 0x4e, 0x3a, 0x05, 0x01, 0xea, 0xa3, 0x41, 0x67, 0x5a, 0x17, 0xa4, 0x8f, 0xbb, 0x02, 0x2c, 0x37, + 0xb2, 0x74, 0x52, 0x17, 0xc1, 0x96, 0xe7, 0x36, 0x21, 0x72, 0x88, 0x31, 0xf7, 0xc3, 0x12, 0x29, + 0x6c, 0xb0, 0xdd, 0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 0xd6, 0xfc, 0x88, 0x29, 0x75, 0x72, 0xc9, + 0xbe, 0xb5, 0xba, 0x88, 0x3e, 0x6d, 0xe1, 0xfe, 0x5f, 0x5d, 0xfe, 0x8f, 0xec, 0xef, 0xa1, 0xe1, + 0xcd, 0x85, 0xef, 0x5e, 0x5b, 0xf8, 0xeb, 0xc9, 0x8f, 0x65, 0x88, 0x2e, 0x96, 0x21, 0xfa, 0xb5, + 0x0c, 0xd1, 0x97, 0x55, 0xd8, 0xba, 0x58, 0x85, 0xad, 0x9f, 0xab, 0xb0, 0xf5, 0x81, 0xa6, 0xd2, + 0x65, 0x8b, 0x59, 0xcc, 0x75, 0x4e, 0x4b, 0x48, 0xd3, 0xf3, 0xb3, 0x8a, 0x5a, 0x9d, 0xe7, 0xa0, + 0x24, 0x18, 0x5a, 0x1d, 0xd1, 0x8f, 0xfe, 0x99, 0xa3, 0xee, 0xbc, 0x04, 0x4b, 0xab, 0xe1, 0x6c, + 0xd7, 0xab, 0x39, 0xfc, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xda, 0xa2, 0x0d, 0x25, 0x27, 0x05, 0x00, + 0x00, } func (m *AddManagedCellarIDsProposal) Marshal() (dAtA []byte, err error) { diff --git a/x/cork/types/v2/query.pb.go b/x/cork/types/v2/query.pb.go index aa3960fd..9c93bf38 100644 --- a/x/cork/types/v2/query.pb.go +++ b/x/cork/types/v2/query.pb.go @@ -6,7 +6,7 @@ package v2 import ( context "context" fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" @@ -732,55 +732,55 @@ func init() { func init() { proto.RegisterFile("cork/v2/query.proto", fileDescriptor_5f2ffa9107b7d7f7) } var fileDescriptor_5f2ffa9107b7d7f7 = []byte{ - // 761 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x96, 0xcf, 0x4e, 0xdb, 0x58, - 0x14, 0xc6, 0x63, 0x06, 0x18, 0xe5, 0x84, 0x81, 0xd1, 0xe1, 0xbf, 0x01, 0x87, 0x18, 0x66, 0x88, - 0x68, 0x88, 0x69, 0x10, 0x62, 0xdd, 0x80, 0xaa, 0x46, 0xad, 0xda, 0x92, 0x6e, 0xaa, 0x6e, 0xa2, - 0x24, 0xbe, 0x72, 0xdc, 0xfc, 0xb9, 0xc1, 0x76, 0x22, 0x22, 0x84, 0x54, 0xb1, 0xee, 0xa2, 0x52, - 0x1f, 0xa1, 0xab, 0x4a, 0x7d, 0x10, 0x96, 0xa8, 0xdd, 0x74, 0x55, 0x55, 0xd0, 0x07, 0xa9, 0x7c, - 0x7d, 0x6d, 0x6c, 0xc7, 0x49, 0x28, 0xbb, 0xe4, 0x9c, 0xef, 0x7e, 0xdf, 0xcf, 0xce, 0x3d, 0x47, - 0x81, 0xd9, 0x2a, 0x35, 0xea, 0x4a, 0x37, 0xa7, 0x9c, 0x74, 0x88, 0xd1, 0xcb, 0xb6, 0x0d, 0x6a, - 0x51, 0xfc, 0xdb, 0x2e, 0x66, 0xbb, 0x39, 0x71, 0x4e, 0xa3, 0x1a, 0x65, 0x35, 0xc5, 0xfe, 0xe4, - 0xb4, 0xc5, 0x55, 0x8d, 0x52, 0xad, 0x41, 0x94, 0x72, 0x5b, 0x57, 0xca, 0xad, 0x16, 0xb5, 0xca, - 0x96, 0x4e, 0x5b, 0x26, 0xef, 0xce, 0xbb, 0x8e, 0x1a, 0x69, 0x11, 0x53, 0x77, 0xcb, 0xe8, 0x96, - 0x99, 0x37, 0xab, 0xc9, 0x73, 0x80, 0xc7, 0x76, 0xec, 0xcb, 0xb2, 0x51, 0x6e, 0x9a, 0x45, 0x72, - 0xd2, 0x21, 0xa6, 0x25, 0x1f, 0xc1, 0x6c, 0xa0, 0x6a, 0xb6, 0x69, 0xcb, 0x24, 0xb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, 0xb4, 0x7a, 0x6d, 0x62, 0x56, 0x26, 0xd9, 0x3f, 0x93, 0xbd, 0xdf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x4f, 0xad, 0x77, 0xc4, 0x18, 0x09, 0x00, 0x00, + // 760 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x96, 0xcf, 0x4e, 0x13, 0x51, + 0x14, 0xc6, 0x3b, 0x08, 0x98, 0x9e, 0x22, 0x98, 0xc3, 0xff, 0x01, 0xa6, 0x74, 0x40, 0x69, 0x10, + 0x7a, 0xb1, 0x84, 0xb0, 0xb6, 0xb0, 0xb0, 0xd1, 0xa8, 0xd4, 0x8d, 0x71, 0xd3, 0xb4, 0x9d, 0x9b, + 0xe9, 0xd8, 0x3f, 0xb7, 0xcc, 0x4c, 0x1b, 0x1a, 0x42, 0x62, 0x58, 0xbb, 0x30, 0xf1, 0x11, 0x5c, + 0x99, 0xf8, 0x20, 0x2c, 0x89, 0x6e, 0x5c, 0x19, 0x03, 0x3e, 0x88, 0xe9, 0x9d, 0x3b, 0xc3, 0x4c, + 0x3b, 0x6d, 0x91, 0x5d, 0x7b, 0xce, 0x77, 0xbf, 0xef, 0x37, 0xd3, 0x7b, 0x4e, 0x0a, 0xd3, 0x25, + 0x66, 0x56, 0x48, 0x2b, 0x4d, 0x8e, 0x9b, 0xd4, 0x6c, 0xa7, 0x1a, 0x26, 0xb3, 0x19, 0xde, 0xef, + 0x14, 0x53, 0xad, 0xb4, 0x3c, 0xa3, 0x33, 0x9d, 0xf1, 0x1a, 0xe9, 0x7c, 0x72, 0xda, 0xf2, 0xb2, + 0xce, 0x98, 0x5e, 0xa5, 0xa4, 0xd0, 0x30, 0x48, 0xa1, 0x5e, 0x67, 0x76, 0xc1, 0x36, 0x58, 0xdd, + 0x12, 0xdd, 0x59, 0xd7, 0x51, 0xa7, 0x75, 0x6a, 0x19, 0x6e, 0x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0xbe, 0x56, 0x22, 0x97, + 0xd7, 0x4a, 0xe4, 0xd7, 0xb5, 0x12, 0x79, 0x4f, 0x74, 0xc3, 0x2e, 0x37, 0x8b, 0xa9, 0x12, 0xab, + 0x91, 0x06, 0xd5, 0xf5, 0xf6, 0x87, 0x96, 0xcf, 0xac, 0xb5, 0x4f, 0x4e, 0x1c, 0x47, 0xbb, 0xdd, + 0xa0, 0x16, 0x69, 0xa5, 0x8b, 0xe3, 0xfc, 0xcf, 0xc9, 0xee, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x3d, 0x0d, 0xef, 0x6c, 0x1b, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/cork/types/v2/query.pb.gw.go b/x/cork/types/v2/query.pb.gw.go index 1458cdc9..10d68686 100644 --- a/x/cork/types/v2/query.pb.gw.go +++ b/x/cork/types/v2/query.pb.gw.go @@ -2,7 +2,7 @@ // source: cork/v2/query.proto /* -Package types is a reverse proxy. +Package v2 is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ diff --git a/x/cork/types/v2/tx.pb.go b/x/cork/types/v2/tx.pb.go index c959b281..198a7e83 100644 --- a/x/cork/types/v2/tx.pb.go +++ b/x/cork/types/v2/tx.pb.go @@ -145,24 +145,24 @@ func init() { proto.RegisterFile("cork/v2/tx.proto", fileDescriptor_271bdc677f23 var fileDescriptor_271bdc677f232222 = []byte{ // 280 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x1c, 0xc6, 0x9b, 0x6e, 0x4c, 0x96, 0x4d, 0x91, 0x1c, 0x66, 0xd9, 0x21, 0x76, 0x3b, 0x55, 0x90, - 0x06, 0xea, 0xc1, 0xbb, 0x82, 0x78, 0xd9, 0xc1, 0x7a, 0x11, 0x2f, 0x42, 0xdb, 0x3f, 0x69, 0x6c, - 0xb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f5, 0x78, 0xce, 0x85, 0x4e, 0xeb, 0xc8, 0x8f, 0x65, 0xc1, - 0x4a, 0xe0, 0x7c, 0xfd, 0xdc, 0x30, 0x25, 0x8b, 0x02, 0x72, 0x01, 0x15, 0x6b, 0x2e, 0xd9, 0xca, - 0x8c, 0xc8, 0xf4, 0xba, 0x04, 0x15, 0x0d, 0xcc, 0x96, 0x17, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x61, 0xc9, 0x52, 0x38, 0x7c, 0x01, 0x00, 0x00, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0x31, 0x4e, 0xc3, 0x30, + 0x18, 0x85, 0xeb, 0xb4, 0x2a, 0xaa, 0x5b, 0x10, 0xf2, 0x50, 0xa2, 0x0e, 0x26, 0xed, 0x14, 0x96, + 0x58, 0x0a, 0x03, 0x3b, 0x2c, 0x30, 0x74, 0x20, 0x2c, 0x88, 0x05, 0x29, 0xc9, 0x2f, 0xc7, 0x24, + 0xa9, 0x43, 0xec, 0x58, 0xed, 0x2d, 0x38, 0x16, 0x63, 0x47, 0x46, 0x94, 0x5c, 0x04, 0xd5, 0x14, + 0x84, 0x04, 0x8c, 0xfe, 0xde, 0x27, 0x3f, 0xfb, 0xe1, 0xe3, 0x44, 0xd6, 0x39, 0x33, 0x21, 0xd3, + 0xeb, 0xa0, 0xaa, 0xa5, 0x96, 0xe4, 0x60, 0x47, 0x02, 0x13, 0xce, 0xc8, 0x57, 0x64, 0x81, 0x0d, + 0x17, 0x06, 0x4f, 0x97, 0x8a, 0xdf, 0x25, 0x19, 0xa4, 0x4d, 0x01, 0x57, 0xb2, 0xce, 0x23, 0x78, + 0x6e, 0x40, 0x69, 0x32, 0xc7, 0x83, 0x9d, 0xe7, 0x22, 0x0f, 0xf9, 0xe3, 0xf0, 0x30, 0xd8, 0xdf, + 0x12, 0x58, 0xc7, 0x46, 0x64, 0x8e, 0x27, 0x71, 0x21, 0x93, 0xfc, 0x31, 0x03, 0xc1, 0x33, 0xed, + 0x3a, 0x1e, 0xf2, 0x07, 0xd1, 0xd8, 0xb2, 0x6b, 0x8b, 0xc8, 0x14, 0x0f, 0x95, 0xe0, 0x2b, 0xa8, + 0xdd, 0xbe, 0x87, 0xfc, 0x51, 0xb4, 0x3f, 0x2d, 0xce, 0xf0, 0xc9, 0xaf, 0x5e, 0x55, 0xc9, 0x95, + 0x02, 0x72, 0x84, 0x1d, 0x91, 0xda, 0xda, 0x51, 0xe4, 0x88, 0x34, 0xbc, 0xc7, 0xfd, 0xa5, 0xe2, + 0xe4, 0x16, 0x4f, 0x7e, 0xea, 0xe4, 0xf4, 0xfb, 0x45, 0x7f, 0x7f, 0x60, 0xe6, 0xfd, 0x2f, 0x7c, + 0x36, 0x5d, 0xde, 0xbc, 0xb6, 0x14, 0x6d, 0x5b, 0x8a, 0xde, 0x5b, 0x8a, 0x5e, 0x3a, 0xda, 0xdb, + 0x76, 0xb4, 0xf7, 0xd6, 0xd1, 0xde, 0x03, 0xe3, 0x42, 0x67, 0x4d, 0x1c, 0x24, 0xb2, 0x64, 0x15, + 0x70, 0xbe, 0x79, 0x32, 0x4c, 0xc9, 0xb2, 0x84, 0x42, 0x40, 0xcd, 0xcc, 0x05, 0x5b, 0xdb, 0x11, + 0x99, 0xde, 0x54, 0xa0, 0x98, 0x09, 0xe3, 0xa1, 0x9d, 0xf3, 0xfc, 0x23, 0x00, 0x00, 0xff, 0xff, + 0xcf, 0x1c, 0xa9, 0x14, 0x7f, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/incentives/types/genesis.pb.go b/x/incentives/types/genesis.pb.go index 9a7af1f9..2a02bb25 100644 --- a/x/incentives/types/genesis.pb.go +++ b/x/incentives/types/genesis.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/types" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" math "math" diff --git a/x/incentives/types/query.pb.go b/x/incentives/types/query.pb.go index 0588d2e0..06e3d68a 100644 --- a/x/incentives/types/query.pb.go +++ b/x/incentives/types/query.pb.go @@ -6,7 +6,7 @@ package types import ( context "context" fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" diff --git a/x/pubsub/types/genesis.pb.go b/x/pubsub/types/genesis.pb.go index 0bef269a..af050e42 100644 --- a/x/pubsub/types/genesis.pb.go +++ b/x/pubsub/types/genesis.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" math "math" diff --git a/x/pubsub/types/params.pb.go b/x/pubsub/types/params.pb.go index 8cdf592b..b0dad227 100644 --- a/x/pubsub/types/params.pb.go +++ b/x/pubsub/types/params.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" math "math" diff --git a/x/pubsub/types/query.pb.go b/x/pubsub/types/query.pb.go index d3d51941..8da9dd24 100644 --- a/x/pubsub/types/query.pb.go +++ b/x/pubsub/types/query.pb.go @@ -7,7 +7,7 @@ import ( context "context" fmt "fmt" _ "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" + _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations"